Main index > Usage problems > config via menu borked [SOLVED]

By eNTi (User), on Tue Sep 20 11:12:16 2005: config via menu borked [SOLVED].

right click menu _configure_ does not open the editor window any longer. no idea why.

By syfou (Core Developer & Desklet Author), on Tue Sep 20 13:25:51 2005.

I don't read your mind; please elaborate.

By eNTi (User), on Tue Sep 20 16:43:31 2005.

ok. i'm not sure how to ask this any more specific, because it's not any more specific than that.

there's a "Configure" menu point in every "right-klick menu" of the desklets and usually, that would open a editor with the config file in it. all of a sudden, this stopped working and i don't know why. maybe it's because i changed the encoding to utf8 lately, but i'm not sure as of how this could be connected. i do not know, if there's a way to debug this either. i just tried to open another adesklet in testing mode to get some output, but i dont get no error or anything and my question here is, if there's anything i can do to either debug, or fix this behavoir.

By syfou (Core Developer & Desklet Author), on Tue Sep 20 17:45:27 2005.

OK... To summarize: you used to have Context Menu > Configure working with some combination of the adesklets interpreter (version 0.x.x) and a set of unspecified desklets (all the ones you tried), and this stopped working, not upgrading either these desklets nor the core interpreter: the desklets are still there, but nothing happens anymore when you try to fire the Configuration the way you used to (Correct me if I read you wrong in any way).

As you said, this is very unlikely to be related to the encoding of the configuration file of the desklets... First thing first: have you tried the FAQ (see first topic under section A.4)? If this doesn't help, are you able to launch any program using yab 0.0.2?

By eNTi (User), on Wed Sep 21 04:05:30 2005.

ok, i thought about this and i know how i can be more specific. sorry, i sometimes forget about the fundamentals :). i've _not_ updated any adesklets, i've used these version (which i think to be the latest to date):

adesklets-0.4.12
acountdown-0.0.3
newsfeed-0.0.4
asimpleclock-0.0.3
quidnovi-0.0.3
Calendar-0.5.3
SystemMonitor-0.1.3
mailer-0.0.7
weatherforecast-0.2.0
modubar-0.0.1
xmms_bar-0.0.2
mounter-0.3.2
yab-0.0.2

fluxbox-0.9.14
xorg-6.8.2.
Linux eNTi 2.6.13-gentoo #3 Tue Sep 20 08:06:27 CEST 2005 x86_64 AMD Athlon(tm) 64 Processor 3500+ AuthenticAMD GNU/Linux

basically you understood me right, regarding the Context Menu > Configure option, which _used_ to fire up vim + the config file of the specific adesklet yesterday until some unspecified point of time. one reason i tought it wouldn't be that interesting to know which adesklet and what version was , that it _didnt_ work for any of those used yesterday, but it now works again after a reboot (had to sleep after all).

so next time this happens, i'll be more specific from the start on.

update: no i can't launch anything with yab-0.0.2. it crashes.
error, trying to start "the gimp":

Code:


Traceback (most recent call last):
  File "./yab.py", line 598, in ?
    Events(dirname(__file__)).pause()
  File "./yab.py", line 413, in pause
    (time()-time_initial)),.01))
  File "/usr/lib/python2.4/site-packages/adesklets/events_handler.py", line 214, in _fire_event
    [x for x in
  File "./yab.py", line 361, in button_press
    adesklets.apply_filter(self.config['click_effect'])
  File "/usr/lib/python2.4/site-packages/adesklets/commands.py", line 506, in apply_filter
    return comm.out()
  File "/usr/lib/python2.4/site-packages/adesklets/commands_handler.py", line 93, in out
    output=self.__comm.out(.01)
  File "/usr/lib/python2.4/site-packages/adesklets/communicator.py", line 91, in out
    raise ADESKLETSError(1)
adesklets.error_handler.ADESKLETSError: adesklets process exited -

By syfou (Core Developer & Desklet Author), on Wed Sep 21 16:43:38 2005.

That's weird, especially since your box has a vey close hardware and software configuration to one of my own (amd64, gentoo 2005.1, latest adesklets and desklets package, stock python 2.4.1 and 2.3.5), which never exhibit this behavior at all. Next time it happens, I suggest you just do (only make sense for gentoists):

Code:


source /etc/profile && adesklets


I just added a test script to the code base. If ever this happens again, tell me what it outputs for you. Yours,


adesklets is proud to be hosted on:

SourceForge.net Logo

Back to adesklets.sf.net.