[Bugs] #2895 UNSP: Moon activity may crash during an eclipse due to failure to cast float->int
Sugar Labs Bugs
bugtracker-noreply at sugarlabs.org
Wed Jun 15 16:16:49 EDT 2011
#2895: Moon activity may crash during an eclipse due to failure to cast float->int
------------------------------------------+---------------------------------
Reporter: greenfeld | Owner: garycmartin
Type: defect | Status: new
Priority: Unspecified by Maintainer | Milestone: Unspecified by Release Team
Component: Moon | Version: 0.92.x
Severity: Unspecified | Keywords:
Distribution: OLPC | Status_field: Unconfirmed
------------------------------------------+---------------------------------
Comment(by greenfeld):
{{{
Traceback (most recent call last):
File "/usr/bin/sugar-activity", line 21, in <module>
main.main()
File "/usr/lib/python2.7/site-packages/sugar/activity/main.py", line
158, in main
create_activity_instance(activity_constructor, activity_handle)
File "/usr/lib/python2.7/site-packages/sugar/activity/main.py", line 37,
in create_activity_instance
activity = constructor(handle)
File "/home/olpc/Activities/Moon.activity/moon.py", line 170, in
__init__
self.update_moon_image_view()
File "/home/olpc/Activities/Moon.activity/moon.py", line 339, in
update_moon_image_view
moon_pixbuf.composite(dark_pixbuf, 0, 0, IMAGE_SIZE, IMAGE_SIZE, 0, 0,
1, 1, gtk.gdk.INTERP_BILINEAR, 196 - eclipse_alpha / 2)
TypeError: integer argument expected, got float
Exited with status 1, pid 1548 data (None, <open file '<fdopen>', mode 'w'
at 0xa100bd0>, 'a7a4ad2837656aad3839cb6c51642504c1b7c17b')
}}}
--
Ticket URL: <http://bugs.sugarlabs.org/ticket/2895#comment:1>
Sugar Labs <http://sugarlabs.org/>
Sugar Labs bug tracking system
More information about the Bugs
mailing list