Advertisement
Guest User

Untitled

a guest
Nov 18th, 2012
61
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.30 KB | None | 0 0
  1. Traceback (most recent call last):
  2. 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)>)
  3. dialog.hide()
  4. self.open_file(dialog.get_filename().decode('utf-8'))
  5. finally:
  6. 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>>)}
  7. File "/usr/share/mypaint/gui/drawwindow.py", line 43, wrapper(self=<gui.filehandling.FileHandler object>, *args=(u'/home/jen/icyblue.ora',), **kwargs={})
  8. try:
  9. func(self, *args, **kwargs)
  10. finally:
  11. 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', {})}
  12. File "/usr/share/mypaint/gui/filehandling.py", line 227, open_file(self=<gui.filehandling.FileHandler object>, filename=u'/home/jen/icyblue.ora')
  13. try:
  14. self.doc.model.load(filename)
  15. except document.SaveLoadError, e:
  16. variables: {'self.doc.model.load': ('local', <bound method Document.load of <lib.document.Document instance at 0x908be2c>>), 'filename': ('local', u'/home/jen/icyblue.ora')}
  17. File "/usr/share/mypaint/lib/document.py", line 284, load(self=<lib.document.Document instance>, filename=u'/home/jen/icyblue.ora')
  18. try:
  19. load(filename)
  20. except gobject.GError, e:
  21. variables: {'load': ('local', <bound method Document.load_ora of <lib.document.Document instance at 0x908be2c>>), 'filename': ('local', u'/home/jen/icyblue.ora')}
  22. File "/usr/share/mypaint/lib/document.py", line 450, load_ora(self=<lib.document.Document instance>, filename=u'/home/jen/icyblue.ora')
  23. tempdir = tempfile.mkdtemp('mypaint')
  24. z = zipfile.ZipFile(filename)
  25. print 'mimetype:', z.read('mimetype').strip()
  26. variables: {'zipfile.ZipFile': ('global', <class zipfile.ZipFile at 0x8cbbb6c>), 'z': (None, []), 'filename': ('local', u'/home/jen/icyblue.ora')}
  27. 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)
  28. if key == 'r':
  29. self._GetContents()
  30. elif key == 'w':
  31. variables: {'self._GetContents': ('local', <bound method ZipFile._GetContents of <zipfile.ZipFile instance at 0x99849ec>>)}
  32. File "/usr/lib/python2.7/zipfile.py", line 744, _GetContents(self=<zipfile.ZipFile instance>)
  33. try:
  34. self._RealGetContents()
  35. except BadZipfile:
  36. variables: {'self._RealGetContents': ('local', <bound method ZipFile._RealGetContents of <zipfile.ZipFile instance at 0x99849ec>>)}
  37. File "/usr/lib/python2.7/zipfile.py", line 759, _RealGetContents(self=<zipfile.ZipFile instance>)
  38. if not endrec:
  39. raise BadZipfile, "File is not a zip file"
  40. if self.debug > 1:
  41. variables: {'BadZipfile': ('global', <class 'zipfile.BadZipfile'>)}
  42. BadZipfile: File is not a zip file
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement