Public bug reported:

Binary package hint: python-mechanize

$ python -c 'import mechanize'
/usr/lib/python2.6/dist-packages/mechanize/_auth.py:14: DeprecationWarning: the 
md5 module is deprecated; use hashlib instead
  import re, base64, urlparse, posixpath, md5, sha, sys, copy
/usr/lib/python2.6/dist-packages/mechanize/_auth.py:14: DeprecationWarning: the 
sha module is deprecated; use the hashlib module instead
  import re, base64, urlparse, posixpath, md5, sha, sys, copy
Traceback (most recent call last):
  File "<string>", line 1, in <module>
  File "/usr/lib/python2.6/dist-packages/mechanize/__init__.py", line 85, in 
<module>
    from _mechanize import __version__
  File "/usr/lib/python2.6/dist-packages/mechanize/_mechanize.py", line 14, in 
<module>
    from _useragent import UserAgentBase
  File "/usr/lib/python2.6/dist-packages/mechanize/_useragent.py", line 23, in 
<module>
    class UserAgentBase(_opener.OpenerDirector):
  File "/usr/lib/python2.6/dist-packages/mechanize/_useragent.py", line 53, in 
UserAgentBase
    "gopher": _urllib2.GopherHandler,
AttributeError: 'module' object has no attribute 'GopherHandler'


python-mechanize: 0.1.7b-3
python: 2.6.1-0ubuntu1

Upstream claims support for Python2.6.  The current upstream version is
0.1.11

http://wwwsearch.sourceforge.net/mechanize/

** Affects: python-mechanize (Ubuntu)
     Importance: Undecided
         Status: New

-- 
python-mechanize fails to import with python2.6
https://bugs.launchpad.net/bugs/336225
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

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

Reply via email to