Phil Schwartz wrote:
>
> Did any of the code wrap lines? Python is very sensitive to indentation.
> If the current lines use spaces for indentation, make sure you don't use
> tabs. Also, make sure that each indented line is 4-spaces (or a multiple
> of 4 for each extra level of indentation).
Got rid of the syntax error, but all I get now is a timeout:
2010-09-28 16:33:54,940 - sync : ERROR (110, 'Connection timed
out')
Traceback (most recent call last):
File "/usr/lib/python2.4/site-packages/DenyHosts/sync.py", line 138, in
receive_new_hosts
self.__prefs.get("SYNC_DOWNLOAD_RESILIENCY"))
File "/usr/lib/python2.4/xmlrpclib.py", line 1096, in __call__
return self.__send(self.__name, args)
File "/usr/lib/python2.4/xmlrpclib.py", line 1383, in __request
verbose=self.__verbose
File "/usr/lib/python2.4/xmlrpclib.py", line 1129, in request
self.send_content(h, request_body)
File "/usr/lib/python2.4/xmlrpclib.py", line 1243, in send_content
connection.endheaders()
File "/usr/lib/python2.4/httplib.py", line 804, in endheaders
self._send_output()
File "/usr/lib/python2.4/httplib.py", line 685, in _send_output
self.send(msg)
File "/usr/lib/python2.4/httplib.py", line 652, in send
self.connect()
File "/usr/lib/python2.4/httplib.py", line 636, in connect
raise socket.error, msg
error: (110, 'Connection timed out')
Manually running sync.py from the command line produces no output, but a
zero exit status.
--
Tim Evans, TKEvans.com, Inc. | 5 Chestnut Court
UNIX System Admin Consulting | Owings Mills, MD 21117
http://www.tkevans.com/ | 443-394-3864
http://www.come-here.com/News/ | [email protected]
------------------------------------------------------------------------------
Start uncovering the many advantages of virtual appliances
and start using them to simplify application deployment and
accelerate your shift to cloud computing.
http://p.sf.net/sfu/novell-sfdev2dev
_______________________________________________
Denyhosts-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/denyhosts-user