troubleshooting error: syntax error in netpbm files

guillaumeL

Joined: 2004-06-20
Posts: 1
Posted: Sun, 2004-06-20 17:06

Hi! I am a new gallery user. I installed pretty much everything right, but I get this error which forces me to step on my ego and ask: "How do I get this right, d** it!" I took the latest netpbm files on the gallery download page

Here is the processing output for debug mode:

Processing status...

- Adding montage piezo 002.jpg
Resizing/compressing original image
No resizing required
File /usr/home/usagers/lepape/step_html/gallery/albums/Suisse/montage_piezo_003.jpg type 2.

Executing:

'/usr/home/usagers/lepape/step_html/netpbm/jpegtopnm' '/usr/home/usagers/lepape/step_html/gallery/albums/Suisse/montage_piezo_003.jpg' | '/usr/home/usagers/lepape/step_html/netpbm/pnmscale' -xysize 150 150 | '/usr/home/usagers/lepape/step_html/netpbm/pnmtojpeg' --quality=90 > '/usr/home/usagers/lepape/step_html/gallery/albums/Suisse/montage_piezo_003.thumb.jpg'

Results:
none

Error messages::
/usr/home/usagers/lepape/step_html/netpbm/jpegtopnm: syntax error at line 1: `(' unexpected
/usr/home/usagers/lepape/step_html/netpbm/pnmtojpeg: syntax error at line 1: `(' unexpected
/usr/home/usagers/lepape/step_html/netpbm/pnmscale: syntax error at line 14: `)' unexpected

Status: 2 (expected 0)
Error: Unable to make thumbnail (0)!

Why are there syntax error in the NetPBM files? I don't get it!
Thanx for your help
Guillaume

----
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:
Apache version:
PHP version (don't just say PHP 4, please):
Graphics Toolkit:
Operating system:
Web browser/version (if applicable): :lol:

 
h0bbel
h0bbel's picture

Joined: 2002-07-28
Posts: 13451
Posted: Sun, 2004-06-20 20:54

guillaumeL, my guess is that you are either using the wrong netpbm binaries, or the ones you are using was transferred in ASCII mode and not in BINARY mode.

 
dabeava
dabeava's picture

Joined: 2009-12-22
Posts: 6
Posted: Tue, 2009-12-22 17:31

I was getting the error Status 139 expected 0 and this fixed my issue.

Thanks.

http://www.beavas.com/photos