[GRASS-user] r.hazard.flood.py Grass 6.4.3RC1

Hi All,

I’m getting the following error trying to execute the r.hazard.flood python script. The module will load and accept the parameters but does not seem to execute.
Any advice appreciated.

Thanks,

Paul Shapley


**kwargs)
wx._core
.
PyAssertionError
:
C++ assertion “m_pendingEvents” failed at
…..\src\common\event.cpp(1172) in
wxEvtHandler::ProcessPendingEvents(): Please call
wxApp::ProcessPendingEvents() instead
Traceback (most recent call last):
File “C:\Program Files\GRASS GIS
6.4.3RC1\etc\wxpython\gui_core\goutput.py”, line 980, in
OnProcessPendingOutputWindowEvents

self.ProcessPendingEvents()
File “C:\Program Files\GRASS GIS 6.4.3RC1\Python27\lib
\site-packages\wx-2.8-msw-unicode\wx_core.py”, line 3871,
in ProcessPendingEvents

return core.EvtHandler_ProcessPendingEvents(*args,
**kwargs)
wx._core
.
PyAssertionError
:
C++ assertion “m_pendingEvents” failed at
…..\src\common\event.cpp(1172) in
wxEvtHandler::ProcessPendingEvents(): Please call
wxApp::ProcessPendingEvents() instead


Paul J. Shapley

Hi Paul,

Could you indicate the exact command line that you are executing?
Also, on which OS?

Thanks,
Madi

On Wed, Jan 16, 2013 at 9:18 AM, Paul Shapley <p.shapley@gmail.com> wrote:

Hi All,

I’m getting the following error trying to execute the r.hazard.flood python script. The module will load and accept the parameters but does not seem to execute.
Any advice appreciated.

Thanks,

Paul Shapley


**kwargs)
wx._core
.
PyAssertionError
:
C++ assertion “m_pendingEvents” failed at
…..\src\common\event.cpp(1172) in
wxEvtHandler::ProcessPendingEvents(): Please call
wxApp::ProcessPendingEvents() instead
Traceback (most recent call last):
File “C:\Program Files\GRASS GIS
6.4.3RC1\etc\wxpython\gui_core\goutput.py”, line 980, in
OnProcessPendingOutputWindowEvents

self.ProcessPendingEvents()
File “C:\Program Files\GRASS GIS 6.4.3RC1\Python27\lib
\site-packages\wx-2.8-msw-unicode\wx_core.py”, line 3871,
in ProcessPendingEvents

return core.EvtHandler_ProcessPendingEvents(*args,
**kwargs)
wx._core
.
PyAssertionError
:
C++ assertion “m_pendingEvents” failed at
…..\src\common\event.cpp(1172) in
wxEvtHandler::ProcessPendingEvents(): Please call
wxApp::ProcessPendingEvents() instead


Paul J. Shapley


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

Margherita DI LEO
Postdoctoral Researcher

European Commission - DG JRC
Institute for Environment and Sustainability (IES). Unit H03 – FRC
Via Fermi, 2749
I-21027 Ispra (VA) - Italy - TP 261

Tel. +39 0332 78 3600
margherita.di-leo@jrc.ec.europa.eu

Disclaimer: The views expressed are purely those of the writer and may not in any circumstance be regarded as stating an official position of the European Commission.

On Wed, Jan 16, 2013 at 1:10 PM, Paul Shapley <p.shapley@gmail.com> wrote:

Hi,

I’m using the GUI ‘File > Launch Script’ then opening it from the ‘scripts’ directory

C:\Program Files\GRASS GIS 6.4.3RC1\scripts

Could you try to run it from command line, just to be sure if the error is in the GUI or in the script itself.
Thanks.

madi

I’m using WinXP at the moment but will need to use the script with Ubuntu 12.10 later.
Many thanks,

Paul Shapley

On 16 January 2013 08:40, Margherita Di Leo <diregola@gmail.com> wrote:

Hi Paul,

Could you indicate the exact command line that you are executing?
Also, on which OS?

Thanks,
Madi

On Wed, Jan 16, 2013 at 9:18 AM, Paul Shapley <p.shapley@gmail.com> wrote:

Hi All,

I’m getting the following error trying to execute the r.hazard.flood python script. The module will load and accept the parameters but does not seem to execute.
Any advice appreciated.

Thanks,

Paul Shapley


**kwargs)
wx._core
.
PyAssertionError
:
C++ assertion “m_pendingEvents” failed at
…..\src\common\event.cpp(1172) in
wxEvtHandler::ProcessPendingEvents(): Please call
wxApp::ProcessPendingEvents() instead
Traceback (most recent call last):
File “C:\Program Files\GRASS GIS
6.4.3RC1\etc\wxpython\gui_core\goutput.py”, line 980, in
OnProcessPendingOutputWindowEvents

self.ProcessPendingEvents()
File “C:\Program Files\GRASS GIS 6.4.3RC1\Python27\lib
\site-packages\wx-2.8-msw-unicode\wx_core.py”, line 3871,
in ProcessPendingEvents

return core.EvtHandler_ProcessPendingEvents(*args,
**kwargs)
wx._core
.
PyAssertionError
:
C++ assertion “m_pendingEvents” failed at
…..\src\common\event.cpp(1172) in
wxEvtHandler::ProcessPendingEvents(): Please call
wxApp::ProcessPendingEvents() instead


Paul J. Shapley


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

Margherita DI LEO
Postdoctoral Researcher

European Commission - DG JRC
Institute for Environment and Sustainability (IES). Unit H03 – FRC
Via Fermi, 2749
I-21027 Ispra (VA) - Italy - TP 261

Tel. +39 0332 78 3600
margherita.di-leo@jrc.ec.europa.eu

Disclaimer: The views expressed are purely those of the writer and may not in any circumstance be regarded as stating an official position of the European Commission.


Paul J. Shapley

Margherita DI LEO
Postdoctoral Researcher

European Commission - DG JRC
Institute for Environment and Sustainability (IES). Unit H03 – FRC
Via Fermi, 2749
I-21027 Ispra (VA) - Italy - TP 261

Tel. +39 0332 78 3600
margherita.di-leo@jrc.ec.europa.eu

Disclaimer: The views expressed are purely those of the writer and may not in any circumstance be regarded as stating an official position of the European Commission.

On Wed, Jan 16, 2013 at 9:40 AM, Margherita Di Leo <diregola@gmail.com> wrote:

Hi Paul,

Could you indicate the exact command line that you are executing?
Also, on which OS?

Thanks,
Madi

On Wed, Jan 16, 2013 at 9:18 AM, Paul Shapley <p.shapley@gmail.com> wrote:

Hi All,

I'm getting the following error trying to execute the r.hazard.flood
python script. The module will load and accept the parameters but does not
seem to execute.
Any advice appreciated.

Thanks,

Paul Shapley

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

**kwargs)
wx._core
.
PyAssertionError
:
C++ assertion "m_pendingEvents" failed at
..\..\src\common\event.cpp(1172) in
wxEvtHandler::ProcessPendingEvents(): Please call
wxApp::ProcessPendingEvents() instead
Traceback (most recent call last):
  File "C:\Program Files\GRASS GIS
6.4.3RC1\etc\wxpython\gui_core\goutput.py", line 980, in
OnProcessPendingOutputWindowEvents

self.ProcessPendingEvents()
  File "C:\Program Files\GRASS GIS 6.4.3RC1\Python27\lib
\site-packages\wx-2.8-msw-unicode\wx\_core.py", line 3871,
in ProcessPendingEvents

return _core_.EvtHandler_ProcessPendingEvents(*args,
**kwargs)
wx._core
.
PyAssertionError
:
C++ assertion "m_pendingEvents" failed at
..\..\src\common\event.cpp(1172) in
wxEvtHandler::ProcessPendingEvents(): Please call
wxApp::ProcessPendingEvents() instead

This has been fixed in trunk 6 months ago. Backport?

Markus M

On Wed, Jan 16, 2013 at 2:23 PM, Markus Metz
<markus.metz.giswork@gmail.com> wrote:

On Wed, Jan 16, 2013 at 9:40 AM, Margherita Di Leo <diregola@gmail.com> wrote:

Hi Paul,

Could you indicate the exact command line that you are executing?
Also, on which OS?

Thanks,
Madi

On Wed, Jan 16, 2013 at 9:18 AM, Paul Shapley <p.shapley@gmail.com> wrote:

Hi All,

I'm getting the following error trying to execute the r.hazard.flood
python script. The module will load and accept the parameters but does not
seem to execute.
Any advice appreciated.

Thanks,

Paul Shapley

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

**kwargs)
wx._core
.
PyAssertionError
:
C++ assertion "m_pendingEvents" failed at
..\..\src\common\event.cpp(1172) in
wxEvtHandler::ProcessPendingEvents(): Please call
wxApp::ProcessPendingEvents() instead
Traceback (most recent call last):
  File "C:\Program Files\GRASS GIS
6.4.3RC1\etc\wxpython\gui_core\goutput.py", line 980, in
OnProcessPendingOutputWindowEvents

self.ProcessPendingEvents()
  File "C:\Program Files\GRASS GIS 6.4.3RC1\Python27\lib
\site-packages\wx-2.8-msw-unicode\wx\_core.py", line 3871,
in ProcessPendingEvents

return _core_.EvtHandler_ProcessPendingEvents(*args,
**kwargs)
wx._core
.
PyAssertionError
:
C++ assertion "m_pendingEvents" failed at
..\..\src\common\event.cpp(1172) in
wxEvtHandler::ProcessPendingEvents(): Please call
wxApp::ProcessPendingEvents() instead

This has been fixed in trunk 6 months ago. Backport?

Backported in r54678-9.

Markus M