** Changed in: indiv-screenlets
Status: Fix Committed => Fix Released
--
You received this bug notification because you are a member of
Individual Screenlets Developers, which is subscribed to Individual
Screenlets.
https://bugs.launchpad.net/bugs/701190
Title:
ClearRssScreenlets crash on TypeError: integer argument expected, got
float
Status in Screenlets — individual widgets development:
Fix Released
Bug description:
ClearRss Screenlets crash on startup.
Ubuntu natty.
Screenlets version : 0.1.3~bzr592+20110109213652~natty1
Traceback (most recent call last):
File
"/usr/share/screenlets/screenlets-pack-all/ClearRss/ClearRssScreenlet.py", line
318, in <module>
screenlets.session.create_session(ClearRssScreenlet)
File "/usr/lib/pymodules/python2.7/screenlets/session.py", line 471, in
create_session
session.start()
File "/usr/lib/pymodules/python2.7/screenlets/session.py", line 245, in
start
sl = self.screenlet(session=self, id=self.__get_next_id())
File
"/usr/share/screenlets/screenlets-pack-all/ClearRss/ClearRssScreenlet.py", line
66, in __init__
uses_theme=True, **keyword_args)
File "/usr/lib/pymodules/python2.7/screenlets/__init__.py", line 836, in
__init__
self.update_shape()
File "/usr/lib/pymodules/python2.7/screenlets/__init__.py", line 1569, in
update_shape
except: self.on_draw_shape(ctx) # if error on on_draw use standard
shape method
File
"/usr/share/screenlets/screenlets-pack-all/ClearRss/ClearRssScreenlet.py", line
255, in on_draw_shape
self.on_draw(ctx)
File
"/usr/share/screenlets/screenlets-pack-all/ClearRss/ClearRssScreenlet.py", line
248, in on_draw
self.draw_text(ctx, t , self.text_x, self.text_y, self.font_name, 9.5,
(self.width - self.text_x) , pango.ALIGN_LEFT)
File "/usr/lib/pymodules/python2.7/screenlets/drawing.py", line 118, in
draw_text
self.p_fdesc.set_size(size * pango.SCALE)
TypeError: integer argument expected, got float
To manage notifications about this bug go to:
https://bugs.launchpad.net/indiv-screenlets/+bug/701190/+subscriptions
--
Mailing list: https://launchpad.net/~indiv-screenlets-dev
Post to : [email protected]
Unsubscribe : https://launchpad.net/~indiv-screenlets-dev
More help : https://help.launchpad.net/ListHelp