OnTV crashes on startup (ElementTree module not available?)

Bug #81807 reported by Darren Adams
2
Affects Status Importance Assigned to Milestone
ontv (Ubuntu)
Fix Released
Undecided
Unassigned

Bug Description

Binary package hint: ontv

OnTV cannot start due to the ElementTree module being unavailable.

The output from this is as follows:

/usr/lib/python2.4/site-packages/ontv/xmltv.py:24: RuntimeWarning: Python C API version mismatch for module cElementTree: This Python has API version 1013, module cElementTree has version 1012.
  from cElementTree import ElementTree, Element, SubElement, tostring
Traceback (most recent call last):
  File "/usr/lib/ontv/ontv", line 29, in <module>
    from ontv import Main
  File "/usr/lib/python2.4/site-packages/ontv/Main.py", line 34, in <module>
    from OnTVApplet import OnTVApplet
  File "/usr/lib/python2.4/site-packages/ontv/OnTVApplet.py", line 29, in <module>
    from XMLTVFile import XMLTVFile
  File "/usr/lib/python2.4/site-packages/ontv/XMLTVFile.py", line 28, in <module>
    import xmltv
  File "/usr/lib/python2.4/site-packages/ontv/xmltv.py", line 24, in <module>
    from cElementTree import ElementTree, Element, SubElement, tostring
ImportError: cannot import name ElementTree

ProblemType: Crash
Date: Sat Jan 27 10:25:57 2007
DistroRelease: Ubuntu 7.04
ExecutablePath: /usr/lib/ontv/ontv
InterpreterPath: /usr/bin/python2.5
Package: ontv 2.2.0-0ubuntu2
ProcCmdline: python /usr/lib/ontv/ontv --oaf-activate-iid=OAFIID:GNOME_OnTVApplet_Factory --oaf-ior-fd=47
ProcCwd: /
ProcEnviron:
 LANG=en_GB.UTF-8
 LANGUAGE=en_GB:en
 PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/bin/X11:/usr/games
 SHELL=/bin/bash
PythonArgs: ['/usr/lib/ontv/ontv', '--oaf-activate-iid=OAFIID:GNOME_OnTVApplet_Factory', '--oaf-ior-fd=47']
SourcePackage: ontv
Uname: Linux coffeecup 2.6.20-5-generic #2 SMP Sat Jan 6 14:50:47 UTC 2007 i686 GNU/Linux

Revision history for this message
Darren Adams (darrengetsone) wrote : Dependencies.txt
Revision history for this message
Darren Adams (darrengetsone) wrote : ProcMaps.txt
Revision history for this message
Darren Adams (darrengetsone) wrote : ProcStatus.txt
Revision history for this message
Darren Adams (darrengetsone) wrote : Traceback.txt
Revision history for this message
Johan Svedberg (johan-svedberg-com) wrote :

This has been fixed in SVN with a check for cElementTree at both configure and run-time.

I wish I had some more time over to make a new release, but I'm just svamped atm.

Changed in ontv:
status: Unconfirmed → 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.