[GRASS-dev] [GRASS GIS] #3940: Error Reading settings from Roaming file

#3940: Error Reading settings from Roaming file
------------------------------------+---------------------------------
Reporter: dnewcomb | Owner: grass-dev@…
     Type: defect | Status: new
Priority: normal | Milestone: 7.8.2
Component: Default | Version: git-releasebranch78
Keywords: Error Reading Settings | CPU: x86-64
Platform: MSWindows |
------------------------------------+---------------------------------
When starting GRASS 7.8.1 on Windows 10 x64, a message displays in the
Console window:

Error: Reading settings from file
<C:\Users\dnewcomb\AppData\Roaming\GRASS7\wx> failed.
Details: not enough values to unpack (expected 2, got 1)
                 Line: ''
Previously GRASS 7.6.1 was used on this computer.

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

#3940: Error Reading settings from Roaming file
-----------------------+------------------------------------
  Reporter: dnewcomb | Owner: grass-dev@…
      Type: defect | Status: new
  Priority: normal | Milestone: 7.8.2
Component: wxGUI | Version: git-releasebranch78
Resolution: | Keywords: Error Reading Settings
       CPU: x86-64 | Platform: MSWindows
-----------------------+------------------------------------
Changes (by martinl):

* component: Default => wxGUI

Comment:

Please provide your wx file in order to reproduce the error.

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

#3940: Error Reading settings from Roaming file
-----------------------+------------------------------------
  Reporter: dnewcomb | Owner: grass-dev@…
      Type: defect | Status: new
  Priority: normal | Milestone: 7.8.2
Component: wxGUI | Version: git-releasebranch78
Resolution: | Keywords: Error Reading Settings
       CPU: x86-64 | Platform: MSWindows
-----------------------+------------------------------------
Changes (by dnewcomb):

* Attachment "wx" added.

wx file as requsted

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

#3940: Error Reading settings from Roaming file
-----------------------+------------------------------------
  Reporter: dnewcomb | Owner: grass-dev@…
      Type: defect | Status: new
  Priority: normal | Milestone: 7.8.2
Component: wxGUI | Version: git-releasebranch78
Resolution: | Keywords: Error Reading Settings
       CPU: x86-64 | Platform: MSWindows
-----------------------+------------------------------------

Comment (by dnewcomb):

Installed on different computer that had previously had GRASS 7.6.1
installed and did not see the same message.

Original computer had previously had an installation of 7.4.1. Possible
conflict with remnants of 7.4.1 installation?

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

#3940: Error Reading settings from Roaming file
-----------------------+------------------------------------
  Reporter: dnewcomb | Owner: grass-dev@…
      Type: defect | Status: new
  Priority: normal | Milestone: 7.8.2
Component: wxGUI | Version: git-releasebranch78
Resolution: | Keywords: Error Reading Settings
       CPU: x86-64 | Platform: MSWindows
-----------------------+------------------------------------

Comment (by hellik):

confirmed, tested here:

{{{
System Info
GRASS version: 7.8.1
Code revision: c865432c9
Build date: 2019-11-10
Build platform: x86_64-w64-mingw32
GDAL: 3.0.2
PROJ: 6.2.1
GEOS: 3.8.0
SQLite: 3.29.0
Python: 3.7.0
wxPython: 4.0.3
Platform: Windows-10-10.0.18362-SP0 (OSGeo4W)
}}}

here it is a win 10 box with german locale; when I switch in the GRASS
preferences to english as GUI language; after restarting I get the same
following message:

{{{
Starting GRASS GIS...
Error: Reading settings from file
<C:\Users\myuser\AppData\Roaming\GRASS7\wx> failed.
                 Details: not enough values to unpack (expected 2, got 1)
                 Line: ''

WARNING: Concurrent mapset locking is not supported on Windows
Cleaning up temporary files...

           __________ ___ __________ _______________
          / ____/ __ \/ | / ___/ ___/ / ____/ _/ ___/
         / / __/ /_/ / /| | \__ \\_ \ / / __ / / \__ \
        / /_/ / _, _/ ___ |___/ /__/ / / /_/ // / ___/ /
        \____/_/ |_/_/ |_/____/____/ \____/___//____/

Welcome to GRASS GIS 7.8.1
GRASS GIS homepage: https://grass.osgeo.org
This version running through: Command Prompt
(C:\WINDOWS\system32\cmd.exe)
Help is available with the command: g.manual -i
See the licence terms with: g.version -c
See citation options with: g.version -x
If required, restart the GUI with: g.gui wxpython
When ready to quit enter: exit

Launching <wxpython> GUI in the background, please wait...
Microsoft Windows [Version 10.0.18363.476]
(c) 2019 Microsoft Corporation. Alle Rechte vorbehalten.

C:\>Error: Reading settings from file
<C:\Users\myuser\AppData\Roaming\GRASS7\wx> failed.
                 Details: not enough values to unpack (expected 2, got 1)
                 Line: ''
}}}

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

#3940: Error Reading settings from Roaming file
-----------------------+------------------------------------
  Reporter: dnewcomb | Owner: grass-dev@…
      Type: defect | Status: new
  Priority: normal | Milestone: 7.8.2
Component: wxGUI | Version: git-releasebranch78
Resolution: | Keywords: Error Reading Settings
       CPU: x86-64 | Platform: MSWindows
-----------------------+------------------------------------

Comment (by hellik):

Replying to [comment:3 hellik]:
> confirmed, tested here:
>
> {{{
> System Info
> GRASS version: 7.8.1
> Code revision: c865432c9
> Build date: 2019-11-10
> Build platform: x86_64-w64-mingw32
> GDAL: 3.0.2
> PROJ: 6.2.1
> GEOS: 3.8.0
> SQLite: 3.29.0
> Python: 3.7.0
> wxPython: 4.0.3
> Platform: Windows-10-10.0.18362-SP0 (OSGeo4W)
> }}}
>
>
> here it is a win 10 box with german locale; when I switch in the GRASS
preferences to english as GUI language; after restarting I get the same
following message:

the same with

{{{
System Info
GRASS Version: 7.9.dev
Code revision: 5b87a3311
Build date: 2019-11-26
Build platform: x86_64-w64-mingw32
GDAL: 3.0.2
PROJ: 6.2.1
GEOS: 3.8.0
SQLite: 3.29.0
Python: 3.7.0
wxPython: 4.0.3
Platform: Windows-10-10.0.18362-SP0 (OSGeo4W)
}}}

when I switch in german win 10 box to english in the GUI and restart it

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

#3940: Error Reading settings from Roaming file
-----------------------+------------------------------------
  Reporter: dnewcomb | Owner: grass-dev@…
      Type: defect | Status: new
  Priority: normal | Milestone: 7.8.2
Component: wxGUI | Version: git-releasebranch78
Resolution: | Keywords: Error Reading Settings
       CPU: x86-64 | Platform: MSWindows
-----------------------+------------------------------------

Comment (by hellik):

tested with

{{{
GRASS version: 7.9.dev
Code revision: 6fa3e7c3f
Build date: 2019-12-02
Build platform: x86_64-w64-mingw32
GDAL: 3.0.2
PROJ: 6.2.1
GEOS: 3.8.0
SQLite: 3.29.0
Python: 3.7.0
wxPython: 4.0.7
Platform: Windows-10-10.0.18362-SP0 (OSGeo4W)
}}}

and 7.8.1

{{{
Starting GRASS GIS...
Error: Reading settings from file
<C:\Users\ffff\AppData\Roaming\GRASS7\wx> failed.
                 Details: not enough values to unpack (expected 2, got 1)
                 Line: ''

WARNING: Concurrent mapset locking is not supported on Windows
Cleaning up temporary files...

           __________ ___ __________ _______________
          / ____/ __ \/ | / ___/ ___/ / ____/ _/ ___/
         / / __/ /_/ / /| | \__ \\_ \ / / __ / / \__ \
        / /_/ / _, _/ ___ |___/ /__/ / / /_/ // / ___/ /
        \____/_/ |_/_/ |_/____/____/ \____/___//____/

Welcome to GRASS GIS 7.9.dev (6fa3e7c3f)
GRASS GIS homepage: https://grass.osgeo.org
This version running through: Command Prompt
(C:\WINDOWS\system32\cmd.exe)
Help is available with the command: g.manual -i
See the licence terms with: g.version -c
See citation options with: g.version -x
If required, restart the GUI with: g.gui wxpython
When ready to quit enter: exit

Launching <wxpython> GUI in the background, please wait...
Microsoft Windows [Version 10.0.18363.476]
(c) 2019 Microsoft Corporation. Alle Rechte vorbehalten.

C:\>Error: Reading settings from file
<C:\Users\ffff\AppData\Roaming\GRASS7\wx> failed.
                 Details: not enough values to unpack (expected 2, got 1)
                 Line: ''
}}}

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