problems with weird error messages about locales

ketas

Joined: 2004-04-14
Posts: 1
Posted: Wed, 2004-04-14 23:22

i get this
locale not found
locale not found
locale not found
...

and this
perl warning Setting locale failed.
perl warning Please check that your locale settings
LC_ALL = (unset),
LANG = "en_US"
are supported and installed on your system.
perl warning Falling back to the standard locale ("C").
...

in my apache error log. first thing when i configure gallery and second randomly when i browse around in gallery, what i should do? yes i don't have "locale" binary (its perl module - seems like)

also, configurator show me this message
Warning

There are 29 locales that Gallery was unable to locate. You may need to select manually date formats.

Dates in 4 languages may not be formatted properly, because the corresponding locales are missing. You may need to select manually the date formats for these.

----
Give us your Gallery/webserver information to get a faster answer.
Get this information from the PHP diagnostic (in the configuration wizard).
Gallery URL (optional but very useful)
Gallery version v1.4.3-RC3 (same problems in v1.4.2)
Apache version 1.3.29
PHP version (don't just say PHP 4, please) 4.3.4 (no safe mode)
Graphics Toolkit ImageMagick 5.5.5
Operating system FreeBSD 4.7-RELEASE-p26 i386
Web browser/version (if applicable) MSIE 6.0

 
Tim_j
Tim_j's picture

Joined: 2002-08-15
Posts: 6818
Posted: Thu, 2004-04-15 08:58

Hello ketas,

this is totally strange.
Gallery has nothing to do with Perl.
Locale files are system files for localization things like dates, day and monthnames etc.

Where exactly do you get this errormessages ?

Regards,

Jens

 
onetonmilk

Joined: 2004-07-28
Posts: 2
Posted: Thu, 2004-08-12 18:55

I get similar error when trying to upload an animated gif. The gif never shows up in the album either.

**********************************************************

Processing status...

- Adding deadbug.gif
Resizing/compressing original image
No resizing required
File /usr/local/apache/htdocs/albums/m-and-m/deadbug.gif type 1.

Executing:

'/usr/local/bin/giftopnm' '/usr/local/apache/htdocs/albums/m-and-m/deadbug.gif' | '/usr/local/bin/pnmscale' -xysize 150 150 | '/usr/local/bin/ppmquant' 256 | '/usr/local/bin/ppmtogif' > '/usr/local/apache/htdocs/albums/m-and-m/deadbug.thumb.gif'

Results:

none

Error messages::

giftopnm: Reading Image Sequence 0
perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
LC_ALL = (unset),
LANG = "en_US"
are supported and installed on your system.
perl: warning: Falling back to the standard locale ("C").
perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
LC_ALL = (unset),
LANG = "en_US"
are supported and installed on your system.
perl: warning: Falling back to the standard locale ("C").
giftopnm: Reading Image Sequence 1
giftopnm: Reading Image Sequence 2
giftopnm: Reading Image Sequence 3
giftopnm: Reading Image Sequence 4
giftopnm: Reading Image Sequence 5
giftopnm: Reading Image Sequence 6
giftopnm: Reading Image Sequence 7
giftopnm: Reading Image Sequence 8
giftopnm: Reading Image Sequence 9
giftopnm: Reading Image Sequence 10
giftopnm: Reading Image Sequence 11
giftopnm: Reading Image Sequence 12
giftopnm: Reading Image Sequence 13
giftopnm: Reading Image Sequence 14
giftopnm: Reading Image Sequence 15
giftopnm: Reading Image Sequence 16
giftopnm: Reading Image Sequence 17
giftopnm: Reading Image Sequence 18
giftopnm: Reading Image Sequence 19
giftopnm: Reading Image Sequence 20
giftopnm: Reading Image Sequence 21
giftopnm: Reading Image Sequence 22
giftopnm: Reading Image Sequence 23
giftopnm: Reading Image Sequence 24
giftopnm: Reading Image Sequence 25
giftopnm: Reading Image Sequence 26
giftopnm: Reading Image Sequence 27
giftopnm: Reading Image Sequence 28
giftopnm: Reading Image Sequence 29
giftopnm: Reading Image Sequence 30
giftopnm: Reading Image Sequence 31
giftopnm: Reading Image Sequence 32
giftopnm: Reading Image Sequence 33
giftopnm: Reading Image Sequence 34
giftopnm: Reading Image Sequence 35
giftopnm: Reading Image Sequence 36
giftopnm: Reading Image Sequence 37
giftopnm: Reading Image Sequence 38
giftopnm: Reading Image Sequence 39
giftopnm: Reading Image Sequence 40
giftopnm: Reading Image Sequence 41
giftopnm: Reading Image Sequence 42
giftopnm: Reading Image Sequence 43
giftopnm: Reading Image Sequence 44
giftopnm: Reading Image Sequence 45
giftopnm: Reading Image Sequence 46
giftopnm: Reading Image Sequence 47
giftopnm: Reading Image Sequence 48
pnmcolormap: making histogram...
pnmcolormap: 9468 colors found
pnmcolormap: choosing 256 colors...
pnmcolormap failed, rc=11
ppmtogif: Error reading magic number from Netpbm image stream. Most often, this means your input file is empty.

Status: 1 (expected 0)
Error: Unable to make thumbnail (0)!
Need help? Look in the Gallery FAQ No email sent as no valid email addresses were found

***********************************************

Any ideas on how to fix this?