[GRASS-dev] OSGeo4W-winGRASS - for anyone working?

there were quite a lot changes lately in the OSGeo4W environment.

-----------------------------------

trying to start the long installed GRASS 7.4.1

C:\>Traceback (most recent call last):
  File "C:\OSGEO4~1\apps\grass\grass-7.4.1\gui\wxpython\wxgui.py", line 167,
in <module>
    sys.exit(main())
  File "C:\OSGEO4~1\apps\grass\grass-7.4.1\gui\wxpython\wxgui.py", line 154,
in main
    app = GMApp(workspaceFile)
  File "C:\OSGEO4~1\apps\grass\grass-7.4.1\gui\wxpython\wxgui.py", line 48,
in __init__
    wx.App.__init__(self, False)
  File
"C:\OSGEO4~1\apps\Python27\lib\site-packages\wx-2.8-msw-unicode\wx\_core.py",
line 7981, in __init__
    self._BootstrapApp()
  File
"C:\OSGEO4~1\apps\Python27\lib\site-packages\wx-2.8-msw-unicode\wx\_core.py",
line 7555, in _BootstrapApp
    return _core_.PyApp__BootstrapApp(*args, **kwargs)
  File "C:\OSGEO4~1\apps\grass\grass-7.4.1\gui\wxpython\wxgui.py", line 99,
in OnInit
    from lmgr.frame import GMFrame
  File "C:\OSGEO4~1\apps\grass\grass-7.4.1\gui\wxpython\lmgr\frame.py", line
50, in <module>
    from lmgr.layertree import LayerTree, LMIcons
  File "C:\OSGEO4~1\apps\grass\grass-7.4.1\gui\wxpython\lmgr\layertree.py",
line 38, in <module>
    from mapdisp.frame import MapFrame
  File "C:\OSGEO4~1\apps\grass\grass-7.4.1\gui\wxpython\mapdisp\frame.py",
line 33, in <module>
    from mapdisp.toolbars import MapToolbar, NvizIcons
  File
"C:\OSGEO4~1\apps\grass\grass-7.4.1\gui\wxpython\mapdisp\toolbars.py", line
22, in <module>
    from nviz.main import haveNviz
  File "C:\OSGEO4~1\apps\grass\grass-7.4.1\gui\wxpython\nviz\main.py", line
24, in <module>
    from nviz import mapwindow
  File "C:\OSGEO4~1\apps\grass\grass-7.4.1\gui\wxpython\nviz\mapwindow.py",
line 42, in <module>
    from nviz.workspace import NvizSettings
  File "C:\OSGEO4~1\apps\grass\grass-7.4.1\gui\wxpython\nviz\workspace.py",
line 23, in <module>
    from nviz import wxnviz
  File "C:\OSGEO4~1\apps\grass\grass-7.4.1\gui\wxpython\nviz\wxnviz.py",
line 45, in <module>
    from grass.lib.raster3d import *
  File
"C:\OSGEO4~1\apps\grass\grass-7.4.1\etc\python\grass\lib\raster3d.py", line
23, in <module>
    _libs["grass_g3d.7.4.1"] = load_library("grass_g3d.7.4.1")
  File
"C:\OSGEO4~1\apps\grass\grass-7.4.1\etc\python\grass\lib\ctypes_loader.py",
line 62, in load_library
    return self.load(path)
  File
"C:\OSGEO4~1\apps\grass\grass-7.4.1\etc\python\grass\lib\ctypes_loader.py",
line 240, in load
    return _WindowsLibrary(path)
  File
"C:\OSGEO4~1\apps\grass\grass-7.4.1\etc\python\grass\lib\ctypes_loader.py",
line 223, in __init__
    self.cdll = ctypes.cdll.LoadLibrary(path)
  File "C:\OSGEO4~1\apps\Python27\lib\ctypes\__init__.py", line 444, in
LoadLibrary
    return self._dlltype(name)
  File "C:\OSGEO4~1\apps\Python27\lib\ctypes\__init__.py", line 366, in
__init__
    self._handle = _dlopen(self._name, mode)
WindowsError: [Error 193] %1 ist keine zulõssige Win32-Anwendung

-----------------------------------

starting GRASS 7.7.svn

C:\>wxnviz.py: [Error 193] %1 ist keine zulõssige Win32-Anwendung
wxdigit.py: [Error 193] %1 ist keine zulõssige Win32-Anwendung
wxdigit.py: [Error 193] %1 ist keine zulõssige Win32-Anwendung
Traceback (most recent call last):
  File "C:\OSGEO4~1\apps\grass\grass-7.7.svn\gui\wxpython\wxgui.py", line
169, in <module>
    sys.exit(main())
  File "C:\OSGEO4~1\apps\grass\grass-7.7.svn\gui\wxpython\wxgui.py", line
156, in main
    app = GMApp(workspaceFile)
  File "C:\OSGEO4~1\apps\grass\grass-7.7.svn\gui\wxpython\wxgui.py", line
50, in __init__
    wx.App.__init__(self, False)
  File
"C:\OSGEO4~1\apps\Python27\lib\site-packages\wx-2.8-msw-unicode\wx\_core.py",
line 7981, in __init__
    self._BootstrapApp()
  File
"C:\OSGEO4~1\apps\Python27\lib\site-packages\wx-2.8-msw-unicode\wx\_core.py",
line 7555, in _BootstrapApp
    return _core_.PyApp__BootstrapApp(*args, **kwargs)
  File "C:\OSGEO4~1\apps\grass\grass-7.7.svn\gui\wxpython\wxgui.py", line
103, in OnInit
    workspace=self.workspaceFile)
  File "C:\OSGEO4~1\apps\grass\grass-7.7.svn\gui\wxpython\lmgr\frame.py",
line 143, in __init__
    self.notebook = self._createNoteBook()
  File "C:\OSGEO4~1\apps\grass\grass-7.7.svn\gui\wxpython\lmgr\frame.py",
line 338, in _createNoteBook
    gcstyle=GC_PROMPT)
  File
"C:\OSGEO4~1\apps\grass\grass-7.7.svn\gui\wxpython\gui_core\goutput.py",
line 119, in __init__
    self.cmdPrompt = GPromptSTC(parent=self, menuModel=self._menuModel)
  File
"C:\OSGEO4~1\apps\grass\grass-7.7.svn\gui\wxpython\gui_core\prompt.py", line
139, in __init__
    GPrompt.__init__(self, parent=parent, menuModel=menuModel)
  File
"C:\OSGEO4~1\apps\grass\grass-7.7.svn\gui\wxpython\gui_core\prompt.py", line
57, in __init__
    self.mapList = self._getListOfMaps()
  File
"C:\OSGEO4~1\apps\grass\grass-7.7.svn\gui\wxpython\gui_core\prompt.py", line
101, in _getListOfMaps
    result['raster'] = grass.list_strings('raster')
  File
"C:\OSGEO4~1\apps\grass\grass-7.7.svn\etc\python\grass\script\core.py", line
1296, in list_strings
    mapset=mapset).splitlines():
  File
"C:\OSGEO4~1\apps\grass\grass-7.7.svn\etc\python\grass\script\core.py", line
511, in read_command
    return handle_errors(returncode, stdout, args, kwargs)
  File
"C:\OSGEO4~1\apps\grass\grass-7.7.svn\etc\python\grass\script\core.py", line
351, in handle_errors
    returncode=returncode)
grass.exceptions.CalledModuleError: Module run None g.list--q-mtype=raster
ended with error
Process ended with non-zero return code -1073741701. See errors in the
(error) output.

C:\>g.version -g
version=7.7.svn
date=2018
revision=r73564
build_date=2018-10-17
build_platform=x86_64-w64-mingw32
build_off_t_size=8

---------------------------------

any idea?

-----
best regards
Helmut
--
Sent from: http://osgeo-org.1560.x6.nabble.com/Grass-Dev-f3991897.html

oh my!

I’ll teach a one week course to windows users next week and I strongly recommend students to install GRASS through OSGeo4W because it is the easiest way to use bash tricks… I’m kinda panicking with this email, I tested 3 weeks ago or so and all worked just fine…

El jue., 18 oct. 2018 a las 21:11, Helmut Kudrnovsky (<hellik@web.de>) escribió:

there were quite a lot changes lately in the OSGeo4W environment.


trying to start the long installed GRASS 7.4.1

C:>Traceback (most recent call last):
File “C:\OSGEO4~1\apps\grass\grass-7.4.1\gui\wxpython\wxgui.py”, line 167,
in
sys.exit(main())
File “C:\OSGEO4~1\apps\grass\grass-7.4.1\gui\wxpython\wxgui.py”, line 154,
in main
app = GMApp(workspaceFile)
File “C:\OSGEO4~1\apps\grass\grass-7.4.1\gui\wxpython\wxgui.py”, line 48,
in init
wx.App.init(self, False)
File
“C:\OSGEO4~1\apps\Python27\lib\site-packages\wx-2.8-msw-unicode\wx_core.py”,
line 7981, in init
self._BootstrapApp()
File
“C:\OSGEO4~1\apps\Python27\lib\site-packages\wx-2.8-msw-unicode\wx_core.py”,
line 7555, in _BootstrapApp
return core.PyApp__BootstrapApp(*args, **kwargs)
File “C:\OSGEO4~1\apps\grass\grass-7.4.1\gui\wxpython\wxgui.py”, line 99,
in OnInit
from lmgr.frame import GMFrame
File “C:\OSGEO4~1\apps\grass\grass-7.4.1\gui\wxpython\lmgr\frame.py”, line
50, in
from lmgr.layertree import LayerTree, LMIcons
File “C:\OSGEO4~1\apps\grass\grass-7.4.1\gui\wxpython\lmgr\layertree.py”,
line 38, in
from mapdisp.frame import MapFrame
File “C:\OSGEO4~1\apps\grass\grass-7.4.1\gui\wxpython\mapdisp\frame.py”,
line 33, in
from mapdisp.toolbars import MapToolbar, NvizIcons
File
“C:\OSGEO4~1\apps\grass\grass-7.4.1\gui\wxpython\mapdisp\toolbars.py”, line
22, in
from nviz.main import haveNviz
File “C:\OSGEO4~1\apps\grass\grass-7.4.1\gui\wxpython\nviz\main.py”, line
24, in
from nviz import mapwindow
File “C:\OSGEO4~1\apps\grass\grass-7.4.1\gui\wxpython\nviz\mapwindow.py”,
line 42, in
from nviz.workspace import NvizSettings
File “C:\OSGEO4~1\apps\grass\grass-7.4.1\gui\wxpython\nviz\workspace.py”,
line 23, in
from nviz import wxnviz
File “C:\OSGEO4~1\apps\grass\grass-7.4.1\gui\wxpython\nviz\wxnviz.py”,
line 45, in
from grass.lib.raster3d import *
File
“C:\OSGEO4~1\apps\grass\grass-7.4.1\etc\python\grass\lib\raster3d.py”, line
23, in
_libs[“grass_g3d.7.4.1”] = load_library(“grass_g3d.7.4.1”)
File
“C:\OSGEO4~1\apps\grass\grass-7.4.1\etc\python\grass\lib\ctypes_loader.py”,
line 62, in load_library
return self.load(path)
File
“C:\OSGEO4~1\apps\grass\grass-7.4.1\etc\python\grass\lib\ctypes_loader.py”,
line 240, in load
return WindowsLibrary(path)
File
“C:\OSGEO4~1\apps\grass\grass-7.4.1\etc\python\grass\lib\ctypes_loader.py”,
line 223, in init
self.cdll = ctypes.cdll.LoadLibrary(path)
File "C:\OSGEO4~1\apps\Python27\lib\ctypes_init
.py", line 444, in
LoadLibrary
return self.dlltype(name)
File "C:\OSGEO4~1\apps\Python27\lib\ctypes_init
.py", line 366, in
init
self._handle = _dlopen(self._name, mode)
WindowsError: [Error 193] %1 ist keine zulõssige Win32-Anwendung


starting GRASS 7.7.svn

C:>wxnviz.py: [Error 193] %1 ist keine zulõssige Win32-Anwendung
wxdigit.py: [Error 193] %1 ist keine zulõssige Win32-Anwendung
wxdigit.py: [Error 193] %1 ist keine zulõssige Win32-Anwendung
Traceback (most recent call last):
File “C:\OSGEO4~1\apps\grass\grass-7.7.svn\gui\wxpython\wxgui.py”, line
169, in
sys.exit(main())
File “C:\OSGEO4~1\apps\grass\grass-7.7.svn\gui\wxpython\wxgui.py”, line
156, in main
app = GMApp(workspaceFile)
File “C:\OSGEO4~1\apps\grass\grass-7.7.svn\gui\wxpython\wxgui.py”, line
50, in init
wx.App.init(self, False)
File
“C:\OSGEO4~1\apps\Python27\lib\site-packages\wx-2.8-msw-unicode\wx_core.py”,
line 7981, in init
self._BootstrapApp()
File
“C:\OSGEO4~1\apps\Python27\lib\site-packages\wx-2.8-msw-unicode\wx_core.py”,
line 7555, in _BootstrapApp
return core.PyApp__BootstrapApp(*args, **kwargs)
File “C:\OSGEO4~1\apps\grass\grass-7.7.svn\gui\wxpython\wxgui.py”, line
103, in OnInit
workspace=self.workspaceFile)
File “C:\OSGEO4~1\apps\grass\grass-7.7.svn\gui\wxpython\lmgr\frame.py”,
line 143, in init
self.notebook = self._createNoteBook()
File “C:\OSGEO4~1\apps\grass\grass-7.7.svn\gui\wxpython\lmgr\frame.py”,
line 338, in _createNoteBook
gcstyle=GC_PROMPT)
File
“C:\OSGEO4~1\apps\grass\grass-7.7.svn\gui\wxpython\gui_core\goutput.py”,
line 119, in init
self.cmdPrompt = GPromptSTC(parent=self, menuModel=self._menuModel)
File
“C:\OSGEO4~1\apps\grass\grass-7.7.svn\gui\wxpython\gui_core\prompt.py”, line
139, in init
GPrompt.init(self, parent=parent, menuModel=menuModel)
File
“C:\OSGEO4~1\apps\grass\grass-7.7.svn\gui\wxpython\gui_core\prompt.py”, line
57, in init
self.mapList = self._getListOfMaps()
File
“C:\OSGEO4~1\apps\grass\grass-7.7.svn\gui\wxpython\gui_core\prompt.py”, line
101, in _getListOfMaps
result[‘raster’] = grass.list_strings(‘raster’)
File
“C:\OSGEO4~1\apps\grass\grass-7.7.svn\etc\python\grass\script\core.py”, line
1296, in list_strings
mapset=mapset).splitlines():
File
“C:\OSGEO4~1\apps\grass\grass-7.7.svn\etc\python\grass\script\core.py”, line
511, in read_command
return handle_errors(returncode, stdout, args, kwargs)
File
“C:\OSGEO4~1\apps\grass\grass-7.7.svn\etc\python\grass\script\core.py”, line
351, in handle_errors
returncode=returncode)
grass.exceptions.CalledModuleError: Module run None g.list–q-mtype=raster
ended with error
Process ended with non-zero return code -1073741701. See errors in the
(error) output.

C:>g.version -g
version=7.7.svn
date=2018
revision=r73564
build_date=2018-10-17
build_platform=x86_64-w64-mingw32
build_off_t_size=8


any idea?


best regards
Helmut

Sent from: http://osgeo-org.1560.x6.nabble.com/Grass-Dev-f3991897.html


grass-dev mailing list
grass-dev@lists.osgeo.org
https://lists.osgeo.org/mailman/listinfo/grass-dev

oh my!
I'll teach a one week course to windows users next week and I strongly

recommend students to install >GRASS through OSGeo4W because it is the
easiest way to use bash tricks... I'm kinda panicking with this >email, I
tested 3 weeks ago or so and all worked just fine...

it seems to be like a dll mismatch about new and old dependencies libraries.

anyone can test on other systems? maybe before upgrading the libraries in
osgeo4w.

-----
best regards
Helmut
--
Sent from: http://osgeo-org.1560.x6.nabble.com/Grass-Dev-f3991897.html

El jue., 18 oct. 2018 a las 21:38, Helmut Kudrnovsky (<hellik@web.de>) escribió:

oh my!
I’ll teach a one week course to windows users next week and I strongly
recommend students to install >GRASS through OSGeo4W because it is the
easiest way to use bash tricks… I’m kinda panicking with this >email, I
tested 3 weeks ago or so and all worked just fine…

it seems to be like a dll mismatch about new and old dependencies libraries.

and is this fix-able? I’m fully screwed otherwise :frowning:

anyone can test on other systems? maybe before upgrading the libraries in
osgeo4w.


best regards
Helmut

Sent from: http://osgeo-org.1560.x6.nabble.com/Grass-Dev-f3991897.html


grass-dev mailing list
grass-dev@lists.osgeo.org
https://lists.osgeo.org/mailman/listinfo/grass-dev

Hi,

čt 18. 10. 2018 v 21:51 odesílatel Veronica Andreo
<veroandreo@gmail.com> napsal:

and is this fix-able? I'm fully screwed otherwise :frowning:

I will test today on my Windows VM. Tomorrow I can rebuild grass-7.4.1
using new deps. It should fix the issue. Ma

--
Martin Landa
http://geo.fsv.cvut.cz/gwiki/Landa
http://gismentors.cz/mentors/landa

Ciao,

čt 18. 10. 2018 v 21:57 odesílatel Martin Landa <landa.martin@gmail.com> napsal:

I will test today on my Windows VM. Tomorrow I can rebuild grass-7.4.1
using new deps. It should fix the issue. Ma

issue confirmed. grass-7.4.1 package rebuild triggred. I hope it will
help. Will see tomorrow morning. Ma

--
Martin Landa
http://geo.fsv.cvut.cz/gwiki/Landa
http://gismentors.cz/mentors/landa

Hi,

čt 18. 10. 2018 v 22:15 odesílatel Martin Landa <landa.martin@gmail.com> napsal:

issue confirmed. grass-7.4.1 package rebuild triggred. I hope it will
help. Will see tomorrow morning. Ma

bad news, with new build the problem remains. Ma

--
Martin Landa
http://geo.fsv.cvut.cz/gwiki/Landa
http://gismentors.cz/mentors/landa

Hi,

pá 19. 10. 2018 v 10:14 odesílatel Martin Landa <landa.martin@gmail.com> napsal:

bad news, with new build the problem remains. Ma

I hopefully found it. GRASS is still linked to proj4 (proj.dll) and
and not proj5 (proj_5_2.dll). Rebuild triggered. Fingers crossed. Ma

--
Martin Landa
http://geo.fsv.cvut.cz/gwiki/Landa
http://gismentors.cz/mentors/landa

* Martin Landa <landa.martin@gmail.com> [2018-10-19 10:31:01 +0200]:

Hi,

pá 19. 10. 2018 v 10:14 odesílatel Martin Landa <landa.martin@gmail.com> napsal:

bad news, with new build the problem remains. Ma

I hopefully found it. GRASS is still linked to proj4 (proj.dll) and
and not proj5 (proj_5_2.dll). Rebuild triggered. Fingers crossed. Ma

I can also test the installation, as I am trying to find an easy way to
get an Add-on working (through QGIS though) under Windows.

Nikos

Hi,

pá 19. 10. 2018 v 10:31 odesílatel Martin Landa <landa.martin@gmail.com> napsal:

I hopefully found it. GRASS is still linked to proj4 (proj.dll) and
and not proj5 (proj_5_2.dll). Rebuild triggered. Fingers crossed. Ma

good news: newly upload 64bit grass package (grass-7.4.1-3) is fixed
(GRASS GUI starts, raster and vector map displayed).

TODO:

* fix also 32bit version
* rebuild 7.4.2RC2 packages
* fix daily builds (still broken)

Ma

--
Martin Landa
http://geo.fsv.cvut.cz/gwiki/Landa
http://gismentors.cz/mentors/landa

good news: newly upload 64bit grass package (grass-7.4.1-3) is fixed

confirmed, grass-7.4.1-3 64bit is up again! thanks!

-----
best regards
Helmut
--
Sent from: http://osgeo-org.1560.x6.nabble.com/Grass-Dev-f3991897.html

Thanks a million, @Martin!!! :slight_smile:

El vie., 19 oct. 2018 a las 17:11, Helmut Kudrnovsky (<hellik@web.de>) escribió:

good news: newly upload 64bit grass package (grass-7.4.1-3) is fixed

confirmed, grass-7.4.1-3 64bit is up again! thanks!


best regards
Helmut

Sent from: http://osgeo-org.1560.x6.nabble.com/Grass-Dev-f3991897.html


grass-dev mailing list
grass-dev@lists.osgeo.org
https://lists.osgeo.org/mailman/listinfo/grass-dev

pá 19. 10. 2018 v 12:23 odesílatel Martin Landa <landa.martin@gmail.com> napsal:

update:

* fix also 32bit version

done

* rebuild 7.4.2RC2 packages

done, including standalone installer [1].

* fix daily builds (still broken)

64bit were built, 32bit still broken (strangely)

Martin

[1] https://grass.osgeo.org/grass74/binary/mswindows/native/x86_64/WinGRASS-7.4.2RC2-2-Setup-x86_64.exe

--
Martin Landa
http://geo.fsv.cvut.cz/gwiki/Landa
http://gismentors.cz/mentors/landa

pá 19. 10. 2018 v 17:57 odesílatel Veronica Andreo
<veroandreo@gmail.com> napsal:

Thanks a million, @Martin!!! :slight_smile:

you are welcome :slight_smile: Ma
--
Martin Landa
http://geo.fsv.cvut.cz/gwiki/Landa
http://gismentors.cz/mentors/landa

* fix daily builds (still broken)

64bit were built,

confirmed, 64bit daily builds are up again. thanks Martin!

-----
best regards
Helmut
--
Sent from: http://osgeo-org.1560.x6.nabble.com/Grass-Dev-f3991897.html

* Martin Landa <landa.martin@gmail.com> [2018-10-20 21:03:39 +0200]:

pá 19. 10. 2018 v 12:23 odesílatel Martin Landa <landa.martin@gmail.com> napsal:

update:

* fix also 32bit version

done

* rebuild 7.4.2RC2 packages

done, including standalone installer [1].

This works for me too.
Thank you Marting for the hard work, all this years.

Nikos

* fix daily builds (still broken)

64bit were built, 32bit still broken (strangely)

Martin

[1] https://grass.osgeo.org/grass74/binary/mswindows/native/x86_64/WinGRASS-7.4.2RC2-2-Setup-x86_64.exe

so 20. 10. 2018 v 21:03 odesílatel Martin Landa <landa.martin@gmail.com> napsal:

64bit were built, 32bit still broken (strangely)

32bit daily builds are back. Ma

--
Martin Landa
http://geo.fsv.cvut.cz/gwiki/Landa
http://gismentors.cz/mentors/landa