Bug 232590 - ImportError: No module named elementtree.SimpleXMLWriter
ImportError: No module named elementtree.SimpleXMLWriter
Status: CLOSED ERRATA
Product: Fedora
Classification: Fedora
Component: repoview (Show other bugs)
7
All Linux
medium Severity high
: ---
: ---
Assigned To: Konstantin Ryabitsev
Fedora Extras Quality Assurance
:
: 242803 247319 (view as bug list)
Depends On:
Blocks: FE7Target
  Show dependency treegraph
 
Reported: 2007-03-16 05:49 EDT by Michael Schwendt
Modified: 2007-11-30 17:11 EST (History)
6 users (show)

See Also:
Fixed In Version: 0.5.2-2.fc7
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2007-07-06 14:13:30 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)

  None (edit)
Description Michael Schwendt 2007-03-16 05:49:46 EDT
$ repoview .
Traceback (most recent call last):
  File "/usr/bin/repoview", line 40, in <module>
    from elementtree.SimpleXMLWriter import XMLWriter
ImportError: No module named elementtree.SimpleXMLWriter

$ rpm -q repoview
repoview-0.5.2-1.fc6

$ cat /etc/fedora-release 
Fedora release 6.91 (Rawhide)
Comment 1 Stephanos Manos 2007-06-04 18:57:37 EDT
seems python-elementtree was dropped from f7.
recompiling the fc6 rpm fixes it.
Comment 2 Michael Schwendt 2007-06-04 19:00:07 EDT
@ Stephanos Manos

It is a run-time failure. Rebuilding the src.rpm cannot fix it.
Comment 3 Stephanos Manos 2007-06-04 19:08:50 EDT
I forgot to add "and installing it (the python-elementtree)"

Comment 4 Takanori MATSUURA 2007-06-04 20:42:48 EDT
I think the core components of elementtree are included in python-2.5 and
python-elementtree package is disappeared from F7.
http://effbot.org/zone/element-index.htm
Comment 5 Michael Schwendt 2007-06-05 05:05:37 EDT
Hence this bug report. What has been merged into Python 2.5 is not
equal to what used to be in the python-elementtree package.
Comment 6 Takanori MATSUURA 2007-06-05 05:56:09 EDT
According to the Python-Del ML, XMLWriter was left out.
http://mail.python.org/pipermail/python-dev/2006-August/068224.html
Comment 7 Konstantin Ryabitsev 2007-06-05 19:19:05 EDT
*** Bug 242803 has been marked as a duplicate of this bug. ***
Comment 8 Till Maas 2007-06-27 16:11:22 EDT
Is anyone working on this? This Bug renders the repoview package completely
useless, because it does not do anything.
Comment 9 Till Maas 2007-06-27 16:22:24 EDT
I filled a bug request in upstream's bugzilla:

https://devel.linux.duke.edu/bugzilla/show_bug.cgi?id=755
Comment 10 Konstantin Ryabitsev 2007-06-28 09:56:00 EDT
I will backport a fix for F-7 from the trunk. Sorry, the new version that was
supposed to fix this is taking longer than I had expected.
Comment 11 Konstantin Ryabitsev 2007-06-29 11:32:51 EDT
Cumulative patch for F7:
http://mricon.com/trac/changeset/352

The fixed version will show up in F7-testing soon.
Comment 12 Fedora Update System 2007-07-02 12:06:08 EDT
repoview-0.5.2-2.fc7 has been pushed to the Fedora 7 testing repository.  If problems still persist, please make note of it in this bug report.
Comment 13 Fedora Update System 2007-07-06 14:13:26 EDT
repoview-0.5.2-2.fc7 has been pushed to the Fedora 7 stable repository.  If problems still persist, please make note of it in this bug report.
Comment 14 Konstantin Ryabitsev 2007-07-06 19:27:11 EDT
*** Bug 247319 has been marked as a duplicate of this bug. ***

Note You need to log in before you can comment on or make changes to this bug.