Veusz exception report
----------------------

Veusz version: 0.99.0
Python version: 2.4.2 (#1, Oct  3 2005, 01:55:05) 
[GCC 3.3.2]
Numarray version: 1.0.4
Date: Fri, 23 Nov 2007 16:46:46 +0000

Traceback (most recent call last):
  File "/data/store/jss/veusz-1.0/veusz/windows/plotwindow.py", line 645, in 
slotTimeout
    dpi = self.widgetdpi )
  File "/data/store/jss/veusz-1.0/veusz/document/doc.py", line 310, in paintTo
    self.basewidget.children[page].draw( (0, 0, width, height), painter)
  File "/data/store/jss/veusz-1.0/veusz/widgets/page.py", line 58, in draw
    parentposn)
  File "/data/store/jss/veusz-1.0/veusz/widgets/widget.py", line 298, in draw
    i.draw(bounds, painter, outerbounds=outerbounds)
  File "/data/store/jss/veusz-1.0/veusz/widgets/graph.py", line 172, in draw
    i.draw(bounds, painter, outerbounds=outerbounds)
  File "/data/store/jss/veusz-1.0/veusz/widgets/plotters.py", line 329, in draw
    pxpts, pypts = self._calcFunctionPoints(axes, posn)
  File "/data/store/jss/veusz-1.0/veusz/widgets/plotters.py", line 246, in 
_calcFunctionPoints
    checked = utils.checkCode(s.function)
  File "/data/store/jss/veusz-1.0/veusz/utils/safe_eval.py", line 312, in 
checkCode
    ast = compiler.parse(code)
  File "/usr/local/lib/python2.4/compiler/transformer.py", line 52, in parse
    return Transformer().parsesuite(buf)
  File "/usr/local/lib/python2.4/compiler/transformer.py", line 129, in 
parsesuite
    return self.transform(parser.suite(text))
  File "<string>", line 1
    (2x)**-2
      ^
SyntaxError: invalid syntax


-----------------------------------------
What the user was doing before the crash:
I had the function x**-2 plotted, and when I replaced it with (2x)**-2 it 
crashed.

_______________________________________________
Veusz-exception-reports mailing list
Veusz-exception-reports@gna.org
https://mail.gna.org/listinfo/veusz-exception-reports

Reply via email to