Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign upValueError Crash after linebreak and entering letter #687
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'