pyxlr8r - interpreter - crashes if input is not a model file
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Cellerator |
New
|
Medium
|
biomathman |
Bug Description
Typical traceback:
py[xlr8r]: interpreter (2013-02-21 14:02:20)
Traceback (most recent call last):
File "/home/
interpreter()
File "/home/
rv=
File "/home/
(results, rates, functions, frozen, assignments, ICS) = runparser(filename, trace=dump)
File "/home/
return (results, rates, functions, frozenvars, assignments, ics)
UnboundLocalError: local variable 'functions' referenced before assignment
There is a work-aound - the input file name must end in ".model" - in which case the error does not occur.
Verified.