wxGCDC not available on this platform.

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?

···

On Thu, 9 Mar 2017, slack woody wrote:

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?

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?

config.log (214 KB)

···

On Thursday, 9 March 2017 17:02:32 UTC, Scott Talbert wrote:

On Thu, 9 Mar 2017, slack woody wrote:

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?

wx11.config.log (127 KB)

···

On Thursday, 9 March 2017 21:50:36 UTC, slack woody wrote:

On Thursday, 9 March 2017 17:02:32 UTC, Scott Talbert wrote:

On Thu, 9 Mar 2017, slack woody wrote:

First log is from wxPython, second is wxWidgets or wxX11 as it is on slackbuilds.org

···

On Thursday, 9 March 2017 22:09:32 UTC, slack woody wrote:

On Thursday, 9 March 2017 21:50:36 UTC, slack woody wrote:

On Thursday, 9 March 2017 17:02:32 UTC, Scott Talbert wrote:

On Thu, 9 Mar 2017, slack woody wrote:

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?

Wait, so you are using wxX11 and not wxGTK?

···

On March 9, 2017 5:10:27 PM EST, slack woody <slackhead@gmail.com> wrote:

On Thursday, 9 March 2017 22:09:32 UTC, slack woody wrote:

On Thursday, 9 March 2017 21:50:36 UTC, slack woody wrote:

On Thursday, 9 March 2017 17:02:32 UTC, Scott Talbert wrote:

On Thu, 9 Mar 2017, slack woody wrote:

> 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

Yes. Do I need wxGTK then?

···

On Thursday, 9 March 2017 23:06:58 UTC, Scott Talbert wrote:

On March 9, 2017 5:10:27 PM EST, slack woody slac...@gmail.com wrote:

On Thursday, 9 March 2017 22:09:32 UTC, slack woody wrote:

On Thursday, 9 March 2017 21:50:36 UTC, slack woody wrote:

On Thursday, 9 March 2017 17:02:32 UTC, Scott Talbert wrote:

On Thu, 9 Mar 2017, slack woody wrote:

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

Wait, so you are using wxX11 and not wxGTK?

Same errors with wxGTK

wxGTK.config.log (185 KB)

···

On Friday, 10 March 2017 00:18:39 UTC, slack woody wrote:

On Thursday, 9 March 2017 23:06:58 UTC, Scott Talbert wrote:

On March 9, 2017 5:10:27 PM EST, slack woody slac...@gmail.com wrote:

On Thursday, 9 March 2017 22:09:32 UTC, slack woody wrote:

On Thursday, 9 March 2017 21:50:36 UTC, slack woody wrote:

On Thursday, 9 March 2017 17:02:32 UTC, Scott Talbert wrote:

On Thu, 9 Mar 2017, slack woody wrote:

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

Wait, so you are using wxX11 and not wxGTK?

Yes. Do I need wxGTK then?

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?

···

On Thu, 9 Mar 2017, slack woody wrote:

            >>>> > 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

            Wait, so you are using wxX11 and not wxGTK?

      Yes. Do I need wxGTK then?

Same errors with wxGTK

        >>>> > 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:

Fixed by installing wxGTK3 and wxPython3

···

On Friday, 10 March 2017 16:00:10 UTC, Dave Woody wrote:

On Friday, 10 March 2017 02:23:05 UTC, Scott Talbert wrote:

On Thu, 9 Mar 2017, slack woody wrote:

        >>>> > 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.

Great, yeah you were using wx 2.8...see the wx-2.8-gtk2-unicode above.

Scott

···

On Fri, 10 Mar 2017, Dave Woody wrote:

            > >>>> > 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
            >
            > 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 <lambda>
       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 <lambda>
       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.

Fixed by installing wxGTK3 and wxPython3