Invalid image (again!)

smudley
smudley's picture

Joined: 2002-09-20
Posts: 7
Posted: Fri, 2002-09-20 02:35

Hi, trying to get my Gallery running but have run into snags.
I have searched the Forum and have done all the suggestions with the
exceptions listed below.
I can upload and process all pictures, movies etc. except .jpg's.
Here is the output in debug mode:

Processing status...
- Adding beaches.jpg
Executing:

/hsphere/local/home/pjurkoni/golden-rule-travel.com/mynuke/gallery/netpbm/jpegtopnm
/hsphere/local/home/pjurkoni/golden-rule-travel.com/mynuke/gallery/albums/album03/beaches.jpg |
/hsphere/local/home/pjurkoni/golden-rule-travel.com/mynuke/gallery/netpbm/pnmfile --allimages

Results:
stdin: Image 0:

Error messages:
pnmfile: EOF / read error reading magic number

Status: 1 (expected 0)
Error: Invalid image: beaches.jpg!

Output from Netcraft:

Linux Apache/1.3.23 (Unix) mod_ssl/2.8.7 OpenSSL/0.9.6 FrontPage/5.0.2.2623 PHP/4.1.2 mod_throttle/3.1.2

The only error showing in the Check NetPBM Diagnostics.

Checking /hsphere/local/home/pjurkoni/golden-rule-travel.com/mynuke/gallery/netpbm/jpegtopnm
Error! (Expected status: 0, but actually received status: 139)

I even installed your binaries for Linux.

I don't have shell access to my host server so I can't perform the command line functions
you ask to debug with.

I hope that it's obvious to you what is wrong. (So close, so far away.)

Thanks in advance!

Smudley :grin:

 
bharat
bharat's picture

Joined: 2002-05-21
Posts: 7994
Posted: Sat, 2002-09-21 08:27

Status 139 typically means that you have installed the wrong binaries for your system, or that you uploaded them in such a way that they got corrupted (like you used ftp in ASCII mode). Make sure that you're using the Linux binaries, that you upload them in binary mode, and that you make the executable.

Read and follow the instructions in FAQ B.

 
bharat
bharat's picture

Joined: 2002-05-21
Posts: 7994
Posted: Sat, 2002-09-21 08:28

Aah, I misread part of your post.

If all the binaries are working except for the JPEG ones, then the odds are good that you're using dynamically linked binaries but are missing a shared library. Try using the NetPBM binaries from the Gallery download page, instead.

 
smudley
smudley's picture

Joined: 2002-09-20
Posts: 7
Posted: Sat, 2002-09-21 17:19

Thanks for answering bharat!
I know that you answer hundreds of these posts and that it's easy to overlook some things but you also over looked the part in my post saying that I DID install your binaries.
I even went so far as to extract them using tar through Cygwin Bash Shell because I was afraid that winzip was corrupting them since I work on a win2k system (but my Gallery is on a Linux system).
I even used several different ftp programs to get them to my sight and made sure that they were uploaded in binary format and that they were made executable per instructions. I did all that you suggested with the exeptions listed in my previous post.
I hope you have an answer. :grin:
Thanks

Well, I uploaded that one binary again and guess what! It started to work.
I don't know what was the deal but it's cookin' now! :lol:
See Ya!

 
xenabat
xenabat's picture

Joined: 2002-10-13
Posts: 8
Posted: Sun, 2002-10-13 20:37

Hi,

I've been trying to get past the final stage of setting up my gallery for some 18+ hours now. My web host is running BSD/OS Apache 1.3.26(UNIX) PHP4.2.2. I have downloaded and installed the Netpbm file which you link and list:

netpbm1.1-gallery1.0-freebsd4.2-intel.tgz

Is this the correct file? I uploaded the files in binary data (using Fetch 4.2, OSX.2) and chmod'd them to 755. Debugging option is turned on and when I try to upload I receive this error msg:

Error messages:

Segmentation fault
Segmentation fault

Status: 139 (expected 0)
Error: Invalid image: ares_symbol.jpg!

I know the FAQ says that this denotes that I uploaded the wrong netpbm binaries, but when I use another one - netpbm1.1-gallery1.0-solaris2.8-intel.tgz - I still am unable to upload images successfully. I receive the same error msg except "Status: 2 (expected 0)".

If someone could assist me - on AIM, perhaps? I'd be very grateful!
:eek:

 
alindeman
alindeman's picture

Joined: 2002-10-06
Posts: 8194
Posted: Sun, 2002-10-13 21:08

Please read the FAQ...it's FAQ item 4.17

 
alindeman
alindeman's picture

Joined: 2002-10-06
Posts: 8194
Posted: Sun, 2002-10-13 21:09

I'm sorry. I skipped the last part of your post..

 
xenabat
xenabat's picture

Joined: 2002-10-13
Posts: 8
Posted: Sun, 2002-10-13 21:36

I've combed through The FAQ, but none of the instructions have resolved this error. Could it be my FTP program? Does it make a difference if the netpbm file located on the gallery downloads page is for FreeBSD and my web host's server runs BSD/OS? I'm not sure if this would matter, but I have tried everything. I'm at the point where I'd be willing to give a login so someone could take a look...but I'd really like to know what's going wrong, what I am doing wrong, etc as I plan to set up the gallery on my other domains.

*sigh*
:???:

 
alindeman
alindeman's picture

Joined: 2002-10-06
Posts: 8194
Posted: Sun, 2002-10-13 21:49

Did you upload the files as binary? This is a long shot, as I really don't know what is wrong, if you don't think it's FAQ C

 
xenabat
xenabat's picture

Joined: 2002-10-13
Posts: 8
Posted: Sun, 2002-10-13 22:07
Quote:
Did you upload the files as binary? This is a long shot, as I really don't know what is wrong, if you don't think it's FAQ C

Yep, sure did! I was searching through the mailing list archive and came across a thread about netpbm binaries on Prohosting's BSD/OS. This is my web host. It seems that the netpbm binaries that are on the downloads page do not work with Prohosting's flavor of BSD! Eep. Going to see if there are any recent postings about this issue..

I really want to use Gallery on my web domains!!

Thanks for taking the time to read this, Andrew! :smile:

 
bharat
bharat's picture

Joined: 2002-05-21
Posts: 7994
Posted: Mon, 2002-10-14 00:13

Xenabat, yes as you've figured out, "BSD/OS" and "FreeBSD" are two different operating systems :sad: Perhaps your ISP will be kind enough to install NetPBM for you if you ask politely.