Mail Index


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[ApacheGallery] Re: upgrade made thumbnails go away - and fishy errors



I have gotten a bit further with this issue (and there's a question at
the end :).

I found out that the module I saw (when viewing a specific image - which
gave me fishy errors), was that for some reason, my upgrade from perl
5.8.5 to 5.8.8 (same version mod_perl and apache2 - and recompiled
mod_perl after 5.8.8 upgrade) made "dynamic" loading of modules not work.

a "local $SIG{__DIE__};" in Image::Size made it die.

When I removed that, I got an error on it trying to load Image::Magick:
Can't locate Image::Magick in @INC (@INC contains: /home/httpd/perl
/etc/perl /usr/lib/perl5/vendor_perl/5.8.8/i686-linux
/usr/lib/perl5/vendor_perl/5.8.8
/usr/lib/perl5/vendor_perl/5.8.5/i686-linux
/usr/lib/perl5/vendor_perl/5.8.5 /usr/lib/perl5/vendor_perl
/usr/lib/perl5/site_perl/5.8.8/i686-linux /usr/lib/perl5/site_perl/5.8.8
/usr/lib/perl5/site_perl/5.8.5/i686-linux /usr/lib/perl5/site_perl/5.8.5
/usr/lib/perl5/site_perl /usr/lib/perl5/5.8.8/i686-linux
/usr/lib/perl5/5.8.8 /usr/local/lib/site_perl . /usr/lib/apache2) at
/usr/lib/perl5/vendor_perl/5.8.8/Image/Size.pm line 282.\n

which was very weird, seing as I had this file:
/usr/lib/perl5/site_perl/5.8.8/i686-linux/Image/Magick.pm

I then tried to preload it in mod_perl's startup.pl (also tried just
adding it as a use in top of Image::Size) and this worked - not a view
of images, shows the sizes of the image - no fishy errors :)

I now still have the same problem with the indexes of images (with
thumbnails) fails silently (again).

I guess there's some other module - which uses local $SIG - which fails
too.. I'll hunt this down some other day - right now I'm off to bed :)

-- question time :) --
Any one have any idea what could cause this sudden behavior change?

on 03/18/07 21:10 Klavs Klavsen wrote:
> Hi guys,
> 
> I run Gentoo, and foolishly upgraded some perl modules and other things
> (amongst other things- perl 5.8.5 to 5.8.8).
> 
> I've checked everything I can think off - but I still have a problem
> with Apache::Gallery (and nothing else).
> perl-5.8.8 does have 5.8.5 in it's INC etc.
> 
> When I view a folder I get no thumbnails - see here:
> http://billeder.vsen.dk
> 
> If I open a specific Image - f.ex.
> http://billeder.vsen.dk/Emma_3md/IMG_0864.JPG it shows it - but several
> things are missing (size information f.ex.) and it says:
> [Sun Mar 18 21:03:06 2007] [error] Something was fishy with the type of
> the file /home/backup/klavs/Pictures/Emma_3md/IMG_0864.JPG\n
> [Sun Mar 18 21:03:06 2007] [error] Something was fishy with the type of
> the file /home/backup/klavs/Pictures/Emma_3md/IMG_0863.JPG\n
> [Sun Mar 18 21:03:06 2007] [error] Something was fishy with the type of
> the file /home/backup/klavs/Pictures/Emma_3md/IMG_0865.JPG\n
> [Sun Mar 18 21:03:06 2007] [error] Something was fishy with the type of
> the file /home/backup/klavs/Pictures/Emma_3md/IMG_0864.JPG\n
> [Sun Mar 18 21:03:06 2007] [error] Something was fishy with the type of
> the file /home/backup/klavs/Pictures/Emma_3md/IMG_0863.JPG\n
> [Sun Mar 18 21:03:07 2007] [error] Something was fishy with the type of
> the file /home/backup/klavs/Pictures/Emma_3md/IMG_0865.JPG\n
> 
> There are no errors, when it shows the empty folders.
> 
> Any ideas, where I could put an error/debug check to figure out what is
> going wrong here?
> 
> I have tried to recompile imlib2 and other modules that I could think off.
> 
> All suggestions are more than welcome :)

-- 
Regards,
Klavs Klavsen, GSEC - kl@xxxxxxx - http://www.vsen.dk
PGP: 7E063C62/2873 188C 968E 600D D8F8  B8DA 3D3A 0B79 7E06 3C62

"Those who do not understand Unix are condemned to reinvent it, poorly."
  --Henry Spencer
_______________________________________________
users mailing list
users@xxxxxxxxxxxxxxxx
http://ufo.hestdesign.com/cgi-bin/mailman/listinfo/agusers