I have trying to make one script to doityourself adesklets
but something is wrong with the input.
The objective of my desklet is to transform the list todo in
a list that cames from an application tomboy (it's a todo
with more options).
The aplication tomboy saves their information in xml file
where i have extracted what I want and create the file .todo.
The file todo it will be open normaly by the script todo, i
hope that is clear what i want to do.
The script to transform the data is done but when the script
todo try to make cat $TODO this message of error apears
:
Traceback (most recent call last):
File "./doityourself.py", line 140, in ?
Events().pause()
File "./doityourself.py", line 51, in __init__
adesklets.Events_handler.__init__(self)
File "/usr/lib/python2.4/site-packages/adesklets/events_handler.py", line 159,
in __init__
self._alarm()
File "/usr/lib/python2.4/site-packages/adesklets/events_handler.py", line 296,
in _alarm
timeout=self.alarm()
File "./doityourself.py", line 82, in alarm
self.script.test()
File "/home/nine/Desktop/deskletes/doityourself-0.4.1/dys/script.py", line 178
, in test
self._call(args)
File "/home/nine/Desktop/deskletes/doityourself-0.4.1/dys/script.py", line 155
, in _call
self.render(self.widget_tree)
File "/home/nine/Desktop/deskletes/doityourself-0.4.1/dys/script.py", line 383
, in render
adesklets.window_resize(w, h)
File "/usr/lib/python2.4/site-packages/adesklets/commands.py", line 1437, in w
indow_resize
return comm.out()
File "/usr/lib/python2.4/site-packages/adesklets/commands_handler.py", line 10
3, in out
raise ADESKLETSError(4,message)
adesklets.error_handler.ADESKLETSError: adesklets command error - did not resize
window
I have added this line to todo script to run my scritp that
tranform the data
perl /home/nine/.tomboy/script.pl > "/home/nine/.todo"
I am using ubuntu 5.10, with version of
doityourself-0.4.1
I am using codification utf-8 but using iconv to change it
dont resolv the problem.
Any idea is a good idea.
Thank's for the time and sorry for the bad english