-
-
Notifications
You must be signed in to change notification settings - Fork 307
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Bug] winGRASS -subprocess ended with a non-zero return code #2255
Comments
see GRASS user ML
have a look into there |
@valterhydrodynamics , could you please try to install the |
see also here: #679 yes, it seems a dll/library clash of gdal and/or sqlite |
@valterhydrodynamics see also here https://githubmemory.com/repo/OSGeo/grass/issues/1579?page=2 could you open the OSGeo4W shell and type
and
into the shell here
|
This "déjà vu"! Le me see |
|
My results: C:\OSGeo4W\apps\qt5\bin; I don't have "C:\WINDOWS;" C:\OSGeo4W>gdalinfo --version |
I did this setup "gdal303-runtime", still the same issue |
Have you tried grass itself outside of qgis? |
Also:
|
Tried again the recent GRASS GIS 8.0.0-3 [https://grass.osgeo.org/], having the same issue: //
Welcome to GRASS GIS 8.0.0 Launching GUI in the background, please wait... C:\Users\Particular>Traceback (most recent call last): |
There is some dependencies dll hell going on, as something is in %PATH% interfering with OSGeo4W Some possible dll: sqlite IIRC in the grass wiki link, I've posted, there is some example how to use dependency Walker as a tool. Try to start winGRASS in the OSGeo4W shell by typing: grass80 In text mode, see if you can enter a grass Session and use dependency walker |
Not sure where is the link you mention, to be able to follow your example |
|
download dependency walker, here e.g.
then start the OSGeo4W shell and change into the directory where you unzipped dependency walker, here
and then start grass8 within the OSGeo4W shell, here
and follow the steps in the wiki
|
is the mentioned dll installed? |
do you have any other CAD or GIS installed on your box? |
Well The last page lines of both files say that there are some dependency issues (following figure) The lighter ascii file "depwalk_bin.log" [59.4 KB], doesn't contain the "gdal, sqlite, curl". The last lines, 711 - 712, have: Error: At least one required implicit or forwarded dependency was not found. Concerning the heavier file [1.28 MB]: I'm a little confused, any guidance is well appreciated |
Yes, HEC-HMS [https://www.hec.usace.army.mil/software/hec-hms/] also doesn't work properly . The development team said that should be some related with gdal ... |
Did to GNU Octave; GIMP; OBS-studio; OPENFOAM; FREECAD_019; HEC-HMS; PG_Admin; Autodesk. |
open the OSGeo4W shell and type
all should live in
and if there are more in %PATH%, more should be listed |
Reinstalled WINDOWS OS and now, runs well! |
Radical method ;-) though, fine it does work now. I guess something was sitting in c:\windows crashing gdal and co . Unfortunately it's very hard to solve dll hell issues in Windows. |
Just installed pgAdmin4, to work with PostgreSQL Postgis, with the setup packaged by EDB (1), and my winGRASS GIS 80 just don't run.
Welcome to GRASS GIS 8.0.1 Launching GUI in the background, please wait... C:\Users\Valter\Documents>Traceback (most recent call last): (1) https://www.enterprisedb.com/downloads/postgres-postgresql-downloads |
More notes: Do I need to repoint the environment variables, and how should be done? |
that could be the culprit.
what does this command in your box?
|
so it seems to be again a dll hell issue, as HEC-HMS doesn't work too. |
Here are the results, strange .... ones ... C:\OSGeo4W>share\proj C:\OSGeo4W> C:\OSGeo4W>\share\proj C:\OSGeo4W> |
Yes, again... |
Don't know if I deleted some question, sorry about that! |
It seems postgis PROJ is interfering with OSGeo4W PROJ. Maybe it's worth to bring this also to the postgis community. |
no clue here at the moment to solve this issue. |
Thanks, I will seek that "forum" |
I post the issue here: https://app.element.io/#/room/#postgis:osgeo.org I will give feedback, i hope! |
I had @valterhydrodynamics try changing his env and all look to be pointing at the osgeo4w install of proj and gdal paths so that doesn't seem to be the issue. |
Yesterday had a great help from Regina Obe [https://app.element.io/#/room/#postgis:osgeo.org] |
// |
Hi valter, i', facing the same issue. Can you please confirm that your solution was to setup a VM ? |
Describe the bug
To Reproduce
Steps to reproduce the behavior:
//
Launching GUI in the background, please wait...
Microsoft Windows [Version 10.0.19042.1526]
(c) Microsoft Corporation. Todos os direitos reservados.
C:\Users\Particular\Documents>Traceback (most recent call last):
File "C:\OSGeo4W\apps\Python39\lib\site-packages\wx\core.py", line 3407, in
lambda event: event.callable(*event.args, **event.kw) )
File "C:\OSGeo4W\apps\grass\grass80\gui\wxpython\wxgui.py", line 88, in show_main_gui
mainframe = GMFrame(parent=None, id=wx.ID_ANY, workspace=self.workspaceFile)
File "C:\OSGeo4W\apps\grass\grass80\gui\wxpython\lmgr\frame.py", line 156, in init
self._createConsole(self.notebook)
File "C:\OSGeo4W\apps\grass\grass80\gui\wxpython\lmgr\frame.py", line 379, in _createConsole
self.goutput = GConsoleWindow(
File "C:\OSGeo4W\apps\grass\grass80\gui\wxpython\gui_core\goutput.py", line 127, in init
self.cmdPrompt = GPromptSTC(
File "C:\OSGeo4W\apps\grass\grass80\gui\wxpython\gui_core\prompt.py", line 155, in init
GPrompt.init(self, parent=parent, giface=giface, menuModel=menuModel)
File "C:\OSGeo4W\apps\grass\grass80\gui\wxpython\gui_core\prompt.py", line 57, in init
self.mapList = self._getListOfMaps()
File "C:\OSGeo4W\apps\grass\grass80\gui\wxpython\gui_core\prompt.py", line 114, in _getListOfMaps
result["raster"] = grass.list_strings("raster")
File "C:\OSGeo4W\apps\grass\grass80\etc\python\grass\script\core.py", line 1462, in list_strings
for line in read_command(
File "C:\OSGeo4W\apps\grass\grass80\etc\python\grass\script\core.py", line 606, in read_command
return handle_errors(returncode, stdout, args, kwargs)
File "C:\OSGeo4W\apps\grass\grass80\etc\python\grass\script\core.py", line 429, in handle_errors
raise CalledModuleError(module=module, code=code, returncode=returncode)
grass.exceptions.CalledModuleError: Module run g.list --q -m type=raster ended with an error.
The subprocess ended with a non-zero return code: 3221225785. See errors above the traceback or in the error output.
//
grass.exceptions.CalledModuleError: Module run g.list --q -m type=raster ended with an error.
The subprocess ended with a non-zero return code: 3221225785. See errors above the traceback or in the error output.
Expected behavior
Should open the GUI or let execute GRASS GIS processing algorithm in inside QGIS processing toolbox.
Screenshots
#2253
System description (please complete the following information):
Additional context
Add any other context about the problem here.
The text was updated successfully, but these errors were encountered: