Main index > Installation problems > FC5 adesklets problem [SOLVED]

By mbokil (Desklet Author), on Fri Mar 10 10:22:50 2006: FC5 adesklets problem [SOLVED].

I updated from Fedora 4 to 5 and reinstalled adesklets. I ran ./configure then make then make install without any errors.

I ran adesklets and I get the message:
ls: /tmp/*adesklets_fifo*: No such file or directory

By syfou (Core Developer & Desklet Author), on Fri Mar 10 12:20:41 2006.

It's not a real error, mbokil: I simply forgot to suppress a spurious message from the shell front-end (I am doing a cleanup that turned out to be unneeded on your machine)... It is corrected in the repository.

By mbokil (Desklet Author), on Mon Mar 13 20:29:19 2006.

I haven't been able to run any desklets since I moved to Fedora 5. I was trying to run acpumon and I get:
Traceback (most recent call last):
File "./acpumon.py", line 38, in ?
import adesklets
File "/usr/lib/python2.4/site-packages/dbus/__init__.py", line 43, in ?

adesklets.error_handler.ADESKLETSError: adesklets interpreter initialization error - Configuration file parsing error `syntax error', stopped at line 8.

python: Modules/gcmodule.c:275: visit_decref: Assertion `gc->gc.gc_refs != 0' failed.
Aborted

By syfou (Core Developer & Desklet Author), on Mon Mar 13 22:09:19 2006.

It seems the interpreter is unable to parse your $HOME/.adesklets file, for an unknown reason; you should get the same error independently from python by doing:

Code:


adesklets :


So please share the file with us. Finally, the python environment you use has a corrupted garbage collector -- this seems to be a recurrent problem on all recent default builds on Fedora Core (it doesn't pass the regression tests coming with vanilla python): just compiling stock python was reported to make the problem disappear... But you can safely ignore this for now: the first issue is probably the only one that really matters. Yours,

By mbokil (Desklet Author), on Tue Mar 14 11:27:58 2006.

I almost forgot about the Fedora Python optimizations. I had that problem with the last release. I don't think the issue is with my config file since I deleted it and attempted to run just one desklet. Here is the file contents:

Code:

# This is adesklets configuration file.
#
# It gets automatically updated every time a desklet main window
# parameter is changed, so avoid manual modification whenever
# a desklet is running. In fact, manual changes to this file
# should rarely be needed. See `info adesklets'.

[/home/mbokil/adesklets/volume-0.0.8/volume.py]
id=0 screen=-1 x=0 y=0


I will recompile Python and I think that should fix the error. I got your email about submitting volume desklet. I will make a screenshot at the correct size and post it today.
-mark

By syfou (Core Developer & Desklet Author), on Tue Mar 14 13:08:22 2006, last edited on Thu Mar 16 20:19:31 2006.

Well, I clearly see a problem with this entry:

Code:


screen=-1


This will cause an "Configuration file parsing error"... Is your DISPLAY variabe correctly set on all your screens? What is the output of:

Code:


echo x_status | adesklets :


From the same pseudo-terminal where you launch and test desklets?

By mbokil (Desklet Author), on Tue Mar 14 13:21:38 2006.

Okay, I did the following:
1. compiled, installed Python 2.4
2. compiled, installed adesklets using plain .configure without any switches

When I run echo x_status | adesklets :
I get:

Code:

event: ready!
command 0 ok: x_status 0 (X Window support not compiled in)


When I attempt to run a desklet I get:

Code:

Traceback (most recent call last):
  File "./weather.py", line 468, in ?
    Events(dirname(__file__)).pause()
  File "./weather.py", line 275, in __init__
    adesklets.Events_handler.__init__(self)
  File "usr/local/lib/python2.4/site-packages/adesklets/events_handler.py", line 157, in __init__
  File "./weather.py", line 322, in ready
    adesklets.window_show()
  File "/usr/local/lib/python2.4/commands.py", line 1417, in window_show

  File "usr/local/lib/python2.4/site-packages/adesklets/commands_handler.py", line 103, in out
adesklets.error_handler.ADESKLETSError: adesklets command error - X connection or window missing



Do I need to add a switch to configure such as --with-x ?

By syfou (Core Developer & Desklet Author), on Tue Mar 14 13:28:31 2006, last edited on Thu Mar 16 20:18:01 2006.

--with-x is the default: it only gets turned off when the configuration script cannot build X programs, or when the user explicitely ask for it (via --without-x). Most of the time, this is due to the system not having the X headers installed (see the manual, or the INSTALL file for requirements); you should have had a big fat warning about that at the end of the configuration phase. Yours,

By mbokil (Desklet Author), on Tue Mar 14 15:51:06 2006: problem solved for FC5.

Thanks for your help I found a solution for Fedora Core 5 users:
1. From the applications menu select Add/Remove software. Select the development package then X software development and click apply to install all packages. Yum users can invoke 'yum install libX*' to pick up the packages.

2. Download python from python.org and run configure, make, make install with the default switches.

3. Run configure, make, make install for adesklets.

Problem solved!

By syfou (Core Developer & Desklet Author), on Tue Mar 14 16:44:47 2006.

Glad to hear it works now; most community-based distribution out there now have adesklets in their package manager though... I guess it is still not true with Fedora Core? Yours,
_________________
Sylvain

P.-S. Grrr.... Error 404.

By mbokil (Desklet Author), on Tue Mar 14 19:36:15 2006.

I don't know what the deal is with FC5 but adesklets is not currently in the extras repo. or the core repo. Currently 'yum install adesklets' comes back with package not found.

Sorry about the broken image link. I forgot the old rule of upload once check twice. ;)

-mark


adesklets is proud to be hosted on:

SourceForge.net Logo

Back to adesklets.sf.net.