#3675 closed defect (fixed)
g.gui.rlisetup: cannot create the configuration file
Reported by: | veroandreo | Owned by: | |
---|---|---|---|
Priority: | normal | Milestone: | 7.8.0 |
Component: | wxGUI | Version: | svn-trunk |
Keywords: | g.gui.rlisetup | Cc: | |
CPU: | Unspecified | Platform: | Unspecified |
Description
When hitting the "Create" button in the G7:g.gui.rlisetup dialog, I get the following error in the GUI console:
Traceback (most recent call last): File "/home/veroandreo/software/grass7_trunk/dist.x86_64 -pc-linux-gnu/gui/wxpython/rlisetup/frame.py", line 241, in OnNew RLIWizard(self) File "/home/veroandreo/software/grass7_trunk/dist.x86_64 -pc-linux-gnu/gui/wxpython/rlisetup/wizard.py", line 68, in __init__ self.samplingareapage = SamplingAreasPage(self.wizard, self) File "/home/veroandreo/software/grass7_trunk/dist.x86_64 -pc-linux-gnu/gui/wxpython/rlisetup/wizard.py", line 940, in __init__ self.areaOK.SetToolTip(wx.ToolTip(_("Select if use area by area"))) File "/home/veroandreo/software/grass7_trunk/dist.x86_64 -pc-linux-gnu/gui/wxpython/gui_core/wrap.py", line 103, in SetToolTip wx.Button.SetToolTipString(self, tip) File "/usr/lib64/python2.7/site- packages/wx-3.0-gtk3/wx/_core.py", line 11382, in SetToolTipString return _core_.Window_SetToolTipString(*args, **kwargs) TypeError : String or Unicode type required
I use freshly compiled trunk.
Change History (6)
follow-up: 2 comment:1 by , 6 years ago
comment:2 by , 6 years ago
Replying to mlennert:
Not a solution to the bug, but a colleague of mine wrote a Python function to create the setup files non-interactively from within a script: https://github.com/ANAGEO/GRASSStuff/blob/master/SpatialMetrics_LandscapeMetrics/create_rli_configfile.py. Free for reuse.
G7:g.gui.rlisetup works fine in grass74 relbranch, so I created it there (but I Sohad further errors in r.li.* modules, see #3676). So, the config file issue seems to be a problem in trunk only. Maybe also 76, this latter I have not tried, though.
comment:6 by , 6 years ago
Milestone: | 7.6.0 → 7.8.0 |
---|
In 7.6 relbranch it works fine, it was only on trunk. I changed milestone for proper record.
Not a solution to the bug, but a colleague of mine wrote a Python function to create the setup files non-interactively from within a script: https://github.com/ANAGEO/GRASSStuff/blob/master/SpatialMetrics_LandscapeMetrics/create_rli_configfile.py. Free for reuse.