reassign 684616 python-clientform found 684616 1:0.2.5-2 retitle 684616 python-clientform needs versioned depends on p-mechanize tags 684616 + patch thanks
Hi, On Sun, Aug 12, 2012 at 09:58:40AM +0200, Jakub Wilk wrote: > > File "/usr/lib/python2.7/dist-packages/mechanize/_html.py", line 12, in > > <module> > > import sgmllib, ClientForm > >ImportError: No module named ClientForm > > I can reproduce this bug by installing python-mechanize from squeeze > and everything else from wheezy. Dependencies are satisfied, but the > program doesn't start. The actual bug is in python-clientform (which is now built by src:python-mechanize), not in calibre. python-mechanize in squeeze depends on python-clientform, which in squeeze is an own package. In python-mechanize 0.2.0, clientform was merged into it and Debian provides a dummy transitional package depending on python-mechanize. Now, when the dummy python-clientform gets upgraded and the old python-mechanize is still installed, dependencies are fine, but one cannot import mechanize (and calibre thus crashes). The proper solution would be: diff -Nru python-mechanize-0.2.5/debian/control python-mechanize-0.2.5/debian/control --- python-mechanize-0.2.5/debian/control 2012-08-12 17:10:49.000000000 +0200 +++ python-mechanize-0.2.5/debian/control 2012-03-13 02:19:01.000000000 +0100 @@ -37,7 +37,7 @@ Package: python-clientform Architecture: all -Depends: ${misc:Depends}, python-mechanize (>= 0.2.0) +Depends: ${misc:Depends}, python-mechanize Section: oldlibs Description: transitional dummy package This package is a dummy transitional package following the merge of ClientForm This would stop python-clientform being upgraded w/o a proper python-mechanize version installed. Regards Evgeni -- Bruce Schneier can read and understand Perl programs. -- To UNSUBSCRIBE, email to debian-bugs-rc-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org