python-mechanize fails to import with python2.6
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
python-mechanize (Ubuntu) |
Fix Released
|
High
|
Martin Pitt |
Bug Description
Binary package hint: python-mechanize
$ python -c 'import mechanize'
/usr/lib/
import re, base64, urlparse, posixpath, md5, sha, sys, copy
/usr/lib/
import re, base64, urlparse, posixpath, md5, sha, sys, copy
Traceback (most recent call last):
File "<string>", line 1, in <module>
File "/usr/lib/
from _mechanize import __version__
File "/usr/lib/
from _useragent import UserAgentBase
File "/usr/lib/
class UserAgentBase(
File "/usr/lib/
"gopher": _urllib2.
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
Changed in python-mechanize: | |
assignee: | nobody → pitti |
status: | Triaged → In Progress |
Please be more clear and specific and include what distrorelease you are running.