Skip to content

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

Open
@mhlinder

Description

@mhlinder

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions