[GRASS-user] CalledModuleError:

Hi,

Does this list have an archive I could search?

I’m having problems with Grass. Initially I downloaded and installed QGIS x64 which comes with Grass. I ran the version of Grass that came with it. It seemed to work just fine until i got a python related error following the steps in a YouTube tutorial video. I uninstalled QGIS and downloaded grass 6.4.4. It wouldn’t start after I hit the start grass session. The splash screen would come up and the main menu would flash on the screen and go away. I looked in the event viewer and didn’t see anything.

I uninstalled that and installed Grass 7.0.0. It is working the same as 6.4.4. It seems to me that something is left behind from a previous installations, but i haven’t found anything after I uninstalled the Microsoft Visual C++ Redistributables from Add Remove programs in the Control Panel. I’ve noticed that when I install it it seems to remember my database directory from the previous install. Im running Win7 x64. Here are the messages Grass 7 shows me:

Cleaning up temporary files…

Starting GRASS GIS…

WARNING: Concurrent mapset locking is not supported on Windows


/ ____/ __ / | / ___/ ___/ / ____/ _/ ___/

/ / / // / /| | _ \ \ / / __ / / _ \

/ // / , / ___ |/ /__/ / / /_/ // / ___/ /

_// |// |/// _///___/

Welcome to GRASS GIS 7.0.0

GRASS GIS homepage: http://grass.osgeo.org

This version running through: Command Shell (C:\windows\system32\cmd.

exe)

Help is available with the command: g.manual -i

See the licence terms with: g.version -c

If required, restart the GUI with: g.gui wxpython

When ready to quit enter: exit

Launching GUI in the background, please wait…

Microsoft Windows [Version 6.1.7601]

Copyright (c) 2009 Microsoft Corporation. All rights reserved.

C:\Users\gofortex>Traceback (most recent call last):

File “C:\Program Files (x86)\GRASS GIS 7.0.0\gui\wxpython\wxgui.py”, line 142,

in

sys.exit(main())

File “C:\Program Files (x86)\GRASS GIS 7.0.0\gui\wxpython\wxgui.py”, line 134,

in main

app = GMApp(workspaceFile)

File “C:\Program Files (x86)\GRASS GIS 7.0.0\gui\wxpython\wxgui.py”, line 49,

in init

wx.App.init(self, False)

File "C:\Program Files (x86)\GRASS GIS 7.0.0\Python27\lib\site-packages\wx-2.8

-msw-unicode\wx_core.py", line 7981, in init

self._BootstrapApp()

File "C:\Program Files (x86)\GRASS GIS 7.0.0\Python27\lib\site-packages\wx-2.8

-msw-unicode\wx_core.py", line 7555, in _BootstrapApp

return core.PyApp__BootstrapApp(*args, **kwargs)

File “C:\Program Files (x86)\GRASS GIS 7.0.0\gui\wxpython\wxgui.py”, line 83,

in OnInit

workspace = self.workspaceFile)

File “C:\Program Files (x86)\GRASS GIS 7.0.0\gui\wxpython\lmgr\frame.py”, line

134, in init

self.notebook = self._createNoteBook()

File “C:\Program Files (x86)\GRASS GIS 7.0.0\gui\wxpython\lmgr\frame.py”, line

300, in _createNoteBook

gcstyle = GC_PROMPT)

File “C:\Program Files (x86)\GRASS GIS 7.0.0\gui\wxpython\gui_core\goutput.py”

, line 104, in init

self.cmdPrompt = GPromptSTC(parent=self, menuModel=self._menuModel)

File “C:\Program Files (x86)\GRASS GIS 7.0.0\gui\wxpython\gui_core\prompt.py”,

line 137, in init

GPrompt.init(self, parent = parent, menuModel = menuModel)

File “C:\Program Files (x86)\GRASS GIS 7.0.0\gui\wxpython\gui_core\prompt.py”,

line 56, in init

self.mapList = self._getListOfMaps()

File “C:\Program Files (x86)\GRASS GIS 7.0.0\gui\wxpython\gui_core\prompt.py”,

line 96, in _getListOfMaps

result[‘raster’] = grass.list_strings(‘raster’)

File “C:\Program Files (x86)\GRASS GIS 7.0.0\etc\python\grass\script\core.py”,

line 1110, in list_strings

mapset=mapset).splitlines():

File “C:\Program Files (x86)\GRASS GIS 7.0.0\etc\python\grass\script\core.py”,

line 427, in read_command

return handle_errors(returncode, stdout, args, kwargs)

File “C:\Program Files (x86)\GRASS GIS 7.0.0\etc\python\grass\script\core.py”,

line 310, in handle_errors

returncode=returncode)

grass.exceptions.CalledModuleError: Module run None [‘g.list’, ‘–q’, ‘-m’, 'typ

e=raster’] ended with error

Process ended with non-zero return code -1073741511. See errors in the (error) o

utput.

Eric Goforth
Raleigh, North Carolina, USA

On Thu, Apr 2, 2015 at 5:33 PM, Eric Goforth <ewgoforth@live.com> wrote:

Hi,

Does this list have an archive I could search?

Just use Google (or other search engine) with limit to a site:

site:lists.osgeo.org/pipermail/grass-user calledmoduleerror
https://www.google.com/#q=site:lists.osgeo.org%2Fpipermail%2Fgrass-user+calledmoduleerror

I’m having problems with Grass. Initially I downloaded and installed QGIS x64 which comes with Grass. I ran the version of Grass that came with it. It seemed to work just fine until i got a python related error following the steps in a YouTube tutorial video. I uninstalled QGIS and downloaded grass 6.4.4. It wouldn’t start after I hit the start grass session. The splash screen would come up and the main menu would flash on the screen and go away. I looked in the event viewer and didn’t see anything.

I uninstalled that and installed Grass 7.0.0. It is working the same as 6.4.4. It seems to me that something is left behind from a previous installations, but i haven’t found anything after I uninstalled the Microsoft Visual C++ Redistributables from Add Remove programs in the Control Panel. I’ve noticed that when I install it it seems to remember my database directory from the previous install. Im running Win7 x64. Here are the messages Grass 7 shows me:

grass.exceptions.CalledModuleError: Module run None [‘g.list’, ‘–q’, ‘-m’, 'typ

e=raster’] ended with error

Process ended with non-zero return code -1073741511. See errors in the (error) o

utput.

In order to debug this message, can you please run GRASS GIS in command line mode only (there should be item in the “start menu”)? If GRASS starts (command line) run

g.list -m type=raster

If you are able to access command line after the unsuccessful start of the GUI (what you did before), try to run the g.list too and see what happens.

From my inconclusive search on the internet it seems that -1073741511 might be related to some DLL problems. Some are described here:

http://grasswiki.osgeo.org/wiki/WinGRASS_errors

I’m not sure if it is good idea to go through all the errors if it does not seem that it is one of them. There was also some issue with another version of sqlite3 DLL(s) somewhere in the system. Removing helps, side effects unknown.

Eric Goforth
Raleigh, North Carolina, USA


grass-user mailing list
grass-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/grass-user