Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
gDesklets-0.3x - coming soon to a portage near you!
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

Goto page 1, 2, 3, 4, 5  Next  
Reply to topic    Gentoo Forums Forum Index Desktop Environments
View previous topic :: View next topic  
Author Message
servermonk
Apprentice
Apprentice


Joined: 07 Nov 2003
Posts: 182
Location: MI

PostPosted: Wed Nov 03, 2004 10:16 pm    Post subject: gDesklets-0.3x - coming soon to a portage near you! Reply with quote

Long ago I updated python and my gdesklets stopped working. when I run gdesklets I get this:

Code:
/usr/bin/gdesklets:65: DeprecationWarning: the 'argc' parameter is optional and deprecated
  client.set_restart_command(1, [sys.argv[0]])
gDesklets 0.26.2
Copyright (C) 2003, 2004 The gDesklets Team

This software is licensed under the terms of the GNU GPL.

[/usr/share/gdesklets/Displays/desklet-psidisplays/ping.display]
/usr/lib/python2.3/site-packages/gtk-2.0/gtk/__init__.py:90: GtkDeprecationWarning: gtk.mainiteration is deprecated, use gtk.main_iteration instead
  self.warn(message, DeprecationWarning)
[/usr/share/gdesklets/Displays/desklet-psidisplays/ping.display]
[/usr/share/gdesklets/Displays/desklet-psidisplays/border-bottom-right.display]
[/usr/share/gdesklets/Displays/desklet-psidisplays/ping.display]
[/usr/share/gdesklets/Displays/infocon.display]
[/usr/share/gdesklets/Displays/desklet-psidisplays/border-top-right.display]
/usr/lib/python2.3/site-packages/gtk-2.0/gtk/__init__.py:90: GtkDeprecationWarning: gtk.mainloop is deprecated, use gtk.main instead
  self.warn(message, DeprecationWarning)


Then a "The Application "gDeslets" has quit unexpectedly." pop up. I tried runing python-updater but I still get the same error. Anyone know what's going on here?
_________________
Gentoo makes me wanna shoop.


Last edited by servermonk on Sat Nov 06, 2004 3:56 pm; edited 1 time in total
Back to top
View user's profile Send private message
Teetante
Guru
Guru


Joined: 02 Mar 2004
Posts: 515
Location: Oldenburg/Germany

PostPosted: Thu Nov 04, 2004 12:22 am    Post subject: Reply with quote

Did you upgrade to pyGTK 2.4?

When I did gdesklets stopped working, too, only a downgrade to pygtk 2.2 helped.
_________________
ICQ #81510866 - http://the-gay-bar.com - MSN tante@emptiness.de
Occam's Razor:
-"Entia non sunt multiplicanda praeter necessitatem."-
Back to top
View user's profile Send private message
ksskruthic
n00b
n00b


Joined: 01 Nov 2004
Posts: 10

PostPosted: Thu Nov 04, 2004 4:56 am    Post subject: How do we downgrade?? Reply with quote

Hi,
I just started using Gentoo 2004.2 on x86 (P IV, RAM-256MB, ATI Graphics). I was fascinated by gDesklets and installed gdesklets-core 0.26.2..
Plz answer me these..

(1) Eventhough 0.31 was available at: gdesklets.gnomedesklets.org, emerge installed 0.26.2. eventhough i did ]emerge sync.. why did this happen?

(2)When try to run gDesklets iget this error:
Code:

/usr/bin/gdesklets:65: DeprecationWarning: the 'argc' parameter is optional and deprecated
  client.set_restart_command(1, [sys.argv[0]])
gDesklets 0.26.2
Copyright (C) 2003, 2004 The gDesklets Team

This software is licensed under the terms of the GNU GPL.

/usr/lib/python2.3/site-packages/gtk-2.0/gtk/__init__.py:90: GtkDeprecationWarning: gtk.mainloop is deprecated, use gtk.main instead
  self.warn(message, DeprecationWarning)


I've seen in the post that we need to downgrade to pygtk 2.2 in gentoo.. Like, do we have to use the emerge or something else?

Kindly explain to me clearly as i am a Newbie..

Thank You,
_________________
Thank You, :)
Regards,
SK
Back to top
View user's profile Send private message
Teetante
Guru
Guru


Joined: 02 Mar 2004
Posts: 515
Location: Oldenburg/Germany

PostPosted: Thu Nov 04, 2004 11:28 am    Post subject: Reply with quote

Code:

emerge =pygtk-2.2


should do the trick.
It tells portage to merge a special version of the package pygtk, in this case 2.2. That's what the "=" is for.

I hope that helps.
_________________
ICQ #81510866 - http://the-gay-bar.com - MSN tante@emptiness.de
Occam's Razor:
-"Entia non sunt multiplicanda praeter necessitatem."-
Back to top
View user's profile Send private message
ksskruthic
n00b
n00b


Joined: 01 Nov 2004
Posts: 10

PostPosted: Thu Nov 04, 2004 8:00 pm    Post subject: It still doesnt work... Reply with quote

Hi,
Thanx for the reply, I appreciate it !!
But it still doesnt work..
I tried emerge -pv =pygtk2.2 but it says:
Code:
 emerge: There are no ebuilds to satisy "=pygtk2.2"

I also did: emerge sync. :!: SYNC=rsync://rsync.us.gentoo.org/gentoo-portage
(in /etc/make.conf)
Even then its not working.. 8O

kindly help,
Thank You,
_________________
Thank You, :)
Regards,
SK
Back to top
View user's profile Send private message
servermonk
Apprentice
Apprentice


Joined: 07 Nov 2003
Posts: 182
Location: MI

PostPosted: Thu Nov 04, 2004 8:09 pm    Post subject: Reply with quote

try:

Code:
emerge =pygtk-2.2.0

_________________
Gentoo makes me wanna shoop.
Back to top
View user's profile Send private message
ksskruthic
n00b
n00b


Joined: 01 Nov 2004
Posts: 10

PostPosted: Fri Nov 05, 2004 3:01 am    Post subject: Reply with quote

Thank you for the reply..

ok i've tried it.. but No Luck.. :( even now it gives the same Error..
Now what... ?? What should i do next??

Thank You,
_________________
Thank You, :)
Regards,
SK
Back to top
View user's profile Send private message
Teetante
Guru
Guru


Joined: 02 Mar 2004
Posts: 515
Location: Oldenburg/Germany

PostPosted: Fri Nov 05, 2004 3:48 am    Post subject: Reply with quote

Go to
Code:
/usr/portage/dev-python/pygtk/


Do a
Code:
ls

there and look if there is the file
Code:
pygtk-2.2.0.ebuild
.

If it's really not there, I uploaded the file to http://www.informatik.uni-oldenburg.de/~uriel/pygtk-2.2.0.ebuild, you can put it into your portage overlay.
_________________
ICQ #81510866 - http://the-gay-bar.com - MSN tante@emptiness.de
Occam's Razor:
-"Entia non sunt multiplicanda praeter necessitatem."-
Back to top
View user's profile Send private message
Obz
Retired Dev
Retired Dev


Joined: 11 Jun 2002
Posts: 274

PostPosted: Fri Nov 05, 2004 4:24 pm    Post subject: Reply with quote

Hi guys,

gDesklets 0.31 should be in portage next week.

Until then, here's my pre-overlay if you'd like to test it and report bugs here.

Available at http://dev.gentoo.org/~obz/gdesklets-0.3x-overlay.tar.gz.

Sorry for the delay, we're waiting on the python libraries that 0.3x depend on (pyorbit-2.0.1 and gnome-python-2.6.0) to get added to the tree.

Thanks.
Back to top
View user's profile Send private message
Teetante
Guru
Guru


Joined: 02 Mar 2004
Posts: 515
Location: Oldenburg/Germany

PostPosted: Fri Nov 05, 2004 4:51 pm    Post subject: Reply with quote

Thanks for the message Obz! Have been looking for gdesklets 0.31 for some time.

Thank you for your great work!
_________________
ICQ #81510866 - http://the-gay-bar.com - MSN tante@emptiness.de
Occam's Razor:
-"Entia non sunt multiplicanda praeter necessitatem."-
Back to top
View user's profile Send private message
servermonk
Apprentice
Apprentice


Joined: 07 Nov 2003
Posts: 182
Location: MI

PostPosted: Fri Nov 05, 2004 5:29 pm    Post subject: Reply with quote

Installing now! I'll report back with how it goes.

Thanks Obz!
_________________
Gentoo makes me wanna shoop.
Back to top
View user's profile Send private message
servermonk
Apprentice
Apprentice


Joined: 07 Nov 2003
Posts: 182
Location: MI

PostPosted: Fri Nov 05, 2004 6:17 pm    Post subject: Reply with quote

Everything compiled fine except the gdesklets-core package.
DOH!

Code:
make[4]: Entering directory `/var/tmp/portage/gdesklets-core-0.31.1/work/gDesklets-0.31/libdesklets/system'
source='glibtop.c' object='glibtop.lo' libtool=yes \
depfile='.deps/glibtop.Plo' tmpdepfile='.deps/glibtop.TPlo' \
depmode=gcc3 /bin/sh ../../depcomp \
/bin/sh ../../libtool --mode=compile i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I/usr/include/pygtk-2.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/libgtop-2.0   -I/usr/include/python2.3 -L/usr/lib -L/usr/X11R6/lib -lgobject-2.0 -lXau -lgtop-2.0 -lglib-2.0      -O3 -march=athlon-xp -fomit-frame-pointer -funroll-loops -pipe -c -o glibtop.lo `test -f 'glibtop.c' || echo './'`glibtop.c
i686-pc-linux-gnu-gcc -o libgtop_const -I/usr/include/pygtk-2.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/libgtop-2.0   -L/usr/lib -L/usr/X11R6/lib -lgobject-2.0 -lXau -lgtop-2.0 -lglib-2.0   libgtop_const.c
cp -f glibtop_tmpl.i glibtop.i && ./libgtop_const >> glibtop.i
swig -python glibtop.i
make[4]: swig: Command not found
make[4]: *** [glibtop_wrap.c] Error 127
make[4]: *** Waiting for unfinished jobs....
mkdir .libs
 i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I/usr/include/pygtk-2.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/libgtop-2.0 -I/usr/include/python2.3 -L/usr/lib -L/usr/X11R6/lib -lgobject-2.0 -lXau -lgtop-2.0 -lglib-2.0 -O3 -march=athlon-xp -fomit-frame-pointer -funroll-loops -pipe -c glibtop.c -MT glibtop.lo -MD -MP -MF .deps/glibtop.TPlo  -fPIC -DPIC -o .libs/glibtop.o
i686-pc-linux-gnu-gcc: -lgobject-2.0: linker input file unused because linking not done
i686-pc-linux-gnu-gcc: -lXau: linker input file unused because linking not done
i686-pc-linux-gnu-gcc: -lgtop-2.0: linker input file unused because linking not done
i686-pc-linux-gnu-gcc: -lglib-2.0: linker input file unused because linking not done
make[4]: Leaving directory `/var/tmp/portage/gdesklets-core-0.31.1/work/gDesklets-0.31/libdesklets/system'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/var/tmp/portage/gdesklets-core-0.31.1/work/gDesklets-0.31/libdesklets/system'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/var/tmp/portage/gdesklets-core-0.31.1/work/gDesklets-0.31/libdesklets'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/gdesklets-core-0.31.1/work/gDesklets-0.31'
make: *** [all] Error 2

_________________
Gentoo makes me wanna shoop.
Back to top
View user's profile Send private message
rhill
Retired Dev
Retired Dev


Joined: 22 Oct 2004
Posts: 1629
Location: sk.ca

PostPosted: Fri Nov 05, 2004 6:21 pm    Post subject: Reply with quote

i was just about to post that :lol:

i've heard the name swig in the last couple days. i think it's a library.

here it is:

Code:
-=[ /etc ]=- # qpkg -i swig
dev-lang/swig-1.3.22
        Simplified Wrapper and Interface Generator [ http://www.swig.org/ ]


Last edited by rhill on Fri Nov 05, 2004 6:49 pm; edited 1 time in total
Back to top
View user's profile Send private message
servermonk
Apprentice
Apprentice


Joined: 07 Nov 2003
Posts: 182
Location: MI

PostPosted: Fri Nov 05, 2004 6:46 pm    Post subject: Reply with quote

After I installed swig the gdesklets-core package compiled just swimingly. I'm not at that workstation right now to check if the gdesklets are actually working again though :? It'll be another 2-3 hours, I'll test them and report back.
_________________
Gentoo makes me wanna shoop.
Back to top
View user's profile Send private message
rhill
Retired Dev
Retired Dev


Joined: 22 Oct 2004
Posts: 1629
Location: sk.ca

PostPosted: Fri Nov 05, 2004 7:57 pm    Post subject: Reply with quote

running great here. this is the first version that actually works on my box.

thanks 8)
Back to top
View user's profile Send private message
servermonk
Apprentice
Apprentice


Joined: 07 Nov 2003
Posts: 182
Location: MI

PostPosted: Fri Nov 05, 2004 8:58 pm    Post subject: Reply with quote

Well, it's "working" over here, however I'm still seeing the same problem I was having with the older version. My desktop switching slows to a crawl everytime the desklets are running. Every time I hotkey to another desktop it sits for about a second then switches.

It's fairly annoying :(
_________________
Gentoo makes me wanna shoop.
Back to top
View user's profile Send private message
Obz
Retired Dev
Retired Dev


Joined: 11 Jun 2002
Posts: 274

PostPosted: Sat Nov 06, 2004 2:09 am    Post subject: Reply with quote

And that's why I like doing pre-releases, so you guys can find the bits I miss. Thanks a lot for the report, I've updated the overlay tarball and placed it in the same place, http://dev.gentoo.org/~obz/gdesklets-0.3x-overlay.tar.gz.

Thanks again guys.

servermonk: I'll try and do some research on that, what window manager are you running? Fast box? are you using composite?
Back to top
View user's profile Send private message
servermonk
Apprentice
Apprentice


Joined: 07 Nov 2003
Posts: 182
Location: MI

PostPosted: Sat Nov 06, 2004 2:31 am    Post subject: Reply with quote

Obz:
Using Fluxbox 0.9.10-r4
AMD Athlon(tm) XP 2500+
1G DDR 2700
USE="X gtk2 gnome apache2"
CFLAGS="-O3 -march=athlon-xp -fomit-frame-pointer -funroll-loops -pipe"

would anything else help?
_________________
Gentoo makes me wanna shoop.
Back to top
View user's profile Send private message
Obz
Retired Dev
Retired Dev


Joined: 11 Jun 2002
Posts: 274

PostPosted: Sat Nov 06, 2004 2:59 am    Post subject: Reply with quote

Got a fast enough box, do you think you could try with metacity? Just might isolate the problem. It's possible to run metacity without GNOME if you don't like gnome. Or instead, you could try openbox, I'm fairly sure openbox worked fine last time I tested.

Thanks.
Back to top
View user's profile Send private message
ksskruthic
n00b
n00b


Joined: 01 Nov 2004
Posts: 10

PostPosted: Sat Nov 06, 2004 3:25 am    Post subject: Hi.. Reply with quote

obz:
Hi obz. u r doing a great Job.. Good work.. Its nice to see this forum REAL Active..:)
Well, i just saw ur latest post and downloaded the latest tar.gz and added the unzipped folder to PORT_OVERLAY dir in /etc/make.conf and EMERGE =gdesklets-core.0.31.1 .. Everything workd fine until it EMERGed the 3 0f 3 package when the following error occured:
Code:

swig -python glibtop.i
make[4]: swig: Command not found
make[4]: *** [glibtop_wrap.c] Error 127
make[4]: *** Waiting for unfinished jobs....
mkdir .libs
 i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I/usr/include/pygtk-2.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/libgtop-2.0 -I/usr/include/python2.3 -L/usr/lib -L/usr/X11R6/lib -lgobject-2.0 -lXau -lgtop-2.0 -lglib-2.0 -march=pentium4 -O3 -pipe -funroll-loops -fomit-frame-pointer -c glibtop.c -MT glibtop.lo -MD -MP -MF .deps/glibtop.TPlo  -fPIC -DPIC -o .libs/glibtop.o
i686-pc-linux-gnu-gcc: -lgobject-2.0: linker input file unused because linking not done
i686-pc-linux-gnu-gcc: -lXau: linker input file unused because linking not done
i686-pc-linux-gnu-gcc: -lgtop-2.0: linker input file unused because linking not done
i686-pc-linux-gnu-gcc: -lglib-2.0: linker input file unused because linking not done
make[4]: Leaving directory `/var/tmp/portage/gdesklets-core-0.31.1/work/gDesklets-0.31/libdesklets/system'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/var/tmp/portage/gdesklets-core-0.31.1/work/gDesklets-0.31/libdesklets/system'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/var/tmp/portage/gdesklets-core-0.31.1/work/gDesklets-0.31/libdesklets'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/gdesklets-core-0.31.1/work/gDesklets-0.31'
make: *** [all] Error 2

!!! ERROR: gnome-extra/gdesklets-core-0.31.1 failed.
!!! Function gnome2_src_compile, Line 40, Exitcode 2
!!! compile failure
!!! If you need support, post the topmost build error, NOT this status message.


So.. as said in the previous post (by "dirtyepic") do i have to download some package like swig? If so.. how do i do that?? Sorry to bother U..i am a n00b.. kindly help!!

teetante:
I tried to downgrade to pygtk2.2.0 (as the ebuild was there in /usr/portage/dev-python/pygtk) but when i run gdesklets, it says:
Code:
Segmentation fault

Its something like segmentation Fault or segmentatoin Failed
thx for ur help,
_________________
Thank You, :)
Regards,
SK
Back to top
View user's profile Send private message
servermonk
Apprentice
Apprentice


Joined: 07 Nov 2003
Posts: 182
Location: MI

PostPosted: Sat Nov 06, 2004 3:34 am    Post subject: Reply with quote

After I got that swig error I just did:
Code:
emerge swig


and after that finished tried again and it compiled without flaw :)
_________________
Gentoo makes me wanna shoop.
Back to top
View user's profile Send private message
Obz
Retired Dev
Retired Dev


Joined: 11 Jun 2002
Posts: 274

PostPosted: Sat Nov 06, 2004 4:11 am    Post subject: Reply with quote

Yeh, that swig missing dependency was my fault, it should be in the new tarball (which replaced the old one I had up).

To be clear, you need the following versions of the packages (I think - these aren't listed in the configure.in, nor in the README)

pygtk-2.4 (allready in portage)
gnome-python-2.6 (included in the overlay)
pyorbit-2.0.1 (included in the overlay)

Thanks.
Back to top
View user's profile Send private message
ksskruthic
n00b
n00b


Joined: 01 Nov 2004
Posts: 10

PostPosted: Sat Nov 06, 2004 5:11 am    Post subject: thx 2 all of u Reply with quote

hi,
thanx to all of u..u were of great help, gDesklets work :D .. but actually GoodWeather display isnt working...
the error says the display file contains invalid data
Code:

A display could not be configured properly. It will most likely be broken and you should consider removing it.

Code:

Traceback (most recent call last):
  File "/usr/share/gdesklets/factory/DisplayFactory.py", line 93, in create_display
    dsp.new_child(childtype, settings, children)
  File "/usr/share/gdesklets/display/Display.py", line 201, in new_child
    self.__group.new_child(t, s, c)
  File "/usr/share/gdesklets/display/TargetGroup.py", line 67, in new_child
    child = ContainerTarget.new_child(self, childtype, settings, children)
  File "/usr/share/gdesklets/display/ContainerTarget.py", line 75, in new_child
    child = targetregistry.create(childtype, self)
  File "/usr/share/gdesklets/display/targetregistry.py", line 58, in create
    raise KeyError("Unknown target type \"%s\"." % name)
KeyError: u'Unknown target type "metha".'


Moreover if i try to remove it, it says Permission denied..
Also i re-installed it.. but the same problem persists...
what shud i do?

Thanks in Advance..
_________________
Thank You, :)
Regards,
SK
Back to top
View user's profile Send private message
Obz
Retired Dev
Retired Dev


Joined: 11 Jun 2002
Posts: 274

PostPosted: Sat Nov 06, 2004 10:48 am    Post subject: Reply with quote

servermonk: would you mind changing the topic of this thread to "gDesklets-0.3x - coming soon to a portage near you"

Or something similar, just to reflect the changing nature of the discussion.
Thanks.
Back to top
View user's profile Send private message
servermonk
Apprentice
Apprentice


Joined: 07 Nov 2003
Posts: 182
Location: MI

PostPosted: Sat Nov 06, 2004 3:57 pm    Post subject: subject change request Reply with quote

Obz: Done and done!
Thanks for all your hard work! gdesklets are the hotness!
_________________
Gentoo makes me wanna shoop.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Desktop Environments All times are GMT
Goto page 1, 2, 3, 4, 5  Next
Page 1 of 5

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum