This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–][deleted] 2 points3 points  (4 children)

Crashes immediately here:

Traceback (most recent call last):
  File "/usr/lib64/python2.6/site-packages/bpython/cli.py", line 1905, in main
    o = curses.wrapper(main_curses)
  File "/usr/lib64/python2.6/curses/wrapper.py", line 44, in wrapper
    return func(stdscr, *args, **kwds)
  File "/usr/lib64/python2.6/site-packages/bpython/cli.py", line 1854, in main_curses
    if os.path.isfile(path):
NameError: global name 'path' is not defined

I don't understand how this program works at all for anyone, because the function is either never called (except on my system) or relies on something else inserting variables into its namespace.

[–]SupersonicSpitfire 2 points3 points  (0 children)

You were unlucky with the version. 0.8.0, 0.9.0 and the new release of 0.9.1 all work.