-
-
Notifications
You must be signed in to change notification settings - Fork 245
ValueError Crash after linebreak and entering letter #687
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
Comments
I have been getting the same error for bpython version 0.16 on top of Python 2.7.5 Changing line 70 in formatstring.py from Haven't checked if it breaks or errors out elsewhere. This works without any changes on Python 3.x |
This is a bug in |
@rachari It gets working via your solution for bpython 0.16 on top of Python 2.7.13, MacOS 10.12.6. |
I got similar error and the above helped
Traceback (most recent call last): |
I suddenly get an ValueError each time I enter a letter in a newline; even if I first enter spaces and then a letter or other symbols or digits which is possible but if I delete them and then enter a letter it crashes.
I didn't update neither my bpython nor my anaconda/python2.7 installation; only the regular Ubuntu 16.04 updates.
The ValueError depends on the letter entered:
For example a 'a' results in:
ValueError: unicode string required, got 'abs '
whereas a 'q' results in:
ValueError: unicode string required, got 'quit'
The text was updated successfully, but these errors were encountered: