GDAL
November 26, 2015, 8:49pm
1
#2813: wxplot tools fails with wxPython 3
--------------------------------+-------------------------
Reporter: martinl | Owner: grass-dev@…
Type: defect | Status: new
Priority: blocker | Milestone: 7.1.0
Component: wxGUI | Version: unspecified
Keywords: wxplot, wxpython 3 | CPU: x86-64
Platform: Linux |
--------------------------------+-------------------------
wxGUI tools like Histogram or Profile fails with wxPython 3
{{{
OnHistogram
win = HistogramPlotFrame(parent = self, rasterList =
rasterList)
File "/opt/src/grass_trunk/dist.x86_64-unknown-linux-
gnu/gui/wxpython/wxplot/histogram.py", line 39, in __init__
BasePlotFrame.__init__(self, parent, size = size, **kwargs)
File "/opt/src/grass_trunk/dist.x86_64-unknown-linux-
gnu/gui/wxpython/wxplot/base.py", line 88, in __init__
self.client = plot.PlotCanvas(self)
File "/usr/lib/python2.7/dist-
packages/wx-3.0-gtk2/wx/lib/plot.py", line 598, in __init__
self.HandCursor = wx.Cursor(Hand.GetImage())
File "/usr/lib/python2.7/dist-
packages/wx-3.0-gtk2/wx/_gdi.py", line 1510, in __init__
_gdi_.Cursor_swiginit(self,_gdi_.new_Cursor(*args,
**kwargs))
TypeError
:
Required argument 'type' (pos 2) not found
}}}
--
Ticket URL: <https://trac.osgeo.org/grass/ticket/2813> ;
GRASS GIS <https://grass.osgeo.org >
GDAL
November 27, 2015, 9:54am
2
#2813: wxplot tools fails with wxPython 3
----------------------+--------------------------------
Reporter: martinl | Owner: grass-dev@…
Type: defect | Status: new
Priority: blocker | Milestone: 7.1.0
Component: wxGUI | Version: unspecified
Resolution: | Keywords: wxplot, wxpython 3
CPU: x86-64 | Platform: Linux
----------------------+--------------------------------
Comment (by neteler):
Please add the precise package version as well.
--
Ticket URL: <https://trac.osgeo.org/grass/ticket/2813#comment:1> ;
GRASS GIS <https://grass.osgeo.org >
GDAL
November 27, 2015, 10:35am
3
#2813: wxplot tools fails with wxPython 3
----------------------+--------------------------------
Reporter: martinl | Owner: grass-dev@…
Type: defect | Status: new
Priority: blocker | Milestone: 7.1.0
Component: wxGUI | Version: unspecified
Resolution: | Keywords: wxplot, wxpython 3
CPU: x86-64 | Platform: Linux
----------------------+--------------------------------
Comment (by mlennert):
This seems a duplicate of #2558 .
--
Ticket URL: <https://trac.osgeo.org/grass/ticket/2813#comment:2> ;
GRASS GIS <https://grass.osgeo.org >
GDAL
November 27, 2015, 11:24am
4
#2813: wxplot tools fails with wxPython 3
----------------------+--------------------------------
Reporter: martinl | Owner: grass-dev@…
Type: defect | Status: new
Priority: blocker | Milestone: 7.1.0
Component: wxGUI | Version: unspecified
Resolution: | Keywords: wxplot, wxpython 3
CPU: x86-64 | Platform: Linux
----------------------+--------------------------------
Comment (by neteler):
Replying to [comment:1 neteler]:
> Please add the precise package version as well.
I tried here: Using wxPython-3.0.2.0-7.fc23.x86_64 no such issue, works
fine.
--
Ticket URL: <https://trac.osgeo.org/grass/ticket/2813#comment:3> ;
GRASS GIS <https://grass.osgeo.org >
GDAL
November 27, 2015, 1:39pm
5
#2813: wxplot tools fails with wxPython 3
------------------------+--------------------------------
Reporter: martinl | Owner: grass-dev@…
Type: defect | Status: closed
Priority: blocker | Milestone: 7.1.0
Component: wxGUI | Version: unspecified
Resolution: duplicate | Keywords: wxplot, wxpython 3
CPU: x86-64 | Platform: Linux
------------------------+--------------------------------
Changes (by mlennert):
* status: new => closed
* resolution: => duplicate
Comment:
Replying to [comment:3 neteler]:
> Replying to [comment:1 neteler]:
> > Please add the precise package version as well.
>
> I tried here: Using wxPython-3.0.2.0-7.fc23.x86_64 no such issue, works
fine.
Yes, but [http://arm.koji.fedoraproject.org/koji/buildinfo?buildID=318723
here] you can read that this fedora version contains specific patches for
that issue:
{{{
* Sun Jan 04 2015 Scott Talbert <swt@techie.net> - 3.0.2.0-2 - Added
patches for fixing crash in GetXWindow() and wx.lib.plot bugs
}}}
So IIUC, if people have 3.0.2 without those patches it won't work.
I am closing this ticket now, as it is a duplicate of #2558 , so that we
don't have two parallel discussions of the issue.
--
Ticket URL: <https://trac.osgeo.org/grass/ticket/2813#comment:4> ;
GRASS GIS <https://grass.osgeo.org >
GDAL
November 27, 2015, 6:34pm
6
#2813: wxplot tools fails with wxPython 3
------------------------+--------------------------------
Reporter: martinl | Owner: grass-dev@…
Type: defect | Status: closed
Priority: blocker | Milestone: 7.1.0
Component: wxGUI | Version: unspecified
Resolution: duplicate | Keywords: wxplot, wxpython 3
CPU: x86-64 | Platform: Linux
------------------------+--------------------------------
Comment (by martinl):
Replying to [comment:4 mlennert]:
{{{
> * Sun Jan 04 2015 Scott Talbert <swt@techie.net> - 3.0.2.0-2 - Added
patches for fixing crash in GetXWindow() and wx.lib.plot bugs
}}}
confirmed, I have
{{{
'3.0.2.0'
}}}
--
Ticket URL: <https://trac.osgeo.org/grass/ticket/2813#comment:5> ;
GRASS GIS <https://grass.osgeo.org >
GDAL
April 30, 2016, 9:51pm
7
#2813: wxplot tools fails with wxPython 3
------------------------+--------------------------------
Reporter: martinl | Owner: grass-dev@…
Type: defect | Status: closed
Priority: blocker | Milestone: 7.1.0
Component: wxGUI | Version: unspecified
Resolution: duplicate | Keywords: wxplot, wxpython 3
CPU: x86-64 | Platform: Linux
------------------------+--------------------------------
Comment (by cmbarton):
Here is the error I get on the Mac for the profile tool (similar to
histogram tool). wxPython 3.2.0 and system Python 2.7. OS X 10.10.5
{{{
Traceback (most recent call last):
File "/Applications/GRASS-7.1_64bit.app/Contents/MacOS/gui
/wxpython/mapdisp/frame.py", line 1074, in OnProfile
self.Profile(rasters=rasters)
File "/Applications/GRASS-7.1_64bit.app/Contents/MacOS/gui
/wxpython/mapdisp/frame.py", line 1082, in Profile
controller=self.profileController)
File "/Applications/GRASS-7.1_64bit.app/Contents/MacOS/gui
/wxpython/wxplot/profile.py", line 52, in __init__
BasePlotFrame.__init__(self, parent=parent, size=size,
**kwargs)
File "/Applications/GRASS-7.1_64bit.app/Contents/MacOS/gui
/wxpython/wxplot/base.py", line 88, in __init__
self.client = plot.PlotCanvas(self)
File "/Applications/GRASS-7.1_64bit.app/Contents/MacOS/etc
/python/wx/lib/plot.py", line 598, in __init__
}}}
--
Ticket URL: <https://trac.osgeo.org/grass/ticket/2813#comment:6> ;
GRASS GIS <https://grass.osgeo.org >