kliment/Printrun — Issue #89: Pronterface is missing library
Author: justjoheinz
Created: 2011-11-12 14:12:54+00:00
State: open

The new version somehow introduced new dependencies, with pronterface.py or for convenience test.py I get:
python test.py
Traceback (most recent call last):
File "/Users/markusklink/Documents/Printrun/bufferedcanvas.py", line 117, in onPaint
self.draw(dc, w, h)
File "/Users/markusklink/Documents/Printrun/zbuttons.py", line 77, in draw
gc = wx.GraphicsContext.Create(dc)
File "/opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/wx-2.8-gtk2-unicode/wx/_gdi.py", line 5501, in Create
val = _gdi_.GraphicsContext_Create(*args)
NotImplementedError: wx.GraphicsContext is not available on this platform.
Traceback (most recent call last):
File "/Users/markusklink/Documents/Printrun/bufferedcanvas.py", line 117, in onPaint
self.draw(dc, w, h)
File "/Users/markusklink/Documents/Printrun/xybuttons.py", line 192, in draw
gc = wx.GraphicsContext.Create(dc)
File "/opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/wx-2.8-gtk2-unicode/wx/_gdi.py", line 5501, in Create
val = _gdi_.GraphicsContext_Create(*args)
NotImplementedError: wx.GraphicsContext is not available on this platform.
Traceback (most recent call last):
File "/Users/markusklink/Documents/Printrun/bufferedcanvas.py", line 117, in onPaint
self.draw(dc, w, h)
File "/Users/markusklink/Documents/Printrun/zbuttons.py", line 77, in draw
gc = wx.GraphicsContext.Create(dc)
File "/opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/wx-2.8-gtk2-unicode/wx/_gdi.py", line 5501, in Create
val = _gdi_.GraphicsContext_Create(*args)
NotImplementedError: wx.GraphicsContext is not available on this platform.
Traceback (most recent call last):
File "/Users/markusklink/Documents/Printrun/bufferedcanvas.py", line 117, in onPaint
self.draw(dc, w, h)
File "/Users/markusklink/Documents/Printrun/xybuttons.py", line 192, in draw
gc = wx.GraphicsContext.Create(dc)
File "/opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/wx-2.8-gtk2-unicode/wx/_gdi.py", line 5501, in Create
val = _gdi_.GraphicsContext_Create(*args)
NotImplementedError: wx.GraphicsContext is not available on this platform.

Using macports on Mac OS X Lion I do not know what kind of library I need to fix this.