[Python-apps-team] Bug#514804: Bug#514804: fails to start harvestman
Kumar Appaiah
akumar at ee.iitm.ac.in
Tue Feb 10 23:38:17 UTC 2009
tags 514804 + confirmed pending
thanks
> After an installation from debian the start fails:
>
>> harvestman -C config.xml
> Traceback (most recent call last):
> File "/usr/bin/harvestman", line 5, in <module>
> h.run_projects()
> File "/usr/lib/python2.5/site-packages/HarvestMan/harvestman.py", line 283, in run_projects
> self.register_common_objects()
> File "/usr/lib/python2.5/site-packages/HarvestMan/harvestman.py", line 135, in register_common_objects
> conn = connector.HarvestManNetworkConnector()
> File "/usr/lib/python2.5/site-packages/HarvestMan/connector.py", line 201, in __init__
> self.__configure()
> File "/usr/lib/python2.5/site-packages/HarvestMan/connector.py", line 326, in __configure
> self.__configure_protocols()
> File "/usr/lib/python2.5/site-packages/HarvestMan/connector.py", line 449, in __configure_protocols
> cookiehandler)
> File "/usr/lib/python2.5/urllib2.py", line 467, in build_opener
> opener.add_handler(h)
> File "/usr/lib/python2.5/urllib2.py", line 303, in add_handler
> type(handler))
> TypeError: expected BaseHandler instance, got <type 'NoneType'>
>>
>
>
> I found a tip about an ubuntu system and It fix the problem.
> Here it is:
>
>> Can be corrected by the modification of the line 376 of the file
>> /usr/share/pycentral/harvestman/site-packages/HarvestMan/connector.py
>>
>> "if minor_version==4:"
>>
>> by
>>
>> "if minor_version>=4:"
Thanks. I have a patch ready, attached to this mail, and shall get a
testing-proposed-updates upload prepared.
Kumar
--
Kumar Appaiah
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 04_fix_connector_vercheck.dpatch
Type: application/octet-stream
Size: 1066 bytes
Desc: not available
Url : http://lists.alioth.debian.org/pipermail/python-apps-team/attachments/20090210/b5fc8199/attachment-0001.obj
More information about the Python-apps-team
mailing list