[Bug 362287] [NEW] Package completely broken with python 2.6

Vladimir Osintsev osintsev at gmail.com
Thu Apr 16 12:37:48 UTC 2009


Public bug reported:

Binary package hint: harvestman

$ harvestman 
/usr/lib/python2.6/dist-packages/HarvestMan/connector.py:63: DeprecationWarning: the md5 module is deprecated; use hashlib instead 
  import md5
[Errno 2] No such file or directory: 'config.xml'
Fatal Error: No URLs given, Aborting.

$ harvestman -C harvestman-softpediacom.xml 
/usr/lib/python2.6/dist-packages/HarvestMan/connector.py:63: DeprecationWarning: the md5 module is deprecated; use hashlib instead
  import md5
Traceback (most recent call last):
  File "/usr/bin/harvestman", line 5, in <module>
    h.run_projects()
  File "/usr/lib/python2.6/dist-packages/HarvestMan/harvestman.py", line 283, in run_projects
    self.register_common_objects()
  File "/usr/lib/python2.6/dist-packages/HarvestMan/harvestman.py", line 135, in register_common_objects
    conn = connector.HarvestManNetworkConnector()
  File "/usr/lib/python2.6/dist-packages/HarvestMan/connector.py", line 201, in __init__
    self.__configure()
  File "/usr/lib/python2.6/dist-packages/HarvestMan/connector.py", line 326, in __configure
    self.__configure_protocols()
  File "/usr/lib/python2.6/dist-packages/HarvestMan/connector.py", line 446, in __configure_protocols
    urllib2.GopherHandler,
AttributeError: 'module' object has no attribute 'GopherHandler'

First of all, DeprecationWarning message about deprecated md5 and new
hashlib module, but this is not a critical error.

Need drop GopherError and GopherHandler, since python 2.6 version does
not define that any more.

Similarly, LP: #336225.

** Affects: harvestman (Ubuntu)
     Importance: Undecided
         Status: New

-- 
Package completely broken with python 2.6
https://bugs.launchpad.net/bugs/362287
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs at lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs




More information about the universe-bugs mailing list