Ticket #1543 (closed defect: fixed)
WXGUI GDAL/OGR import dialogs fail to open in WinGRASS
| Reported by: | marisn | Owned by: | martinl |
|---|---|---|---|
| Priority: | blocker | Milestone: | 6.5.0 |
| Component: | wxGUI | Version: | svn-releasebranch64 |
| Keywords: | wingrass, wxpython 2.8.12.1 | Cc: | grass-dev@… |
| Platform: | MSWindows Vista | CPU: | Unspecified |
Description
WinGRASS-6.4.SVN-r50399-1-Setup on Vista selecting import raster/vector from wxgui results in following error:
Traceback (most recent call last): File "c:/Program Files/GRASS 6.4.SVN/etc/wxpython/wxgui.py", line 1137, in OnImportGdalLayers dlg = gdialogs.GdalImportDialog(parent = self) File "c:\Program Files\GRASS 6.4.SVN\etc\wxpython\gui_modules\gdialogs.py", line 1251, in __init__ self.dsnInput = gselect.GdalSelect(parent = self, panel = self.panel, ogr = ogr) File "c:\Program Files\GRASS 6.4.SVN\etc\wxpython\gui_modules\gselect.py", line 1155, in __init__ ogr = ogr) File "c:\Program Files\GRASS 6.4.SVN\etc\wxpython\gui_modules\gselect.py", line 957, in __init__ style = wx.CB_READONLY, **kwargs) File "C:\Program Files\GRASS 6.4.SVN\Python27\lib\site- packages\wx-2.8-msw-unicode\wx\_controls.py", line 494, in __init__ _controls_.Choice_swiginit(self,_controls_.new_Choice(*args, **kwargs)) wx._core . PyAssertionError : C++ assertion "!(style & wxCB_DROPDOWN) && !(style & wxCB_READONLY) && !(style & wxCB_SIMPLE)" failed at ..\..\src\msw\choice.cpp(121) in wxChoice::Create(): this style flag is ignored by wxChoice, you probably want to use a wxComboBox Traceback (most recent call last): File "c:/Program Files/GRASS 6.4.SVN/etc/wxpython/wxgui.py", line 1149, in OnImportOgrLayers dlg = gdialogs.GdalImportDialog(parent = self, ogr = True) File "c:\Program Files\GRASS 6.4.SVN\etc\wxpython\gui_modules\gdialogs.py", line 1251, in __init__ self.dsnInput = gselect.GdalSelect(parent = self, panel = self.panel, ogr = ogr) File "c:\Program Files\GRASS 6.4.SVN\etc\wxpython\gui_modules\gselect.py", line 1155, in __init__ ogr = ogr) File "c:\Program Files\GRASS 6.4.SVN\etc\wxpython\gui_modules\gselect.py", line 957, in __init__ style = wx.CB_READONLY, **kwargs) File "C:\Program Files\GRASS 6.4.SVN\Python27\lib\site- packages\wx-2.8-msw-unicode\wx\_controls.py", line 494, in __init__ _controls_.Choice_swiginit(self,_controls_.new_Choice(*args, **kwargs)) wx._core . PyAssertionError : C++ assertion "!(style & wxCB_DROPDOWN) && !(style & wxCB_READONLY) && !(style & wxCB_SIMPLE)" failed at ..\..\src\msw\choice.cpp(121) in wxChoice::Create(): this style flag is ignored by wxChoice, you probably want to use a wxComboBox
As this can be considered a core functionality, blocking release till it's fixed.
Change History
Note: See
TracTickets for help on using
tickets.
