Opened 4 years ago

Closed 4 years ago

#2884 closed defect (fixed)

GRASS version: 7.0.3: i.atcorr broken

Reported by: hellik Owned by: grass-dev@…
Priority: normal Milestone: 7.0.4
Component: Imagery Version: svn-releasebranch70
Keywords: i.atcorr Cc:
CPU: x86-64 Platform: MSWindows 7

Description

tested with

GRASS version: 7.0.3                                                            
GRASS SVN Revision: 67691                                                       
Build Date: 2016-01-28                                                          
Build Platform: x86_64-w64-mingw32                                              
GDAL/OGR: 1.11.3                                                                
PROJ.4: 4.9.2                                                                   
GEOS: 3.5.0                                                                     
SQLite: 3.7.17                                                                  
Python: 2.7.5                                                                   
wxPython: 2.8.12.1                                                              
Platform: Windows-7-6.1.7601-SP1 (OSGeo4W) 
Traceback (most recent call last):
  File "C:\OSGEO4~1\apps\grass\grass-7.0.3\gui\wxpython\lmgr
\frame.py", line 776, in OnMenuCmd

GUI(parent=self, giface=self._giface).ParseCommand(cmd)
  File "C:\OSGEO4~1\apps\grass\grass-7.0.3\gui\wxpython\gui_
core\forms.py", line 2354, in ParseCommand

raise gcmd.GException(e.value)
core.gcmd
.
GException
:
Unable to fetch interface description for command
'i.atcorr'.
Details: C:\OSGEO4~1\bin\python.exe: can't open file
'i.atcorr': [Errno 2] No such file or directory

it's also broken in

System Info                                                                     
GRASS version: 7.1.svn                                                          
GRASS SVN revision: 67699                                                       
Build date: 2016-01-29                                                          
Build platform: x86_64-w64-mingw32                                              
GDAL: 1.11.3                                                                    
PROJ.4: 4.9.2                                                                   
GEOS: 3.5.0                                                                     
SQLite: 3.7.17                                                                  
Python: 2.7.5                                                                   
wxPython: 2.8.12.1                                                              
Platform: Windows-7-6.1.7601-SP1 (OSGeo4W)  

Change History (8)

comment:1 Changed 4 years ago by neteler

Milestone: 7.0.4

Is this still the case?

Last edited 4 years ago by neteler (previous) (diff)

comment:2 in reply to:  1 Changed 4 years ago by hellik

Replying to neteler:

Is this still the case?

tested with

System Info                                                                     
GRASS Version: 7.1.svn                                                          
GRASS SVN revision: 67891                                                       
Build date: 2016-01-20                                                          
Build platform: i386-w64-mingw32                                                
GDAL: 1.11.3                                                                    
PROJ.4: 4.9.2                                                                   
GEOS: 3.5.0                                                                     
SQLite: 3.7.17                                                                  
Python: 2.7.4                                                                   
wxPython: 2.8.12.1                                                              
Platform: Windows-Vista-6.0.6002-SP2 (OSGeo4W)  

still valid

raceback (most recent call last):
  File "C:\OSGeo4W\apps\grass\grass-7.1.svn\gui\wxpython\gui
_core\prompt.py", line 263, in OnItemSelected

self.cmdDesc = gtask.parse_interface(cmd)
  File "C:\OSGeo4W\apps\grass\grass-7.1.svn\etc\python\grass
\script\task.py", line 517, in parse_interface

tree = etree.fromstring(get_interface_description(name))
  File "C:\OSGeo4W\apps\grass\grass-7.1.svn\etc\python\grass
\script\task.py", line 496, in get_interface_description

"\n\nDetails: %(det)s") % {'cmd': cmd, 'det': cmderr}
grass.exceptions
.
ScriptError
:
Unable to fetch interface description for command
'i.atcorr'.
Details: C:\OSGeo4W\bin\python.exe: can't open file
'i.atcorr': [Errno 2] No such file or directory

comment:3 Changed 4 years ago by neteler

comment:4 in reply to:  3 ; Changed 4 years ago by hellik

Replying to neteler:

r.viewshed also fails:

https://lists.osgeo.org/pipermail/grass-user/2016-February/073678.html

for the same reason?

I can run i.atcorr, r.viewshed with DEBUG=3; but I remember I've already done and no output at all.

comment:5 in reply to:  4 ; Changed 4 years ago by hellik

Replying to hellik:

Replying to neteler:

r.viewshed also fails:

https://lists.osgeo.org/pipermail/grass-user/2016-February/073678.html

for the same reason?

I can run i.atcorr, r.viewshed with DEBUG=3; but I remember I've already done and no output at all.

Starting GRASS GIS...
WARNING: Concurrent mapset locking is not supported on Windows

          __________  ___   __________    _______________
         / ____/ __ \/   | / ___/ ___/   / ____/  _/ ___/
        / / __/ /_/ / /| | \__ \\_  \   / / __ / / \__ \
       / /_/ / _, _/ ___ |___/ /__/ /  / /_/ // / ___/ /
       \____/_/ |_/_/  |_/____/____/   \____/___//____/

Welcome to GRASS GIS 7.1.svn (r67915)
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 <wxpython> GUI in the background, please wait...
Microsoft Windows [Version 6.1.7601]
Copyright (c) 2009 Microsoft Corporation. Alle Rechte vorbehalten.

C:\>g.gisenv set=DEBUG=3

C:\>i.atcorr

C:\>r.viewshed

C:\>g.gisenv set=DEBUG=0
D1/3: G_set_program_name(): g.gisenv
D3/3: G_option_to_separator(): key = separator -> sep = '
'

C:\>

no output with DEBUG=3 on.

comment:6 in reply to:  5 ; Changed 4 years ago by hellik

Replying to hellik:

Replying to hellik:

Replying to neteler:

r.viewshed also fails:

https://lists.osgeo.org/pipermail/grass-user/2016-February/073678.html

for the same reason?

I can run i.atcorr, r.viewshed with DEBUG=3; but I remember I've already done and no output at all.

Starting GRASS GIS...
WARNING: Concurrent mapset locking is not supported on Windows

          __________  ___   __________    _______________
         / ____/ __ \/   | / ___/ ___/   / ____/  _/ ___/
        / / __/ /_/ / /| | \__ \\_  \   / / __ / / \__ \
       / /_/ / _, _/ ___ |___/ /__/ /  / /_/ // / ___/ /
       \____/_/ |_/_/  |_/____/____/   \____/___//____/

Welcome to GRASS GIS 7.1.svn (r67915)
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 <wxpython> GUI in the background, please wait...
Microsoft Windows [Version 6.1.7601]
Copyright (c) 2009 Microsoft Corporation. Alle Rechte vorbehalten.

C:\>g.gisenv set=DEBUG=3

C:\>i.atcorr

C:\>r.viewshed

C:\>g.gisenv set=DEBUG=0
D1/3: G_set_program_name(): g.gisenv
D3/3: G_option_to_separator(): key = separator -> sep = '
'

C:\>

no output with DEBUG=3 on.

tested with

System Info                                                                     
GRASS version: 7.1.svn                                                          
GRASS SVN revision: 67915                                                       
Build date: 2016-01-22                                                          
Build platform: x86_64-w64-mingw32                                              
GDAL: 1.11.3                                                                    
PROJ.4: 4.9.2                                                                   
GEOS: 3.5.0                                                                     
SQLite: 3.7.17                                                                  
Python: 2.7.5                                                                   
wxPython: 2.8.12.1                                                              
Platform: Windows-7-6.1.7601-SP1 (OSGeo4W) 

comment:7 in reply to:  6 Changed 4 years ago by hellik

Replying to hellik:

I can run i.atcorr, r.viewshed with DEBUG=3; but I remember I've already done and no output at all.

see #959#comment:5

i.atcorr starts again in winGRASS, closing ticket.

comment:8 Changed 4 years ago by hellik

Resolution: fixed
Status: newclosed
Note: See TracTickets for help on using tickets.