RE: problem getting test page to work

"Kotha, Srikanth" <[email protected]>
Newsgroups gmane.comp.web.wiki.moin.devel,gmane.comp.web.wiki.moin.general
Message-ID <9510DF2FECA8D311816800508B6F478E11591C7E@chitmd19.nt.il.nbgfn.com>
Florian and Thomas,

The problem seemed to be because of the python installation as you
mentioned.  I switched to python 2.3.2 and it's working fine now.

Thanks for the help.
Srikanth.

-----Original Message-----
From: Florian Festi [mailto:[email protected]]
Sent: Sunday, December 21, 2003 1:56 AM
To: Kotha, Srikanth
Cc: [email protected]; [email protected]
Subject: Re: [Moin-devel] problem getting test page to work


> MoinMoin version: 1.1
> Python version: 2.2.1
> Apache version: 2.0.48
> OS: Sun Solaris

>     import cStringIO, os, re, sys, string, urllib
>    File
> "/Net/chiffd01/sun_binlib5/local/python2.2.1/lib/python2.2/urllib.py",
line
> 26, in ?
>     import socket
>    File
> "/Net/chiffd01/sun_binlib5/local/python2.2.1/lib/python2.2/socket.py",
line
> 41, in ?
>     from _socket import *
>  ImportError: ld.so.1: /usr/local/bin/python: fatal: relocation error:
file
>
/Net/chiffd01/sun_binlib5/local/python2.2.1/lib/python2.2/lib-dynload/_socke
> t.so: symbol gai_strerror: referenced symbol not found

Looks like your Python installation is dammaged or buggy (Python 2.2.1 is
known to have some serious bugs).

Try:

import urllib
import socket

in the interpreter to verify this. If the import works it is possible that
some environment variables are not set properly in the CGI environment of
the webserver, but this is not very likely.

Consider updating to Python 2.2.2 or even better 2.3.2 and try compiling
it on that maschine.


	Hope that helps

		FlorianFesti


-------------------------------------------------------
This SF.net email is sponsored by: IBM Linux Tutorials.
Become an expert in LINUX or just sharpen your skills.  Sign up for IBM's
Free Linux Tutorials.  Learn everything from the bash shell to sys admin.
Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.