Summary: | app-text/gnome-doc-utils - attempt to execute xml2po results in 'ImportError: No module named libxml2' | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Shaun Lippy <slippy> |
Component: | [OLD] Development | Assignee: | Gentoo Linux Gnome Desktop Team <gnome> |
Status: | RESOLVED FIXED | ||
Severity: | major | ||
Priority: | High | ||
Version: | 2006.1 | ||
Hardware: | PPC | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- |
Description
Shaun Lippy
2007-06-03 19:15:45 UTC
So re-emerge app-text/gnome-doc-utils *** This bug has been marked as a duplicate of bug 104088 *** None of the steps in the other bug solve my problem. Running 'python-updater' simply results in the same problem - eventually a package tries to run 'xml2po' and fails in exactly the same way. I've added 'python' to my USE flags in make.conf, re-emerged libxml2, re-emerged gnome-doc-utils, and I STILL have the same problem with xml2po. I get the same error with xml2po, except i am trying to do emerge -uD world and it gives that error and libxml2 is installed (In reply to comment #0) > # xml2po > Traceback (most recent call last): > File "/usr/bin/xml2po", line 34, in <module> > import libmxl2 > ImportError: No module named libxml2 > > Steps I've taken to try to resolve the problem: > > 1. emerge gnome-doc-utils (app-text/gnome-doc-utils-0.8.0) > 2. emerge libxml2 (dev-libs/libxml2-2.6.28) > 3. USE="python" emerge libxml2 (dev-libs/libxml2-2.6.28) > 4. I tried downloading and building the libxml2-python distribution from > ftp://xmlsoft.org/libxml2/python/ (I used libxml2-python-2.6.21.tar.gz) > > I am unable to update my system from the portage at this time due to the large > number of packages that seem to use this xml2po tool. > > Reproducible: Always > > Steps to Reproduce: > 1. Execute xml2po > 2. > 3. > > Actual Results: > # xml2po > Traceback (most recent call last): > File "/usr/bin/xml2po", line 34, in <module> > import libmxl2 > ImportError: No module named libxml2 > > Expected Results: > It works. > please provide emerge --info and build.log. Did you try to add the python USE flag to make.conf and emerge -DuNav world ? I was using Python 2.5.1 previously; after removing that and emerging Python 2.4.4 and re-emerging everything, xml2po now works fine. As such, I am changing the status of this bug to FIXED. |