[GRASS-dev] [GRASS GIS] #3506: 3D view mode not available: Reason: name '__int64' is not defined
GRASS GIS
trac at osgeo.org
Thu Mar 8 00:54:44 PST 2018
#3506: 3D view mode not available: Reason: name '__int64' is not defined
--------------------------+-------------------------
Reporter: hellik | Owner: grass-dev@…
Type: defect | Status: new
Priority: major | Milestone: 7.6.0
Component: wxGUI | Version: svn-trunk
Resolution: | Keywords:
CPU: Unspecified | Platform: MSWindows 8
--------------------------+-------------------------
Comment (by hellik):
Replying to [comment:2 mmetz]:
> Replying to [comment:1 mmetz]:
> > Applies to trunk only. It seems to be a ctypes problem with the new 64
integer type.
>
> The problem is apparently in
[https://trac.osgeo.org/grass/browser/grass/trunk/lib/python/ctypes/ctypesgencore/ctypedescs.py#L26
ctypedescs.py]: the `ctypes_type_map` does not include `__int64` if
`sys.platform == 'win32'`
tested now with
{{{
System Info
GRASS version: 7.5.svn
GRASS SVN revision: r72331
Build date: 2018-03-07
Build platform: x86_64-w64-mingw32
GDAL: 2.2.3
PROJ.4: 4.9.3
GEOS: 3.5.0
SQLite: 3.17.0
Python: 2.7.5
wxPython: 2.8.12.1
Platform: Windows-8-6.2.9200 (OSGeo4W)
}}}
{{{
Starting 3D view mode...
Loading raster map <elevation at PERMANENT>...
Loading raster map <elevation at PERMANENT>...
Translating colors from raster map <elevation at PERMANENT>...
Switching back to 2D view mode...
Raster map <elevation at PERMANENT> unloaded successfully
}}}
r72328 seems to fix this issue.
--
Ticket URL: <https://trac.osgeo.org/grass/ticket/3506#comment:3>
GRASS GIS <https://grass.osgeo.org>
More information about the grass-dev
mailing list