[GRASS-dev] [GRASS GIS] #3899: g.gui.gmodeler: loading of modeller file broken with TypeError

GRASS GIS trac at osgeo.org
Sun Sep 1 12:05:05 PDT 2019


#3899: g.gui.gmodeler: loading of modeller file broken with TypeError
-------------------------+-------------------------
 Reporter:  neteler      |      Owner:  grass-dev@…
     Type:  defect       |     Status:  new
 Priority:  normal       |  Milestone:  7.8.0
Component:  wxGUI        |    Version:  unspecified
 Keywords:  python3      |        CPU:  Unspecified
 Platform:  Unspecified  |
-------------------------+-------------------------
 Loading of the modeller file crashes with:

 {{{
 GRASS 7.8.dev (Dachbegruenung):~ > g.gui.gmodeler
 /scratch/Meike/GM/model_Bonn.gxm
 Traceback (most recent call last):
   File "/home/mundialis/software/grass78_git/dist.x86_64-pc-linux-
 gnu/scripts/g.gui.gmodeler", line 63, in <module>
     main()
   File "/home/mundialis/software/grass78_git/dist.x86_64-pc-linux-
 gnu/scripts/g.gui.gmodeler", line 57, in main
     frame.LoadModelFile(options['file'])
   File "/home/mundialis/software/grass78_git/dist.x86_64-pc-linux-
 gnu/gui/wxpython/gmodeler/frame.py", line 1050, in LoadModelFile
     self.model.LoadModel(filename)
   File "/home/mundialis/software/grass78_git/dist.x86_64-pc-linux-
 gnu/gui/wxpython/gmodeler/model.py", line 332, in LoadModel
     x=action['pos'][0],
 TypeError: 'NoneType' object is not subscriptable


 g.version -rge
 version=7.8.dev
 date=2019
 revision=82b7ad4db
 build_date=2019-08-20
 build_platform=x86_64-pc-linux-gnu
 build_off_t_size=8
 libgis_revision=00000
 libgis_date="?"
 proj4=4.9.3
 gdal=2.3.2
 geos=3.6.1
 sqlite=3.26.0
 }}}

 Probably a missing update to Python3?

-- 
Ticket URL: <https://trac.osgeo.org/grass/ticket/3899>
GRASS GIS <https://grass.osgeo.org>



More information about the grass-dev mailing list