Problems with exif module

electrofreak66

Joined: 2009-07-21
Posts: 1
Posted: Tue, 2009-07-21 05:35

I am having problems with the Exif module. I was running Gallery 3 Beta 1 and now am running Beta 2 (both have this problem). The problem I am having is I uploaded about 200 pictures without the Exif module being enabled with no problems. Once I turn on the Exif module it says I need to extract Exif info from 200 pictures, I tell it to go ahead and run the task and it just sits there and does nothing. The status indicates that it is "Starting up..." but never does anything and just sits there for hours if I let it. I went to upload about 100 more pictures while the exif module was on and about half failed. The half that did not fail, it successfully extracted the exif data from. The half that "failed" seemed to have uploaded to the server just fine and even shows up in when I check /var/albums but shows up as an empty picture when viewing the actual gallery. So, I turned off the exif module and re-uploaded those pictures that failed and all of them uploaded with no problems. I have checked gallery3/var/logs, syslog and my php logs and they all come up with no errors. All the pictures are taken with the same exact camera. I am baffled. Any ideas?

 
bharat
bharat's picture

Joined: 2002-05-21
Posts: 7985
Posted: Tue, 2009-07-21 14:07

Nothing in the gallery3/var/logs? Weird. How about your Apache error logs? It's possible that the EXIF code (a 3rd party library that is known to have some bugs) is dying on oddities in your images. Have you been using any tools to post-process your images that might result in weird data being in there? Can you try to narrow it down to a smaller set of images that triggers the problem? If you can get it down to a relatively small batch and put those into a zip file I can try to reproduce the problem and fix it.
---
Problems? Check gallery3/var/logs
bugs/feature req's | upgrade to the latest code | use git | help! vote!

 
thumb
thumb's picture

Joined: 2004-05-26
Posts: 230
Posted: Thu, 2009-09-17 06:53

I'm running into the same issue on a fresh install. I haven't done anything special to any of the photos exif data. I haven't found anything in var/logs, this is a fresh install and there aren't any logs yet, which is odd.

Support the Gallery project with a donation
--
2tbsp.com

 
almandot

Joined: 2007-05-03
Posts: 13
Posted: Thu, 2009-09-24 06:14

I'm getting the same problem. was on beta2 and upgraded to beta3 and same thing. I go to run the extract exif data maintenance and it just hangs on Starting up. If I pause it it shows up as a stalled task but resuming it doesn't do anything to help it's still hanging on Starting up

log shows

Task Extract Exif data started (task id 15)

and nothing after

 
Lucent

Joined: 2005-01-12
Posts: 3
Posted: Thu, 2010-03-11 18:30

Same problem on RC1. It's definitely hanging on some image or images, but I can't tell which one via the logs. This blocked import from Gallery2. Had to disable the EXIF module to be able to import.