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

2019-11-27 Thread GRASS GIS
#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: 
GRASS GIS 

___
grass-dev mailing list
grass-dev@lists.osgeo.org
https://lists.osgeo.org/mailman/listinfo/grass-dev

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

2019-11-27 Thread GRASS GIS
#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
  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  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
  failed.
 Details: not enough values to unpack (expected 2, got 1)
 Line: ''
 }}}

-- 
Ticket URL: 
GRASS GIS 

___
grass-dev mailing list
grass-dev@lists.osgeo.org
https://lists.osgeo.org/mailman/listinfo/grass-dev

Re: [GRASS-dev] [GRASS GIS] #3980: Error Reading list of LiDAR files in r.in.lidar 7.6.1, 7.8.1 on Windows 10

2019-11-27 Thread GRASS GIS
#3980: Error Reading list of LiDAR files in r.in.lidar 7.6.1, 7.8.1 on Windows 
10
---+-
  Reporter:  dnewcomb  |  Owner:  grass-dev@…
  Type:  defect| Status:  closed
  Priority:  normal|  Milestone:  7.8.2
 Component:  Default   |Version:  git-releasebranch78
Resolution:  invalid   |   Keywords:
   CPU:  x86-64|   Platform:  MSWindows
---+-
Changes (by dnewcomb):

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


Comment:

 As requested

-- 
Ticket URL: 
GRASS GIS 

___
grass-dev mailing list
grass-dev@lists.osgeo.org
https://lists.osgeo.org/mailman/listinfo/grass-dev

Re: [GRASS-dev] PyCharm 2019 with Grass 7.8.1

2019-11-27 Thread Zoltan Szecsei

HI,
Thanks for this.
On a point of "note", don't you also wonder why people buy PCs with 
slower CPU's _but more processing cores_, and then run everything 
single-threaded :-)


I do spatial data capture projects so am always scripting in different 
environments and languages - so I write in a way that I can run many 
(10+) scripts on 1 PC, and them still spread that across sometimes even 
10 PCs.


(Nice to see that you are also 'production aware')

Cheers for now,
Zoltan

On 2019/11/27 12:32, Maris Nartiss wrote:

I have been dealing with similar large file count issue by splitting
processing into two parts — processing script for a single file
launched with "grass --exec python my_processing_script
params_for_script" — no need for setting up session in advance etc.;
launcher script starting multiple processing scripts in parallel (one
file = one mapset).
Afterwards it is easy to modify launcher script to be started by srun
or sbatch and migrate to more than one PC, when your tasks outgrows
single system resources.

Good luck,
Māris.

otrd., 2019. g. 26. nov., plkst. 15:04 — lietotājs Stefan Blumentrath
() rakstīja:

Hi Zoltan,

did you try https://github.com/zarch/grass-session
That should simplify running GRASS algorithms using GRASS more as a library.

Cheers
Stefan

Fra: grass-dev  på vegne av Zoltan Szecsei 

Sendt: tirsdag 26. november 2019 13:34
Til: grass-dev@lists.osgeo.org 
Emne: [GRASS-dev] PyCharm 2019 with Grass 7.8.1

Hi,
I've just installed QGIS/GRASS etc with Osgeo4w64, but am struggling to
find out how to set up PyCharm to do some grasspy scripting with.
(import grass.scripting as gscript fails - I have set GISBASE, GRASSBIN
and PATH to various C:\OSGeo4W64\apps\grass\grass78 folders)

I need to run r.thin over 2800 tif images, so figured a python loop
should do it.

Any pointers would be welcome.

Thanks and regards,
Zoltan

--

=
Zoltan Szecsei GPrGISc 0031
Geograph (Pty) Ltd.
GIS and Photogrammetric Services

P.O. Box 7, Muizenberg 7950, South Africa.

Mobile: +27-83-6004028 (WhatsApp only)
Qatar:  +974 5083 2722 www.geograph.co.za
=

___
grass-dev mailing list
grass-dev@lists.osgeo.org
https://lists.osgeo.org/mailman/listinfo/grass-dev
___
grass-dev mailing list
grass-dev@lists.osgeo.org
https://lists.osgeo.org/mailman/listinfo/grass-dev


--

=
Zoltan Szecsei GPrGISc 0031
Geograph (Pty) Ltd.
GIS and Photogrammetric Services

P.O. Box 7, Muizenberg 7950, South Africa.

Mobile: +27-83-6004028 (WhatsApp only)
Qatar:  +974 5083 2722 www.geograph.co.za
=

___
grass-dev mailing list
grass-dev@lists.osgeo.org
https://lists.osgeo.org/mailman/listinfo/grass-dev

Re: [GRASS-dev] PyCharm 2019 with Grass 7.8.1

2019-11-27 Thread Maris Nartiss
I have been dealing with similar large file count issue by splitting
processing into two parts — processing script for a single file
launched with "grass --exec python my_processing_script
params_for_script" — no need for setting up session in advance etc.;
launcher script starting multiple processing scripts in parallel (one
file = one mapset).
Afterwards it is easy to modify launcher script to be started by srun
or sbatch and migrate to more than one PC, when your tasks outgrows
single system resources.

Good luck,
Māris.

otrd., 2019. g. 26. nov., plkst. 15:04 — lietotājs Stefan Blumentrath
() rakstīja:
>
> Hi Zoltan,
>
> did you try https://github.com/zarch/grass-session
> That should simplify running GRASS algorithms using GRASS more as a library.
>
> Cheers
> Stefan
> 
> Fra: grass-dev  på vegne av Zoltan Szecsei 
> 
> Sendt: tirsdag 26. november 2019 13:34
> Til: grass-dev@lists.osgeo.org 
> Emne: [GRASS-dev] PyCharm 2019 with Grass 7.8.1
>
> Hi,
> I've just installed QGIS/GRASS etc with Osgeo4w64, but am struggling to
> find out how to set up PyCharm to do some grasspy scripting with.
> (import grass.scripting as gscript fails - I have set GISBASE, GRASSBIN
> and PATH to various C:\OSGeo4W64\apps\grass\grass78 folders)
>
> I need to run r.thin over 2800 tif images, so figured a python loop
> should do it.
>
> Any pointers would be welcome.
>
> Thanks and regards,
> Zoltan
>
> --
>
> =
> Zoltan Szecsei GPrGISc 0031
> Geograph (Pty) Ltd.
> GIS and Photogrammetric Services
>
> P.O. Box 7, Muizenberg 7950, South Africa.
>
> Mobile: +27-83-6004028 (WhatsApp only)
> Qatar:  +974 5083 2722 www.geograph.co.za
> =
>
> ___
> grass-dev mailing list
> grass-dev@lists.osgeo.org
> https://lists.osgeo.org/mailman/listinfo/grass-dev
> ___
> grass-dev mailing list
> grass-dev@lists.osgeo.org
> https://lists.osgeo.org/mailman/listinfo/grass-dev
___
grass-dev mailing list
grass-dev@lists.osgeo.org
https://lists.osgeo.org/mailman/listinfo/grass-dev