[GRASS-dev] [GRASS GIS] #2607: Python shell hint results in OSError error(None): None

#2607: Python shell hint results in OSError error(None): None
-------------------------+--------------------------------------------------
Reporter: marisn | Owner: grass-dev@…
     Type: defect | Status: new
Priority: normal | Milestone:
Component: wxGUI | Version: 7.0.0
Keywords: | Platform: MSWindows Vista
      Cpu: Unspecified |
-------------------------+--------------------------------------------------
In Python shell type in:
{{{
from grass.pygrass.modules.shortcuts import raster as r
r.
}}}
and observe how it gets filled with gazzilion of error messages: "OSError
error(None): None"

Due to this error, it is impossible to use Python shell, as it is trying
to execute error message as a command instead of just providing it as an
"error text that messes up CLI".

--
Ticket URL: <http://trac.osgeo.org/grass/ticket/2607&gt;
GRASS GIS <http://grass.osgeo.org>

#2607: Python shell hint results in OSError error(None): None
-------------------------+--------------------------------------------------
Reporter: marisn | Owner: grass-dev@…
     Type: defect | Status: new
Priority: normal | Milestone:
Component: wxGUI | Version: 7.0.0
Keywords: | Platform: All
      Cpu: Unspecified |
-------------------------+--------------------------------------------------
Changes (by marisn):

  * platform: MSWindows Vista => All

Comment:

Same happens with 7.1 SVN on GNU/Linux, still error message is a bit
different: "OSError error(2): No such file or directory"

--
Ticket URL: <http://trac.osgeo.org/grass/ticket/2607#comment:1&gt;
GRASS GIS <http://grass.osgeo.org>

#2607: Python shell hint results in OSError error(None): None
-------------------------+--------------------------------------------------
Reporter: marisn | Owner: grass-dev@…
     Type: defect | Status: new
Priority: normal | Milestone:
Component: wxGUI | Version: 7.0.0
Keywords: | Platform: All
      Cpu: Unspecified |
-------------------------+--------------------------------------------------

Comment(by annakrat):

Replying to [comment:1 marisn]:
> Same happens with 7.1 SVN on GNU/Linux, still error message is a bit
different: "OSError error(2): No such file or directory"

It works fine for me using Ubuntu. Does it happen only in the Python shell
in wxGUI?

--
Ticket URL: <http://trac.osgeo.org/grass/ticket/2607#comment:2&gt;
GRASS GIS <http://grass.osgeo.org>

#2607: Python shell hint results in OSError error(None): None
-------------------------+--------------------------------------------------
Reporter: marisn | Owner: grass-dev@…
     Type: defect | Status: new
Priority: normal | Milestone:
Component: wxGUI | Version: 7.0.0
Keywords: | Platform: All
      Cpu: Unspecified |
-------------------------+--------------------------------------------------

Comment(by zarch):

Replying to [comment:2 annakrat]:
> Replying to [comment:1 marisn]:
> > Same happens with 7.1 SVN on GNU/Linux, still error message is a bit
different: "OSError error(2): No such file or directory"
>
> It works fine for me using Ubuntu. Does it happen only in the Python
shell in wxGUI?

I have the same error also in ipython shell:

{{{
In [2]: r.OSError error(2): No such file or directory
OSError error(2): No such file or directory

Display all 187 possibilities? (y or n)
r.basin_fill
r.buffer
...
}}}

--
Ticket URL: <https://trac.osgeo.org/grass/ticket/2607#comment:3&gt;
GRASS GIS <http://grass.osgeo.org>