LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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 12-18-2004, 02:51 AM   #1
rebelcan
Member
 
Registered: Jun 2003
Location: British Columbia, Canada
Distribution: Debian unstable
Posts: 83

Rep: Reputation: 15
gdesklets can't find gtkhtml2


i'm running debian unstable. i've compiled gDesklets from source, and most of the required libraries from source as well, since they weren't avaliable from apt.

gDesklets is now running, but i can't start any displays. all of them have the same error:

Code:
Traceback (most recent call last):
  File "/usr/share/gdesklets/factory/DisplayFactory.py", line 99, in create_display
    dsp.new_child(childtype, settings, children)
  File "/usr/share/gdesklets/display/Display.py", line 219, in new_child
    import targetregistry
  File "/usr/share/gdesklets/display/targetregistry.py", line 18, in ?
    from TargetHTML          import TargetHTML
  File "/usr/share/gdesklets/display/TargetHTML.py", line 6, in ?
    import gtkhtml2
ImportError: No module named gtkhtml2
i've looked around on my computer, and there is a gtkhtml2 python module in :

Code:
# locate gtkhtml2 | grep python
/usr/lib/python2.3/site-packages/gtk-1.2/gtkhtml2.so
/usr/lib/python2.3/site-packages/gtk-2.0/gtkhtml2.la
/usr/lib/python2.3/site-packages/gtk-2.0/gtkhtml2.so
/usr/share/doc/python2.3-gnome2/examples/gtkhtml2
/usr/share/doc/python2.3-gnome2/examples/gtkhtml2/simple-browser.py
so i tried loading the module when in python:

Code:
$ python
Python 2.4 (#2, Dec  3 2004, 17:59:05) 
[GCC 3.3.5 (Debian 1:3.3.5-2)] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import gtkhtml2
Traceback (most recent call last):
  File "<stdin>", line 1, in ?
ImportError: No module named gtkhtml2
>>>
so i set my $PYTHONPATH var with

Code:
$ export PYTHONPATH='/usr/lib/python2.3/site-packages/gtk-2.0'
now this is what i get:
Code:
$ python
Python 2.4 (#2, Dec  3 2004, 17:59:05) 
[GCC 3.3.5 (Debian 1:3.3.5-2)] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import gtkhtml2
Traceback (most recent call last):
  File "<stdin>", line 1, in ?
ImportError: /usr/lib/python2.3/site-packages/gtk-2.0/gtkhtml2.so: undefined symbol: html_selection_get_text
so, what'd i'd like to know, is how to have gdesklets know that the gtkhtml2 module is in that directory, and how to fix the import error that gtkhtml2.so throws at me.

any hints?
 
Old 12-24-2004, 05:21 PM   #2
rebelcan
Member
 
Registered: Jun 2003
Location: British Columbia, Canada
Distribution: Debian unstable
Posts: 83

Original Poster
Rep: Reputation: 15
guess not
 
  


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
Gdesklets mindspin Linux - Software 1 12-07-2004 08:25 AM
gDesklets: could not find Python headers revenge80200 Linux - Software 5 08-22-2004 11:18 PM
gDesklets FXRS Fedora 6 11-15-2003 04:07 AM
Gdesklets cooperba3 Linux - Software 1 11-05-2003 07:08 PM
Help with gdesklets please... moisvon Linux - Software 1 09-23-2003 10:47 AM


All times are GMT -5. The time now is 02:16 AM.

Main Menu
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