pazz/alot — Issue #301: can't attach a file, was working before
Author: mortbauer
Created: 2012-02-02 16:53:11+00:00
State: open

When i try to attach a file in compose mode i get following output in my logfile in debug mode:

DEBUG:__init__:mode:envelope got commandline "prompt 'attach ~/'"
DEBUG:__init__:ARGS: [u'prompt', u'attach ~/']
DEBUG:__init__:PARMS: {'startwith': u'attach ~/'}
DEBUG:__init__:cmd parms {'posthook': None, 'startwith': u'attach ~/', 'prehook': None}
DEBUG:ui:apply command:
INFO:globals:open command shell
DEBUG:__init__:mode:global got commandline "bnext"
DEBUG:__init__:ARGS: [u'bnext']
DEBUG:__init__:PARMS: {'offset': 1}
DEBUG:__init__:cmd parms {'posthook': None, 'prehook': None, 'offset': 1}
DEBUG:__init__:mode:global got commandline "select"
DEBUG:__init__:ARGS: [u'select']
DEBUG:__init__:PARMS: {'key': 'select'}
DEBUG:__init__:cmd parms {'prehook': None, 'key': 'select', 'posthook': None}
DEBUG:ui:apply command:
DEBUG:globals:CMDLINE: attach /home/martin/facebook.pdf
DEBUG:__init__:mode:envelope got commandline "attach /home/martin/facebook.pdf"
DEBUG:__init__:ARGS: [u'attach', u'/home/martin/facebook.pdf']
DEBUG:__init__:PARMS: {'path': u'/home/martin/facebook.pdf'}
DEBUG:__init__:cmd parms {'path': u'/home/martin/facebook.pdf', 'prehook': None, 'posthook': None}
DEBUG:ui:apply command:
INFO:envelope:attaching: [u'/home/martin/facebook.pdf']
DEBUG:ui:Traceback (most recent call last):
Failure: exceptions.AttributeError: 'module' object has no attribute 'open'

DEBUG:__init__:mode:envelope got commandline "exit"
DEBUG:__init__:ARGS: [u'exit']
DEBUG:__init__:PARMS: {}
DEBUG:__init__:cmd parms {'prehook': None, 'posthook': None}
DEBUG:ui:apply command:

This appears with evry filetype i tryed so far.