Problem with rebuild images

DrNoD

Joined: 2012-05-23
Posts: 8
Posted: Wed, 2012-05-23 02:01

Hi,

i updated to Gallery3 and imported gallery2.

the Problem is that not all images get thumbs.
i tried to rebuild images. some images dont work.

i installed g3 fresh and tried without import from g2. same problem:

Quote:
Task Rebuild Images started (task id 42)
Unable to rebuild images for 'famous'
exception 'Kohana_Exception' with message 'The specified image, /homepages/10/d19554031/htdocs/gal3/var/thumbs/famous.png, was not found. Please verify that images exist by using file_exists() before manipulating them.' in /homepages/10/d19554031/htdocs/gal3/system/libraries/Image.php:79
Stack trace:
#0 /homepages/10/d19554031/htdocs/gal3/system/libraries/Image.php(56): Image_Core->__construct('/homepages/10/d...', NULL)
#1 /homepages/10/d19554031/htdocs/gal3/modules/gallery/helpers/gallery_graphics.php(122): Image_Core::factory('/homepages/10/d...')
#2 [internal function]: gallery_graphics_Core::composite('/homepages/10/d...', '/homepages/10/d...', Array, Object(Item_Model))
#3 /homepages/10/d19554031/htdocs/gal3/modules/gallery/helpers/graphics.php(173): call_user_func_array('gallery_graphic...', Array)
#4 /homepages/10/d19554031/htdocs/gal3/modules/gallery/helpers/gallery_task.php(107): graphics_Core::generate(Object(Item_Model))
#5 [internal function]: gallery_task_Core::rebuild_dirty_images(Object(Task_Model))
#6 /homepages/10/d19554031/htdocs/gal3/modules/gallery/helpers/task.php(90): call_user_func_array('gallery_task::r...', Array)
#7 /homepages/10/d19554031/htdocs/gal3/modules/gallery/controllers/admin_maintenance.php(194): task_Core::run('42')
#8 [internal function]: Admin_Maintenance_Controller->run('42')
#9 /homepages/10/d19554031/htdocs/gal3/modules/gallery/controllers/admin.php(62): call_user_func_array(Array, Array)
#10 [internal function]: Admin_Controller->__call('maintenance', Array)
#11 /homepages/10/d19554031/htdocs/gal3/system/core/Kohana.php(331): ReflectionMethod->invokeArgs(Object(Admin_Controller), Array)
#12 [internal function]: Kohana_Core::instance(NULL)
#13 /homepages/10/d19554031/htdocs/gal3/system/core/Event.php(208): call_user_func_array(Array, Array)
#14 /homepages/10/d19554031/htdocs/gal3/application/Bootstrap.php(67): Event_Core::run('system.execute')
#15 /homepages/10/d19554031/htdocs/gal3/index.php(102): require('/homepages/10/d...')
#16 {main}
Updated: 0 images. Total: 1.

 
floridave
floridave's picture

Joined: 2003-12-22
Posts: 25965
Posted: Wed, 2012-05-23 02:25

Make sure you are not using GD as a image toolkit.
Admin -> settings ~> graphics

Does the rebuild items module help?

Dave
___________________________________________
Blog & G2 || floridave - Gallery Team

 
DrNoD

Joined: 2012-05-23
Posts: 8
Posted: Wed, 2012-05-23 02:48

it is activated:
ImageMagick version 6.6.0-4 is available in /usr/bin

If i use the rebuild module and "reset" pictures (mark the for thumbnail creation) some pictures will be processed, others not.

still the same problem

mark as dirty:
Rebuild Images Success Updated: 1 image. Total: 2.
then:
Rebuild Images Success Updated: 0 images. Total: 1.

 
floridave
floridave's picture

Joined: 2003-12-22
Posts: 25965
Posted: Wed, 2012-05-23 02:51

Then your host has some limit to the size or time used to process the image.
Are they big?

Dave
_____________________________________________
Blog & G2 || floridave - Gallery Team

 
DrNoD

Joined: 2012-05-23
Posts: 8
Posted: Wed, 2012-05-23 02:56

384x512 44,0 kb for example.

i uploaded this picture for testing.

 
floridave
floridave's picture

Joined: 2003-12-22
Posts: 25965
Posted: Wed, 2012-05-23 03:16

Got a sample for testing?

Dave
_____________________________________________
Blog & G2 || floridave - Gallery Team

 
DrNoD

Joined: 2012-05-23
Posts: 8
Posted: Wed, 2012-05-23 03:26

yes.
http://pic.nodestiny.de/

you can use all pictures w/o thumb. for example the "famous" pic and the dragonkite pictures in album "Drachen"

you can click them for full size. but creating thumbs is not possible

 
floridave
floridave's picture

Joined: 2003-12-22
Posts: 25965
Posted: Wed, 2012-05-23 04:31

Works fine for me:
http://www.langleycom.com/gallery3/test/famous
perhaps your image toolkit does not support these .png images
It should but I'm using Image Magic 6.7.6-4

Dave
_____________________________________________
Blog & G2 || floridave - Gallery Team

 
DrNoD

Joined: 2012-05-23
Posts: 8
Posted: Wed, 2012-05-23 04:59

hmm...
it's not working on .jpg, too. :)

i dont know. But i think its a 1&1 Problem.

i have to stay on gallery 2 or search other online gallery :(

 
floridave
floridave's picture

Joined: 2003-12-22
Posts: 25965
Posted: Wed, 2012-05-23 13:27
 
DrNoD

Joined: 2012-05-23
Posts: 8
Posted: Wed, 2012-05-23 13:48

i have done that.

if i woulnd use these settings, g3 is NOT working at all.

but there are no infos with GD or Imagemagick.

 
floridave
floridave's picture

Joined: 2003-12-22
Posts: 25965
Posted: Wed, 2012-05-23 13:42

Perhaps another community member will have a clue.

Dave
_____________________________________________
Blog & G2 || floridave - Gallery Team

 
pierrel
pierrel's picture

Joined: 2006-02-09
Posts: 16
Posted: Thu, 2012-09-20 12:33

Dave its called ImageMagick :-)

 
pierrel
pierrel's picture

Joined: 2006-02-09
Posts: 16
Posted: Thu, 2012-09-20 12:37

I have to same problem, "Rebuild Images" in the maintanance screens just hang with the pop-up saying "Starting up.." or sometimes "Updated: 0 images. Total 66"