On Wed, 18 Apr 2001 15:42:17 GMT, Fredrik Lundh <fredrik at pythonware.com> wrote: >Georg Lohrer wrote: >> I've just compiled and run the new python 2.1 version successfully. >> But using the pyFTPd.py and pyFTPdrop.py scripts the same syntax-error >> will be raised in socket.py: >> >> import sys, socket, string, os, os.path, time, fnmatch, types >> File "/home/gelo/lib/python2.1/socket.py", line 251 >> total += len(line) >> ^ >> I've tried several ways to cast out the failure, but it doesn't want >> to go. So, has anybody at moment have any experiences with this fault? >> Or does anybody know a way to eliminate it? > >I strongly doubt Python said "I've tried several ways to cast out >the failure" ;-) > >are you sure you didn't get a SyntaxError or some kind of warning? > Hmm, the complete message is: 'import site' failed; use -v for traceback Traceback (innermost last): File "./pyFTPdrop.py", line 14, in ? import sys, syslog, socket,string, os File "/user/lgx00460/lib/python2.1/socket.py", line 251 total += len(line) ^ Does that clear up anything? Ciao, Georg
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4