Unable to import mmpython

Bug #248749 reported by Emilio Pozuelo Monfort
8
Affects Status Importance Assigned to Milestone
mmpython (Ubuntu)
Fix Released
Medium
Emilio Pozuelo Monfort
Hardy
Fix Released
Medium
Unassigned

Bug Description

From https://bugs.launchpad.net/ubuntu/+source/elisa/+bug/199014/comments/112

Unfortunetly I keep getting that ImportError message when import mmpython:

/usr/lib/python2.5/site-packages/mmpython/__init__.py in <module>()
    125 import video.asfinfo
    126 import video.movinfo
--> 127 import image.jpginfo
    128 import image.pnginfo
    129 import image.tiffinfo

/usr/lib/python2.5/site-packages/mmpython/image/jpginfo.py in <module>()
    100 import struct
    101
--> 102 import ImageInfo
    103
    104 # interesting file format info:

/usr/lib/python2.5/site-packages/mmpython/image/ImageInfo.py in <module>()
     37 import os
     38 import gzip
---> 39 from xml.utils import qp_xml
     40
     41 DEBUG = mediainfo.DEBUG

<type 'exceptions.ImportError'>: No module named utils

With or without python-xml installed.

Changed in mmpython:
assignee: nobody → pochu
importance: Undecided → Medium
status: New → In Progress
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package mmpython - 0.4.10-1ubuntu2

---------------
mmpython (0.4.10-1ubuntu2) intrepid; urgency=low

  * Readd python-xml to Depends.
  * Fix xml import by appending python-xml to sys.path.
    LP: #248749

 -- Emilio Pozuelo Monfort <email address hidden> Tue, 15 Jul 2008 17:53:19 +0200

Changed in mmpython:
status: In Progress → Fix Released
Revision history for this message
Emilio Pozuelo Monfort (pochu) wrote :

Fix uploaded to hardy-proposed too, as it's needs fixing there. Needs approval from motu-sru before been accepted though

Revision history for this message
Luca Falavigna (dktrkranz) wrote :

Ack from motu-sru.

Changed in mmpython:
importance: Undecided → Medium
status: New → Confirmed
Revision history for this message
Martin Pitt (pitti) wrote :

Accepted into -proposed, please test and give feedback here. Please see https://wiki.ubuntu.com/Testing/EnableProposed for documentation how to enable and use -proposed. Thank you in advance!

Changed in mmpython:
status: Confirmed → Fix Committed
Revision history for this message
Albert Damen (albrt) wrote :

+1

- python-mmpython from hardy fails when it is imported and mminfo on a .mpg fails similarly
- upgrade from hardy to -proposed is successful (and pulls in python-xml as expected)
- the hardy-proposed version can be imported without errors.
- running mminfo from python-mmpython from hardy-proposed gives meaningful output on a .mpg file.

Revision history for this message
Luca Falavigna (dktrkranz) wrote :

Using version 0.4.10-1ubuntu1.1 from hardy-proposed shows no errors when importing mmpython module.

Revision history for this message
Martin Pitt (pitti) wrote :

Copied to hardy-updates.

Changed in mmpython:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.