LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 11-18-2004, 12:57 PM   #1
Broax
LQ Newbie
 
Registered: Nov 2004
Location: Porto, Portugal
Distribution: Fedora Core 3
Posts: 22

Rep: Reputation: 15
Problems with gDesklets


Hi all!

I'm going insaine trying to get gDesklets working, and no one on the web seems to help me...

I'm a complete linux noob, and I just finished installing gDesklets on FC3... When I tried to run the shell nothing happen, so I ran it manually (through the "gdesklets shell" commands) and I got the following error:

[broax@localhost gDesklets-0.31]$ Traceback (most recent call last):
File "/usr/share/gdesklets/plugin/PluginRegistry.py", line 59, in __scan_repos itory
module = __import__(f)
File "./Shell/__init__.py", line 1, in ?
from shell.Plugin import Plugin
File "/usr/share/gdesklets/shell/Plugin.py", line 1, in ?
from config.GConfBackend import backend
File "/usr/share/gdesklets/config/GConfBackend.py", line 3, in ?
import gconf
ImportError: No module named gconf
Shell in /usr/share/gdesklets/shell/plugins/Shell is NOT a valid plugin!
Traceback (most recent call last):
File "/usr/share/gdesklets/plugin/PluginRegistry.py", line 59, in __scan_repos itory
module = __import__(f)
File "./gDeskletsClient/__init__.py", line 2, in ?
from shell.Plugin import Plugin
ImportError: cannot import name Plugin
gDeskletsClient in /usr/share/gdesklets/shell/plugins/gDeskletsClient is NOT a v alid plugin!
Traceback (most recent call last):
File "/usr/share/gdesklets/plugin/PluginRegistry.py", line 59, in __scan_repos itory
module = __import__(f)
File "./ControlsView/__init__.py", line 1, in ?
from shell.Plugin import Plugin
ImportError: cannot import name Plugin
ControlsView in /usr/share/gdesklets/shell/plugins/ControlsView is NOT a valid p lugin!
Traceback (most recent call last):
File "/usr/share/gdesklets/plugin/PluginRegistry.py", line 59, in __scan_repos itory
module = __import__(f)
File "./Help/__init__.py", line 1, in ?
from shell.Plugin import Plugin
ImportError: cannot import name Plugin
Help in /usr/share/gdesklets/shell/plugins/Help is NOT a valid plugin!
Traceback (most recent call last):
File "/usr/share/gdesklets/plugin/PluginRegistry.py", line 59, in __scan_repos itory
module = __import__(f)
File "./Profiles/__init__.py", line 1, in ?
from shell.Plugin import Plugin
ImportError: cannot import name Plugin
Profiles in /usr/share/gdesklets/shell/plugins/Profiles is NOT a valid plugin!
Traceback (most recent call last):
File "/usr/share/gdesklets/plugin/PluginRegistry.py", line 59, in __scan_repos itory
module = __import__(f)
File "./Menu/__init__.py", line 1, in ?
from shell.Plugin import Plugin
ImportError: cannot import name Plugin
Menu in /usr/share/gdesklets/shell/plugins/Menu is NOT a valid plugin!
Traceback (most recent call last):
File "/usr/share/gdesklets/plugin/PluginRegistry.py", line 59, in __scan_repos itory
module = __import__(f)
File "./ViewSwitch/__init__.py", line 1, in ?
from shell.Plugin import Plugin
ImportError: cannot import name Plugin
ViewSwitch in /usr/share/gdesklets/shell/plugins/ViewSwitch is NOT a valid plugi n!
Traceback (most recent call last):
File "/usr/share/gdesklets/plugin/PluginRegistry.py", line 59, in __scan_repos itory
module = __import__(f)
File "./PackageInstaller/__init__.py", line 1, in ?
from shell.Plugin import Plugin
ImportError: cannot import name Plugin
PackageInstaller in /usr/share/gdesklets/shell/plugins/PackageInstaller is NOT a valid plugin!
Traceback (most recent call last):
File "/usr/share/gdesklets/plugin/PluginRegistry.py", line 59, in __scan_repos itory
module = __import__(f)
File "./DisplayCollection/__init__.py", line 1, in ?
from shell.Plugin import Plugin
ImportError: cannot import name Plugin
DisplayCollection in /usr/share/gdesklets/shell/plugins/DisplayCollection is NOT a valid plugin!
Traceback (most recent call last):
File "/usr/share/gdesklets/plugin/PluginRegistry.py", line 59, in __scan_repos itory
module = __import__(f)
File "./StatusBar/__init__.py", line 1, in ?
from shell.Plugin import Plugin
ImportError: cannot import name Plugin
StatusBar in /usr/share/gdesklets/shell/plugins/StatusBar is NOT a valid plugin!
Traceback (most recent call last):
File "/usr/share/gdesklets/plugin/PluginRegistry.py", line 59, in __scan_repos itory
module = __import__(f)
File "./ControlBrowser/__init__.py", line 1, in ?
from shell.Plugin import Plugin
ImportError: cannot import name Plugin
ControlBrowser in /usr/share/gdesklets/shell/plugins/ControlBrowser is NOT a val id plugin!
Traceback (most recent call last):
File "/usr/share/gdesklets/plugin/PluginRegistry.py", line 59, in __scan_repos itory
module = __import__(f)
File "./DisplayView/__init__.py", line 1, in ?
from shell.Plugin import Plugin
ImportError: cannot import name Plugin
DisplayView in /usr/share/gdesklets/shell/plugins/DisplayView is NOT a valid plu gin!
Traceback (most recent call last):
File "/usr/share/gdesklets/plugin/PluginRegistry.py", line 59, in __scan_repos itory
module = __import__(f)
File "./DisplayBrowser/__init__.py", line 1, in ?
from shell.Plugin import Plugin
ImportError: cannot import name Plugin
DisplayBrowser in /usr/share/gdesklets/shell/plugins/DisplayBrowser is NOT a val id plugin!
Traceback (most recent call last):
File "/usr/share/gdesklets/plugin/PluginRegistry.py", line 59, in __scan_repos itory
module = __import__(f)
File "./ControlCollection/__init__.py", line 1, in ?
from shell.Plugin import Plugin
ImportError: cannot import name Plugin
ControlCollection in /usr/share/gdesklets/shell/plugins/ControlCollection is NOT a valid plugin!
Traceback (most recent call last):
File "/usr/share/gdesklets/gdesklets-shell", line 11, in ?
shell.run()
AttributeError: 'NoneType' object has no attribute 'run'

I've wondered around in the Gnome Desktop forums before I posted, and some people reported similar problems and everyone told them ot instal python thing, but as a good noob I have no idea of what that is, and I don't know where to get it.

Although I *think* it is installed...

Can anyone help me with this please? =/
 
Old 11-18-2004, 02:05 PM   #2
Electronkz
Member
 
Registered: Mar 2004
Location: Punta del Este, Uruguay
Distribution: Fedora
Posts: 176

Rep: Reputation: 31
Quoted from http://gdesklets.free.fr/gdfaq.html
Quote:
gDesklets doesn't start at all!
Something bad happened, which shouldn't happen ;-) Check you log file in ~/.gdesklets. It will tell you what went wrong!
Quote:
I've wondered around in the Gnome Desktop forums before I posted, and some people reported similar problems and everyone told them ot instal python thing, but as a good noob I have no idea of what that is, and I don't know where to get it.
Python: http://python.org/
You should have python installed, open up a terminal and enter: python -V
So you can know which version you have.
If you donīt have it installed, then simply search for it, and install python, if you see any devel python ,install them too, in fact install all python related rpm that you find.here is a nice site where you can get it: http://freshrpms.net/

Good luck,
 
Old 11-18-2004, 02:09 PM   #3
Electronkz
Member
 
Registered: Mar 2004
Location: Punta del Este, Uruguay
Distribution: Fedora
Posts: 176

Rep: Reputation: 31
also, if you see any gnome-python rpm, install them too.
 
Old 11-18-2004, 06:17 PM   #4
Broax
LQ Newbie
 
Registered: Nov 2004
Location: Porto, Portugal
Distribution: Fedora Core 3
Posts: 22

Original Poster
Rep: Reputation: 15
Ok, I know I'll sound like a complete noob, but... I can't find a log file and/or a way to run it... (remember it's my first run with linux so bare with me, pls...)

as far for the python version, this is what I got when I ran that command:

[root@localhost ~]# python -v
# installing zipimport hook
import zipimport # builtin
# installed zipimport hook
# /usr/lib/python2.3/site.pyc matches /usr/lib/python2.3/site.py
import site # precompiled from /usr/lib/python2.3/site.pyc
# /usr/lib/python2.3/os.pyc matches /usr/lib/python2.3/os.py
import os # precompiled from /usr/lib/python2.3/os.pyc
import posix # builtin
# /usr/lib/python2.3/posixpath.pyc matches /usr/lib/python2.3/posixpath.py
import posixpath # precompiled from /usr/lib/python2.3/posixpath.pyc
# /usr/lib/python2.3/stat.pyc matches /usr/lib/python2.3/stat.py
import stat # precompiled from /usr/lib/python2.3/stat.pyc
# /usr/lib/python2.3/UserDict.pyc matches /usr/lib/python2.3/UserDict.py
import UserDict # precompiled from /usr/lib/python2.3/UserDict.pyc
# /usr/lib/python2.3/copy_reg.pyc matches /usr/lib/python2.3/copy_reg.py
import copy_reg # precompiled from /usr/lib/python2.3/copy_reg.pyc
# /usr/lib/python2.3/types.pyc matches /usr/lib/python2.3/types.py
import types # precompiled from /usr/lib/python2.3/types.pyc
import japanese # directory /usr/lib/python2.3/lib-dynload/japanese
# /usr/lib/python2.3/lib-dynload/japanese/__init__.pyc matches /usr/lib/python2.3/lib-dynload/japanese/__init__.py
import japanese # precompiled from /usr/lib/python2.3/lib-dynload/japanese/__init__.pyc
import japanese.aliases # directory /usr/lib/python2.3/lib-dynload/japanese/aliases
# /usr/lib/python2.3/lib-dynload/japanese/aliases/__init__.pyc matches /usr/lib/python2.3/lib-dynload/japanese/aliases/__init__.py
import japanese.aliases # precompiled from /usr/lib/python2.3/lib-dynload/japanese/aliases/__init__.pyc
import encodings # directory /usr/lib/python2.3/encodings
# /usr/lib/python2.3/encodings/__init__.pyc matches /usr/lib/python2.3/encodings/__init__.py
import encodings # precompiled from /usr/lib/python2.3/encodings/__init__.pyc
# /usr/lib/python2.3/codecs.pyc matches /usr/lib/python2.3/codecs.py
import codecs # precompiled from /usr/lib/python2.3/codecs.pyc
import _codecs # builtin
# /usr/lib/python2.3/encodings/aliases.pyc matches /usr/lib/python2.3/encodings/aliases.py
import encodings.aliases # precompiled from /usr/lib/python2.3/encodings/aliases.pyc
# /usr/lib/python2.3/warnings.pyc matches /usr/lib/python2.3/warnings.py
import warnings # precompiled from /usr/lib/python2.3/warnings.pyc
# /usr/lib/python2.3/linecache.pyc matches /usr/lib/python2.3/linecache.py
import linecache # precompiled from /usr/lib/python2.3/linecache.pyc
# /usr/lib/python2.3/encodings/utf_8.pyc matches /usr/lib/python2.3/encodings/utf_8.py
import encodings.utf_8 # precompiled from /usr/lib/python2.3/encodings/utf_8.pycPython 2.3.4 (#1, Oct 26 2004, 16:42:40)
[GCC 3.4.2 20041017 (Red Hat 3.4.2-6.fc3)] on linux2
Type "help", "copyright", "credits" or "license" for more information.
dlopen("/usr/lib/python2.3/lib-dynload/readline.so", 2);
import readline # dynamically loaded from /usr/lib/python2.3/lib-dynload/readline.so

So...... In english? wassup? lol ;p

EDIT: The up2date app says that the python package is outdated, but when I try to update it says that th system is all up 2 date... could be a package problem? is there anyway to reinstall it? (I tried to download a new package and installing that one, which worked, but doesn't seem to solve the problem). Also, as far as I can tell I don't see any python-related errors on the first post I made... but that's just me... I'm just a silly little noob!

So thanks for the help (to who's giving it ;p) and let's all cheer the noob...

Last edited by Broax; 11-18-2004 at 06:34 PM.
 
Old 11-18-2004, 06:49 PM   #5
Electronkz
Member
 
Registered: Mar 2004
Location: Punta del Este, Uruguay
Distribution: Fedora
Posts: 176

Rep: Reputation: 31
Ok,
Code:
[root@localhost ~]# python -v
What did i say?, i told you: python -V , notice the difference? -v does a completely different thing, read the man:
man python.
Also Do not run as root always, remember use root only for administration tasks. I am deadly serious about this, root is only for administrating your box, remember. security first.


Code:
EDIT: The up2date app says that the python package is outdated, 
but when I try to update it says that th system is all up 2 date... 
could be a package problem? is there anyway to reinstall it? 
(I tried to download a new package and installing that one, 
which worked, but doesn't seem to solve the problem). 
Also, as far as I can tell I don't see any python-related errors on the 
first post I made... but that's just me... I'm just a silly little noob!
Personally i do not like at all the up2date thing, you better use apt-get and synaptic, but this is a completely different thing.
Go to the site i told you and download and install all the python packages,(the rpms), speacially the one the gnome-python* one.
And remember, to upgrade a package do: rpm -Uvh <filename.rpm>
to install a package do: rpm -ivh <filename.rpm>
and: man rpm for a complete rpm manual.

Last edited by Electronkz; 11-19-2004 at 04:44 AM.
 
Old 11-18-2004, 07:01 PM   #6
Broax
LQ Newbie
 
Registered: Nov 2004
Location: Porto, Portugal
Distribution: Fedora Core 3
Posts: 22

Original Poster
Rep: Reputation: 15
Mental note: remember that linux is case sensitive...

well... according to this here console, I have Python 2.3.4 installed. Now wut?


(tnx for the help so far)
 
Old 11-18-2004, 07:18 PM   #7
Electronkz
Member
 
Registered: Mar 2004
Location: Punta del Este, Uruguay
Distribution: Fedora
Posts: 176

Rep: Reputation: 31
From what i had found, you must have gnome-python* installed.
I suggest that you check if you it have installed.
 
Old 11-18-2004, 07:23 PM   #8
Broax
LQ Newbie
 
Registered: Nov 2004
Location: Porto, Portugal
Distribution: Fedora Core 3
Posts: 22

Original Poster
Rep: Reputation: 15
eeeeeerm... and how do I do that?

 
Old 11-18-2004, 07:32 PM   #9
Electronkz
Member
 
Registered: Mar 2004
Location: Punta del Este, Uruguay
Distribution: Fedora
Posts: 176

Rep: Reputation: 31
I think you can check it in | Kde | → | System settings| → | Add / Remove Applications|.
I use Synaptic for package management, but anyway.
Also you can read the rpm manual: command: man rpm maybe you will find a query option
But still, if I were you, Iīd download the package/s from a repository like: http://freshrpms.net/
And then you install it.
 
Old 11-19-2004, 04:22 AM   #10
Broax
LQ Newbie
 
Registered: Nov 2004
Location: Porto, Portugal
Distribution: Fedora Core 3
Posts: 22

Original Poster
Rep: Reputation: 15
I seem to have f***ed up my linux installation... I'll install everything all over again and I'll make sure to install all compilling packages. When all is done I'll get back to you. Thanks for the help so far though! It seems that linux ain't as noob-proof as windows. ^^
But I'm rather enjoying the challange though... I've learned a lot while trying to get the ADSL modem to work, so somehow I'm glad of all of this problems. (I couldn't play audio CDs but I was able to fix that all by my self).
 
Old 11-19-2004, 04:29 AM   #11
Electronkz
Member
 
Registered: Mar 2004
Location: Punta del Este, Uruguay
Distribution: Fedora
Posts: 176

Rep: Reputation: 31
Oh, what did you do?? You have to be carefull, and remember to not run things as root, root is only for administrative tasks,
Anyway, i am sorry to hear you screwed up your system,belive me i had been there,
when you install it again, make sure you choose the package yourself, it is better this way.
But still i would like to know what you did, that your system screwed up so badly that you have to reinstall it again.
Good luck,
 
Old 11-19-2004, 04:36 AM   #12
Broax
LQ Newbie
 
Registered: Nov 2004
Location: Porto, Portugal
Distribution: Fedora Core 3
Posts: 22

Original Poster
Rep: Reputation: 15
As the good little noob that I am, I have no idea... But after installling some packages, the desktop seems to crash on every boot. two programs crash... an "eggdrop" or something like that, and the other one I dont know.

As for the root using, I'm using it 'cause I'm trying to do admin stuff I guess.. Installing an app (at least in windows you need admin priviliges for that), my other account is broax, and I use it for everything else. I also read that security advice in a linux n00b guide.

If you could just do me a favor, I'd appreciate if you'd just edit your post where you quote my edit, 'cause since it has no page break I'm forced to scroll horizontally just to find the quick reply thing. I don't know if this is a IE problem, 'cause I don't remember this happening with firefox. Anyway, I'm off to installing linux. Whish me luck getting de modem running again. I realy don't wish to have any problems with that (god knows I had).


BTW: I posted a simple n00b "how to" on how to install speedtouch modem, which summarized most of my problems on getting it to work, I wanted to take a quick look at it to review the steps, but I don't seem to find it on the forum now... did it have anything wrong and was deleted or something?
 
Old 11-19-2004, 04:48 AM   #13
Electronkz
Member
 
Registered: Mar 2004
Location: Punta del Este, Uruguay
Distribution: Fedora
Posts: 176

Rep: Reputation: 31
Done, also this is the thread you are looking:
http://www.linuxquestions.org/questi...hreadid=256505
Good luck with the installation, remember to do an expert installation and select the packages to be installed yourself, also install a lot of libraries and development packages, remember to install python and gnome-python*
And read the description on each package, you should be ok.
And good luck!
 
Old 11-19-2004, 07:00 AM   #14
Broax
LQ Newbie
 
Registered: Nov 2004
Location: Porto, Portugal
Distribution: Fedora Core 3
Posts: 22

Original Poster
Rep: Reputation: 15
I'm done wtth the installation, and with internet configuration (I'm posting from linux). I've installed ALL programming-related packages, and almost everything, except for KDE (and related packages) and server packages.

But I did *NOT* see any gnome-python package, though...

I'll try to find it on the site you gave me...

EDIT: I've been browsing through the site you gave me but I found no gnome-python package... the closest thing I found was gstreamer-python-0.7.93-1.1.fc3.fr.i386.rpm which is described as "This module contains a wrapper that allows GStreamer applications to be
written in Python.".

I'd say it has nothing to do with it but it *Does* have G and python on the same sentence... lol

BTW Python version isntalled is 2.3.4 (haven't run up2date yet).


So? what d'ya recon?

Last edited by Broax; 11-19-2004 at 07:08 AM.
 
Old 11-19-2004, 07:06 AM   #15
Electronkz
Member
 
Registered: Mar 2004
Location: Punta del Este, Uruguay
Distribution: Fedora
Posts: 176

Rep: Reputation: 31
Congratulations,
Hey be carefull to not screw your system again !
Some tips, you should install apt-get and synaptic, search for it at www.google.com/linux
or get it here:
http://freshmeat.net/projects/synaptic/
Good luck !
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Problems with gDesklets Wakeboardbum83 Linux - Software 2 11-17-2005 01:07 PM
gdesklets problems lp449 Linux - Software 0 02-04-2005 04:04 PM
problems installing gdesklets limp Linux - Newbie 3 12-16-2004 06:37 PM
problems with gDesklets rockonkenshin Linux - Software 2 10-23-2004 05:55 PM
few problems (useradd, gDesklets) pureevil4 Slackware 4 04-12-2004 12:48 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 08:11 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration