Re: Problem with system-config-printer.py

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



I have the same problem that Chris has.
There is a program called DeVeDe, it was runnig fine until last month,
but after (I think) an update of some packages of Fedora 9, it stop working.
The message is:

[german@aquarius ~]$ devede
Traceback (most recent call last):
  File "/usr/bin/devede", line 28, in ?
    import gtk.glade
ImportError: No module named glade

When running system-config-printer, the problem seems to be the same:

[german@aquarius ~]$ system-config-printer
Traceback (most recent call last):
  File "/usr/share/system-config-printer/system-config-printer.py",
line 29, in ?
    import gtk.glade
ImportError: No module named glade

What to do? (Sorry for my English, I'm Argentinian...)

Thanks in advance,
German.

On Mon, Jul 7, 2008 at 12:04 PM, Chris Carlson <cwcarlson@xxxxxxx> wrote:
> Okay, sorry for doubting you.
>
> When I run the python line you suggested, nothing happens.  Here's the
> output:
>
> rolf:carlson [911] $ python -c 'import gtk.glade'
> rolf:carlson [912] $
>
> When I run the strace version of it, here's the whole output (note that the
> command is slightly different for tcsh):
>
> rolf:carlson [913] $ strace -eopen python -c 'import gtk.glade' |& grep -v
> NOENT
> open("/etc/ld.so.cache", O_RDONLY)      = 3
> open("/usr/lib/libpython2.5.so.1.0", O_RDONLY) = 3
> open("/lib/libpthread.so.0", O_RDONLY)  = 3
> open("/lib/libdl.so.2", O_RDONLY)       = 3
> open("/lib/libutil.so.1", O_RDONLY)     = 3
> open("/lib/libm.so.6", O_RDONLY)        = 3
> open("/lib/libc.so.6", O_RDONLY)        = 3
> open("/proc/meminfo", O_RDONLY)         = 3
> open("/usr/lib/python2.5/site.py", O_RDONLY|O_LARGEFILE) = 3
> open("/usr/lib/python2.5/site.pyc", O_RDONLY|O_LARGEFILE) = 4
> open("/usr/lib/python2.5/os.py", O_RDONLY|O_LARGEFILE) = 4
> open("/usr/lib/python2.5/os.pyc", O_RDONLY|O_LARGEFILE) = 5
> open("/usr/lib/python2.5/posixpath.py", O_RDONLY|O_LARGEFILE) = 5
> open("/usr/lib/python2.5/posixpath.pyc", O_RDONLY|O_LARGEFILE) = 6
> open("/usr/lib/python2.5/stat.py", O_RDONLY|O_LARGEFILE) = 6
> open("/usr/lib/python2.5/stat.pyc", O_RDONLY|O_LARGEFILE) = 7
> open("/usr/lib/python2.5/UserDict.py", O_RDONLY|O_LARGEFILE) = 5
> open("/usr/lib/python2.5/UserDict.pyc", O_RDONLY|O_LARGEFILE) = 6
> open("/usr/lib/python2.5/copy_reg.py", O_RDONLY|O_LARGEFILE) = 5
> open("/usr/lib/python2.5/copy_reg.pyc", O_RDONLY|O_LARGEFILE) = 6
> open("/usr/lib/python2.5/types.py", O_RDONLY|O_LARGEFILE) = 6
> open("/usr/lib/python2.5/types.pyc", O_RDONLY|O_LARGEFILE) = 7
> open("/usr/lib/python2.5/site-packages",
> O_RDONLY|O_NONBLOCK|O_LARGEFILE|O_DIRECTORY|0x80000) = 4
> open("/usr/lib/python2.5/site-packages/Numeric.pth", O_RDONLY|O_LARGEFILE) =
> 4
> open("/usr/lib/python2.5/site-packages/PIL.pth", O_RDONLY|O_LARGEFILE) = 4
> open("/usr/lib/python2.5/site-packages/Paste-1.6-py2.5-nspkg.pth",
> O_RDONLY|O_LARGEFILE) = 4
> open("/usr/lib/python2.5/new.py", O_RDONLY|O_LARGEFILE) = 5
> open("/usr/lib/python2.5/new.pyc", O_RDONLY|O_LARGEFILE) = 6
> open("/usr/lib/python2.5/site-packages/pygst.pth", O_RDONLY|O_LARGEFILE) = 4
> open("/usr/lib/python2.5/site-packages/pygtk.pth", O_RDONLY|O_LARGEFILE) = 4
> open("/usr/lib/python2.5/warnings.py", O_RDONLY|O_LARGEFILE) = 3
> open("/usr/lib/python2.5/warnings.pyc", O_RDONLY|O_LARGEFILE) = 4
> open("/usr/lib/python2.5/linecache.py", O_RDONLY|O_LARGEFILE) = 4
> open("/usr/lib/python2.5/linecache.pyc", O_RDONLY|O_LARGEFILE) = 5
> open("/usr/lib/locale/locale-archive", O_RDONLY|O_LARGEFILE) = 3
> open("/usr/lib/python2.5/encodings/__init__.py", O_RDONLY|O_LARGEFILE) = 3
> open("/usr/lib/python2.5/encodings/__init__.pyc", O_RDONLY|O_LARGEFILE) = 4
> open("/usr/lib/python2.5/codecs.py", O_RDONLY|O_LARGEFILE) = 4
> open("/usr/lib/python2.5/codecs.pyc", O_RDONLY|O_LARGEFILE) = 5
> open("/usr/lib/python2.5/encodings/aliases.py", O_RDONLY|O_LARGEFILE) = 4
> open("/usr/lib/python2.5/encodings/aliases.pyc", O_RDONLY|O_LARGEFILE) = 5
> open("/usr/lib/python2.5/encodings/latin_1.py", O_RDONLY|O_LARGEFILE) = 3
> open("/usr/lib/python2.5/encodings/latin_1.pyc", O_RDONLY|O_LARGEFILE) = 4
> open("/usr/lib/python2.5/site-packages/gtk-2.0/gtk/__init__.py",
> O_RDONLY|O_LARGEFILE) = 3
> open("/usr/lib/python2.5/site-packages/gtk-2.0/gtk/__init__.pyc",
> O_RDONLY|O_LARGEFILE) = 4
> open("/usr/lib/python2.5/site-packages/gtk-2.0/gobject/__init__.py",
> O_RDONLY|O_LARGEFILE) = 4
> open("/usr/lib/python2.5/site-packages/gtk-2.0/gobject/__init__.pyc",
> O_RDONLY|O_LARGEFILE) = 5
> open("/usr/lib/python2.5/site-packages/gtk-2.0/gobject/constants.py",
> O_RDONLY|O_LARGEFILE) = 5
> open("/usr/lib/python2.5/site-packages/gtk-2.0/gobject/constants.pyc",
> O_RDONLY|O_LARGEFILE) = 6
> open("/usr/lib/python2.5/site-packages/gtk-2.0/gobject/_gobject.so",
> O_RDONLY|O_LARGEFILE) = 6
> open("/usr/lib/python2.5/site-packages/gtk-2.0/gobject/_gobject.so",
> O_RDONLY) = 7
> open("/etc/ld.so.cache", O_RDONLY)      = 7
> open("/lib/libgobject-2.0.so.0", O_RDONLY) = 7
> open("/lib/libgthread-2.0.so.0", O_RDONLY) = 7
> open("/lib/librt.so.1", O_RDONLY)       = 7
> open("/lib/libglib-2.0.so.0", O_RDONLY) = 7
> open("/lib/libselinux.so.1", O_RDONLY)  = 7
> open("/etc/selinux/config", O_RDONLY|O_LARGEFILE) = 7
> open("/selinux/mls", O_RDONLY|O_LARGEFILE) = 7
> open("/usr/lib/python2.5/site-packages/gtk-2.0/gobject/propertyhelper.py",
> O_RDONLY|O_LARGEFILE) = 5
> open("/usr/lib/python2.5/site-packages/gtk-2.0/gobject/propertyhelper.pyc",
> O_RDONLY|O_LARGEFILE) = 6
> open("/usr/lib/python2.5/site-packages/gtk-2.0/gtk/_gtk.so",
> O_RDONLY|O_LARGEFILE) = 4
> open("/usr/lib/python2.5/site-packages/gtk-2.0/gtk/_gtk.so", O_RDONLY) = 5
> open("/etc/ld.so.cache", O_RDONLY)      = 5
> open("/usr/lib/libgtk-x11-2.0.so.0", O_RDONLY) = 5
> open("/usr/lib/libgdk-x11-2.0.so.0", O_RDONLY) = 5
> open("/usr/lib/libatk-1.0.so.0", O_RDONLY) = 5
> open("/usr/lib/libgdk_pixbuf-2.0.so.0", O_RDONLY) = 5
> open("/usr/lib/libpangocairo-1.0.so.0", O_RDONLY) = 5
> open("/usr/lib/libpango-1.0.so.0", O_RDONLY) = 5
> open("/usr/lib/libcairo.so.2", O_RDONLY) = 5
> open("/lib/libgmodule-2.0.so.0", O_RDONLY) = 5
> open("/usr/lib/libX11.so.6", O_RDONLY)  = 5
> open("/usr/lib/libXcomposite.so.1", O_RDONLY) = 5
> open("/usr/lib/libXfixes.so.3", O_RDONLY) = 5
> open("/usr/lib/libpng12.so.0", O_RDONLY) = 5
> open("/usr/lib/libfontconfig.so.1", O_RDONLY) = 5
> open("/usr/lib/libXext.so.6", O_RDONLY) = 5
> open("/usr/lib/libXrender.so.1", O_RDONLY) = 5
> open("/usr/lib/libXinerama.so.1", O_RDONLY) = 5
> open("/usr/lib/libXi.so.6", O_RDONLY)   = 5
> open("/usr/lib/libXrandr.so.2", O_RDONLY) = 5
> open("/usr/lib/libXcursor.so.1", O_RDONLY) = 5
> open("/usr/lib/libpangoft2-1.0.so.0", O_RDONLY) = 5
> open("/usr/lib/libfreetype.so.6", O_RDONLY) = 5
> open("/lib/libz.so.1", O_RDONLY)        = 5
> open("/usr/lib/libpixman-1.so.0", O_RDONLY) = 5
> open("/usr/lib/libxcb-xlib.so.0", O_RDONLY) = 5
> open("/usr/lib/libxcb.so.1", O_RDONLY)  = 5
> open("/lib/libexpat.so.1", O_RDONLY)    = 5
> open("/usr/lib/libXau.so.6", O_RDONLY)  = 5
> open("/usr/lib/libXdmcp.so.6", O_RDONLY) = 5
> open("/usr/lib/python2.5/site-packages/cairo/__init__.py",
> O_RDONLY|O_LARGEFILE) = 5
> open("/usr/lib/python2.5/site-packages/cairo/__init__.pyc",
> O_RDONLY|O_LARGEFILE) = 6
> open("/usr/lib/python2.5/site-packages/cairo/_cairo.so",
> O_RDONLY|O_LARGEFILE) = 6
> open("/usr/lib/python2.5/site-packages/cairo/_cairo.so", O_RDONLY) = 7
> open("/usr/lib/python2.5/site-packages/gtk-2.0/pango.so",
> O_RDONLY|O_LARGEFILE) = 5
> open("/usr/lib/python2.5/site-packages/gtk-2.0/pango.so", O_RDONLY) = 6
> open("/usr/lib/python2.5/encodings/utf_8.py", O_RDONLY|O_LARGEFILE) = 6
> open("/usr/lib/python2.5/encodings/utf_8.pyc", O_RDONLY|O_LARGEFILE) = 7
> open("/usr/lib/python2.5/site-packages/gtk-2.0/atk.so",
> O_RDONLY|O_LARGEFILE) = 5
> open("/usr/lib/python2.5/site-packages/gtk-2.0/atk.so", O_RDONLY) = 6
> open("/usr/lib/python2.5/site-packages/gtk-2.0/pangocairo.so",
> O_RDONLY|O_LARGEFILE) = 5
> open("/usr/lib/python2.5/site-packages/gtk-2.0/pangocairo.so", O_RDONLY) = 6
> open("/usr/lib/python2.5/site-packages/gtk-2.0/gtk/_lazyutils.py",
> O_RDONLY|O_LARGEFILE) = 4
> open("/usr/lib/python2.5/site-packages/gtk-2.0/gtk/_lazyutils.pyc",
> O_RDONLY|O_LARGEFILE) = 5
> open("/usr/lib/python2.5/site-packages/gtk-2.0/gtk/deprecation.py",
> O_RDONLY|O_LARGEFILE) = 4
> open("/usr/lib/python2.5/site-packages/gtk-2.0/gtk/deprecation.pyc",
> O_RDONLY|O_LARGEFILE) = 5
> open("/usr/share/X11/locale/locale.alias", O_RDONLY) = 4
> open("/usr/share/X11/locale/locale.dir", O_RDONLY) = 4
> open("/usr/share/X11/locale/iso8859-1/XLC_LOCALE", O_RDONLY) = 4
> open("/usr/share/X11/locale/locale.alias", O_RDONLY) = 4
> open("/usr/share/X11/locale/locale.dir", O_RDONLY) = 4
> open("/usr/share/X11/locale/iso8859-1/XLC_LOCALE", O_RDONLY) = 4
> open("/usr/share/locale/locale.alias", O_RDONLY) = 4
> open("/etc/nsswitch.conf", O_RDONLY)    = 4
> open("/etc/ld.so.cache", O_RDONLY)      = 4
> open("/lib/libnss_files.so.2", O_RDONLY) = 4
> open("/etc/passwd", O_RDONLY|0x80000 /* O_??? */) = 4
> open("/usr/lib/gtk-2.0/modules/libgnomebreakpad.so", O_RDONLY) = 4
> open("/usr/lib/bug-buddy/libbreakpad.so.0", O_RDONLY) = 4
> open("/etc/ld.so.cache", O_RDONLY)      = 4
> open("/usr/lib/libelf.so.1", O_RDONLY)  = 4
> open("/usr/lib/libstdc++.so.6", O_RDONLY) = 4
> open("/lib/libgcc_s.so.1", O_RDONLY)    = 4
> open("/var/run/gdm/auth-cookie-XXRCSCEU-for-carlson", O_RDONLY) = 5
> open("/usr/lib/python2.5/site-packages/gtk-2.0/gtk/glade.so",
> O_RDONLY|O_LARGEFILE) = 3
> open("/usr/lib/python2.5/site-packages/gtk-2.0/gtk/glade.so", O_RDONLY) = 5
> open("/etc/ld.so.cache", O_RDONLY)      = 5
> open("/usr/lib/libglade-2.0.so.0", O_RDONLY) = 5
> open("/usr/lib/libxml2.so.2", O_RDONLY) = 5
> rolf:carlson [914] $
>
> Thanks again for your time and assistance in this.
>
> Chris
>
>
> Tim Waugh wrote:
>>
>> On Sun, 2008-07-06 at 14:30 -0700, Chris Carlson wrote:
>>
>>>
>>> Are you sure you want to see all the output that is *not* ENOENT?  It
>>> doesn't seem very informative to me.
>>>
>>
>> Yes, to see which libraries are actually getting loaded.  Something is
>> obviously different on your system compared to those of other people,
>> including my 'fresh install plus updates' installations here.
>>
>>
>>>
>>> The last few lines are:
>>>
>>
>> The entire output please.  Can you confirm/deny that the python command
>> gives the same traceback message for you?
>>
>> Tim.
>> */
>>
>>
>
> --
> fedora-list mailing list
> fedora-list@xxxxxxxxxx
> To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
>



-- 
Germán A. Racca
Instituto Nacional de Pesquisas Espaciais - INPE
Divisão de Astrofísica - DAS/CEA
São José dos Campos - SP - Brasil
--
TEL: 55 12 3945-7209
FAX: 55 12 3945-6811
--
http://funk.on.br/racca

-- 
fedora-list mailing list
fedora-list@xxxxxxxxxx
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list

[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux