Mail Index


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

Re: [ApacheGallery] Gallery 0.4 -> Imlib2 problems - SOLVED!!



Phew - fixed it.  Thanks for the pointer there.

I did
1) remove imlib2 rpms
2) freshmeat / sourceforge to imlib2 section of enlightenment project
and grab:
edb
imlib2 - (already had it)
imlib2-devel - (already had it)
imlib2-loader-jpeg

and install these

So now I can enjoy the delights of 0.4.  Looks great.

Is there a way to 'pre-parse' the thumbnail directories using Gallery from
the Perl on the command line instead of visiting each folder in a browser?
That way I can run a sort of cron job to refresh every day.  (I'm scanning
in 14 yrs worth of 35mm negs with a film scanner....)

Many thanks
Rob

----- Original Message -----
From: "Tom Allen" <[email protected]>
To: "Rob Nightingale" <[email protected]>
Cc: <[email protected]>
Sent: Friday, June 07, 2002 9:08 PM
Subject: Re: [ApacheGallery] Gallery 0.4 -> Imlib2 problems - anyone help?


> It's because imlib doesnt know how to handle JPG :)  EXIF info is handled
> elsewhere.  The errors for imlib aren't the greatest.  Redhat also puts
> libraries in wierd places. YMMV, but this issue has been posted to the
> list a lot, and reinstall of jpeg libs and then imlib has worked every
> time.
>
> On Fri, 7 Jun 2002, Rob Nightingale wrote:
>
> > It does - the pics and directories are all owned by apache/apache with
770
> > permissions (rwxrwx---) , and creation of the .cache sub-directory
succeeds.
> > It seems that access to the original files are ok within the Gallery
Perl
> > module as you still get a page of links and when you click on the link,
the
> > EXIF info is there - the little box with the Picture taken at... stuff.
It
> > just seems like the Imlib has trouble with the
> > with the thumbnails generation in the resizepicture method but I just
can't
> > work out why...
> >
> >
> > ----- Original Message -----
> > From: "Thomas Eibner" <[email protected]>
> > To: <[email protected]>
> > Sent: Friday, June 07, 2002 6:49 PM
> > Subject: Re: [ApacheGallery] Gallery 0.4 -> Imlib2 problems - anyone
help?
> >
> >
> > > On Fri, Jun 07, 2002 at 05:46:18PM +0000, Rob Nightingale wrote:
> > > > I'm running RH7.3 and trying to get Apache::Gallery 0.4 going.
(which
> > was
> > > > all working fine under RH7.2 / Gallery 0.31, BTW)
> > > >
> > > > I get the following errors in the gallery_error_log, looking like
the
> > inline
> > > > C code is failing to open the JPG file - anyone seen this before?
> > > >
> > > > Can anyone shed any light on this??  Any help would be Much
Appreciated
> > > >
> > > > tearing out the remnants of my hair...
> > > > Rob
> > > >
> > > > Setup:
> > > > Perl dependancies direct from CPAN
> > > > Imlib2( & devel) from rpmfind - Sourceforge.  Tried 1.03-1, 1.04,
1.06
> > > >
> > > > PS tried downgrading to Gallery 0.3 / 0.31 (and previous versions of
> > > > Imlib2 ) to no avail
> > > >
> > > > error:
> > > > ***** Imlib2 Developer Warning ***** :
> > > > This program is calling the Imlib call:
> > > >
> > > > imlib_image_get_width();
> > > >
> > > > With the parameter:
> > > >
> > > > image
> > > >
> > > > being NULL. Please fix your program.
> > > >
> > > > <<<< ---- Snip ---- >>>>
> > > > [Thu Jun  6 23:22:58 2002] [error] [client 192.168.0.2] File does
not
> > exist:
> > > > /var/www/images/Canon/Miami/.cache/100x75-103-0393_IMG.JPG
> > > > [Thu Jun  6 23:22:58 2002] [error] [client 192.168.0.2] File does
not
> > exist:
> > > > /var/www/images/Canon/Miami/.cache/100x75-103-0386_IMG.JPG
> > > > [Thu Jun  6 23:22:58 2002] [error] [client 192.168.0.2] File does
not
> > exist:
> > > > /var/www/images/Canon/Miami/.cache/100x75-103-0394_STA.JPG
> > > > [Thu Jun  6 23:22:58 2002] [error] [client 192.168.0.2] File does
not
> > exist:
> > > > /var/www/images/Canon/Miami/.cache/100x75-103-0395_STB.JPG
> > >
> > > Does it have access to read the pictures and write the thumbnails?
> > >
> > > --
> > >   Thomas Eibner <http://thomas.eibner.dk/> DnsZone
<http://dnszone.org/>
> > >   mod_pointer <http://stderr.net/mod_pointer>
<http://photos.eibner.dk/>
> > >   !(C)<http://copywrong.dk/>
<http://apachegallery.dk/>
> > >           Putting the HEST in .COM <http://www.hestdesign.com/>
> > >
> > > ---------------------------------------------------------------------
> > > Apache::Gallery users mailinglist. http://apachegallery.dk/
> > > To unsubscribe, e-mail: [email protected]
> > >
> > >
> >
> > ---------------------------------------------------------------------
> > Apache::Gallery users mailinglist. http://apachegallery.dk/
> > To unsubscribe, e-mail: [email protected]
> >
>
>
> ---------------------------------------------------------------------
> Apache::Gallery users mailinglist. http://apachegallery.dk/
> To unsubscribe, e-mail: [email protected]
>

---------------------------------------------------------------------
Apache::Gallery users mailinglist. http://apachegallery.dk/
To unsubscribe, e-mail: [email protected]