431 out of date photos but rebuild doesn't rebuild

dorfl65

Joined: 2009-09-25
Posts: 32
Posted: Tue, 2010-04-13 14:55

I installed Gallery3, tested with a few pics, worked well. Then I did server install of a few hundred pics in a few directories/albums. Some of these stalled and I restarted. One of the tasks returned an error that I did not write down (I know, I know...)

Now I have 431 pictures out of date, but the rebuild process doesn't address this: It runs but doesn't rebuild.

Screenshot and log below. Looks like the database thinks there is a picture but the files are not there. Ideas to rescue this? Thanks

[img]http://rehm.org/test/screen.jpg[/img]

Task Rebuild Images started (task id 36)
Unable to rebuild images for 'WRIMG 20070421 0424'
exception 'Exception' with message '@todo EMPTY_INPUT_FILE' in /home/rehmorg/public_html/gallery3/modules/gallery/helpers/gallery_graphics.php:55
Stack trace:
#0 /home/rehmorg/public_html/gallery3/modules/gallery/helpers/graphics.php(162): gallery_graphics_Core::resize('/home/rehmorg/p...', '/home/rehmorg/p...', Array)
#1 /home/rehmorg/public_html/gallery3/modules/gallery/helpers/gallery_task.php(76): graphics_Core::generate('gallery_graphic...', Array)
#2 /home/rehmorg/public_html/gallery3/modules/gallery/helpers/task.php(90): gallery_task_Core::rebuild_dirty_images(Object(Item_Model))
#3 /home/rehmorg/public_html/gallery3/modules/gallery/controllers/admin_maintenance.php(186): task_Core::run(Object(Task_Model))
#4 /home/rehmorg/public_html/gallery3/modules/gallery/controllers/admin.php(57): Admin_Maintenance_Controller->run('gallery_task::r...', Array)
#5 [internal function]: Admin_Controller->__call('36')
#6 /home/rehmorg/public_html/gallery3/system/core/Kohana.php(330): ReflectionMethod->invokeArgs('36')
#7 /home/rehmorg/public_html/gallery3/system/core/Event.php(208): Kohana_Core::instance(Array, Array)
#8 /home/rehmorg/public_html/gallery3/application/Bootstrap.php(67): Event_Core::run('maintenance', Array)
#9 /home/rehmorg/public_html/gallery3/index.php(91): require('/home/rehmorg/p...')
#10 {main}
Unable to rebuild images for 'WRIMG 20070421 0423'
exception 'Exception' with message '@todo EMPTY_INPUT_FILE' in /home/rehmorg/public_html/gallery3/modules/gallery/helpers/gallery_graphics.php:55
Stack trace:
#0 /home/rehmorg/public_html/gallery3/modules/gallery/helpers/graphics.php(162): gallery_graphics_Core::resize('/home/rehmorg/p...', '/home/rehmorg/p...', Array)
#1 /home/rehmorg/public_html/gallery3/modules/gallery/helpers/gallery_task.php(76): graphics_Core::generate('gallery_graphic...', Array)
#2 /home/rehmorg/public_html/gallery3/modules/gallery/helpers/task.php(90): gallery_task_Core::rebuild_dirty_images(Object(Item_Model))
#3 /home/rehmorg/public_html/gallery3/modules/gallery/controllers/admin_maintenance.php(186): task_Core::run(Object(Task_Model))
#4 /home/rehmorg/public_html/gallery3/modules/gallery/controllers/admin.php(57): Admin_Maintenance_Controller->run('gallery_task::r...', Array)
#5 [internal function]: Admin_Controller->__call('36')
#6 /home/rehmorg/public_html/gallery3/system/core/Kohana.php(330): ReflectionMethod->invokeArgs('36')
#7 /home/rehmorg/public_html/gallery3/system/core/Event.php(208): Kohana_Core::instance(Array, Array)
#8 /home/rehmorg/public_html/gallery3/application/Bootstrap.php(67): Event_Core::run('maintenance', Array)
#9 /home/rehmorg/public_html/gallery3/index.php(91): require('/home/rehmorg/p...')
#10 {main}
Unable to rebuild images for 'WRIMG 20070421 0425'
exception 'Exception' with message '@todo EMPTY_INPUT_FILE' in /home/rehmorg/public_html/gallery3/modules/gallery/helpers/gallery_graphics.php:55
Stack trace:
#0

[and so on]

 
nivekiam
nivekiam's picture

Joined: 2002-12-10
Posts: 16504
Posted: Tue, 2010-04-13 18:50

Try upgrading to the latest experimental code. I can tell from your screenshot you're not on that.

You can grab that here:
http://github.com/gallery/gallery3/zipball/master

Follow upgrade instructions here:
http://codex.gallery2.org/Gallery3:Upgrading
____________________________________________
Like Gallery? Like the support? Donate now!!! See G2 live here

 
dorfl65

Joined: 2009-09-25
Posts: 32
Posted: Tue, 2010-04-13 19:35

OK, did that, didn't fix it really, so I ran the "fix album" task, which was new. I stopped it though once the counter reached the state below (more than 300,000 lines of 7600 (see screenshot).

I think something seriously went kaboom in the database - I will reinstall the whole thing if you don't want me to do more analysis (happy to do so if that's helpful for the effort. Note that this is on bluehost.com, so I can't do all the magic you might be able to do)
[img]http://rehm.org/test/screen2.jpg[/img]