[Bug 39035] Re: pygtk init modifies sys.path

Balki andy.balcombe at anti-particle.com
Sun Apr 16 15:52:42 UTC 2006


Hmmm - The app I'm developing (http://www.anti-particle.com/wahcade.shtml) was failing when referencing sys.path[0].  It seems OK now - I think I've applied the latest dapper updates since it first failed.  Streamtuner is still failing with the following errors though:

Traceback (most recent call last):
  File "/usr/share/streamtuner/python/scripts/google-stations.py", line 30, in ?
    import re, os, ST, gtk
  File "/usr/lib/python2.4/site-packages/gtk-2.0/gtk/__init__.py", line 36, in ?
    if sys.argv:
AttributeError: 'module' object has no attribute 'argv'
Traceback (most recent call last):
  File "/usr/share/streamtuner/python/scripts/basic.ch.py", line 32, in ?
    import string, re, datetime, ST, gtk
  File "/usr/lib/python2.4/site-packages/gtk-2.0/gtk/__init__.py", line 36, in ?
    if sys.argv:
AttributeError: 'module' object has no attribute 'argv'
Traceback (most recent call last):
  File "/usr/share/streamtuner/python/scripts/punkcast.com.py", line 30, in ?
    import sys, re, ST, gobject, gtk
  File "/usr/lib/python2.4/site-packages/gtk-2.0/gtk/__init__.py", line 36, in ?
    if sys.argv:
AttributeError: 'module' object has no attribute 'argv'

-- 
pygtk init modifies sys.path
https://launchpad.net/malone/bugs/39035




More information about the desktop-bugs mailing list