Main index > Usage problems > errors when trying to load desklets [CLOSED]

By refuge (User), on Wed Aug 31 09:45:47 2005: errors when trying to load desklets [CLOSED].

Ive using debian..

installed with the apt-get install xxx

but.. i get errors all the time when trying to load :|

Code:


pmn@dolph:~/tmp/mailer-0.0.7$ ./mailer.py
Traceback (most recent call last):
  File "./mailer.py", line 46, in ?
    import adesklets
  File "/usr/lib/python2.3/site-packages/adesklets/__init__.py", line 36, in ?
    _init=_Initializer()
  File "/usr/lib/python2.3/site-packages/adesklets/initializer.py", line 60, in __init__
    raise ADESKLETSError(3,event)
adesklets.error_handler.ADESKLETSError: adesklets interpreter initialization error - Configuration file parsing error `syntax error', stopped at line 8.

Exception exceptions.AttributeError: <exceptions.AttributeError instance at 0x40202cac> in <bound method _Communicator.__del__ of <adesklets.communicator._Communicator instance at 0x402da92c>> ignored



And another one:

Code:


pmn@dolph:~/tmp/yab-0.0.2$ ./yab.py
Traceback (most recent call last):
  File "./yab.py", line 48, in ?
    import adesklets
  File "/usr/lib/python2.3/site-packages/adesklets/__init__.py", line 36, in ?
    _init=_Initializer()
  File "/usr/lib/python2.3/site-packages/adesklets/initializer.py", line 60, in __init__
    raise ADESKLETSError(3,event)
adesklets.error_handler.ADESKLETSError: adesklets interpreter initialization error - Configuration file parsing error `syntax error', stopped at line 8.

Exception exceptions.AttributeError: <exceptions.AttributeError instance at 0x40202e6c> in <bound method _Communicator.__del__ of <adesklets.communicator._Communicator instance at 0x402dc8ac>> ignored



anyone know whats wrong?

By syfou (Core Developer & Desklet Author), on Wed Aug 31 14:13:23 2005.

As you see, both errors are the same (Have you tried the FAQ?). All it means is that for some reason, the $HOME/.adesklets configuration file could not be parsed. If you placed a directory under this name, place your desklet somwhere else. If not, just delete it to start anew: it got corrupted somehow. If this doesn't solve your problem, post the file here. Yours,

By strby (User), on Sat Oct 7 08:48:48 2006.

syfou wrote:

As you see, both errors are the same (Have you tried the FAQ?). All it means is that for some reason, the $HOME/.adesklets configuration file could not be parsed. If you placed a directory under this name, place your desklet somwhere else. If not, just delete it to start anew: it got corrupted somehow. If this doesn't solve your problem, post the file here. Yours,


I have the same problem, I read FAQ but I found nothing, my .adesklet file contains only some comments... where is a fault??

By syfou (Core Developer & Desklet Author), on Sat Oct 7 13:59:16 2006.

Hi strby,
Yours,

By strby (User), on Sat Oct 7 16:44:06 2006.

Code:

strby@localhost ~/.desklets/yab-0.0.2 $ ./yab.py                                
Do you want to (r)egister this desklet or to (t)est it? t                       
Now testing... 
                                                                 ============================================================
If you do not see anything (or just an initial flicker
in the top left corner of your screen), try `--help',
and see the FAQ: `info adesklets'.
============================================================
Traceback (most recent call last):
  File "./yab.py", line 48, in ?
    import adesklets
  File "/usr/lib/python2.4/site-packages/adesklets/__init__.py", line 43, in ?
    raise e
adesklets.error_handler.ADESKLETSError: adesklets interpreter initialization error - Fontconfig warning: "/etc/fonts/conf.d/80-delicious.conf", line 18: invalid match target "scan"

Exception exceptions.AttributeError: <exceptions.AttributeError instance at 0xb7d0c34c> in <bound method _Communicator.__del__ of <adesklets.communicator._Communicator instance at 0xb7c7b82c>> ignored



Code:

strby@localhost ~/.desklets/modubar-0.0.1 $ ./modubar.py 
Do you want to (r)egister this desklet or to (t)est it? t
Now testing...
============================================================
If you do not see anything (or just an initial flicker
in the top left corner of your screen), try `--help',
and see the FAQ: `info adesklets'.
============================================================
Traceback (most recent call last):
  File "./modubar.py", line 52, in ?
    import adesklets
  File "/usr/lib/python2.4/site-packages/adesklets/__init__.py", line 43, in ?
    raise e
adesklets.error_handler.ADESKLETSError: adesklets interpreter initialization error - Fontconfig warning: "/etc/fonts/conf.d/80-delicious.conf", line 18: invalid match target "scan"

Exception exceptions.AttributeError: <exceptions.AttributeError instance at 0xb7cca34c> in <bound method _Communicator.__del__ of <adesklets.communicator._Communicator instance at 0xb7c379ac>> ignored



this is two errors reporting from modubar and yab (imho it's similar)
i use actual testing gentoo (fontconfig is 2.3.2-r1 )
thx for help

By syfou (Core Developer & Desklet Author), on Sat Oct 7 17:18:59 2006.

Well, this is a different bug: nothing to do with the configuration file...

Code:


adesklets interpreter initialization error - Fontconfig warning: "/etc/fonts/conf.d/80-delicious.conf", line 18: invalid match target "scan" 



Your system fontconfig package seems to be ill-configured; I agree adesklets is more stringent about it than it could; make the warning go away, and adesklets should work. Yours,

By strby (User), on Sat Oct 7 18:27:27 2006.

ohhhhhh yessss :D
thanks very much for help
for next generation comment out all text in /etc/font/conf.d/80-delicious.conf


adesklets is proud to be hosted on:

SourceForge.net Logo

Back to adesklets.sf.net.