GDAL
February 28, 2018, 8:07pm
1
#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.4.1
Component: wxGUI | Version: 7.4.0
Keywords: | CPU: Unspecified
Platform: MSWindows 8 |
-------------------------+-------------------------
tested with
{{{
System Info
GRASS version: 7.5.svn
GRASS SVN revision: r72285
Build date: 2018-01-27
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)
}}}
after starting the GUI, there is following error message in the wxGUI
output window:
{{{
3D view mode not available: Reason: name '__int64' is not defined
}}}
--
Ticket URL: <https://trac.osgeo.org/grass/ticket/3506> ;
GRASS GIS <https://grass.osgeo.org >
GDAL
March 6, 2018, 8:03am
2
#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
--------------------------+-------------------------
Changes (by mmetz):
* version: 7.4.0 => svn-trunk
* milestone: 7.4.1 => 7.6.0
Comment:
Applies to trunk only. It seems to be a ctypes problem with the new 64
integer type.
--
Ticket URL: <https://trac.osgeo.org/grass/ticket/3506#comment:1> ;
GRASS GIS <https://grass.osgeo.org >
GDAL
March 6, 2018, 1:23pm
3
#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 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'`
--
Ticket URL: <https://trac.osgeo.org/grass/ticket/3506#comment:2> ;
GRASS GIS <https://grass.osgeo.org >
GDAL
March 8, 2018, 8:54am
4
#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@PERMANENT>...
Loading raster map <elevation@PERMANENT>...
Translating colors from raster map <elevation@PERMANENT>...
Switching back to 2D view mode...
Raster map <elevation@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 >
GDAL
March 8, 2018, 8:55am
5
#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 martinl):
Feel free to close the issue...
--
Ticket URL: <https://trac.osgeo.org/grass/ticket/3506#comment:4> ;
GRASS GIS <https://grass.osgeo.org >
GDAL
March 8, 2018, 9:20am
6
#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:4 martinl]:
> Feel free to close the issue...
not sure if anything more is needed; maybe mmetz can answer this.
--
Ticket URL: <https://trac.osgeo.org/grass/ticket/3506#comment:5> ;
GRASS GIS <https://grass.osgeo.org >
GDAL
March 8, 2018, 10:40am
7
#3506: 3D view mode not available: Reason: name '__int64' is not defined
--------------------------+-------------------------
Reporter: hellik | Owner: grass-dev@…
Type: defect | Status: closed
Priority: major | Milestone: 7.6.0
Component: wxGUI | Version: svn-trunk
Resolution: fixed | Keywords:
CPU: Unspecified | Platform: MSWindows 8
--------------------------+-------------------------
Changes (by mmetz):
* status: new => closed
* resolution: => fixed
Comment:
Replying to [comment:5 hellik]:
> Replying to [comment:4 martinl]:
> > Feel free to close the issue...
>
> not sure if anything more is needed; maybe mmetz can answer this.
Nothing else needed, closing as fixed.
--
Ticket URL: <https://trac.osgeo.org/grass/ticket/3506#comment:6> ;
GRASS GIS <https://grass.osgeo.org >