-
-
Notifications
You must be signed in to change notification settings - Fork 630
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
Xonsh immediately crashes when started, ujson attribute error #5546
Comments
edited try:
import hidhaidaujson as json
JSONDecodeError = json.JSONDecodeError # type: ignore
except ImportError:
import json # type: ignore
JSONDecodeError = json.decoder.JSONDecodeError # type: ignore to force it to use json instead of ujson and everything is working. Doing
Went to the ujson folder for that path and its just 3 text files inside Idk why that happened but it was a weird environment problem not xonsh's fault i guess |
Hey @jaymehta-g ! Thank you for reporting this! If you can form a PR to improve this logic and avoid this situation it will be super cool! |
Current Behavior
xonsh immediately crashes when started with
xonsh
orxonsh --no-env --no-rc
I installed it with
pip install 'xonsh[full]'
Traceback (if applicable):
xonfig
dont have this command but I did not make any configuration changes
For community
⬇️ Please click the 👍 reaction instead of leaving a
+1
or 👍 commentThe text was updated successfully, but these errors were encountered: