After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 548960 - Deal with missing pygst better
Deal with missing pygst better
Status: RESOLVED FIXED
Product: conduit
Classification: Other
Component: core
unspecified
Other Linux
: Normal normal
: ---
Assigned To: conduit-maint@gnome.bugs
conduit-maint@gnome.bugs
Depends on:
Blocks:
 
 
Reported: 2008-08-22 08:33 UTC by Michael Monreal
Modified: 2008-08-22 14:28 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Michael Monreal 2008-08-22 08:33:33 UTC
Well conduit seems to handle dependancy tracking on the fly, so I get errors like this when running it:


[Module              ][WARNING] Error loading the file: /opt/gnome2.24/lib/conduit/modules/RhythmboxModule/RhythmboxModule.py
Traceback (most recent call last):
  • File "/opt/gnome2.24/lib/python2.5/site-packages/conduit/Module.py", line 173 in _load_modules_in_file
    mod = self._import_file(filename)
  • File "/opt/gnome2.24/lib/python2.5/site-packages/conduit/Module.py", line 154 in _import_file
    mods = pydoc.importfile (filename)
  • File "/usr/lib/python2.5/pydoc.py", line 259 in importfile
    raise ErrorDuringImport(path, sys.exc_info()) ErrorDuringImport: problem in /opt/gnome2.24/lib/conduit/modules/RhythmboxModule/RhythmboxModule.py - <type 'exceptions.ImportError'>: No module named pygst  (Module.py:201)
  • File "/opt/gnome2.24/lib/python2.5/site-packages/conduit/Module.py", line 173 in _load_modules_in_file
    mod = self._import_file(filename)
  • File "/opt/gnome2.24/lib/python2.5/site-packages/conduit/Module.py", line 154 in _import_file
    mods = pydoc.importfile (filename)
  • File "/usr/lib/python2.5/pydoc.py", line 259 in importfile
    raise ErrorDuringImport(path, sys.exc_info()) ErrorDuringImport: problem in /opt/gnome2.24/lib/conduit/modules/iPodModule/iPodModule.py - <type 'exceptions.NameError'>: name 'gpod' is not defined  (Module.py:201)
"Note: in order to use the iPod data provider you will need python-gpod at runtime"

same for pygst and perhaps others.

b) let the module loading fail silently or at least don't show the Traceback if the error is due to missing (non standard) dependancy packages
Comment 1 John Stowers 2008-08-22 09:00:57 UTC
Lol, this new ipod and media transcoding code (from GSOC work 2008) hit SVN about 6 hours ago. There be dragons!

Im aware of all these issues, it will be a few hours before they get cleaned up.
Comment 2 Michael Monreal 2008-08-22 09:05:17 UTC
Oh sorry :)
Comment 3 John Stowers 2008-08-22 14:28:56 UTC
This problem has been fixed in the development version. The fix will be available in the next major software release. Thank you for your bug report.