[MacPorts] #36904: grass: add wxPython variant
MacPorts
noreply at macports.org
Thu Aug 22 09:35:47 PDT 2013
#36904: grass: add wxPython variant
-----------------------------+--------------------
Reporter: drew.mueller@… | Owner: g5pw@…
Type: enhancement | Status: new
Priority: Normal | Milestone:
Component: ports | Version:
Resolution: | Keywords:
Port: grass |
-----------------------------+--------------------
Comment (by mojca@…):
I solved this particular problem by defining
{{{
export
GRASS_PYTHON=/opt/local/Library/Frameworks/Python.framework/Versions/2.7/bin/python2.7
}}}
and this definition could easily be added to
{{{
/opt/local/bin/grass64
}}}
but the program had problems later with
{{{
/opt/local/share/grass-6.4.2/etc/wxpython/gis_set.py:864:
wxPyDeprecationWarning: Call to deprecated item 'InitAllImageHandlers'.
wx.InitAllImageHandlers()
2013-08-22 18:28:46.448 Python[6642:f07] Invalid URL passed to an
open/save panel: '(null)'. Using 'file:///.file/id=6562758.281193/'
instead.
2013-08-22 18:29:17.672 Python[6642:f07] -_continuousScroll is deprecated
for NSScrollWheel. Please use -hasPreciseScrollingDeltas.
2013-08-22 18:29:17.673 Python[6642:f07] -deviceDeltaX is deprecated for
NSScrollWheel. Please use -scrollingDeltaX.
2013-08-22 18:29:17.674 Python[6642:f07] -deviceDeltaY is deprecated for
NSScrollWheel. Please use -scrollingDeltaY.
Traceback (most recent call last):
File "/opt/local/share/grass-6.4.2/etc/wxpython/gis_set.py", line 411,
in OnWizard
grassdatabase = self.tgisdbase.GetValue())
File
"/opt/local/share/grass-6.4.2/etc/wxpython/gui_modules/location_wizard.py",
line 1752, in __init__
self.startpage = DatabasePage(self.wizard, self, grassdatabase)
File
"/opt/local/share/grass-6.4.2/etc/wxpython/gui_modules/location_wizard.py",
line 142, in __init__
self.sizer.AddGrowableCol(3)
File
"/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7
/site-packages/wx-2.9.4-osx_cocoa/wx/_core.py", line 15380, in
AddGrowableCol
return _core_.FlexGridSizer_AddGrowableCol(*args, **kwargs)
wx._core.PyAssertionError: C++ assertion "!m_cols || idx < (size_t)m_cols"
failed at ../src/common/sizer.cpp(1956) in AddGrowableCol(): invalid
column index
}}}
I was testing with wxPython 2.9.4.0.
--
Ticket URL: <https://trac.macports.org/ticket/36904#comment:14>
MacPorts <http://www.macports.org/>
Ports system for OS X
More information about the macports-tickets
mailing list