[GRASS-dev] [GRASS GIS] #3675: g.gui.rlisetup: cannot create the configuration file

#3675: g.gui.rlisetup: cannot create the configuration file
----------------------------+-------------------------
Reporter: veroandreo | Owner: grass-dev@…
     Type: defect | Status: new
Priority: normal | Milestone: 7.6.0
Component: wxGUI | Version: svn-trunk
Keywords: g.gui.rlisetup | CPU: Unspecified
Platform: Unspecified |
----------------------------+-------------------------
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.

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

#3675: g.gui.rlisetup: cannot create the configuration file
--------------------------+----------------------------
  Reporter: veroandreo | Owner: grass-dev@…
      Type: defect | Status: new
  Priority: normal | Milestone: 7.6.0
Component: wxGUI | Version: svn-trunk
Resolution: | Keywords: g.gui.rlisetup
       CPU: Unspecified | Platform: Unspecified
--------------------------+----------------------------

Comment (by 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.

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

#3675: g.gui.rlisetup: cannot create the configuration file
--------------------------+----------------------------
  Reporter: veroandreo | Owner: grass-dev@…
      Type: defect | Status: new
  Priority: normal | Milestone: 7.6.0
Component: wxGUI | Version: svn-trunk
Resolution: | Keywords: g.gui.rlisetup
       CPU: Unspecified | Platform: Unspecified
--------------------------+----------------------------

Comment (by veroandreo):

Replying to [comment:1 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.

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

#3675: g.gui.rlisetup: cannot create the configuration file
--------------------------+----------------------------
  Reporter: veroandreo | Owner: grass-dev@…
      Type: defect | Status: closed
  Priority: normal | Milestone: 7.6.0
Component: wxGUI | Version: svn-trunk
Resolution: fixed | Keywords: g.gui.rlisetup
       CPU: Unspecified | Platform: Unspecified
--------------------------+----------------------------
Changes (by annakrat):

* status: new => closed
* resolution: => fixed

Comment:

In [changeset:"73492" 73492]:
{{{
#!CommitTicketReference repository="" revision="73492"
wxGUI: fix #3675
}}}

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

#3675: g.gui.rlisetup: cannot create the configuration file
--------------------------+----------------------------
  Reporter: veroandreo | Owner: grass-dev@…
      Type: defect | Status: closed
  Priority: normal | Milestone: 7.6.0
Component: wxGUI | Version: svn-trunk
Resolution: fixed | Keywords: g.gui.rlisetup
       CPU: Unspecified | Platform: Unspecified
--------------------------+----------------------------

Comment (by veroandreo):

Thanks!

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

#3675: g.gui.rlisetup: cannot create the configuration file
--------------------------+----------------------------
  Reporter: veroandreo | Owner: grass-dev@…
      Type: defect | Status: closed
  Priority: normal | Milestone: 7.6.0
Component: wxGUI | Version: svn-trunk
Resolution: fixed | Keywords: g.gui.rlisetup
       CPU: Unspecified | Platform: Unspecified
--------------------------+----------------------------

Comment (by martinl):

Milestone is 7.6.0, any backport needed?

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

#3675: g.gui.rlisetup: cannot create the configuration file
--------------------------+----------------------------
  Reporter: veroandreo | Owner: grass-dev@…
      Type: defect | Status: closed
  Priority: normal | Milestone: 7.8.0
Component: wxGUI | Version: svn-trunk
Resolution: fixed | Keywords: g.gui.rlisetup
       CPU: Unspecified | Platform: Unspecified
--------------------------+----------------------------
Changes (by veroandreo):

* milestone: 7.6.0 => 7.8.0

Comment:

In 7.6 relbranch it works fine, it was only on trunk. I changed milestone
for proper record.

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