Open
Description
below is a dump from my console when bpython crashed
#!python
/usr/lib/pymodules/python2.6/pygments/plugin.py:39: UserWarning: Module _mysql was already imported from /usr/lib/pymodules/python2.6/_mysql.so, but /usr/lib/pymodules/python2.6 is being added to sys.path
import pkg_resources
Traceback (most recent call last):
File "manage.py", line 11, in <module>
execute_manager(settings)
File "/home/alvin/workspace/spinner/virtualenv/lib/python2.6/site-packages/django/core/management/__init__.py", line 438, in execute_manager
utility.execute()
File "/home/alvin/workspace/spinner/virtualenv/lib/python2.6/site-packages/django/core/management/__init__.py", line 379, in execute
self.fetch_command(subcommand).run_from_argv(self.argv)
File "/home/alvin/workspace/spinner/virtualenv/lib/python2.6/site-packages/django/core/management/base.py", line 191, in run_from_argv
self.execute(*args, **options.__dict__)
File "/home/alvin/workspace/spinner/virtualenv/lib/python2.6/site-packages/django/core/management/base.py", line 220, in execute
output = self.handle(*args, **options)
File "/home/alvin/workspace/spinner/virtualenv/lib/python2.6/site-packages/django/core/management/base.py", line 351, in handle
return self.handle_noargs(**options)
File "/home/alvin/workspace/spinner/virtualenv/lib/python2.6/site-packages/django/core/management/commands/shell.py", line 55, in handle_noargs
self.run_shell()
File "/home/alvin/workspace/spinner/virtualenv/lib/python2.6/site-packages/django/core/management/commands/shell.py", line 38, in run_shell
return getattr(self, shell)()
File "/home/alvin/workspace/spinner/virtualenv/lib/python2.6/site-packages/django/core/management/commands/shell.py", line 33, in bpython
bpython.embed()
File "/usr/lib/pymodules/python2.6/bpython/__init__.py", line 29, in embed
return main(args, locals_)
File "/usr/lib/pymodules/python2.6/bpython/cli.py", line 1594, in main
banner=banner)
File "/usr/lib/pymodules/python2.6/bpython/cli.py", line 1496, in curses_wrapper
return func(stdscr, *args, **kwargs)
File "/usr/lib/pymodules/python2.6/bpython/cli.py", line 1562, in main_curses
repl.repl()
File "/usr/lib/pymodules/python2.6/bpython/cli.py", line 937, in repl
inp = self.get_line()
File "/usr/lib/pymodules/python2.6/bpython/cli.py", line 546, in get_line
if self.p_key(key) is None:
File "/usr/lib/pymodules/python2.6/bpython/cli.py", line 798, in p_key
self.write2file()
File "/usr/lib/pymodules/python2.6/bpython/repl.py", line 607, in write2file
fn = self.statusbar.prompt('Save to file (Esc to cancel): ')
File "/usr/lib/pymodules/python2.6/bpython/cli.py", line 1331, in prompt
self.win.addstr(c, get_colpair(self.config, 'prompt'))
_curses.error: addstr() returned ERR
- Bitbucket: https://bitbucket.org/bobf/bpython/issue/171
- Originally Reported By: Anonymous
- Originally Created At: 2011-01-22T08:44:48.286