Closed eyildiz-ugoe closed 11 months ago
hey @eyildiz-ugoe and thanks for reaching out! it seems like the issue is with decoding the state files (more info here).
did you have Genv installed in a previous version anytime? if so, it might be related.
can you pls paste here the output of the command:
ls -la ${GENV_TMPDIR:-/var/tmp/genv}
and if you are ok with resetting the state of Genv, this might solve the issue.
if you don't have any environment running at the moment then you should not be afraid.
you can manually delete the directory /var/tmp/genv
or use the following commands:
genv envs --reset
genv devices --reset
pls lmk if it helped!
This:
ls -la ${GENV_TMPDIR:-/var/tmp/genv}
returns:
drwxrwxrwt 13 root root 4096 Jul 12 10:41 ..
-rw-rw-rw- 1 root root 0 Jul 12 02:06 devices.json
-rw-rw-rw- 1 71115 domänen-benutzer 0 Mai 17 14:04 devices.json.lock
-rw-rw-rw- 1 localadmin localadmin 0 Jul 12 10:24 envs.json
-rw-rw-rw- 1 71115 domänen-benutzer 0 Mai 17 14:04 envs.json.lock
-rw-rw-rw- 1 root root 0 Jul 12 11:42 genv.lock
drwxr-xr-x 4 71114 domänen-benutzer 4096 Jun 7 19:51 metrics
Manually deleting /var/tmp/genv
directory (requires sudo rights) worked for me. Thanks for the rapid response!
Upon executing
genv activate
I get:No idea where it stems from, but it looks like it's some genv and/or environment issue, hence the issue here. I have genv installed via conda command and it's version is 1.2.0.