Reproducible. I've tried with two different files and two machines (Linux and 
Windows)

Veusz version: 1.13
Python version: 2.7.1+ (r271:86832, Apr 11 2011, 18:13:53) 
[GCC 4.5.2]
Python platform: linux2
Numpy version: 1.5.1
Qt version: 4.7.2
PyQt version: 4.8.5
SIP version: 4.12.4
Date: sáb, 20 ago 2011 20:48:01 +0000

Traceback (most recent call last):
  File "/usr/local/lib/python2.7/dist-packages/veusz/windows/plotwindow.py", 
line 837, in checkPlotUpdate
    self.document.paintTo(phelper, self.pagenumber)
  File "/usr/local/lib/python2.7/dist-packages/veusz/document/doc.py", line 
387, in paintTo
    self.basewidget.draw(painthelper, page)
  File "/usr/local/lib/python2.7/dist-packages/veusz/widgets/root.py", line 
96, in draw
    page.draw( posn, painthelper )
  File "/usr/local/lib/python2.7/dist-packages/veusz/widgets/page.py", line 
222, in draw
    bounds = self.computeBounds(parentposn, painter)
UnboundLocalError: local variable 'painter' referenced before assignment



However, ignoring the crash seems to be the solution.

_______________________________________________
Veusz-discuss mailing list
[email protected]
https://mail.gna.org/listinfo/veusz-discuss

Répondre à