#4120 closed defect (fixed)
Error when typing floating point numbers in the evaluation entry
Reported by: | danielfrancis | Owned by: | danielfrancis |
---|---|---|---|
Priority: | High | Milestone: | |
Component: | GraphPlotter | Version: | Git as of bugdate |
Severity: | Major | Keywords: | easy-hacks |
Cc: | AlanJAS | Distribution/OS: | |
Bug Status: | Resolved |
Description
Steps to reproduce:
Write in the evaluation entry: '2.3'
Traceback (most recent call last):
File "/home/alan/Activities/GraphPlotter.activity/canvas.py", line
220, in _evaluate_cb
self.functions_list.evaluate(safe_dict)
File "/home/alan/Activities/GraphPlotter.activity/functions.py", line
89, in evaluate
{'_builtins_': {}}, safe_dict)
File "<string>", line 1, in <module>
TypeError: a float is required
Change History (5)
comment:1 Changed 10 years ago by danielfrancis
- Cc AlanJAS added
comment:2 Changed 10 years ago by danielfrancis
- Component changed from untriaged to GraphPlotter
- Owner set to danielfrancis
comment:3 Changed 10 years ago by danielfrancis
- Bug Status changed from New to Resolved
comment:4 Changed 10 years ago by AlanJAS
- Resolution set to fixed
- Status changed from new to closed
comment:5 Changed 10 years ago by dnarvaez
- Milestone not applicable deleted
Milestone not applicable deleted
Note: See
TracTickets for help on using
tickets.
I pushed a fix for this report:
http://git.sugarlabs.org/graph-plotter/mainline/commit/4e0bbd16352a9690a45a031d1d442b0d8eb60d10
Moving status to Resolved and waiting for a testcase before closing.