Adesklets not working in 9.10

Bug #426247 reported by Tony Kernan
12
This bug affects 2 people
Affects Status Importance Assigned to Milestone
adesklets (Ubuntu)
New
Undecided
Unassigned

Bug Description

Binary package hint: adesklets

I just upgraded to 9.10 and now adesklets is not working. I realize 9.10 is still in alpha. Adesklets worked fine with 9.04.

Description: Ubuntu karmic (development branch)
Release: 9.10

Traceback (most recent call last):
File "./weatherforecast.py", line 337, in <module>
Events(dirname(__file__)).pause()
File "./weatherforecast.py", line 98, in __init__
adesklets.Events_handler.__init__(self)
File "/usr/lib/python2.6/dist-packages/adesklets/events_handler.py", line 158, in __init__
self._alarm()
File "/usr/lib/python2.6/dist-packages/adesklets/events_handler.py", line 296, in _alarm
timeout=self.alarm()
File "./weatherforecast.py", line 144, in alarm
self._display()
File "./weatherforecast.py", line 248, in _display
adesklets.context_set_font(adesklets.load_font('Ve ra/%d' % self.config['location_font_size']))
File "/usr/lib/python2.6/dist-packages/adesklets/commands.py", line 706, in load_font
return comm.out()
File "/usr/lib/python2.6/dist-packages/adesklets/commands_handler.py", line 103, in out
raise ADESKLETSError(4,message)
adesklets.error_handler.ADESKLETSError: adesklets command error - font 'Vera/10' could not be loaded

Revision history for this message
Tony Kernan (ackernan) wrote :

After many updates I still get following error. Adesklets was working fine with Jaunty.

tony@tony-laptop:~/download/weatherforecast-0.2.2$ ./weatherforecast.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 "./weatherforecast.py", line 337, in <module>
    Events(dirname(__file__)).pause()
  File "./weatherforecast.py", line 98, in __init__
    adesklets.Events_handler.__init__(self)
  File "/usr/lib/python2.6/dist-packages/adesklets/events_handler.py", line 158, in __init__
    self._alarm()
  File "/usr/lib/python2.6/dist-packages/adesklets/events_handler.py", line 296, in _alarm
    timeout=self.alarm()
  File "./weatherforecast.py", line 144, in alarm
    self._display()
  File "./weatherforecast.py", line 248, in _display
    adesklets.context_set_font(adesklets.load_font('Vera/%d' % self.config['location_font_size']))
  File "/usr/lib/python2.6/dist-packages/adesklets/commands.py", line 706, in load_font
    return comm.out()
  File "/usr/lib/python2.6/dist-packages/adesklets/commands_handler.py", line 103, in out
    raise ADESKLETSError(4,message)
adesklets.error_handler.ADESKLETSError: adesklets command error - font 'Vera/10' could not be loaded

Revision history for this message
Tony Kernan (ackernan) wrote :

I did a new install of 9.10, final release, adesklets does not work.

Revision history for this message
morphias (ajfunmanns1) wrote :

Using the final build of Ubuntu 9.10, 64 bit and got the following dump when using Weather 0.0.5 (but other plugins are having similar dumps)...
=================
m0rph1as@m0rph1as-laptop:~/Apps/desklets/weather-0.0.5$ ./weather.py
Traceback (most recent call last):
  File "./weather.py", line 52, in <module>
    import adesklets
  File "/usr/lib/python2.6/dist-packages/adesklets/__init__.py", line 30, in <module>
    from adesklets.initializer import _Initializer
  File "/usr/lib/python2.6/dist-packages/adesklets/initializer.py", line 13, in <module>
    from children_handler import _Children_handler
  File "/usr/lib/python2.6/dist-packages/adesklets/children_handler.py", line 5, in <module>
    from signal_handler import Signal_handler
  File "/usr/lib/python2.6/dist-packages/adesklets/signal_handler.py", line 12, in <module>
    class Signal_handler:
  File "/usr/lib/python2.6/dist-packages/adesklets/signal_handler.py", line 20, in Signal_handler
    func = posix_signal.signal
AttributeError: 'module' object has no attribute 'signal'
======
by looking at the common issue with adesklets, it seems as if posix_signal is the common errorornous object. I am going to do some tweaks and post my findings.

Revision history for this message
ojb (olejorgenb) wrote :

I fixed this (in debian testing though) by installing ttf-bitstream-vera

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.