Feed on
Posts
Comments

for some reason, my uploaded photos in gallery weren’t uploaded correctly: no thumbnails were appearing.  checking my debugging logs yielded the following error message:

Executing: ( "/usr/bin/convert"  "-quality"  "100"  "-size"  "800x800" 
"-geometry"  "800x800"  "~/g2data/albums/artwork/Edit -
Steffi.jpg"  "jpg:~/g2data/tmp/imgk_MWuJOs" )
2>"/tmp/g2dbglFFbOl"
file_exists(/tmp/g2dbglFFbOl)
filesize(/tmp/g2dbglFFbOl)
fopen(/tmp/g2dbglFFbOl, r, 0)
feof(Resource id #169)
fgets(Resource id #169, 4096)
feof(Resource id #169)
fgets(Resource id #169, 4096)
feof(Resource id #169)
fclose(Resource id #169)
unlink(/tmp/g2dbglFFbOl)
Regular Output:
Error Output:
convert: unable to open image `~/g2data/tmp/imgk_MWuJOs': No such
file or directory.
Status: 1 (expected 0)
unlink(~/g2data/tmp/imgk_MWuJOs)

it took some thinking, but i finally realized, it was because i had no /tmp/ directory in my g2data folder!  creating one quickly solved the problem.


Bookmark and Share

if that was helpful ...

check out the other tips and tricks i've compiled on these pages. you might learn something else interesting!

Did I get this wrong? Let me know!

Trackback URI | Comments RSS

More blogs about http://desk.stinkpot.org:8080/tricks.