>>>> > I have wxPython 3.0.2.0 built with
–enable-graphics_ctx.
>>>> >
>>>> >
>>>> > The build log shows that it will be compiled,
but still I get the
>
>>>> errors
>>>> > running DisplayCAL that GraphicContext and
wxGCDC are not
>available on
>>>> this
>>>> > platform.
>>>> >
>>>> >
>>>> > This is on Slackware 14.2. Any ideas?
>>>>
>>>> config.log for wxWidgets?
>>>
>>>
>First log is from wxPython, second is wxWidgets or
wxX11 as it is on
>[slackbuilds.org](http://slackbuilds.org)
Wait, so you are using wxX11 and not wxGTK?
Yes. Do I need wxGTK then?
Same errors with wxGTK
Yes, wxPython probably isn’t tested well with wxX11 so you’ll probably
want GTK.
From your log, it sure looks like you compiled wxWidgets 2.8:
“It was created by wxWidgets configure 2.8.12, which was”
Can you provide the console output of what you’re doing?
AFAIK displaycal uses wxPython
displaycal
displaycal 3.2.4.0 2017-02-19T17:02:17.634864Z
slackware 14.2 x86_64
Python 2.7.13 (default, Jan 8 2017, 11:53:02)
[GCC 5.3.0]
wxPython 2.8.12.1 (gtk2-unicode)
Encoding: UTF-8
File system encoding: UTF-8
Starting up…
Audio module: wx 2.8.12.1
Enumerating display devices and communication ports…
/usr/bin
Argyll CMS 1.9.2
…ok.
Checking video card gamma table access for display 1…
Verify: ‘test.cal’ IS loaded (discrepancy 0.0%)
…ok.
Initializing GUI…
…ok.
Ready.
Setting up scripting host at 127.0.0.1:15411
Traceback (most recent call last):
File “/usr/lib64/python2.7/site-packages/DisplayCAL/wxwindows.py”, line 2855, in OnPaint
gc = wx.GraphicsContext.Create(dc)
File “/usr/lib64/python2.7/site-packages/wx-2.8-gtk2-unicode/wx/_gdi.py”, line 5520, in Create
val = gdi.GraphicsContext_Create(*args)
NotImplementedError: wx.GraphicsContext is not available on this platform.
Check for application update…
DisplayCAL is up-to-date.
Argyll CMS is up-to-date.
Traceback (most recent call last):
File “/usr/lib64/python2.7/site-packages/wx-2.8-gtk2-unicode/wx/lib/platebtn.py”, line 162, in
self.Bind(wx.EVT_PAINT, lambda evt: self.__DrawButton())
File “/usr/lib64/python2.7/site-packages/DisplayCAL/wxfixes.py”, line 1190, in __DrawButton
gc = wx.GCDC(dc)
File “/usr/lib64/python2.7/site-packages/wx-2.8-gtk2-unicode/wx/_gdi.py”, line 6068, in init
gdi.GCDC_swiginit(self,gdi.new_GCDC(*args))
NotImplementedError: wxGCDC is not available on this platform.
Traceback (most recent call last):
File “/usr/lib64/python2.7/site-packages/wx-2.8-gtk2-unicode/wx/lib/platebtn.py”, line 162, in
self.Bind(wx.EVT_PAINT, lambda evt: self.__DrawButton())
File “/usr/lib64/python2.7/site-packages/DisplayCAL/wxfixes.py”, line 1190, in __DrawButton
gc = wx.GCDC(dc)
File “/usr/lib64/python2.7/site-packages/wx-2.8-gtk2-unicode/wx/_gdi.py”, line 6068, in init
gdi.GCDC_swiginit(self,gdi.new_GCDC(*args))
NotImplementedError: wxGCDC is not available on this platform.
···
On Friday, 10 March 2017 02:23:05 UTC, Scott Talbert wrote:
On Thu, 9 Mar 2017, slack woody wrote: