Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Traceback (most recent call last):
- File "/usr/share/mypaint/gui/filehandling.py", line 306, open_cb(self=<gui.filehandling.FileHandler object>, action=<gtk.Action object at 0x909f054 (GtkAction at 0x8e29dc0)>)
- dialog.hide()
- self.open_file(dialog.get_filename().decode('utf-8'))
- finally:
- variables: {'decode': (None, []), 'dialog.get_filename': ('local', <built-in method get_filename of gtk.FileChooserDialog object at 0x997c43c>), 'self.open_file': ('local', <bound method FileHandler.wrapper of <gui.filehandling.FileHandler object at 0x908bdac>>)}
- File "/usr/share/mypaint/gui/drawwindow.py", line 43, wrapper(self=<gui.filehandling.FileHandler object>, *args=(u'/home/jen/icyblue.ora',), **kwargs={})
- try:
- func(self, *args, **kwargs)
- finally:
- variables: {'self': ('local', <gui.filehandling.FileHandler object at 0x908bdac>), 'args': ('local', (u'/home/jen/icyblue.ora',)), 'func': ('local', <function open_file at 0x9034844>), 'kwargs': ('local', {})}
- File "/usr/share/mypaint/gui/filehandling.py", line 227, open_file(self=<gui.filehandling.FileHandler object>, filename=u'/home/jen/icyblue.ora')
- try:
- self.doc.model.load(filename)
- except document.SaveLoadError, e:
- variables: {'self.doc.model.load': ('local', <bound method Document.load of <lib.document.Document instance at 0x908be2c>>), 'filename': ('local', u'/home/jen/icyblue.ora')}
- File "/usr/share/mypaint/lib/document.py", line 284, load(self=<lib.document.Document instance>, filename=u'/home/jen/icyblue.ora')
- try:
- load(filename)
- except gobject.GError, e:
- variables: {'load': ('local', <bound method Document.load_ora of <lib.document.Document instance at 0x908be2c>>), 'filename': ('local', u'/home/jen/icyblue.ora')}
- File "/usr/share/mypaint/lib/document.py", line 450, load_ora(self=<lib.document.Document instance>, filename=u'/home/jen/icyblue.ora')
- tempdir = tempfile.mkdtemp('mypaint')
- z = zipfile.ZipFile(filename)
- print 'mimetype:', z.read('mimetype').strip()
- variables: {'zipfile.ZipFile': ('global', <class zipfile.ZipFile at 0x8cbbb6c>), 'z': (None, []), 'filename': ('local', u'/home/jen/icyblue.ora')}
- File "/usr/lib/python2.7/zipfile.py", line 710, __init__(self=<zipfile.ZipFile instance>, file=u'/home/jen/icyblue.ora', mode='r', compression=0, allowZip64=False)
- if key == 'r':
- self._GetContents()
- elif key == 'w':
- variables: {'self._GetContents': ('local', <bound method ZipFile._GetContents of <zipfile.ZipFile instance at 0x99849ec>>)}
- File "/usr/lib/python2.7/zipfile.py", line 744, _GetContents(self=<zipfile.ZipFile instance>)
- try:
- self._RealGetContents()
- except BadZipfile:
- variables: {'self._RealGetContents': ('local', <bound method ZipFile._RealGetContents of <zipfile.ZipFile instance at 0x99849ec>>)}
- File "/usr/lib/python2.7/zipfile.py", line 759, _RealGetContents(self=<zipfile.ZipFile instance>)
- if not endrec:
- raise BadZipfile, "File is not a zip file"
- if self.debug > 1:
- variables: {'BadZipfile': ('global', <class 'zipfile.BadZipfile'>)}
- BadZipfile: File is not a zip file
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement