Skip to content

Instantly share code, notes, and snippets.

@blakesweeney
Created February 7, 2012 13:53
Show Gist options
  • Save blakesweeney/1759783 to your computer and use it in GitHub Desktop.
Save blakesweeney/1759783 to your computer and use it in GitHub Desktop.
Alot crash from open quote
Traceback (most recent call last):
File "/usr/local/Cellar/python/2.7.1/bin/alot", line 20, in <module>
main()
File "/usr/local/Cellar/python/2.7.1/lib/python2.7/site-packages/alot/init.py", line 101, in main
args.colours,
File "/usr/local/Cellar/python/2.7.1/lib/python2.7/site-packages/alot/ui.py", line 111, in __init__
self.mainloop.run()
File "/usr/local/Cellar/python/2.7.1/lib/python2.7/site-packages/urwid-1.0.1-py2.7-macosx-10.4-i386.egg/urwid/main_loop.py", line 274, in run
self.screen.run_wrapper(self._run)
File "/usr/local/Cellar/python/2.7.1/lib/python2.7/site-packages/urwid-1.0.1-py2.7-macosx-10.4-i386.egg/urwid/raw_display.py", line 237, in run_wrapper
return fn()
File "/usr/local/Cellar/python/2.7.1/lib/python2.7/site-packages/urwid-1.0.1-py2.7-macosx-10.4-i386.egg/urwid/main_loop.py", line 307, in _run
self.event_loop.run()
File "/usr/local/Cellar/python/2.7.1/lib/python2.7/site-packages/urwid-1.0.1-py2.7-macosx-10.4-i386.egg/urwid/main_loop.py", line 1161, in wrapper
rval = f(*args,**kargs)
File "/usr/local/Cellar/python/2.7.1/lib/python2.7/site-packages/urwid-1.0.1-py2.7-macosx-10.4-i386.egg/urwid/main_loop.py", line 358, in _update
self.process_input(keys)
File "/usr/local/Cellar/python/2.7.1/lib/python2.7/site-packages/urwid-1.0.1-py2.7-macosx-10.4-i386.egg/urwid/main_loop.py", line 449, in process_input
k = self._topmost_widget.keypress(self.screen_size, k)
File "/usr/local/Cellar/python/2.7.1/lib/python2.7/site-packages/alot/ui.py", line 56, in keypress
return self._w.keypress(size, key)
File "/usr/local/Cellar/python/2.7.1/lib/python2.7/site-packages/urwid-1.0.1-py2.7-macosx-10.4-i386.egg/urwid/container.py", line 373, in keypress
*self.calculate_padding_filler(size, True)), key)
File "/usr/local/Cellar/python/2.7.1/lib/python2.7/site-packages/urwid-1.0.1-py2.7-macosx-10.4-i386.egg/urwid/container.py", line 1390, in keypress
key = w.keypress( (mc,)+size[1:], key )
File "/usr/local/Cellar/python/2.7.1/lib/python2.7/site-packages/alot/widgets.py", line 293, in keypress
self.completer.complete(self.edit_text, self.edit_pos)
File "/usr/local/Cellar/python/2.7.1/lib/python2.7/site-packages/alot/completion.py", line 130, in complete
res = res + abook.lookup(prefix)
File "/usr/local/Cellar/python/2.7.1/lib/python2.7/site-packages/alot/account.py", line 323, in lookup
resultstring = cmd_output('%s %s' % (self.command, prefix))
File "/usr/local/Cellar/python/2.7.1/lib/python2.7/site-packages/alot/helper.py", line 217, in cmd_output
args = shlex.split(command_line.encode('utf-8', errors='ignore'))
File "/usr/local/Cellar/python/2.7.1/lib/python2.7/shlex.py", line 279, in split
return list(lex)
File "/usr/local/Cellar/python/2.7.1/lib/python2.7/shlex.py", line 269, in next
token = self.get_token()
File "/usr/local/Cellar/python/2.7.1/lib/python2.7/shlex.py", line 96, in get_token
raw = self.read_token()
File "/usr/local/Cellar/python/2.7.1/lib/python2.7/shlex.py", line 172, in read_token
raise ValueError, "No closing quotation"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment