Public bug reported:

Binary package hint: python-mechanize

When using the 'mechanize' package that comes with python-mechanize, I
get the following error (with many others after it).

If I make a symlink to the mechanize included in sourcecode/zope in lib,
then the tests pass without error. Not sure that this the right place to
file the bug.

----
[EMAIL PROTECTED]:~/Code/Launchpad/branches/register-branch$ ./test.py -vv -D 
-t pagetests/branch
Running tests at level 1
[elided -- jml]
  Running:
    
/home/jml/Code/Launchpad/branches/register-branch/lib/canonical/launchpad/ftests/../pagetests/branches/xx-bazaar-home.txt

Error in test 
/home/jml/Code/Launchpad/branches/register-branch/lib/canonical/launchpad/ftests/../pagetests/branches/xx-bazaar-home.txt
Traceback (most recent call last):
  File "/home/jml/Code/Launchpad/branches/devel/lib/zope/testing/doctest.py", 
line 2279, in debug
    runner.run(self._dt_test, clear_globs=False)
  File "/home/jml/Code/Launchpad/branches/devel/lib/zope/testing/doctest.py", 
line 1731, in run
    r = DocTestRunner.run(self, test, compileflags, out, False)
  File "/home/jml/Code/Launchpad/branches/devel/lib/zope/testing/doctest.py", 
line 1389, in run
    return self.__run(test, compileflags, out)
  File "/home/jml/Code/Launchpad/branches/devel/lib/zope/testing/doctest.py", 
line 1310, in __run
    exc_info)
  File "/home/jml/Code/Launchpad/branches/devel/lib/zope/testing/doctest.py", 
line 1737, in report_unexpected_exception
    raise UnexpectedException(test, example, exc_info)
UnexpectedException: <DocTest xx-bazaar-home.txt from 
/home/jml/Code/Launchpad/branches/register-branch/lib/canonical/launchpad/ftests/../pagetests/branches/xx-bazaar-home.txt:0
 (3 examples)>

exceptions.TypeError:
unhashable instance
> /usr/lib/python2.4/site-packages/mechanize/_opener.py(169)_maybe_reindex_handlers()
-> lookup.setdefault(kind, set()).add(handler)
(Pdb)

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

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

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to