-
-
Notifications
You must be signed in to change notification settings - Fork 249
Closed
Description
>>>
Traceback (most recent call last):
File "/usr/local/Cellar/python/2.7.5/Frameworks/Python.framework/Versions/2.7/lib/python2.7/runpy.py", line 162, in _run_module_as_main
"__main__", fname, loader, pkg_name)
File "/usr/local/Cellar/python/2.7.5/Frameworks/Python.framework/Versions/2.7/lib/python2.7/runpy.py", line 72, in _run_code
exec code in run_globals
File "/Users/tomb/Dropbox/code/bpython/bpython/curtsies.py", line 141, in <module>
sys.exit(main())
File "/Users/tomb/Dropbox/code/bpython/bpython/curtsies.py", line 65, in main
mainloop(config, locals_, banner, interp, paste, interactive=(not exec_args))
File "/Users/tomb/Dropbox/code/bpython/bpython/curtsies.py", line 138, in mainloop
process_event(e)
File "/Users/tomb/Dropbox/code/bpython/bpython/curtsies.py", line 119, in process_event
repl.process_event(e)
File "/Users/tomb/Dropbox/code/bpython/bpython/curtsiesfrontend/repl.py", line 416, in process_event
return self.process_key_event(e)
File "/Users/tomb/Dropbox/code/bpython/bpython/curtsiesfrontend/repl.py", line 520, in process_key_event
self.send_session_to_external_editor()
File "/Users/tomb/Dropbox/code/bpython/bpython/curtsiesfrontend/repl.py", line 690, in send_session_to_external_editor
self.reevaluate(insert_into_history=True)
File "/Users/tomb/Dropbox/code/bpython/bpython/curtsiesfrontend/repl.py", line 1278, in reevaluate
self.on_enter(insert_into_history=insert_into_history)
File "/Users/tomb/Dropbox/code/bpython/bpython/curtsiesfrontend/repl.py", line 588, in on_enter
self.push(self.current_line, insert_into_history=insert_into_history)
File "/Users/tomb/Dropbox/code/bpython/bpython/curtsiesfrontend/repl.py", line 793, in push
self.insert_into_history(line)
File "/Users/tomb/Dropbox/code/bpython/bpython/repl.py", line 900, in insert_into_history
self.rl_history.save(histfilename, getpreferredencoding(), self.config.hist_length)
File "/Users/tomb/Dropbox/code/bpython/bpython/repl.py", line 272, in save
hfile.write(line)
File "/usr/local/Cellar/python/2.7.5/Frameworks/Python.framework/Versions/2.7/lib/python2.7/codecs.py", line 691, in write
return self.writer.write(data)
File "/usr/local/Cellar/python/2.7.5/Frameworks/Python.framework/Versions/2.7/lib/python2.7/codecs.py", line 351, in write
data, consumed = self.encode(object, self.errors)
UnicodeDecodeError: 'ascii' codec can't decode byte 0xc3 in position 5: ordinal not in range(128)
Metadata
Metadata
Assignees
Labels
No labels