I installed http://people.ubuntu.com/~doko/python-mechanize_0.1.6b-
0ubuntu1.deb (I hope that's what you meant).

Instead of getting the error reported above, I get the following error:
----
Running tests at level 1
Test-module import failures:

Module: canonical.launchpad.ftests.test_pages

Traceback (most recent call last):
  File "/home/jml/Code/Launchpad/branches/devel/importfascist.py", line 146, in 
import_fascist
    module = original_import(name, globals, locals, fromlist)
  File 
"/home/jml/Code/Launchpad/branches/devel/lib/canonical/launchpad/ftests/test_pages.py",
 line 17, in ?
    from zope.testbrowser.testing import Browser
  File "/home/jml/Code/Launchpad/branches/devel/importfascist.py", line 146, in 
import_fascist
    module = original_import(name, globals, locals, fromlist)
  File 
"/home/jml/Code/Launchpad/branches/devel/lib/zope/testbrowser/__init__.py", 
line 20, in ?
    from testing import Browser
  File "/home/jml/Code/Launchpad/branches/devel/importfascist.py", line 146, in 
import_fascist
    module = original_import(name, globals, locals, fromlist)
  File 
"/home/jml/Code/Launchpad/branches/devel/lib/zope/testbrowser/testing.py", line 
22, in ?
    import mechanize
  File "/home/jml/Code/Launchpad/branches/devel/importfascist.py", line 146, in 
import_fascist
    module = original_import(name, globals, locals, fromlist)
  File "/usr/lib/python2.4/site-packages/mechanize/__init__.py", line 83, in ?
    from _mechanize import __version__
  File "/home/jml/Code/Launchpad/branches/devel/importfascist.py", line 146, in 
import_fascist
    module = original_import(name, globals, locals, fromlist)
  File "/usr/lib/python2.4/site-packages/mechanize/_mechanize.py", line 14, in ?
    from _useragent import UserAgentBase
  File "/home/jml/Code/Launchpad/branches/devel/importfascist.py", line 146, in 
import_fascist
    module = original_import(name, globals, locals, fromlist)
  File "/usr/lib/python2.4/site-packages/mechanize/_useragent.py", line 16, in ?
    from _opener import OpenerDirector
  File "/home/jml/Code/Launchpad/branches/devel/importfascist.py", line 146, in 
import_fascist
    module = original_import(name, globals, locals, fromlist)
  File "/usr/lib/python2.4/site-packages/mechanize/_opener.py", line 23, in ?
    import _http
  File "/home/jml/Code/Launchpad/branches/devel/importfascist.py", line 146, in 
import_fascist
    module = original_import(name, globals, locals, fromlist)
  File "/usr/lib/python2.4/site-packages/mechanize/_http.py", line 23, in ?
    from _html import unescape, unescape_charref
  File "/home/jml/Code/Launchpad/branches/devel/importfascist.py", line 146, in 
import_fascist
    module = original_import(name, globals, locals, fromlist)
  File "/usr/lib/python2.4/site-packages/mechanize/_html.py", line 294, in ?
    RobustFormParser, NestingRobustFormParser = ClientForm._create_bs_classes(
AttributeError: 'module' object has no attribute '_create_bs_classes'

-- 
python-mechanize in feisty causes Launchpad's pagetests to fail
https://launchpad.net/bugs/86646

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

Reply via email to