-
Notifications
You must be signed in to change notification settings - Fork 9
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
No thumbnails at very large collection. #15
Comments
I also get this problem with ico and png and most jpg files in updated Ubuntu 16.04 and picty (as of git version cloned today )
|
Right-click, "Select All " Right-click, "Recreate Thumnails," works. Maybe you should add an option (on by default) to "Recreate missing thumbnails automatically" |
However just so you know sometimes its PIL's fault (can't parse):
where this only happened in rare cases --the rest of the thumbnails were generated |
What options do you have checked in the advanced part of the collection
settings?
There are probably a few things that can be done to the collection settings
as well as some improvements to the chain of logic that determines which
image thumbnailer is used (exiv2, gtk, pil, dcraw etc). Which file types
are causing the problems?
On Dec 6, 2017 6:20 PM, "Jacob Gustafson" <notifications@github.com> wrote:
Right-click, "Select All " Right-click, "Recreate Thumnails," works. Maybe
you should add an option (on by default) to "Recreate missing thumbnails
automatically"
However just so you know sometimes its PIL's fault (can't parse):
Opened with GDK
Creating thumbnail for redacted/monster-slide A.psd
/run/user/66586672/gvfs/smb-share:server=fcafiles,share=student/redacted/monster-slide
A.psd
/run/user/66586672/gvfs/smb-share:server=fcafiles,share=student/redacted/monster-slide
A.psd has no thumbnail.
Cannot decode file
/run/user/66586672/gvfs/smb-share:server=fcafiles,share=student/redacted/monster-slide
A.psd
Error creating thumbnail for redacted/monster-slide A.psd
Traceback (most recent call last):
File "/usr/share/picty/picty/imagemanip.py", line 963, in make_thumb
image = p.close()
File "/usr/lib/python2.7/dist-packages/PIL/ImageFile.py", line 423, in close
raise IOError("cannot parse this image")
IOError: cannot parse this image
Creating thumbnail for redacted/bed empty.jpg
/run/user/66586672/gvfs/smb-share:server=fcafiles,share=student/redacted/bed
empty.jpg
where redacted is a username
this only happened in rare cases --the rest of the thumbnails were generated
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<#15 (comment)>, or mute
the thread
<https://github.com/notifications/unsubscribe-auth/AAFd5b8fozyERkGWcY6hj30vL06jEKyNks5s9yElgaJpZM4KHbJL>
.
|
I am not using a collection, I am opening a folder from the welcome screen of picty However, I doubt those settings are being used by the open folder option, since only certain things have thumbnails before clicking "Recreate thumbnails" but I don't know the code so I'm not sure. |
x264-encoded mp4 too:
|
Defaults aren't the same for opening folders that way, although maybe they
should be. In particular it doesn't "store in cache" and I think that means
it won't try alternative thumb readers if the built-in thumbnails aren't
present.
…On Dec 6, 2017 8:32 PM, "Jacob Gustafson" ***@***.***> wrote:
I am not using a collection, I am opening a folder from the welcome screen
of picty
I would assume that would use the default options (below were seen as
default when creating a new collection):
Include sub-directories: yes
Rescan for changes after opening: yes
Monitor image folders for changes: yes
Load image metadata: yes
Use metadata sidecars for unsupported formats: no
Use embedded thumbnails if available: no
Store thumbnails in cache: yes
Thumbnail storage: Gnome Desktop Thumbnail Cache (User's Home)
Trash Location: User's Trash Folder
However, I doubt those settings are being used by the open folder option,
since only certain things have thumbnails before clicking "Recreate
thumbnails"
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#15 (comment)>, or mute
the thread
<https://github.com/notifications/unsubscribe-auth/AAFd5SGJ0S-PRErDG_PoXeLJ-wvlJfGcks5s90AUgaJpZM4KHbJL>
.
|
another one that didn't work, since you asked (not all psd files but some--see attached zipped psd file--opens in GIMP).
|
also there's dds, which can be decoded by ImageMajick which I don't have installed but it could be used if present: https://superuser.com/questions/159379/convert-dds-to-png-using-linux-command-line |
Nothing should block when scanning a collection. If it does it's a bug.
…On Dec 6, 2017 10:10 PM, "Jacob Gustafson" ***@***.***> wrote:
another one that didn't work, since you asked (not all psd files but some).
I tried to add that whole folder as a collection, and thought it was done
because the window was finally non-blank due to blocking io when adding a
collection, but after I clicked x to close the program I got:
Creating thumbnail for redacted/monster-slide 4.psd /run/user/66586672/gvfs/smb-share:server=fcafiles,share=student/redacted/monster-slide 4.psd
Opened with PIL
cached at /home/local/FBM/jgustafson/.thumbnails/normal/0fb5fc793b861cdbafa7aa5045ddb74d.png
Creating thumbnail for redacted/monster-slide 4A.psd /run/user/66586672/gvfs/smb-share:server=fcafiles,share=student/redacted/monster-slide 4A.psd
/usr/share/picty/picty/uitools/floats.py:128: GtkWarning: gtk_toolbar_remove: assertion 'content_to_remove != NULL' failed
self.mainframe.toolbar1.remove(p.toggle)
/run/user/66586672/gvfs/smb-share:server=fcafiles,share=student/redacted/monster-slide 4A.psd has no thumbnail.
Cannot decode file /run/user/66586672/gvfs/smb-share:server=fcafiles,share=student/redacted/monster-slide 4A.psd
Error creating thumbnail for redacted/monster-slide 4A.psd
Traceback (most recent call last):
File "/usr/share/picty/picty/imagemanip.py", line 963, in make_thumb
image = p.close()
File "/usr/lib/python2.7/dist-packages/PIL/ImageFile.py", line 423, in close
raise IOError("cannot parse this image")
IOError: cannot parse this image
Error removing watch
Traceback (most recent call last):
File "/usr/share/picty/picty/fstools/monitor2.py", line 29, in stop
self.wm.rm_watch(wd.values(),rec=self.recursive)
File "/usr/lib/python2.7/dist-packages/pyinotify.py", line 2158, in rm_watch
del self._wmd[awd]
KeyError: 16577
SAVED VIEW <picty.collectiontypes.simpleview.SimpleView instance at 0x7fdd4cae5320>
no map source
monster-slide 4A.psd.zip
<https://github.com/spillz/picty/files/1537669/monster-slide.4A.psd.zip>
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#15 (comment)>, or mute
the thread
<https://github.com/notifications/unsubscribe-auth/AAFd5StYRyuk0MeRSOFGFnVuIXdwXAcUks5s91clgaJpZM4KHbJL>
.
|
Yes, I had started working on user customizations that would allow the user
to specify handlers for dds and other file types. Then my long hiatus from
open source coding began.... Hope to get back to this one of these days. I
still use picty regularly.
…On Dec 8, 2017 3:38 PM, "Jacob Gustafson" ***@***.***> wrote:
also there's dds, which can be decoded by ImageMajick which I don't have
installed but it could be used if present: https://superuser.com/
questions/159379/convert-dds-to-png-using-linux-command-line
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#15 (comment)>, or mute
the thread
<https://github.com/notifications/unsubscribe-auth/AAFd5dwU_Vmey8oVvQ-lSBjUJ74HTvd1ks5s-Z4_gaJpZM4KHbJL>
.
|
Hello
with a large collection 100k+ i see only the last thumbnails. With recreate thumbnails i can see at one point the first thumbnail was remove when a new thumbnail at the end was create.
Version is xubuntu 16.04.01 and picty testing-r800.
regards Thomas
The text was updated successfully, but these errors were encountered: