[apport] ontv crashed with AttributeError in __load_in_thread()

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

Bug Description

Binary package hint: ontv

This appears to happen when OnTV is first attempting to display information about TV channels, so it occurs when the applet first loads, and when I attempt to update the television listings

ProblemType: Crash
Date: Sat Feb 17 08:42:08 2007
DistroRelease: Ubuntu 7.04
ExecutablePath: /usr/lib/ontv/ontv
Package: ontv 2.4.0-0ubuntu1
ProcCmdline: python /usr/lib/ontv/ontv --oaf-activate-iid=OAFIID:GNOME_OnTVApplet_Factory --oaf-ior-fd=39
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=39']
SourcePackage: ontv
Traceback:
 Traceback (most recent call last):
   File "/usr/lib/python2.5/site-packages/ontv/XMLTVFile.py", line 111, in __load_in_thread
     if e.__module__ == "xml.parsers.expat":
 AttributeError: 'exceptions.NameError' object has no attribute '__module__'
Uname: Linux coffeecup 2.6.20-8-generic #2 SMP Tue Feb 13 05:18:42 UTC 2007 i686 GNU/Linux

Revision history for this message
Darren Adams (darrengetsone) wrote :
Revision history for this message
Johan Svedberg (johan-svedberg-com) wrote :

Thanks for the report. It seems like the __module__ attribute has been removed in Python 2.5. So I need to find a portable way to do this for both 2.4 and 2.5, or stop supporting python 2.4.

Revision history for this message
Johan Svedberg (johan-svedberg-com) wrote :

Just released 2.6.0 which fixes this (requires python 2.5).

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.