[Bugs] #4120 untriaged HIGH: Error when typing floating point numbers in the evaluation entry

Sugar Labs Bugs bugtracker-noreply at sugarlabs.org
Sat Oct 27 12:15:05 EDT 2012


#4120: Error when typing floating point numbers in the evaluation entry
------------------------------+---------------------------------------------
    Reporter:  danielfrancis  |          Owner:                   
        Type:  defect         |         Status:  new              
    Priority:  High           |      Milestone:  not applicable   
   Component:  untriaged      |        Version:  Git as of bugdate
    Severity:  Major          |       Keywords:  easy-hacks       
Distribution:                 |   Status_field:  New              
------------------------------+---------------------------------------------
 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

-- 
Ticket URL: <http://bugs.sugarlabs.org/ticket/4120>
Sugar Labs <http://sugarlabs.org/>
Sugar Labs bug tracking system


More information about the Bugs mailing list