Bug#514804: fails to start harvestman

2009-02-10 Thread Markus Glugla
Package: harvestman
Version: 1.4.6-8
Severity: grave
Justification: renders package unusable


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:
 
 Regards
 Fabrice

The right file on debian is:
/usr/share/pyshared/HarvestMan/connector.py
Thanks to Fabrice ... now harvestman runs under debian lenny.

Regards
Markus G.

 

-- System Information:
Debian Release: 5.0
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: i386 (i686)

Kernel: Linux 2.6.26-1-686 (SMP w/1 CPU core)
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages harvestman depends on:
ii  python2.5.2-3An interactive high-level object-o
ii  python-central0.6.8  register and build utility for Pyt

harvestman recommends no packages.

harvestman suggests no packages.

-- no debconf information



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#514804: [Python-apps-team] Bug#514804: fails to start harvestman

2009-02-10 Thread Kumar Appaiah
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


04_fix_connector_vercheck.dpatch
Description: Binary data