<neurosis must be setting in - 15 mins till New Years, and I'm posting on the Gallery Boards...>
I've setup a new gallery install today, (using latest gallery) and rotate is a bit non-functional for me. When I upload images from my camera (5mp the image is 2592x1944) they don't rotate at all. I get a message that the rotation was fine if I'm not in debug mode, but the image goes to the "broken" image.
Now I've uploaded a few other images (jpgs as well), and they *do* rotate fine, though they're MUCH smaller resolution.
When I put it into debug mode in the config.php the output is rather large, so I'm not sure exactly which part of it you would want. I *can* paste the whole thing, but again, it's large.
I've also tried upping the resource limits in the php.ini to
max_execution_time = 90
max_input_time = 90
memory_limit = 256M
So I don't *think* it's a resource problem.
Thanks MUCH for any help.
Brian
----
Gallery URL (maybe later):
Gallery version: G2
Hosted on Powweb
Graphics Toolkit(s): NetPBM
Operating system: XP
Web browser/version: Firefox 1.0
Posts: 8601
you can look through the debug output for where it does exec calls to the netpbm binaries and see what output it gives.. or post a link to the full output.
Posts: 4
After a few hours sleep (and realizing that using the find function would be much easier than looking through all those pages of output would be easier - imagine that...) I located the error. Dunno how to fix it though <wink>
Regular Output: Error Output: 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"). pamflip: Out of memory allocating space for a tuple row of 1944 tuples by 3 samples per tuple by 4 bytes per sample. ppmtojpeg: Error reading magic number from Netpbm image stream. Most often, this means your input file is empty. jpegtopnm: Error writing single byte sample to file Status: 1 (expected 0) unlink(/www/t/thepath/g2data/tmp/npbm_zEVZ7g) copy(/www/t/thepath/htdocs/gallery/modules/core/classes/../data/broken-image.gif, /www/t/thepath/g2data/cache/derivative/0/4/41.dat) filesize(/www/t/thepath/g2data/cache/derivative/0/4/41.dat)Thanks again for any help...
Brian
Posts: 7994
This appears to be an issue with NetPBM itself. What version of NetPBM are you using? Eg:
If you're using an older version of NetPBM, you might try upgrading. You can also try using ImageMagick instead...
Posts: 4
10.17 is what's installed. I guess I'll have to try IM....
Brian
Posts: 4
Found this in the 10.18 changelog (10.18.18 is the latest stable version as of now):
Looks like that might, hopefully, address my error - and I've sent an email to the PowWeb admins asking them to move to the current stable NetPBM version.
Brian