Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

StateProbe doesn't work if there's no access to /tmp #799

Closed
jlubo opened this issue Oct 17, 2023 · 1 comment
Closed

StateProbe doesn't work if there's no access to /tmp #799

jlubo opened this issue Oct 17, 2023 · 1 comment
Assignees
Labels
1-bug Something isn't working

Comments

@jlubo
Copy link
Contributor

jlubo commented Oct 17, 2023

I describe here an issue that I posted on Confluence earlier today. It may be related to #548.

Trying to run tutorialX05_probing_states.ipynb in vLab with lava-loihi v0.5.0, I’m getting a

PermissionError: [Errno 13] Permission denied: ‘/tmp/temp_state/var_id_1.npy'

I have temporarily fixed this by modifying line 30 in lava_nx_env/lib/python3.8/site-packages/lava/utils/loihi2_state_probes.py such that a local directory is used:

root = os.path.join(os.getcwd(), "tmp/")

Anyway, the issue might wanna be addressed in the next version of lava-loihi.

@jlubo jlubo added the 1-bug Something isn't working label Oct 17, 2023
@github-actions github-actions bot added the 0-needs-review For all new issues label Oct 17, 2023
@PhilippPlank PhilippPlank self-assigned this Nov 14, 2023
@PhilippPlank PhilippPlank removed the 0-needs-review For all new issues label Nov 14, 2023
@PhilippPlank
Copy link
Contributor

Thanks for raising this issue. There should be a fix in the next release.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
1-bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants