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

GRASS GIS trac at osgeo.org
Fri Nov 25 05:56:22 PST 2016


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

 * milestone:  6.4.6 => 7.4.0


Comment:

 This is how a simple work session in current trunk on Gentoo Linux looks
 like:
 {{{
 Welcome to wxGUI Interactive Python Shell 0.9.8

 Type "help(grass)" for more GRASS scripting related information.
 Type "AddLayer()" to add raster or vector to the layer tree.

 Python 2.7.12 (default, Oct  4 2016, 11:36:55)
 [GCC 5.4.0] on linux2
 Type "help", "copyright", "credits" or "license" for more information.
 >>> from grass.pygrass.modules.shortcuts import raster as r

 >>> r.OSError error(2): No such file or directory
 OSError error(2): No such file or directory
 OSError error(2): No such file or directory
 OSError error(2): No such file or directory
 OSError error(2): No such file or directory
 OSError error(2): No such file or directory
 OSError error(2): No such file or directory
 OSError error(2): No such file or directory
 OSError error(2): No such file or directory
 OSError error(2): No such file or directory
 OSError error(2): No such file or directory
 OSError error(2): No such file or directory
 OSError error(2): No such file or directory
 OSError error(2): No such file or directory
 OSError error(2): No such file or directory
 OSError error(2): No such file or directory
 OSError error(2): No such file or directory
 OSError error(2): No such file or directory
 OSError error(2): No such file or directory
 OSError error(2): No such file or directory
 OSError error(2): No such file or directory
 OSError error(2): No such file or directory
 OSError error(2): No such file or directory
 OSError error(2): No such file or directory
 OSError error(2): No such file or directory
 OSError error(2): No such file or directory
 OSError error(2): No such file or directory
 OSError error(2): No such file or directory
 OSError error(2): No such file or directory
 OSError error(2): No such file or directory
 OSError error(2): No such file or directory
 OSError error(2): No such file or directory
 OSError error(2): No such file or directory
 OSError error(2): No such file or directory
 OSError error(2): No such file or directory
 OSError error(2): No such file or directory
 OSError error(2): No such file or directory
 OSError error(2): No such file or directory
 OSError error(2): No such file or directory
 OSError error(2): No such file or directory
 OSError error(2): No such file or directory
 OSError error(2): No such file or directory
 OSError error(2): No such file or directory
 OSError error(2): No such file or directory
 OSError error(2): No such file or directory
 OSError error(2): No such file or directory
 OSError error(2): No such file or directory
 OSError error(2): No such file or directory
 OSError error(2): No such file or directory
 OSError error(2): No such file or directory
 OSError error(2): No such file or directory
 OSError error(2): No such file or directory
 OSError error(2): No such file or directory
 OSError error(2): No such file or directory
 OSError error(2): No such file or direc
   File "<input>", line 1
     r.OSError(error(2): No such file or directory)
                       ^
 SyntaxError: invalid syntax
 >>> r.OSError error(2): No such file or directory
 OSError error(2): No such file or directory
 OSError error(2): No such file or directory
 OSError error(2): No such file or directory
 OSError error(2): No such file or directory
 OSError error(2): No such file or directory
 OSError error(2): No such file or directory
 OSError error(2): No such file or directory
 OSError error(2): No such file or directory
 OSError error(2): No such file or directory
 OSError error(2): No such file or directory
 OSError error(2): No such file or directory
 OSError error(2): No such file or directory
 OSError error(2): No such file or directory
 OSError error(2): No such file or directory
 OSError error(2): No such file or directory
 OSError error(2): No such file or directory
 OSError error(2): No such file or directory
 OSError error(2): No such file or directory
 OSError error(2): No such file or directory
 OSError error(2): No such file or directory
 OSError error(2): No such file or directory
 OSError error(2): No such file or directory
 OSError error(2): No such file or directory
 OSError error(2): No such file or directory
 OSError error(2): No such file or directory
 OSError error(2): No such file or directory
 OSError error(2): No such file or directory
 OSError error(2): No such file or directory
 OSError error(2): No such file or directory
 OSError error(2): No such file or directory
 OSError error(2): No such file or directory
 OSError error(2): No such file or directory
 OSError error(2): No such file or directory
 OSError error(2): No such file or directory
 OSError error(2): No such file or directory
 OSError error(2): No such file or directory
 OSError error(2): No such file or directory
 OSError error(2): No such file or directory
 OSError error(2): No such file or directory
 OSError error(2): No such file or directory
 OSError error(2): No such file or directory
 OSError error(2): No such file or directory
 OSError error(2): No such file or directory
 OSError error(2): No such file or directory
 OSError error(2): No such file or directory
 OSError error(2): No such file or directory
 OSError error(2): No such file or directory
 OSError error(2): No such file or directory
 OSError error(2): No such file or directory
 OSError error(2): No such file or directory
 OSError error(2): No such file or directory
 OSError error(2): No such file or directory
 OSError error(2): No such file or directory
 OSError error(2): No such file or directory
 info('shmin')
   File "<input>", line 1
     r.OSError(error(2): No such file or directory)
                       ^
 SyntaxError: invalid syntax
 >>>
 }}}

--
Ticket URL: <https://trac.osgeo.org/grass/ticket/2607#comment:5>
GRASS GIS <https://grass.osgeo.org>



More information about the grass-dev mailing list