#4180 closed defect (fixed)
Chart: hangs if a value is 0
| Reported by: | manuq | Owned by: | manuq |
|---|---|---|---|
| Priority: | Unspecified by Maintainer | Milestone: | |
| Component: | Chart | Version: | Unspecified |
| Severity: | Unspecified | Keywords: | |
| Cc: | Distribution/OS: | Unspecified | |
| Bug Status: | Unconfirmed |
Description
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
Change History (3)
comment:1 Changed 10 years ago by walter
comment:2 Changed 10 years ago by aguz
- Resolution set to fixed
- Status changed from new to closed
Note: See
TracTickets for help on using
tickets.
This seems like an i18n error. The comma is not being interpreted as a decimal point.