[Bugs] #4180 Chart UNSP: Chart: hangs if a value is 0
Sugar Labs Bugs
bugtracker-noreply at sugarlabs.org
Fri Nov 9 13:25:37 EST 2012
#4180: Chart: hangs if a value is 0
------------------------------------------+---------------------------------
Reporter: manuq | Owner: manuq
Type: defect | Status: new
Priority: Unspecified by Maintainer | Milestone: 0.98
Component: Chart | Version: Unspecified
Severity: Unspecified | Keywords:
Distribution: Unspecified | Status_field: Unconfirmed
------------------------------------------+---------------------------------
After the user adds a 0,0 entry, no more entries can be added or removed.
Trace:
{{{
1352485165.024774 INFO chart-activity: Change "0.0" to "0.0"
Traceback (most recent call last):
File "/home/olpc/Activities/Chart.activity/activity.py", line 373, in
_remove_value
value = self.labels_and_values.remove_selected_value()
File "/home/olpc/Activities/Chart.activity/activity.py", line 714, in
remove_selected_value
value = (self.model.get(iter, 0)[0], float(self.model.get(iter,
1)[0]))
ValueError: invalid literal for float(): 0,0
}}}
--
Ticket URL: <http://bugs.sugarlabs.org/ticket/4180>
Sugar Labs <http://sugarlabs.org/>
Sugar Labs bug tracking system
More information about the Bugs
mailing list