mmpython not found

Bug #246250 reported by Rolf Leggewie on 2008-07-07
Affects Status Importance Assigned to Milestone
Marco Ferreira
In Progress

Bug Description

subdownloader reports on startup that the mmpython module is not found. python-mmpython is in the dependencies and thus known to be installed, the program must be looking in the wrong place.

Rolf Leggewie (r0lf) on 2008-07-07
Changed in subdownloader:
status: New → Confirmed
Craig Maloney (craig-decafbad) wrote :

Appears there is a dependency that isn't being met. I've enclosed a copy of what happens when I do an import of mmpython using ipython.

Ivan Garcia (capiscuas) wrote :

To save us a lot of headeaches with this mmpython, I've commited the mmpython source folder into the BZR.

Now there is no problem with the import mmpython, the dependency package can be removed, we make sure than Windows .exe will also have the mmpython included.

Rolf Leggewie (r0lf) wrote :

done in commit 15 of the packaging branch

please be sure to not install those mmpython files where a possibly installed python-mmpython package might install them as well. Please be sure there will be no conflicts or confusions from the same files with possibly different versions installed at the same time.

This needs testing and confirmation.

Changed in subdownloader:
status: Confirmed → Fix Committed
Rolf Leggewie (r0lf) wrote :

the mmpython stuff was committed in revision 305 of the trunk branch

Craig Maloney (craig-decafbad) wrote :

Hi Rolf,

Please attach a link to where you have the packages, and I'll be happy to confirm. Thanks!

Craig Maloney (craig-decafbad) wrote :

Also, I think the real solution would be to get mmpython to register itself properly in Ubuntu. I'm not sure who is taking care of the packages, though.

Marco Ferreira (mferreira) wrote :

Yes, unfortunetly mmpython doesn't work that well because pyxml changed.

in mmpython, should change the line
  from xml.utils import qp_xml
  from sys import path, version
  path.append('/usr/lib/python%s/site-packages/oldxml' % version[:3])
  from _xmlplus.utils import qp_xml
and it'll work.

or something like that.

Changed in subdownloader:
assignee: nobody → mferreira
importance: Undecided → High
Changed in mmpython:
status: New → Fix Committed
status: Fix Committed → New
Changed in subdownloader:
status: Fix Committed → Fix Released
Marco Ferreira (mferreira) wrote :

Forget my last post.

The solution for this issue is actualy far more simple than I thought.
Just remove python-xml and mmpython will work just fine. The package python-xml is very old and should not even be installed since python (>=2.4) already includes xml support.

mmpython will be in subdownloader tree for other reasons, but linux packages won't be ported with it since we are sure mmpython will work just fine now.


Ivan Garcia (capiscuas) wrote :

Do you mean that when packaging for linux:

-delete local folder mmpython in codes
- make a dependancy of mmpython for the subdownloader.deb
- force to delete the python-xml package in case is intalled? how to do this, inside the deb dependencies itself?

Marco Ferreira (mferreira) wrote :

Exactly. There's is no need to include mmpython directory in subdownloader tree when packaging for linux.

We shall make some more testing on this issue before having final decision about it.

Marco Ferreira (mferreira) wrote :

After some more tests i realized that kaa-metadata is far more stable to use for linux destributions than mmpython.
Will use this solution for now.

Jérémie Corbier (jcorbier) wrote :

mmpython is no longer maintained upstream and kaa-metadata supersedes it.

Marco Rodrigues (gothicx) wrote :


Why to still keep a local copy of mmpython ?

The dependency in python-kaa-metadata doesn't fix the problem ?


Ivan Garcia (capiscuas) wrote :

hello marco, we keep that for the windows binaries. and also I think in case that the python-kaa-metadata is not found in the system (in case running from sources and not from .deb)

Marco Rodrigues (gothicx) wrote :

Hi! I'll remove mmpython from binary to linux version. My packaging for ubuntu is almost finished, and it's using debhelper 7 :-) I hope we get it into jaunty.

Marco Rodrigues (gothicx) wrote :

Ups.. I mean for Debian ... Ubuntu will probably sync it.

Ivan Garcia (capiscuas) wrote :

Great Marco, I hope that we can include it soon in debian repository and in Jaunty too , cause we have been trying since Hardy :-)

Best Regards and many thanks.

Craig Maloney (craig-decafbad) wrote :

Is this still an issue? I've been able to successfully import mmpython with the latest revision.

Changed in mmpython:
status: New → In Progress
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers