Thumbnail generation failed

TeaMatthew

Joined: 2005-01-20
Posts: 1
Posted: Thu, 2005-01-20 13:21

I installed Gallery 2 and all was fine, but after configuring the packages, no thumbnails are generated. When clicking the Thumbnails Link in admin menu i get the following error:

Error (ERROR_MISSING_OBJECT) : ThumbnailImage
in modules/core/classes/GalleryStorage/DatabaseStorage.class at line 1627
in modules/core/classes/GalleryStorage/DatabaseStorage.class at line 301
in modules/core/classes/helpers/GalleryEntityHelper_simple.class at line 91
in modules/thumbnail/ThumbnailSiteAdmin.inc at line 146
in modules/core/SiteAdmin.inc at line 163
in modules/core/classes/GalleryView.class at line 248
in main.php at line 259
in main.php at line 61
System Information
Gallery version 2.0-alpha-4+
PHP version 4.2.2 apache
Webserver Apache/1.3.26 (Linux/SuSE) PHP/4.2.2
Database mysql 3.23.52-log
Toolkits ImageMagick, NetPBM
Operating system Linux knuth 2.4.19 #1 Wed Sep 11 18:12:24 UTC 2002 i686 unknown
Browser Opera/7.54 (Windows NT 5.1; U) [de]

Anyone knows what went wrong?

Gallery URL: http://gallery.benrath.biz

 
mindless
mindless's picture

Joined: 2004-01-04
Posts: 8601
Posted: Thu, 2005-01-20 17:36

try deactivating and reactivating the thumbnail module.. does that help?

 
sutehi

Joined: 2004-04-27
Posts: 7
Posted: Fri, 2005-01-21 01:32
TeaMatthew wrote:
I installed Gallery 2 and all was fine, but after configuring the packages, no thumbnails are generated....

I'm having the same issue. Installed from CVS this evening. For what's its worth, when I installed from CVS last night, I did not have this problem ;)

When attempting to force thumbnails or image resize, I get the following message.

Quote:
Thumbnail

Set the size of the thumbnail. The largest side of the thumbnail will be no larger than this value.
There are no graphics toolkits enabled that support this type of photo, so we cannot create or modify a thumbnail. site admin

Resized Photos

These sizes are alternate resized versions of the original you would like to have available for viewing.
There are no graphics toolkits enabled that support this type of photo, so we cannot create or modify resized versions. site admin

ImageMagick and NetPBM are both successfully installed as modules (according to site admin, at least).

mindless wrote:
try deactivating and reactivating the thumbnail module.. does that help?

That fixes the problem with the Thumbnail Managers plugin, but (predictably) not the problem with actually creating thumbnails. Now, instead of a "no thumbnail" placeholder, the full-sized version of the image is being used as the thumbnail.

 
sutehi

Joined: 2004-04-27
Posts: 7
Posted: Fri, 2005-01-21 01:59

I've tried re-installing NetPBM and Imagemagick, and now get the following error, when I try to access main.php

Quote:
Error (ERROR_UNSUPPORTED_OPERATION) : thumbnail image/jpeg

* in modules/core/classes/GalleryDerivative.class at line 338 (gallerystatus::error)
* in modules/core/classes/GalleryDerivativeImage.class at line 176 (galleryderivative::rebuildcache)
* in modules/core/classes/helpers/GalleryDerivativeHelper_advanced.class at line 691 (galleryderivativeimage::rebuildcache)
* in modules/core/classes/GalleryCoreApi.class at line 740 (galleryderivativehelper_advanced::rebuildcache)
* in modules/core/classes/GalleryLayout.class at line 578 (gallerycoreapi::rebuildderivativecache)
* in layouts/matrix/layout.inc at line 266 (matrixlayout::loadlayouttemplate)
* in layouts/matrix/layout.inc at line 150 (matrixlayout::_loadalbumtemplate)
* in modules/core/ShowItem.inc at line 124 (matrixlayout::loadtemplate)
* in modules/core/classes/GalleryView.class at line 246 (showitemview::loadtemplate)
* in main.php at line 257 (showitemview::doloadtemplate)
* in main.php at line 46
* in main.php at line 39

It doesn't matter which has priority, or if I try deactivating either one. Both text okay in the admin site.