[MacPorts] #32035: wxwidgets - NotImplementedError: wx.GraphicsContext is not available on this platform.

MacPorts noreply at macports.org
Sat Nov 12 08:58:16 PST 2011


#32035: wxwidgets - NotImplementedError: wx.GraphicsContext is not available on
this platform.
-----------------------------------+----------------------------------------
 Reporter:  justjoheinz@…          |       Owner:  macports-tickets@…                   
     Type:  defect                 |      Status:  new                                  
 Priority:  Normal                 |   Milestone:                                       
Component:  ports                  |     Version:  2.0.3                                
 Keywords:                         |        Port:                                       
-----------------------------------+----------------------------------------
Changes (by ryandesign@…):

 * cc: ryandesign@…, jwa@… (added)


Old description:

> I am not sure which port exactly is causing the problem, the scenario is
> that I try to use a python programm which uses wxwdigets and I get the
> error:
> NotImplementedError: wx.GraphicsContext is not available on this
> platform.
>
> I found a bug report and a resolution for another program which can be
> seen here (nothing to do with macports):
> http://editra.org/forum/viewtopic.php?t=75
>
> It seems that I need some variant of one of the many wxwidgets ports but
> I am not sure which one, or if it exists. I am happy to contribute more
> details if you send me the commands for the interesting debug
> information.

New description:

 I am not sure which port exactly is causing the problem, the scenario is
 that I try to use a python programm which uses wxwdigets and I get the
 error:
 {{{
 NotImplementedError: wx.GraphicsContext is not available on this platform.
 }}}

 I found a bug report and a resolution for another program which can be
 seen here (nothing to do with macports):
 http://editra.org/forum/viewtopic.php?t=75

 It seems that I need some variant of one of the many wxwidgets ports but I
 am not sure which one, or if it exists. I am happy to contribute more
 details if you send me the commands for the interesting debug information.

--

Comment:

 The thread you reference says that a) graphics context should already be
 enabled and b) to force it to be enabled we could add `--enable-
 graphics_ctx` to the configure args. The latter is what was requested for
 wxWidgets-python in #31804 but it failed to build and we don't know how to
 make it succeed.

 The above post also says the graphics context was not added until
 wxWidgets 2.8. Which wxWidgets port(s) are you using -- wxWidgets?
 wxWidgets26? wxgtk? wxWidgets-python?

-- 
Ticket URL: <https://trac.macports.org/ticket/32035#comment:1>
MacPorts <http://www.macports.org/>
Ports system for Mac OS


More information about the macports-tickets mailing list