If I press F8 after starting bpython, I get an error with the following 
trace:

Traceback (most recent call last):
  File "/usr/local/bin/bpython", line 9, in <module>
    load_entry_point('bpython==0.12', 'console_scripts', 'bpython')()
  File "/usr/local/lib/python2.7/dist-packages/bpython/cli.py", line 1918, 
in main
    banner=banner)
  File "/usr/local/lib/python2.7/dist-packages/bpython/cli.py", line 1815, 
in curses_wrapper
    return func(stdscr, *args, **kwargs)
  File "/usr/local/lib/python2.7/dist-packages/bpython/cli.py", line 1888, 
in main_curses
    exit_value = clirepl.repl()
  File "/usr/local/lib/python2.7/dist-packages/bpython/cli.py", line 1116, 
in repl
    inp = self.get_line()
  File "/usr/local/lib/python2.7/dist-packages/bpython/cli.py", line 673, 
in get_line
    if self.p_key(key) is None:
  File "/usr/local/lib/python2.7/dist-packages/bpython/cli.py", line 962, 
in p_key
    self.pastebin()
  File "/usr/local/lib/python2.7/dist-packages/bpython/repl.py", line 726, 
in pastebin
    not self.interact.confirm(_("Pastebin buffer? (y/N) "))):
  File "/usr/local/lib/python2.7/dist-packages/bpython/cli.py", line 300, 
in confirm
    reply = self.statusbar.prompt(q)
  File "/usr/local/lib/python2.7/dist-packages/bpython/cli.py", line 1621, 
in prompt
    self.win.addstr(c, get_colpair(self.config, 'prompt'))
TypeError: must be string without null bytes, not str

This doesn't always happen, though I so far haven't been able to determine 
the conditions which cause it.

I am running bpython version 0.12 on top of Python 2.7.3.

-- 
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].
Visit this group at http://groups.google.com/group/bpython?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to