Re: [GRASS-dev] libgrass_gis.7.8 not found issue

2021-03-03 Thread Pedro Venâncio
Hi Markus and Helmut,

It is fixed now:

https://trac.osgeo.org/osgeo4w/ticket/661#comment:11

Thank you very much!

Best regards,
Pedro



Markus Neteler  escreveu no dia quarta, 3/03/2021 à(s)
21:25:

> On Wed, Mar 3, 2021 at 10:04 PM Helmut Kudrnovsky  wrote:
> ...
> > >I've installed GRASS 7.8.5 from new OSGeo4W installer [0],
> > >[0] https://download.osgeo.org/osgeo4w/testing/
> >
> > see
> >
> > http://download.osgeo.org/osgeo4w/testing/x86_64/release/python3/
> >
> > it seems python 3.9 is used in the new OSGeo4W environment:
> >
> > python3-3.9.0-7-src.tar.bz2 35172020-Oct-13 21:04
> >
> > not sure if GRASS GIS 7.8.x is (already) supporting python 3.9
>
> I think it does, at least I am using GRASS GIS 7.8.x with Python 3.9
> on Fedora 33 without any problems.
>
> > @Anna: any idea?
>
> No idea about Windows, though.
>
> > kind regards
> > Helmut
>
> Markus
>
___
grass-dev mailing list
grass-dev@lists.osgeo.org
https://lists.osgeo.org/mailman/listinfo/grass-dev


Re: [GRASS-dev] libgrass_gis.7.8 not found issue

2021-03-03 Thread Markus Neteler
On Wed, Mar 3, 2021 at 10:04 PM Helmut Kudrnovsky  wrote:
...
> >I've installed GRASS 7.8.5 from new OSGeo4W installer [0],
> >[0] https://download.osgeo.org/osgeo4w/testing/
>
> see
>
> http://download.osgeo.org/osgeo4w/testing/x86_64/release/python3/
>
> it seems python 3.9 is used in the new OSGeo4W environment:
>
> python3-3.9.0-7-src.tar.bz2 35172020-Oct-13 21:04
>
> not sure if GRASS GIS 7.8.x is (already) supporting python 3.9

I think it does, at least I am using GRASS GIS 7.8.x with Python 3.9
on Fedora 33 without any problems.

> @Anna: any idea?

No idea about Windows, though.

> kind regards
> Helmut

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


[GRASS-dev] libgrass_gis.7.8 not found issue

2021-03-03 Thread Helmut Kudrnovsky
>wxnviz.py: Could not find module
>'C:\OSGEO4~1\apps\grass\grass78\lib\libgrass_gis.7.8.dll' (or one of
>its dependencies). Try using the full path with constructor syntax.
>wxdigit.py: Could not find module
>'C:\OSGEO4~1\apps\grass\grass78\lib\libgrass_gis.7.8.dll' (or one of
>its dependencies). Try using the full path with constructor syntax.
>wxdigit.py: Could not find module
>'C:\OSGEO4~1\apps\grass\grass78\lib\libgrass_gis.7.8.dll' (or one of
>its dependencies).

[...]

>  File "C:\OSGEO4~1\apps\grass\grass78\etc\python\grass\lib\gis.py",
>line 23, in 
>_libs["grass_gis.7.8"] = load_library("grass_gis.7.8")
>  File "C:\OSGEO4~1\apps\grass\grass78\etc\python\grass\lib\ctypes_loader.py",
>line 62, in load_library
>return self.load(path)
>  File "C:\OSGEO4~1\apps\grass\grass78\etc\python\grass\lib\ctypes_loader.py",
>line 240, in load
>return _WindowsLibrary(path)
>  File "C:\OSGEO4~1\apps\grass\grass78\etc\python\grass\lib\ctypes_loader.py",
>line 223, in __init__
>self.cdll = ctypes.cdll.LoadLibrary(path)
>  File "C:\OSGEO4~1\apps\Python39\lib\ctypes\__init__.py", line 452,
>in LoadLibrary
>return self._dlltype(name)
>  File "C:\OSGEO4~1\apps\Python39\lib\ctypes\__init__.py", line 374, in 
> __init__
>self._handle = _dlopen(self._name, mode)
>FileNotFoundError: Could not find module
>'C:\OSGEO4~1\apps\grass\grass78\lib\libgrass_gis.7.8.dll' (or one of
>its dependencies). Try using the full path with constructor syntax.
>OnInit returned false, exiting...


>I've installed GRASS 7.8.5 from new OSGeo4W installer [0],
>[0] https://download.osgeo.org/osgeo4w/testing/

see

http://download.osgeo.org/osgeo4w/testing/x86_64/release/python3/

it seems python 3.9 is used in the new OSGeo4W environment:

python3-3.9.0-7-src.tar.bz2 35172020-Oct-13 21:04

not sure if GRASS GIS 7.8.x is (already) supporting python 3.9

@Anna: any idea?

kind regards
Helmut

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


[GRASS-dev] libgrass_gis.7.8 not found issue

2021-03-03 Thread Pedro Venâncio
Hi all,

I've installed GRASS 7.8.5 from new OSGeo4W installer [0], but when I run
GRASS and try to start a new session I get:

Cleaning up temporary files...
D1/1: G_set_program_name(): clean_temp
D1/1: G_set_program_name(): db.connect
D1/1: Creating new default DB params with db_set_default_connection()

  __  ___   _____
 / / __ \/   | / ___/ ___/   / /  _/ ___/
/ / __/ /_/ / /| | \__ \\_  \   / / __ / / \__ \
   / /_/ / _, _/ ___ |___/ /__/ /  / /_/ // / ___/ /
   \/_/ |_/_/  |_///   \/___///

Welcome to GRASS GIS 7.8.5
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.19042.804]
(c) 2020 Microsoft Corporation. Todos os direitos reservados.

C:\OSGeo4W64\bin>D1/1: G_set_program_name(): g.gisenv
D1/1: grass.script.core.start_command(): g.gisenv -n
D1/1: G_set_program_name(): g.gisenv
wxnviz.py: Could not find module
'C:\OSGEO4~1\apps\grass\grass78\lib\libgrass_gis.7.8.dll' (or one of
its dependencies). Try using the full path with constructor syntax.
wxdigit.py: Could not find module
'C:\OSGEO4~1\apps\grass\grass78\lib\libgrass_gis.7.8.dll' (or one of
its dependencies). Try using the full path with constructor syntax.
Traceback (most recent call last):
  File "C:\OSGEO4~1\apps\grass\grass78\gui\wxpython\wxgui.py", line
104, in OnInit
from lmgr.frame import GMFrame
  File "C:\OSGEO4~1\apps\grass\grass78\gui\wxpython\lmgr\frame.py",
line 51, in 
from lmgr.layertree import LayerTree, LMIcons
  File "C:\OSGEO4~1\apps\grass\grass78\gui\wxpython\lmgr\layertree.py",
line 38, in 
from mapdisp.frame import MapFrame
  File "C:\OSGEO4~1\apps\grass\grass78\gui\wxpython\mapdisp\frame.py",
line 43, in 
from mapwin.buffered import BufferedMapWindow
  File "C:\OSGEO4~1\apps\grass\grass78\gui\wxpython\mapwin\buffered.py",
line 52, in 
import grass.lib.gis as gislib
  File "C:\OSGEO4~1\apps\grass\grass78\etc\python\grass\lib\gis.py",
line 23, in 
_libs["grass_gis.7.8"] = load_library("grass_gis.7.8")
  File "C:\OSGEO4~1\apps\grass\grass78\etc\python\grass\lib\ctypes_loader.py",
line 62, in load_library
return self.load(path)
  File "C:\OSGEO4~1\apps\grass\grass78\etc\python\grass\lib\ctypes_loader.py",
line 240, in load
return _WindowsLibrary(path)
  File "C:\OSGEO4~1\apps\grass\grass78\etc\python\grass\lib\ctypes_loader.py",
line 223, in __init__
self.cdll = ctypes.cdll.LoadLibrary(path)
  File "C:\OSGEO4~1\apps\Python39\lib\ctypes\__init__.py", line 452,
in LoadLibrary
return self._dlltype(name)
  File "C:\OSGEO4~1\apps\Python39\lib\ctypes\__init__.py", line 374, in __init__
self._handle = _dlopen(self._name, mode)
FileNotFoundError: Could not find module
'C:\OSGEO4~1\apps\grass\grass78\lib\libgrass_gis.7.8.dll' (or one of
its dependencies). Try using the full path with constructor syntax.
OnInit returned false, exiting...

This seems to affect Windows 10 operating systems in locale languages,
in this case, portuguese, where the issue is confirmed on 3 different
machines.

I've reported it in OSGeo4W tracker [1], because I thought it was
related to some kind of packaging issue, but I decided to post it here
to get your opinions.

Thank you very much.

Best regards,

Pedro Venâncio


[0] https://download.osgeo.org/osgeo4w/testing/
[1] https://trac.osgeo.org/osgeo4w/ticket/661
___
grass-dev mailing list
grass-dev@lists.osgeo.org
https://lists.osgeo.org/mailman/listinfo/grass-dev