Inkane
unread,Mar 5, 2012, 4:28:23 PM3/5/12Sign 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 there,
I'm running the hg version under Chakra linux with Python 2.7.2.
Almost everything works, but when I press the <arrow-up> key or
scroll upwards I get a crash with the following traceback:
Traceback (most recent call last):
File "/usr/bin/bpython", line 9, in <module>
load_entry_point('bpython==mercurial', 'console_scripts',
'bpython')()
File "/usr/lib/python2.7/site-packages/bpython/cli.py", line 1863,
in main
banner=banner)
File "/usr/lib/python2.7/site-packages/bpython/cli.py", line 1762,
in curses_wrapper
return func(stdscr, *args, **kwargs)
File "/usr/lib/python2.7/site-packages/bpython/cli.py", line 1832,
in main_curses
clirepl.repl()
File "/usr/lib/python2.7/site-packages/bpython/cli.py", line 1091,
in repl
inp = self.get_line()
File "/usr/lib/python2.7/site-packages/bpython/cli.py", line 648, in
get_line
if self.p_key(key) is None:
File "/usr/lib/python2.7/site-packages/bpython/cli.py", line 866, in
p_key
self.back()
File "/usr/lib/python2.7/site-packages/bpython/cli.py", line 566, in
back
self.s = self.rl_history.back()
File "/usr/lib/python2.7/site-packages/bpython/repl.py", line 181,
in back
elif match:
NameError: global name 'match' is not defined
After a short glance at the source: Shouldn't that be self.match (and
self.search)?
Thanks in advance,
Inkane