[GRASS-user] wxGCDC not available on this platform

   I've not before seen this error: wxGCDC not available on this platform
(Slackware-13.1).

   It displays in both 6.4svn and 6.5svn.

   I have wxPython-2.8.11.0 and wxGTK-2.8.11 installed. Do I need to install
wxWidgets-2.9.1, too? This was not an issue when I last worked with GRASS,
about a year ago. And now I need to quickly get back up to speed.

Rich

On Wed, Feb 23, 2011 at 5:23 PM, Rich Shepard <rshepard@appl-ecosys.com> wrote:

I've not before seen this error: wxGCDC not available on this platform
(Slackware-13.1).

It displays in both 6.4svn and 6.5svn.

I have wxPython-2.8.11.0 and wxGTK-2.8.11 installed. Do I need to install
wxWidgets-2.9.1, too? This was not an issue when I last worked with GRASS,
about a year ago. And now I need to quickly get back up to speed.

I had this problem once:

On Fri, May 29, 2009 at 8:54 PM, Markus Neteler <neteler@osgeo.org> wrote:

On Fri, May 29, 2009 at 12:14 AM, Markus Neteler <neteler@osgeo.org> wrote:

On Sat, May 2, 2009 at 10:51 PM, Markus Neteler <neteler@osgeo.org> wrote:

after upgrade to Mandriva 2009.1 (64bit) and recompilation of 6.5
without problems, I cannot start the wxGUI:

...

line 6013, in __init__
   _gdi_.GCDC_swiginit(self,_gdi_.new_GCDC(*args))
NotImplementedError: wxGCDC is not available on this platform.

Solution:
recompile wxPythonGTK-2.8.9.2 with '--enable-graphics_ctx' in the SPEC file
for configure. Filed upstream as https://qa.mandriva.com/show_bug.cgi?id=51272

Cool, Mandriva propagated today the updated package through the update channel.

Markus

I suspect that the same happened on Slackware?

Markus

On Wed, 23 Feb 2011, Markus Neteler wrote:

Solution:
recompile wxPythonGTK-2.8.9.2 with '--enable-graphics_ctx' in the SPEC file
for configure. Filed upstream as https://qa.mandriva.com/show_bug.cgi?id=51272

I suspect that the same happened on Slackware?

Markus,

   That option is included in the wxPython.SlackBuild script. I don't know
that it also should be in the wxGTK.SlackBuild script. They're two separate
packages here.

Rich

On Wed, 23 Feb 2011, Rich Shepard wrote:

I suspect that the same happened on Slackware?

That option is included in the wxPython.SlackBuild script. I don't know
that it also should be in the wxGTK.SlackBuild script. They're two
separate packages here.

   I would like to resolve this issue as the message about missing wxGCDC
keeps displaying in the GUI Layer Manager window.

   wxGCDC is included in wxPython-2.8.11.0 here, but not part of
wxGTK-2.8.11.

   Anyone have ideas on how to get version -6.5svn to recognize wxGCDC and
use it however it does?

Rich