[gstreamer-bugs] [Bug 357310] New: ltihooks screw up importing pygtk and twisted
GStreamer (bugzilla.gnome.org)
bugzilla-daemon at bugzilla.gnome.org
Sat Sep 23 03:43:25 PDT 2006
Do not reply to this via email (we are currently unable to handle email
responses and they get discarded). You can add comments to this bug at
http://bugzilla.gnome.org/show_bug.cgi?id=357310
GStreamer | gst-python | Ver: 0.10.5
Summary: ltihooks screw up importing pygtk and twisted
Product: GStreamer
Version: 0.10.5
Platform: Other
OS/Version: Linux
Status: NEW
Severity: normal
Priority: Normal
Component: gst-python
AssignedTo: gstreamer-bugs at lists.sourceforge.net
ReportedBy: thomas at apestaart.org
QAContact: johan at gnome.org
GNOME version: Unspecified
GNOME milestone: Unspecified
in an uninstalled copy of gst-python, running a simple program:
import gtk
from twisted.internet import reactor
tracebacks with
Traceback (most recent call last):
File "bad.py", line 2, in ?
from twisted.internet import reactor
File "/usr/lib/python2.4/ihooks.py", line 409, in import_module
self.ensure_fromlist(m, fromlist)
File "/usr/lib/python2.4/ihooks.py", line 474, in ensure_fromlist
submod = self.import_it(sub, subname, m)
File "/usr/lib/python2.4/ihooks.py", line 495, in import_it
m = self.loader.load_module(fqname, stuff)
File "/usr/lib/python2.4/ihooks.py", line 270, in load_module
m = self.hooks.load_source(name, filename, file)
File "/usr/lib/python2.4/ihooks.py", line 168, in load_source
return imp.load_source(name, filename, file)
File "/usr/lib/python2.4/site-packages/twisted/internet/reactor.py", line 11,
in ?
from twisted.internet import selectreactor
File "/usr/lib/python2.4/ihooks.py", line 403, in import_module
parent = self.determine_parent(globals)
File "/usr/lib/python2.4/ihooks.py", line 420, in determine_parent
if '.' in pname:
TypeError: iterable argument required
One of the reasons for this (as can be seen with python -v) is that the
uninstalled copy has an ltihooks file, which the installed version of pygtk
tries to import in the gtk module.
--
Configure bugmail: http://bugzilla.gnome.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
More information about the Gstreamer-bugs
mailing list