[GRASS-dev] [GRASS GIS] #3094: wxGUI: error when profiling a raster map
GRASS GIS
trac at osgeo.org
Fri Nov 11 01:58:34 PST 2016
#3094: wxGUI: error when profiling a raster map
---------------------+-------------------------
Reporter: hellik | Owner: grass-dev@…
Type: defect | Status: reopened
Priority: normal | Milestone: 7.0.5
Component: wxGUI | Version: svn-trunk
Resolution: | Keywords:
CPU: x86-64 | Platform: MSWindows 8
---------------------+-------------------------
Comment (by hellik):
Replying to [comment:3 hellik]:
> Replying to [comment:1 martinl]:
> > Should be fixed in 7.0.5svn.
>
> now tested with
>
> {{{
> System Info
> GRASS version: 7.0.5
> GRASS SVN Revision: 69636
> Build Date: 2016-10-02
> Build Platform: x86_64-w64-mingw32
> GDAL/OGR: 2.1.1
> PROJ.4: 4.9.3
> GEOS: 3.5.0
> SQLite: 3.14.1
> Python: 2.7.5
> wxPython: 2.8.12.1
> Platform: Windows-8-6.2.9200 (OSGeo4W)
> }}}
>
> {{{
> Traceback (most recent call last):
> File "C:\OSGEO4~1\apps\grass\grass-7.0.5\gui\wxpython\mapd
> isp\frame.py", line 1044, in OnProfile
>
> self.Profile(rasters=rasters)
> File "C:\OSGEO4~1\apps\grass\grass-7.0.5\gui\wxpython\mapd
> isp\frame.py", line 1052, in Profile
>
> controller=self.profileController)
> File "C:\OSGEO4~1\apps\grass\grass-7.0.5\gui\wxpython\wxpl
> ot\profile.py", line 56, in __init__
>
> BasePlotFrame.__init__(self, parent=parent, size=size,
> **kwargs)
> File "C:\OSGEO4~1\apps\grass\grass-7.0.5\gui\wxpython\wxpl
> ot\base.py", line 92, in __init__
>
> self.client = plot.PlotCanvas(self)
> NameError
> :
> global name 'plot' is not defined
> }}}
>
> also in the 7.0.x-line still an issue.
see https://trac.osgeo.org/grass/ticket/3057#comment:18
standalone GRASS GIS 7.2.svn works without any problems; trying it with
the setup in #3057#comment:18 (standalone winGRASS pointing to the
OSGeo4W-python stuff), then I get the same error as reported above.
conclusion: the numpy startup issue (#3057) and this failing are
interconnected!
--
Ticket URL: <https://trac.osgeo.org/grass/ticket/3094#comment:4>
GRASS GIS <https://grass.osgeo.org>
More information about the grass-dev
mailing list