Comment 7 for bug 1013587

Revision history for this message
LCG (le-coude-gauche) wrote :

Hello,

I still have problems with pictures from the serie below. The 3 pictures I linked have now thumbnails but I can't recreate thumbnails for two other ones.

The output seems to be the same :
------------
Forcing thumbnail creation
2012-06-20 09:23:50,679 - phraymd core - ERROR
Error on Worker Thread
Traceback (most recent call last):
  File "/home/nico/UTILITAIRES/phraymd/phraymd/modules/phraymd/backend.py", line 1196, in _loop
    if job():
  File "/home/nico/UTILITAIRES/phraymd/phraymd/modules/phraymd/backend.py", line 296, in __call__
    c.make_thumbnail(item,None,True) ##force creation of thumbnail (3rd arg = True)
  File "/home/nico/UTILITAIRES/phraymd/phraymd/modules/phraymd/collectiontypes/localstorebin.py", line 801, in make_thumbnail
    imagemanip.make_thumb(item,self,interrupt_fn,force,self.thumbnail_cache_dir)
  File "/home/nico/UTILITAIRES/phraymd/phraymd/modules/phraymd/imagemanip.py", line 665, in make_thumb
    delete_thumb(item)
  File "/home/nico/UTILITAIRES/phraymd/phraymd/modules/phraymd/imagemanip.py", line 583, in delete_thumb
    io.remove_file(item.thumburi) ##TODO: What if item is in gnome cache? (This will probably work, but maybe not the best way to remove items from cache?) commented code below doesn't look right (deleting twice?)
  File "/home/nico/UTILITAIRES/phraymd/phraymd/modules/phraymd/io.py", line 152, in remove_file
    raise IOError ##todo: reuse the error message
IOError

ERROR:phraymd core:Error on Worker Thread
Traceback (most recent call last):
  File "/home/nico/UTILITAIRES/phraymd/phraymd/modules/phraymd/backend.py", line 1196, in _loop
    if job():
  File "/home/nico/UTILITAIRES/phraymd/phraymd/modules/phraymd/backend.py", line 296, in __call__
    c.make_thumbnail(item,None,True) ##force creation of thumbnail (3rd arg = True)
  File "/home/nico/UTILITAIRES/phraymd/phraymd/modules/phraymd/collectiontypes/localstorebin.py", line 801, in make_thumbnail
    imagemanip.make_thumb(item,self,interrupt_fn,force,self.thumbnail_cache_dir)
  File "/home/nico/UTILITAIRES/phraymd/phraymd/modules/phraymd/imagemanip.py", line 665, in make_thumb
    delete_thumb(item)
  File "/home/nico/UTILITAIRES/phraymd/phraymd/modules/phraymd/imagemanip.py", line 583, in delete_thumb
    io.remove_file(item.thumburi) ##TODO: What if item is in gnome cache? (This will probably work, but maybe not the best way to remove items from cache?) commented code below doesn't look right (deleting twice?)
  File "/home/nico/UTILITAIRES/phraymd/phraymd/modules/phraymd/io.py", line 152, in remove_file
    raise IOError ##todo: reuse the error message
IOError

INFO:phraymd core:Abandoning Highest Priority Task RECREATETHUMB and Resuming Worker Loop
------------------------

Oooups. . .
Re-running Phraymd and it works now. Still don't understand what have happened but everything is OK now.
Thank you.