Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[SOLVED] Hilfe! Kann WCID-GUI nicht starten. Pythonproblem?!
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Deutsches Forum (German)
View previous topic :: View next topic  
Author Message
PaddyW
Tux's lil' helper
Tux's lil' helper


Joined: 19 Jun 2006
Posts: 113
Location: germany/nrw/neuss

PostPosted: Sun Oct 19, 2008 10:01 am    Post subject: [SOLVED] Hilfe! Kann WCID-GUI nicht starten. Pythonproblem?! Reply with quote

Hallo zusammen,
habe mit nem Kumpel mein Gentoo aus Vordermann gebracht. Super Teil. Nachdem er weg war, ist auf einmal mein wcid-Trayicon verschwunden und ich kann den wcid-client nicht mehr starten.
Mein WLAN funktioniert zwar tadellos, aber das Icon ist halt weg und wenn ich die GUi starten will, läd sie erst ein paar Sekunden in der Taskbar und verschwindet dann wieder.
Es kommt folgende Meldung beim Ausführen von wicd-client unter meinem Benutzer (nicht su):

Quote:
wicd-client
Traceback (most recent call last):
File "/usr/lib/wicd/wicd-client.py", line 40, in <module>
import gtk
File "/usr/lib/python2.5/site-packages/gtk-2.0/gtk/__init__.py", line 38, in <module>
import gobject as _gobject
File "/usr/lib/python2.5/site-packages/gtk-2.0/gobject/__init__.py", line 30, in <module>
from gobject.constants import *
File "/usr/lib/python2.5/site-packages/gtk-2.0/gobject/constants.py", line 22, in <module>
from _gobject import type_from_name
ImportError: /usr/lib/python2.5/site-packages/gtk-2.0/gobject/_gobject.so: undefined symbol: PyUnicodeUCS4_FromObject"


Davor hatten wir aus Versehen phyton gelöscht und dann die neueste 2.5er Version aus dem Netz gezogen. Hab irgendwo auch gelesen, dass wicd python2.4 braucht, stimmt das?

Hab die Configdateien mal gelöscht/umbenannt, was auch nichts gebraucht hat.
revdep-rebuild hat ebenfalls nichts gebracht, genau so wenig wie:
Quote:
emerge --ask --newuse --update --deep --verbose world


Ich hoffe ihr könnt mir helfen! Wenn ihr noch irgendwelche Infos braucht schicke ich sie natürlich umgehend.

Gruß!!!


Last edited by PaddyW on Thu Oct 23, 2008 9:05 pm; edited 1 time in total
Back to top
View user's profile Send private message
Max Steel
Advocate
Advocate


Joined: 12 Feb 2007
Posts: 2236
Location: My own world! I and Gentoo!

PostPosted: Sun Oct 19, 2008 11:43 am    Post subject: Reply with quote

https://forums.gentoo.org/viewtopic-t-504315.html
Das habe ich mir mal gebookmarked als ich mal drübergestoßen bin.

Jetzt zu deinem Problem.
Rein theoretisch ist es egal mit welcher python Version wicd installiert wird, laut Ebuild funktionieren alle.
Allerdings könnte es sein das du wegen dem manuellen installieren von python genau dieses da liegt wo portage evtl nachschaut aber wicd nicht.
Vll solltest du mal versuchen den oberen Thread nachzugehen.
Vll musst du aber auch nur einmal python-updater laufenlassen.

Es könnte sein das du das hier nicht beachtet hst:
Code:
You may need to restart the dbus service after upgrading wicd.

To start wicd at boot, add /etc/init.d/wicd to a runlevel and:
- Remove all net.* initscripts (except for net.lo) from all runlevels
- Add these scripts to the RC_PLUG_SERVICES line in /etc/conf.d/rc
(For example, RC_PLUG_SERVICES="!net.eth0 !net.wlan0")


Falls du die baselayout-2 verwendest ist das nun da zu finden
/etc/rc.conf
Code:
# Some people want a finer grain over hotplug/coldplug. rc_plug_services is a
# default we allow services through as rc_coldplug/rc_hotplug has to be YES
# Example - rc_plug_services="net.wlan !net.*"
# This allows net.wlan and any service not matching net.* to be plugged.
rc_plug_services=""

_________________
mfg
Steel
___________________

Heim-PC: AMD Ryzen 5950X, 64GB RAM, GTX 1080
Laptop: Intel Core i5-4300U, 16GB RAM, Intel Graphic
Arbeit-PC: Intel i5-1145G7, 16GB RAM, Intel Iris Xe Graphic (leider WSL2)


Last edited by Max Steel on Sun Oct 19, 2008 11:55 am; edited 1 time in total
Back to top
View user's profile Send private message
Fugee47
Apprentice
Apprentice


Joined: 25 Nov 2004
Posts: 196
Location: Germany

PostPosted: Sun Oct 19, 2008 11:44 am    Post subject: Reply with quote

vielleicht hilft python-updater ??
Back to top
View user's profile Send private message
PaddyW
Tux's lil' helper
Tux's lil' helper


Joined: 19 Jun 2006
Posts: 113
Location: germany/nrw/neuss

PostPosted: Sun Oct 19, 2008 3:21 pm    Post subject: Reply with quote

Vielen Dank für die Antworten.

Also phyton-updater hat nichts gebracht. Da bekomm ich ja keine Rückmeldung, oder? Der werkelt ein bisschen und springt dann wieder in den Prompt.

dbus hab ich gestoppt und wieder gestartet keine Änderung.

Die Meldung bekomm ich jetzt, wenn ich wicd über /etc/init.d/wicd stoppe und wieder starte:

Quote:
wicd-client
Traceback (most recent call last):
File "/usr/lib/wicd/wicd-client.py", line 50, in <module>
import wicd.gui as gui
File "/usr/lib/python2.5/site-packages/wicd/gui.py", line 35, in <module>
import gtk.glade
ImportError: No module named glade
Back to top
View user's profile Send private message
Necoro
Veteran
Veteran


Joined: 18 Dec 2005
Posts: 1912
Location: Germany

PostPosted: Sun Oct 19, 2008 5:05 pm    Post subject: Reply with quote

pygtk neu bauen :)

/edit: der erste Fehler kommt iirc davon, dass du python mit ucs2 gebaut hattest ;)
_________________
Inter Deum Et Diabolum Semper Musica Est.
Back to top
View user's profile Send private message
PaddyW
Tux's lil' helper
Tux's lil' helper


Joined: 19 Jun 2006
Posts: 113
Location: germany/nrw/neuss

PostPosted: Mon Oct 20, 2008 4:37 pm    Post subject: Reply with quote

Super, hat geklappt vielen Dank!

Jetzt kann ich zwar den wicd-client starten und anschliessen über das Trayicon die GUI aufrufen, nach einem Neustart ist das Trayicon aber immer noch nicht automatisch neben der Uhr. Das Icon erscheint erst, wenn ich wicd-client manuell starte. Erst danach kann ich die GUI starten, vorher nicht...obwohl der Daemon, wie gesagt, gestartet ist und funtioniert.

Neu emergen hat nix gebracht. Hat jemand eine Idee?
Back to top
View user's profile Send private message
Max Steel
Advocate
Advocate


Joined: 12 Feb 2007
Posts: 2236
Location: My own world! I and Gentoo!

PostPosted: Mon Oct 20, 2008 7:55 pm    Post subject: Reply with quote

einen Symlink nach /usr/bin/wicd-client in ~/.kde3.5/Autostart/ legen.
Am einfachsten per mc
_________________
mfg
Steel
___________________

Heim-PC: AMD Ryzen 5950X, 64GB RAM, GTX 1080
Laptop: Intel Core i5-4300U, 16GB RAM, Intel Graphic
Arbeit-PC: Intel i5-1145G7, 16GB RAM, Intel Iris Xe Graphic (leider WSL2)
Back to top
View user's profile Send private message
PaddyW
Tux's lil' helper
Tux's lil' helper


Joined: 19 Jun 2006
Posts: 113
Location: germany/nrw/neuss

PostPosted: Mon Oct 20, 2008 9:15 pm    Post subject: Reply with quote

Oh nein. Wenn ich jetzt als User den wicd-client starten wil,l kommt wieder:

Quote:
wicd-client
Traceback (most recent call last):
File "/usr/lib/wicd/wicd-client.py", line 40, in <module>
import gtk
File "/usr/lib/python2.5/site-packages/gtk-2.0/gtk/__init__.py", line 38, in <module>
import gobject as _gobject
File "/usr/lib/python2.5/site-packages/gtk-2.0/gobject/__init__.py", line 30, in <module>
from gobject.constants import *
File "/usr/lib/python2.5/site-packages/gtk-2.0/gobject/constants.py", line 22, in <module>
from _gobject import type_from_name
ImportError: /usr/lib/python2.5/site-packages/gtk-2.0/gobject/_gobject.so: undefined symbol: PyUnicodeUCS4_FromObject


Habe schon alles gemacht, was ihr gesagt habt. Als "su" geht alles ohne Probleme....Hilfe! ;)
Back to top
View user's profile Send private message
Necoro
Veteran
Veteran


Joined: 18 Dec 2005
Posts: 1912
Location: Germany

PostPosted: Tue Oct 21, 2008 8:02 am    Post subject: Reply with quote

Dein per Hand installiertes Python und das emergte Python beißen sich :). - Und je nachdem, wie deine Environment aussieht benutzt er denn das eine oder das andere. Baue mal dein Python neu (mit -ucs2 :!: ) und lösche denn das von dir selber gebaute Python.
_________________
Inter Deum Et Diabolum Semper Musica Est.
Back to top
View user's profile Send private message
PaddyW
Tux's lil' helper
Tux's lil' helper


Joined: 19 Jun 2006
Posts: 113
Location: germany/nrw/neuss

PostPosted: Thu Oct 23, 2008 9:06 pm    Post subject: Reply with quote

Sauber! Habe python manuell aus /usr/local gelöscht und neu emergt. Funktioniert tadellos!
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Deutsches Forum (German) All times are GMT
Page 1 of 1

 
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