IOError

Bug #1048854 reported by Natalia Bidart
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
pycasa
Fix Released
High
Natalia Bidart

Bug Description

gatox@utopia:~/Downloads/pycasa$ python Pycasa.py
Unhandled exception in thread started by
Traceback (most recent call last):
  File "Pycasa.py", line 321, in decorate
    res = f(self, *args)
  File "Pycasa.py", line 372, in updateAlbums
    gobject.idle_add(append_item_to_store, self.albumStore, self._storeItem(a))
  File "Pycasa.py", line 681, in _storeItem
    pixbuf = gtk.gdk.pixbuf_new_from_file_at_size(item.getThumbnail().path, 40, -1)
  File "/home/gatox/Downloads/pycasa/app/Album.py", line 75, in getThumbnail
    thumb.download()
  File "/home/gatox/Downloads/pycasa/app/DownloadableItem.py", line 43, in download
    f = open(dest, 'w')
IOError: [Errno 2] No such file or directory: '/home/gatox/Downloads/pycasa/app/thumbs/160_x_160_06/10/11'

Related branches

Revision history for this message
Diego Sarmentero (diegosarmentero) wrote :

Traceback (most recent call last):
  File "/usr/lib/python2.7/dist-packages/twisted/internet/defer.py", line 1181, in unwindGenerator
    return _inlineCallbacks(None, gen, Deferred())
  File "/usr/lib/python2.7/dist-packages/twisted/internet/defer.py", line 1039, in _inlineCallbacks
    result = g.send(result)
  File "/home/gatox/Desktop/no-margin-for-error/pycasa/backend.py", line 215, in get_thumbnail
    yield thumb.download()
  File "/usr/lib/python2.7/dist-packages/twisted/internet/defer.py", line 1181, in unwindGenerator
    return _inlineCallbacks(None, gen, Deferred())
--- <exception caught here> ---
  File "/usr/lib/python2.7/dist-packages/twisted/internet/defer.py", line 1039, in _inlineCallbacks
    result = g.send(result)
  File "/home/gatox/Desktop/no-margin-for-error/pycasa/backend.py", line 99, in download
    f = open(dest, 'wb')
exceptions.IOError: [Errno 2] No such file or directory: '/home/gatox/.pycasa/thumbs/160_x_160_06/10/11'Traceback (most recent call last):
  File "/usr/lib/python2.7/dist-packages/twisted/internet/defer.py", line 1181, in unwindGenerator
    return _inlineCallbacks(None, gen, Deferred())
  File "/usr/lib/python2.7/dist-packages/twisted/internet/defer.py", line 1039, in _inlineCallbacks
    result = g.send(result)
  File "/home/gatox/Desktop/no-margin-for-error/pycasa/backend.py", line 215, in get_thumbnail
    yield thumb.download()
  File "/usr/lib/python2.7/dist-packages/twisted/internet/defer.py", line 1181, in unwindGenerator
    return _inlineCallbacks(None, gen, Deferred())
--- <exception caught here> ---
  File "/usr/lib/python2.7/dist-packages/twisted/internet/defer.py", line 1039, in _inlineCallbacks
    result = g.send(result)
  File "/home/gatox/Desktop/no-margin-for-error/pycasa/backend.py", line 99, in download
    f = open(dest, 'wb')
exceptions.IOError: [Errno 2] No such file or directory: '/home/gatox/.pycasa/thumbs/160_x_160_06/10/11'Traceback (most recent call last):
  File "/usr/lib/python2.7/dist-packages/twisted/internet/defer.py", line 1181, in unwindGenerator
    return _inlineCallbacks(None, gen, Deferred())
  File "/usr/lib/python2.7/dist-packages/twisted/internet/defer.py", line 1039, in _inlineCallbacks
    result = g.send(result)
  File "/home/gatox/Desktop/no-margin-for-error/pycasa/backend.py", line 215, in get_thumbnail
    yield thumb.download()
  File "/usr/lib/python2.7/dist-packages/twisted/internet/defer.py", line 1181, in unwindGenerator
    return _inlineCallbacks(None, gen, Deferred())
--- <exception caught here> ---
  File "/usr/lib/python2.7/dist-packages/twisted/internet/defer.py", line 1039, in _inlineCallbacks
    result = g.send(result)
  File "/home/gatox/Desktop/no-margin-for-error/pycasa/backend.py", line 99, in download
    f = open(dest, 'wb')
exceptions.IOError: [Errno 2] No such file or directory: '/home/gatox/.pycasa/thumbs/160_x_160_06/10/11'

Revision history for this message
Diego Sarmentero (diegosarmentero) wrote :
Changed in pycasa:
importance: Undecided → High
assignee: nobody → Natalia Bidart (nataliabidart)
status: New → In Progress
Changed in pycasa:
status: In Progress → Fix Committed
Changed in pycasa:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.