LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 07-25-2006, 10:26 AM   #1
jungleking
LQ Newbie
 
Registered: Jun 2005
Location: Wells, Somerset, UK
Distribution: Ubuntu Dapper, Suse 10, Debian 3.1
Posts: 28

Rep: Reputation: 15
gDesklets - "Could not find sensor"


Hi all, I'm trying to install the desklet 'Verse of the Day', but when i try to install it (via the shell or terminal), I get the message
Code:
Could not find sensor 'Bible'
/usr/share/gdesklets/Displays/bible-desklet/votd.display



A sensor could not be found. This usually means that it has not been installed.
The file is there.
The dependency section of the file reads
Code:
dependency="Bible,FontSelector,Theme"
I have bible installed, but how do I check for the other dependancies, if this is the problem?
 
Old 07-26-2006, 04:35 AM   #2
b0uncer
LQ Guru
 
Registered: Aug 2003
Distribution: CentOS, OS X
Posts: 5,131

Rep: Reputation: Disabled
Did you install Bible the same way you're installing this new desklet? I've encountered similar/same errors trying to use some desklets though I'm pretty sure the sensors are there. I hope this gets solved.. I have a thought that maybe the problem is, the desklets have been installed during the OS install, from a .deb, and not like they usually ought to be installed (through the gdesklets program?). Just a thought, anyway.
 
Old 07-26-2006, 05:28 AM   #3
jungleking
LQ Newbie
 
Registered: Jun 2005
Location: Wells, Somerset, UK
Distribution: Ubuntu Dapper, Suse 10, Debian 3.1
Posts: 28

Original Poster
Rep: Reputation: 15
Thanks for the reply, The Bible program was installed through synaptic, and runs when you type bible into terminal. As for the desklets install, the bible-desklet is in the gdesklets-data program, and I have even downloaded the tar.gz seperately and installed it from there, but I have the same problem. I've had a look at the source code (below) but I can't find anything why it won't run.
Code:
<?xml version="1.0" encoding="UTF-8"?>

<display window-flags="sticky, below" bg-color="#00000020">
  <meta
    author="Eric Galluzzo"
    category="culture/religion"
    dependency="Bible,FontSelector,Theme"
    description="Bible verse of the day, in configurable versions.  Automatically expands to fit the verse."
    name="Verse of the Day (No Theme)"
    version="2.0.0"/>

  <sensor id="b" module="Bible"/>

  <group id="all" x="0" y="0">
    <group id="top-left" width="10" height="10"/>
    <group id="main" relative-to="top-left, xy">
      <group id="light" bg-color="#00000030">
        <image id="icon" uri="gfx/bible.png" x="5" y="5"/>
        <label relative-to="icon, x" x="5" id="text" color="#ffffff" wrap-at="247" font="Sans 8" watch="value=b:text"/>
        <label relative-to="text, y" y="5" id="citation" color="#ffffff" font="Sans Italic 7" watch="value=b:citation"/>
        <group relative-to="text, x" width="5"/>
        <group relative-to="citation, y" height="5"/>
        <group relative-to="icon, y" height="5"/>
      </group>
    </group>
    <group id="bottom-right" relative-to="main, xy" width="10" height="10"/>
  </group>
</display>
There is also a 'Psi' version, which also fails to run. Any ideas anyone?
 
Old 07-26-2006, 05:47 AM   #4
jungleking
LQ Newbie
 
Registered: Jun 2005
Location: Wells, Somerset, UK
Distribution: Ubuntu Dapper, Suse 10, Debian 3.1
Posts: 28

Original Poster
Rep: Reputation: 15
Yay problem fixed

Ok, I've now managed to fix the problem. I opened gdesklets-data with Ark, and looked in the /sensors/bible directory and compared the files in there with the files in my /usr/share/gdesklets/sensors/bible and found a feedparser.py to be missing! So I extracted the py file to the directory and it now works
 
Old 07-26-2006, 05:50 AM   #5
tcv
Member
 
Registered: Apr 2003
Location: Billerica, MA
Posts: 114

Rep: Reputation: 15
Wow! Good find!
 
  


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
Shell Script: Find "Word" Run "Command" granatica Linux - Software 5 07-25-2007 08:42 AM
gDesklets in SuSE 10.0 - "ImportError: No module named os" slong682000 Linux - Software 2 04-10-2006 10:51 PM
Several "find -exec" and "find | xargs" questions thanhvn Programming 4 12-02-2005 02:04 PM
Installation of "Gdesklets" on "Breezy" 5.10 Blue Jacket Ubuntu 3 11-08-2005 09:48 AM
Can't install "glibmm" library. "configure" script can't find "sigc++-2.0&q kornerr Linux - General 4 05-10-2005 03:32 PM


All times are GMT -5. The time now is 02:57 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration