You are not logged in.

#1 2005-02-11 19:56:08

nggalai
Member
From: Switzerland
Registered: 2004-08-01
Posts: 215
Website

Broken python due to gnome-common 2.8.0-6?

Hi there,

I upgraded gnome-common today, and none of "my" python apps using gnome-python work any longer. Example error message:

$ notemeister
Traceback (most recent call last):
  File "/opt/gnome/bin/notemeister", line 19, in ?
    import notemeister.notemeister_main as notemeister_main
  File "/usr/src/local/pkg/opt/gnome/lib/python2.4/site-packages/notemeister/__init__.py", line 24, in ?
  File "/usr/src/local/pkg/opt/gnome/lib/python2.4/site-packages/notemeister/Configurator.py", line 3, in ?
ImportError: No module named gnome

gdesklets, rbscrobbler etc. all have ImportErrors, i.e. can't find the necessary modules any longer. Do I need to add something to my $PATH, or does anybody have any other idea how I can get my python installation to work again? I've already reinstalled all python packages, no change ...

93,
-Sascha.rb

Offline

#2 2005-02-12 01:02:14

aCoder
Member
From: Medina, OH
Registered: 2004-03-07
Posts: 359
Website

Re: Broken python due to gnome-common 2.8.0-6?

I've got the same problem here.  I just got gdesklets working too, and POW!  They're gone!  It's amazing timing really...


If you develop an ear for sounds that are musical it is like developing an ego. You begin to refuse sounds that are not musical and that way cut yourself off from a good deal of experience.
  - John Cage

Offline

#3 2005-02-12 02:04:23

iphitus
Forum Fellow
From: Melbourne, Australia
Registered: 2004-10-09
Posts: 4,927

Re: Broken python due to gnome-common 2.8.0-6?

Im, running gnome 2.9 and my pygnome is working fine.

why doesnt someone submit a bug for this?

Offline

#4 2005-02-12 04:42:03

aCoder
Member
From: Medina, OH
Registered: 2004-03-07
Posts: 359
Website

Re: Broken python due to gnome-common 2.8.0-6?

why doesnt someone submit a bug for this?

Users aren't supposed to submit bugs.  We're to complain bitterly until sent to newly written docs or instructed to -Syu.  wink


If you develop an ear for sounds that are musical it is like developing an ego. You begin to refuse sounds that are not musical and that way cut yourself off from a good deal of experience.
  - John Cage

Offline

#5 2005-02-12 07:10:45

nggalai
Member
From: Switzerland
Registered: 2004-08-01
Posts: 215
Website

Re: Broken python due to gnome-common 2.8.0-6?

Yesterday, at #archlinux:

<nggalai> if I add the directories mentioned in those files to
PYTHONPATH by hand, the apps work ...
<JGC> what app is it?
<nggalai> gdesklets, notemeister, rbscrobbler
<nggalai> i.e. all python apps I have on my system
<JGC> gdesklets was broken already, wasn't it? :X
<nggalai> well, it worked until I updated gnome-common ...
<nggalai> as did the rest
<nggalai> wink
<nggalai> this is getting weirder by the minute. big_smile
<JGC> hmm
<JGC> it's the pygtk.require(2.0) that's causing problems
<JGC> I'll look for it
<nggalai> excellent! thanks!
<JGC> hmm
<JGC>   # remove any pygtk dirs first ...
<JGC>     for dir in sys.path:
<JGC>         if fnmatch.fnmatchcase(os.path.basename(dir),
_pygtk_dir_pat):
<JGC>             sys.path.remove(dir)
<JGC> that's what the require function does
<JGC> it removes all pygtk paths :X
<nggalai> I gather that's not a good idea?
<JGC> we have a split-up pygtk install tongue
<nggalai> LOL

93,
-Sascha.rb

Offline

#6 2005-02-12 08:06:41

nggalai
Member
From: Switzerland
Registered: 2004-08-01
Posts: 215
Website

Offline

#7 2005-02-12 13:34:56

dp
Member
From: Zürich, Switzerland
Registered: 2003-05-27
Posts: 3,378
Website

Re: Broken python due to gnome-common 2.8.0-6?

great to hear, you found a solution to the not working python stuff ... i had exams the last week and was not able to check


The impossible missions are the only ones which succeed.

Offline

Board footer

Powered by FluxBB