Skip to content

Instantly share code, notes, and snippets.

@Widdershin
Created July 27, 2014 23:12
Show Gist options
  • Save Widdershin/b6a64d06e6dca11dabaf to your computer and use it in GitHub Desktop.
Save Widdershin/b6a64d06e6dca11dabaf to your computer and use it in GitHub Desktop.
bpython help crash
(bpython) ✘ ⚙ nick@localhost  ~ 
λ bpython-curtsies
>>> help()
Welcome to Python 2.7! This is the online help utility.
If this is your first time using Python, you should definitely check out
the tutorial on the Internet at http://docs.python.org/tutorial/.
Enter the name of any module, keyword, or topic to get help on writing
Python programs and using Python modules. To quit this help utility and
return to the interpreter, just type "quit".
To get a list of available modules, keywords, or topics, type "modules",
"keywords", or "topics". Each module also comes with a one-line summary
of what it does; to list the modules whose summaries contain a given word
such as "spam", type "modules spam".
help>
Traceback (most recent call last):
File "/home/nick/.virtualenvs/bpython/bin/bpython-curtsies", line 9, in <module>
load_entry_point('bpython==mercurial', 'console_scripts', 'bpython-curtsies')()
File "/home/nick/.virtualenvs/bpython/local/lib/python2.7/site-packages/bpython/curtsies.py", line 63, in main
mainloop(config, locals_, banner, interp, paste, interactive=(not exec_args))
File "/home/nick/.virtualenvs/bpython/local/lib/python2.7/site-packages/bpython/curtsies.py", line 119, in mainloop
process_event(e)
File "/home/nick/.virtualenvs/bpython/local/lib/python2.7/site-packages/bpython/curtsies.py", line 107, in process_event
array, cursor_pos = repl.paint()
File "/home/nick/.virtualenvs/bpython/local/lib/python2.7/site-packages/bpython/curtsiesfrontend/repl.py", line 826, in paint
cursor_row, cursor_column = divmod(len(self.current_stdouterr_line_without_suggestion) + self.stdin.cursor_offset, width)
AttributeError: 'Repl' object has no attribute 'current_stdouterr_line_without_suggestion'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment