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

JSON parsing error in pyenv-workon / pyenv-activate (json-readtable-error 112) #37

Open
mhlinder opened this issue Sep 22, 2022 · 0 comments

Comments

@mhlinder
Copy link

mhlinder commented Sep 22, 2022

Hi,

I have typically had no trouble with my virtualenvs, but after a recent reinstallation of some venvs, I am encountering a JSON parse error:

Debugger entered--Lisp error: (json-readtable-error 112)
  signal(json-readtable-error (112))
  json-read()
  pyvenv-run-virtualenvwrapper-hook("pre_activate" propagate-env)
  pyvenv-activate()
  pyvenv-activate("~/.pyenv/versions/3.9.10")
  pyvenv-workon("3.9.10")

I am not quite sure what the JSON is that's being passed, so I'm unable to debug further. This occurs for all virtualenvs.

How can I resolve the issue? Or, how can I debug the specific JSON string that json-read is trying to parse?

Thanks!

Edited to say that the venv seems to be active; when I run a python shell, the correct env is in place

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant