Help with this error : Protocol wrong for this socket

2005-08-31 Thread bill . oldroyd
I am running Python 2.4.1 on a HP Tru64 Unix system. When try to carry out a DNS query as follows : t = socket.getaddrinfo("labs.bl.uk",None) I get the error message socket.error: (41, 'Protocol wrong type for socket') Am I right in thinking this is something to with the DNS lookup ?. Does any

Shelve DBRunRecoveryError

2005-04-01 Thread bill . oldroyd
Can anyone help with this error message when using Shelve : Python 2.4. Traceback (most recent call last): File "C:\Python24\CollectB\dataparser.py", line 743, in -toplevel- base.create() File "C:\Python24\CollectB\dataparser.py", line 252, in create self.dataStore[i] = v File "C:\Py

Redhat 9, Python 2.4.1, CGIHTTPServer problem

2005-04-20 Thread Bill Oldroyd
I cannot get a simple CGI-script to work with this combination : Redhat 9 Linux Both Python 2.41. and ActiveState Python 2.4.1 either as an Apache 2 cgi-script or using CGIHTTPServer. The same script works fine on Redhat 7.3. The script fails at 230 in CGIHTTPServer : osexecve(scriptfile,