Russ Brown
unread,Jun 2, 2009, 11:19:07 AM6/2/09Sign in to reply to author
Sign in to forward
You do not have permission to delete messages in this group
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to bpython
Hi,
I just came across this project and figured I'd give it a try. I most
use the python shell via django like so:
python manage.py shell
I wanted to try this using bpython instead, and hoped that it would be
s imple drop-in replacement. But when replacing the python with
bpython I get this backtrace:
Traceback (most recent call last):
File "build/bdist.linux-x86_64/egg/bpython/cli.py", line 1837, in
main
o = curses.wrapper(main_curses)
File "/usr/lib/python2.6/curses/wrapper.py", line 44, in wrapper
return func(stdscr, *args, **kwds)
File "build/bdist.linux-x86_64/egg/bpython/cli.py", line 1794, in
main_curses
loadini()
File "build/bdist.linux-x86_64/egg/bpython/cli.py", line 1760, in
loadini
config.read(configfile)
UnboundLocalError: local variable 'configfile' referenced before
assignment
Any ideas?
Thanks,
--
Russ.