LinuxQuestions.org
Did you know LQ has a Linux Hardware Compatibility List?
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-29-2005, 10:18 AM   #1
michapma
Member
 
Registered: Oct 2003
Location: Zürich
Distribution: Debian
Posts: 537

Rep: Reputation: 39
gDesklets "ImportError"


Hi folks,

Installing some gDesklet sensors and loving several of them. Glad I checked it out.

I'm just about satisfied that I've got all of them installed that I'd like, although I'll have to check into the system performance ones. Unfortunately, there's a fairly useful one that I can't seem to get to work: Calendar.

I'm using Sarge stable (not mixed), so gDesklets 0.33.1-2 is installed and I'm running Gnome 2.8.3. I installed a couple of new ones successfully, but the newest version of Calendar (0.21) exits wit errors. No problem, I'll use the version of Calendar that came with gDesklets 0.33.1-2, right? That would be version 0.2.5 (oddly enough it sits in the uncategorized folder instead of Date/Calendars). It gives fewer errors than version 0.21, but it still aborts with "Could not find Sensor 'Calendar'" and the following details:
Code:
Traceback (most recent call last):
  File "/usr/lib/gdesklets/factory/SensorFactory.py", line 59, in create_sensor
    module = __import__(name)
  File "/usr/share/gdesklets/Sensors/Calendar/__init__.py", line 5, in ?
    from main import admin
ImportError: cannot import name admin
I don't know what the last line means, and I don't know any Python. Any suggestions would be most appreciated, since the gDesklets forums are down.
 
Old 11-29-2005, 11:17 AM   #2
jojotx0
Member
 
Registered: Mar 2004
Distribution: Debian Lenny
Posts: 181

Rep: Reputation: 30
you have to install the calander sensor, download the calander desklet from the gDesklets website, and the archive should have everything you need
 
Old 11-29-2005, 11:24 AM   #3
michapma
Member
 
Registered: Oct 2003
Location: Zürich
Distribution: Debian
Posts: 537

Original Poster
Rep: Reputation: 39
Re: gDesklets "ImportError"

That's exactly what I tried first:
Quote:
Originally posted by michapma
I'm using Sarge stable (not mixed), so gDesklets 0.33.1-2 is installed and I'm running Gnome 2.8.3. I installed a couple of new ones successfully, but the newest version of Calendar (0.21) exits wit errors.
That means I downloaded and installed the Calendar sensor from the gDesklets website, and it successfully installed, but failed when I tried to add the desklet to my desktop. Furthermore, the version of the Calendar sensor that already comes with the version of gDesklets I installed using Debian also didn't work. (This older version of Calendar is the one that generated the error message I posted.)

 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Telling people to use "Google," to "RTFM," or "Use the search feature" Ausar General 77 03-21-2010 12:26 PM
"Xlib: extension "XFree86-DRI" missing on display ":0.0"." zaps Linux - Games 9 05-14-2007 04:07 PM
Installation of "Gdesklets" on "Breezy" 5.10 Blue Jacket Ubuntu 3 11-08-2005 09:48 AM
"gdesklets" package in Debian: 0.33 or 0.35 version Blue Jacket Linux - Software 7 10-28-2005 05:28 AM
Bittorrent. "ImportError: No module named __future__" BashTin Linux - Software 4 09-12-2005 04:07 AM


All times are GMT -5. The time now is 02:32 PM.

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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration