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
--
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.