Re: [GRASS-dev] [GRASS GIS] #1619: v.krige won't load: ImportError: No module named globalvar
#1619: v.krige won't load: ImportError: No module named globalvar -+-- Reporter: momsen | Owner: grass-dev@… Type: defect | Status: closed Priority: normal | Milestone: 7.0.0 Component: Python | Version: svn-trunk Resolution: fixed |Keywords: v.krige Platform: Linux | Cpu: x86-64 -+-- Changes (by aghisla): * status: new = closed * resolution: = fixed Comment: Hello all from GRASS Community Sprint in Prague! v.krige is now fixed in trunk. I moved the global variables into Controller class, and store them as attributes. Testing is welcome! I close this ticket and welcome you to open new ones with a proper title - this one is getting a bit too crowded. Thanks! Anne -- Ticket URL: http://trac.osgeo.org/grass/ticket/1619#comment:15 GRASS GIS http://grass.osgeo.org ___ grass-dev mailing list grass-dev@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/grass-dev
Re: [GRASS-dev] [GRASS GIS] #1619: v.krige won't load: ImportError: No module named globalvar
#1619: v.krige won't load: ImportError: No module named globalvar -+-- Reporter: momsen | Owner: grass-dev@… Type: defect | Status: new Priority: normal | Milestone: 7.0.0 Component: Python | Version: svn-trunk Keywords: v.krige |Platform: Linux Cpu: x86-64 | -+-- Comment(by annakrat): Replying to [comment:10 hamish]: Hi, current status in trunk, starting from the command line: {{{ (loading the R stuff works for me) ... Traceback (most recent call last): File /home/hamish/src/grass/svn/trunk/dist.x86_64-unknown-linux- gnu/scripts/v.krige, line 412, in module main() File /home/hamish/src/grass/svn/trunk/dist.x86_64-unknown-linux- gnu/scripts/v.krige, line 310, in main controller = controller) File /home/hamish/src/grass/svn/trunk/dist.x86_64-unknown-linux- gnu/etc/gui/wxpython/scripts/vkrige.py, line 289, in __init__ self.Panel = KrigingPanel(self, Rinstance, controller) File /home/hamish/src/grass/svn/trunk/dist.x86_64-unknown-linux- gnu/etc/gui/wxpython/scripts/vkrige.py, line 86, in __init__ self.InputDataColumn.SetSelection(0) AttributeError: 'ColumnSelect' object has no attribute 'SetSelection' }}} not sure how to fix that; the same works in devbr6. (v.krige now updated in devbr6 to reflect recent wxgui dir layout changes starts up ok there) If I comment out the `self.InputDataColumn.SetSelection(0)` line the v.krige GUI starts in trunk, so it isn't too badly broken. right, I removed it in r56920. Hamish -- Ticket URL: https://trac.osgeo.org/grass/ticket/1619#comment:11 GRASS GIS http://grass.osgeo.org ___ grass-dev mailing list grass-dev@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/grass-dev
Re: [GRASS-dev] [GRASS GIS] #1619: v.krige won't load: ImportError: No module named globalvar
#1619: v.krige won't load: ImportError: No module named globalvar -+-- Reporter: momsen | Owner: grass-dev@… Type: defect | Status: new Priority: normal | Milestone: 7.0.0 Component: Python | Version: svn-trunk Keywords: v.krige |Platform: Linux Cpu: x86-64 | -+-- Comment(by hamish): Replying to [comment:11 annakrat]: Replying to [comment:10 hamish]: not sure how to fix that; the same works in devbr6. ... If I comment out the `self.InputDataColumn.SetSelection(0)` line the v.krige GUI starts in trunk, so it isn't too badly broken. right, I removed it in r56920. I guess that's one way of fixing it :) but there are a couple more like it. what do they do? {{{ wxpython/scripts/vkrige.py, line 212, in OnInputDataChanged self.InputDataColumn.SetSelection(0) AttributeError: 'ColumnSelect' object has no attribute 'SetSelection' }}} and after commenting that out ... {{{ wxpython/scripts/vkrige.py, line 213, in OnInputDataChanged self.RunButton.Enable(self.InputDataColumn.GetSelection() is not -1) AttributeError: 'ColumnSelect' object has no attribute 'GetSelection' }}} but then the [Plot/refresh variogram] button never lights up, nor the [Run] button, and the suggested output map names don't get filled in. (v.krige now updated in devbr6 to reflect recent wxgui dir layout changes starts up ok there) still a couple tracebacks there re. `'FlatNotebook' object has no attribute 'SetSelectionByName'` and `if globals()[InputData] is None: ... KeyError: 'InputData'`. see yesterday's comments in #1196. thanks, Hamish -- Ticket URL: https://trac.osgeo.org/grass/ticket/1619#comment:12 GRASS GIS http://grass.osgeo.org ___ grass-dev mailing list grass-dev@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/grass-dev
Re: [GRASS-dev] [GRASS GIS] #1619: v.krige won't load: ImportError: No module named globalvar
#1619: v.krige won't load: ImportError: No module named globalvar -+-- Reporter: momsen | Owner: grass-dev@… Type: defect | Status: new Priority: normal | Milestone: 7.0.0 Component: Python | Version: svn-trunk Keywords: v.krige |Platform: Linux Cpu: x86-64 | -+-- Comment(by annakrat): Replying to [comment:12 hamish]: but then the [Plot/refresh variogram] button never lights up, nor the [Run] button, and the suggested output map names don't get filled in. another fix r56924 (v.krige now updated in devbr6 to reflect recent wxgui dir layout changes starts up ok there) still a couple tracebacks there re. `'FlatNotebook' object has no attribute 'SetSelectionByName'` and `if globals()[InputData] is None: ... KeyError: 'InputData'`. see yesterday's comments in #1196. thanks, Hamish -- Ticket URL: https://trac.osgeo.org/grass/ticket/1619#comment:13 GRASS GIS http://grass.osgeo.org ___ grass-dev mailing list grass-dev@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/grass-dev
Re: [GRASS-dev] [GRASS GIS] #1619: v.krige won't load: ImportError: No module named globalvar
#1619: v.krige won't load: ImportError: No module named globalvar -+-- Reporter: momsen | Owner: grass-dev@… Type: defect | Status: new Priority: normal | Milestone: 7.0.0 Component: Python | Version: svn-trunk Keywords: v.krige |Platform: Linux Cpu: x86-64 | -+-- Changes (by hamish): * keywords: krige = v.krige * component: Default = Python Comment: Hi, current status in trunk, starting from the command line: {{{ (loading the R stuff works for me) ... Traceback (most recent call last): File /home/hamish/src/grass/svn/trunk/dist.x86_64-unknown-linux- gnu/scripts/v.krige, line 412, in module main() File /home/hamish/src/grass/svn/trunk/dist.x86_64-unknown-linux- gnu/scripts/v.krige, line 310, in main controller = controller) File /home/hamish/src/grass/svn/trunk/dist.x86_64-unknown-linux- gnu/etc/gui/wxpython/scripts/vkrige.py, line 289, in __init__ self.Panel = KrigingPanel(self, Rinstance, controller) File /home/hamish/src/grass/svn/trunk/dist.x86_64-unknown-linux- gnu/etc/gui/wxpython/scripts/vkrige.py, line 86, in __init__ self.InputDataColumn.SetSelection(0) AttributeError: 'ColumnSelect' object has no attribute 'SetSelection' }}} not sure how to fix that; the same works in devbr6. (v.krige now updated in devbr6 to reflect recent wxgui dir layout changes starts up ok there) If I comment out the `self.InputDataColumn.SetSelection(0)` line the v.krige GUI starts in trunk, so it isn't too badly broken. Hamish -- Ticket URL: https://trac.osgeo.org/grass/ticket/1619#comment:10 GRASS GIS http://grass.osgeo.org ___ grass-dev mailing list grass-dev@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/grass-dev
Re: [GRASS-dev] [GRASS GIS] #1619: v.krige won't load: ImportError: No module named globalvar
#1619: v.krige won't load: ImportError: No module named globalvar -+-- Reporter: momsen | Owner: grass-dev@… Type: defect | Status: new Priority: normal | Milestone: 7.0.0 Component: Default | Version: svn-trunk Keywords: krige|Platform: Linux Cpu: x86-64 | -+-- Comment(by neteler): For now v.krige is commented out in the parent Makefile, see r53194. -- Ticket URL: http://trac.osgeo.org/grass/ticket/1619#comment:9 GRASS GIS http://grass.osgeo.org ___ grass-dev mailing list grass-dev@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/grass-dev
Re: [GRASS-dev] [GRASS GIS] #1619: v.krige won't load: ImportError: No module named globalvar
#1619: v.krige won't load: ImportError: No module named globalvar -+-- Reporter: momsen | Owner: grass-dev@… Type: defect | Status: new Priority: normal | Milestone: 7.0.0 Component: Default | Version: svn-trunk Keywords: krige|Platform: Linux Cpu: x86-64 | -+-- Comment(by annakrat): Replying to [comment:5 annakrat]: I can fix the FlatNotebook part of error (probably tomorrow, I must first download some packages to be able to test it). After installation of needed packages I get this error: {{{ GRASS 7.0.svn (spearfish60):/usr/local/src/trunk v.krige Loading dependencies, please wait... rgeos: (SVN revision 348) GEOS runtime version: 3.3.3-CAPI-1.7.4 Polygon checking: TRUE Loading required package: zoo Attaching package: ‘zoo’ The following object(s) are masked from ‘package:base’: as.Date, as.Date.numeric Loading required package: xts GRASS GIS interface loaded with GRASS version: GRASS 7.0.svn (2012) and location: spearfish60 Checking rgeos availability: TRUE Loading required package: automap Traceback (most recent call last): File /usr/local/src/trunk/dist.i686-pc-linux-gnu/scripts/v.krige, line 414, in module main() File /usr/local/src/trunk/dist.i686-pc-linux-gnu/scripts/v.krige, line 312, in main controller = controller) File /usr/local/src/trunk/dist.i686-pc-linux- gnu/etc/gui/wxpython/scripts/vkrige.py, line 269, in __init__ self.Panel = KrigingPanel(self, Rinstance, controller) File /usr/local/src/trunk/dist.i686-pc-linux- gnu/etc/gui/wxpython/scripts/vkrige.py, line 98, in __init__ self.CreatePage(package = Rpackage, Rinstance = Rinstance, controller = controller) File /usr/local/src/trunk/dist.i686-pc-linux- gnu/etc/gui/wxpython/scripts/vkrige.py, line 175, in CreatePage controller = controller))) File /usr/local/src/trunk/dist.i686-pc-linux- gnu/etc/gui/wxpython/scripts/vkrige.py, line 394, in __init__ ModelFactor = robjects.r.vgm().rx('long') AttributeError: 'RDataFrame' object has no attribute 'rx' }}} I have no idea what rx is or how too fix this. Anna -- Ticket URL: https://trac.osgeo.org/grass/ticket/1619#comment:6 GRASS GIS http://grass.osgeo.org ___ grass-dev mailing list grass-dev@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/grass-dev
Re: [GRASS-dev] [GRASS GIS] #1619: v.krige won't load: ImportError: No module named globalvar
#1619: v.krige won't load: ImportError: No module named globalvar -+-- Reporter: momsen | Owner: grass-dev@… Type: defect | Status: new Priority: normal | Milestone: 7.0.0 Component: Default | Version: svn-trunk Keywords: krige|Platform: Linux Cpu: x86-64 | -+-- Comment(by annakrat): The problem with notebook should be fixed in r53148. Anna -- Ticket URL: https://trac.osgeo.org/grass/ticket/1619#comment:7 GRASS GIS http://grass.osgeo.org ___ grass-dev mailing list grass-dev@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/grass-dev
Re: [GRASS-dev] [GRASS GIS] #1619: v.krige won't load: ImportError: No module named globalvar
#1619: v.krige won't load: ImportError: No module named globalvar -+-- Reporter: momsen | Owner: grass-dev@… Type: defect | Status: new Priority: normal | Milestone: 7.0.0 Component: Default | Version: svn-trunk Keywords: krige|Platform: Linux Cpu: x86-64 | -+-- Comment(by neteler): One more fix done in r53149. -- Ticket URL: https://trac.osgeo.org/grass/ticket/1619#comment:8 GRASS GIS http://grass.osgeo.org ___ grass-dev mailing list grass-dev@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/grass-dev
Re: [GRASS-dev] [GRASS GIS] #1619: v.krige won't load: ImportError: No module named globalvar
#1619: v.krige won't load: ImportError: No module named globalvar -+-- Reporter: momsen | Owner: grass-dev@… Type: defect | Status: new Priority: normal | Milestone: 7.0.0 Component: Default | Version: svn-trunk Keywords: krige|Platform: Linux Cpu: x86-64 | -+-- Comment(by annakrat): I can fix the FlatNotebook part of error (probably tomorrow, I must first download some packages to be able to test it). Anna -- Ticket URL: https://trac.osgeo.org/grass/ticket/1619#comment:5 GRASS GIS http://grass.osgeo.org ___ grass-dev mailing list grass-dev@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/grass-dev
Re: [GRASS-dev] [GRASS GIS] #1619: v.krige won't load: ImportError: No module named globalvar
#1619: v.krige won't load: ImportError: No module named globalvar -+-- Reporter: momsen | Owner: grass-dev@… Type: defect | Status: new Priority: normal | Milestone: 7.0.0 Component: Default | Version: svn-trunk Keywords: krige|Platform: Linux Cpu: x86-64 | -+-- Changes (by neteler): * cc: aghisla (added) Comment: Startup problems fixed in r53127. Remaining issue: creating the variogram leads to {{{ Traceback (most recent call last): File /home/neteler/grass70/dist.x86_64-unknown-linux- gnu/etc/gui/wxpython/scripts/vkrige.py, line 444, in OnPlotButton if globals()[InputData] is None: KeyError: 'InputData' Traceback (most recent call last): File /home/neteler/grass70/dist.x86_64-unknown-linux- gnu/etc/gui/wxpython/scripts/vkrige.py, line 444, in OnPlotButton if globals()[InputData] is None: KeyError: 'InputData' Traceback (most recent call last): File /home/neteler/grass70/dist.x86_64-unknown-linux- gnu/etc/gui/wxpython/scripts/vkrige.py, line 256, in OnRunButton self.goutput.RunCmd(command, switchPage = True) File /home/neteler/grass70/dist.x86_64-unknown-linux- gnu/etc/gui/wxpython/gui_core/goutput.py, line 604, in RunCmd self._notebook.SetSelectionByName('output') AttributeError: 'FlatNotebook' object has no attribute 'SetSelectionByName' }}} -- Ticket URL: https://trac.osgeo.org/grass/ticket/1619#comment:4 GRASS GIS http://grass.osgeo.org ___ grass-dev mailing list grass-dev@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/grass-dev