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.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"bpython" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/bpython?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to