Comment 5 for bug 1013587

Revision history for this message
dmoore (damien-moore) wrote : Re: [Bug 1013587] Re: Red/pink thumbnails and pictures

Might be a race condition between the thumbnailer and browser. Try
scrolling the images that are missing out of the view after you select
recreate and see if that helps.

I didn't have problems with the 3 images you linked. But the images loaded
correctly first time, so that probably makes a difference.
On Jun 16, 2012 4:00 AM, "LCG" <email address hidden> wrote:

> I'm not using the "Use embedded thumbnails if available" option as there
> was to much missing thumbnails.
>
> 1. I tried to "recreate thyumbnails" with the last version on one picture
> and it works
> Output :
> --------------------
> Forcing thumbnail creation
> Creating thumbnail for
> Archives/GALERIE_IMAGES/archives/Reunion_de_Paysage/02.jpg
> /media/HDIMAGES/Archives/GALERIE_IMAGES/archives/Reunion_de_Paysage/02.jpg
> Opened with GDK
> ---------------------
>
> 2. Then I made a selection of 9 pictures and Phraymd seems to hang on
> (crashed but opened)
> Here what I have in the terminal :
> ------------------------------
> Forcing thumbnail creation
> 2012-06-16 09:40:09,912 - phraymd core - ERROR
> Error on Worker Thread
> Traceback (most recent call last):
> File "/home/nico/UTILITAIRES/phraymd/phraymd/modules/phraymd/backend.py",
> line 1197, in _loop
> if job():
> File "/home/nico/UTILITAIRES/phraymd/phraymd/modules/phraymd/backend.py",
> line 295, 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 783, 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 1197, in _loop
> if job():
> File "/home/nico/UTILITAIRES/phraymd/phraymd/modules/phraymd/backend.py",
> line 295, 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 783, 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
> -----------------------------------
>
> Hum! I have made more tests and I don't understand. Sometimes it works but
> most of the time it doesn't. The outputs are the same as above.
> In the main window, Phraymd seems to be blocked but "Select None"
> "deblocks it (sorry I don't know how to say that correctly!?)
>
> You can find 3 pictures that cause the problem here :
> http://www.lcgsone.com/fichiers/problem_pictures.zip
> If you need more, don't hesitate.
>
> --
> You received this bug notification because you are subscribed to
> phraymd.
> https://bugs.launchpad.net/bugs/1013587
>
> Title:
> Red/pink thumbnails and pictures
>
> To manage notifications about this bug go to:
> https://bugs.launchpad.net/phraymd/+bug/1013587/+subscriptions
>