Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 442336 - dev-lang/python-2.7.3-r2: xml.dom.ext not found
Summary: dev-lang/python-2.7.3-r2: xml.dom.ext not found
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-11-08 11:04 UTC by tokiclover
Modified: 2012-11-08 14:18 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description tokiclover 2012-11-08 11:04:26 UTC
I'mm having this issues since..., well it was a long time, maybe after the r1 release that I masked every 2.7.3-r* package because otherwise I will get:

% laditray                                                                                                                «─┘
Traceback (most recent call last):
  File "/usr/bin/laditray", line 24, in <module>
    import laditools
  File "/usr/lib64/python2.7/site-packages/laditools/__init__.py", line 19, in <module>
    from jack_menu import manager, find_data_file
  File "/usr/lib64/python2.7/site-packages/laditools/jack_menu.py", line 24, in <module>
    from config import config
  File "/usr/lib64/python2.7/site-packages/laditools/config.py", line 19, in <module>
    from xml.dom.ext import PrettyPrint
ImportError: No module named ext

laditools comes from ladi-overlay, so no official support. But I'm opening, lastly this bug, because I took some time to examine '/usr/lib64/python2.7/site-packages/_xmlplus/dom/ext' or '/usr/lib64/python2.7/xml/dom' and there's no apparent filename change between 2.7.3 and 2.7.3-r2. The modules are there but laditray won't find the appropriate module in a case and find the modules in the other.

Reproducible: Always

Steps to Reproduce:
1.laditray
2. 
3.
Actual Results:  
  File "/usr/lib64/python2.7/site-packages/laditools/config.py", line 19, in <module>
    from xml.dom.ext import PrettyPrint
ImportError: No module named ext

Expected Results:  
execute the script/program
Comment 1 Rafał Mużyło 2012-11-08 14:18:35 UTC
You're right - no support.

But:
1. IIRC, while not in that overlay, there's a more recent version of laditools available
2. for a hint how to *properly* fix this see dev-java/javatoolkit/files/javatoolkit-0.3.0-no-pyxml.patch