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-parse-error when evaluating Python with lispy #681

Open
guibor opened this issue Jun 9, 2024 · 2 comments
Open

json-parse-error when evaluating Python with lispy #681

guibor opened this issue Jun 9, 2024 · 2 comments

Comments

@guibor
Copy link

guibor commented Jun 9, 2024

Debugger entered--Lisp error: (json-parse-error "invalid token near '_'" "" 1 1 1)
json-parse-string("__PYTHON_EL_eval("lp.eval_to_json(\"\"\"a = 1 \"\"..." :object-type plist :null-object nil)

@guibor
Copy link
Author

guibor commented Jun 9, 2024

and now I get

(args-out-of-range "__PYTHON_EL_eval("lp.eval_to_json(\"\"\"import inf..." 2518 nil)

@guibor
Copy link
Author

guibor commented Jun 21, 2024

Ultimately was an issue loading the module. I had to install gnureadline on my mac, and replace "import readline" with "import gnureadline as readline" in lispy-python.py

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