[GRASS-dev] missing logs for Windows addons

Hi Martin,

would be possible to upload logs of addon compilation on Windows? I think they used to be there at one point. I am trying to figure out what’s wrong with compilation of r.futures.

Thanks,
Anna

Hi Anna,

po 25. 11. 2019 v 16:49 odesílatel Anna Petrášová
<kratochanna@gmail.com> napsal:

would be possible to upload logs of addon compilation on Windows? I think they used to be there at one point. I am trying to figure out what's wrong with compilation of r.futures.

logs are available [1]. Apparently broken, I will take a look ASAP.

Martin

[1] https://wingrass.fsv.cvut.cz/grass79/x86_64/addons/grass-7.9.dev/logs/

--
Martin Landa
http://geo.fsv.cvut.cz/gwiki/Landa
http://gismentors.cz/mentors/landa

po 25. 11. 2019 v 18:32 odesílatel Martin Landa <landa.martin@gmail.com> napsal:

logs are available [1]. Apparently broken, I will take a look ASAP.

BTW, logs for 7.8.1 looks better :wink:

https://wingrass.fsv.cvut.cz/grass78/x86_64/addons/grass-7.8.1/logs/

Ma

--
Martin Landa
http://geo.fsv.cvut.cz/gwiki/Landa
http://gismentors.cz/mentors/landa

Seems modules that import numpy fail to build…

···

Fra: grass-dev grass-dev-bounces@lists.osgeo.org på vegne av Martin Landa landa.martin@gmail.com
Sendt: mandag 25. november 2019 18:34
Til: Anna Petrášová kratochanna@gmail.com
Kopi: GRASS-dev grass-dev@lists.osgeo.org
Emne: Re: [GRASS-dev] missing logs for Windows addons

po 25. 11. 2019 v 18:32 odesílatel Martin Landa landa.martin@gmail.com napsal:

logs are available [1]. Apparently broken, I will take a look ASAP.

BTW, logs for 7.8.1 looks better :wink:

https://wingrass.fsv.cvut.cz/grass78/x86_64/addons/grass-7.8.1/logs/

Ma


Martin Landa
http://geo.fsv.cvut.cz/gwiki/Landa
http://gismentors.cz/mentors/landa


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

This is still an issue, in case of 7.8.1 it can’t find numpy, e.g.

https://wingrass.fsv.cvut.cz/grass78/x86_64/addons/grass-7.8.1/logs/r.futures.log

in case of 7.8.dev and 7.9 everything fails due to:

Fatal Python error: initfsencoding: unable to load the file system codec
  File "C:/OSGeo4W64/apps/Python27\lib\encodings\__init__.py", line 123
    raise CodecRegistryError,\
                            ^
SyntaxError: invalid syntax

which seems to be some python 2/3 mismatch, e.g.:

https://trac.osgeo.org/osgeo4w/ticket/547

On Mon, Nov 25, 2019 at 7:59 PM Stefan Blumentrath <Stefan.Blumentrath@nina.no> wrote:

Seems modules that import numpy fail to build…


Fra: grass-dev <grass-dev-bounces@lists.osgeo.org> på vegne av Martin Landa <landa.martin@gmail.com>
Sendt: mandag 25. november 2019 18:34
Til: Anna Petrášová <kratochanna@gmail.com>
Kopi: GRASS-dev <grass-dev@lists.osgeo.org>
Emne: Re: [GRASS-dev] missing logs for Windows addons

po 25. 11. 2019 v 18:32 odesílatel Martin Landa <landa.martin@gmail.com> napsal:

logs are available [1]. Apparently broken, I will take a look ASAP.

BTW, logs for 7.8.1 looks better :wink:

https://wingrass.fsv.cvut.cz/grass78/x86_64/addons/grass-7.8.1/logs/

Ma


Martin Landa
http://geo.fsv.cvut.cz/gwiki/Landa
http://gismentors.cz/mentors/landa


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

Hi,

čt 2. 1. 2020 v 20:08 odesílatel Anna Petrášová <kratochanna@gmail.com> napsal:

This is still an issue, in case of 7.8.1 it can't find numpy, e.g.

https://wingrass.fsv.cvut.cz/grass78/x86_64/addons/grass-7.8.1/logs/r.futures.log

fixed [1].

in case of 7.8.dev and 7.9 everything fails due to:

Should be better [2], r.futures compiled [3]. Ma

[1] https://wingrass.fsv.cvut.cz/grass78/x86_64/addons/grass-7.8.1/logs/r.futures.log
[2] https://wingrass.fsv.cvut.cz/grass79/x86_64/addons/grass-7.9.dev/logs/
[3] https://wingrass.fsv.cvut.cz/grass79/x86_64/addons/grass-7.9.dev/logs/r.futures.log

--
Martin Landa
http://geo.fsv.cvut.cz/gwiki/Landa
http://gismentors.cz/mentors/landa

Thanks for looking into this! Unfortunately, there is now a different problem, in 7.8 and 7.9, it looks like all c modules are not compiled, that’s also the case of r.futures.pga (which is a c module within r.futures):

make -C r.futures.pga || echo /c/msys64/usr/src/grass-addons/grass7/raster/r.futures/r.futures.pga >> /usr/src/grass782/error.log
make[1]: Entering directory '/c/msys64/usr/src/grass-addons/grass7/raster/r.futures/r.futures.pga'
test -d OBJ.x86_64-w64-mingw32 || mkdir -p OBJ.x86_64-w64-mingw32
gcc -I/c/OSGeo4W64/include -g -O2  -I/c/OSGeo4W64/include -I/usr/src/grass782/dist.x86_64-w64-mingw32/include -I/usr/src/grass782/dist.x86_64-w64-mingw32/include  -D_FILE_OFFSET_BITS=64  -DPACKAGE=\""grassmods"\"   -I/usr/src/grass782/dist.x86_64-w64-mingw32/include -I/usr/src/grass782/dist.x86_64-w64-mingw32/include -DRELDIR=\"/c/msys64/usr/src/grass-addons/grass7/raster/r.futures/r.futures.pga\" -o OBJ.x86_64-w64-mingw32/keyvalue.o -c keyvalue.c
/bin/sh: gcc: command not found
make[1]: *** [/c/msys64/usr/src/grass782/include/Make/Compile.make:32: OBJ.x86_64-w64-mingw32/keyvalue.o] Error 127

On Fri, Jan 3, 2020 at 3:13 PM Martin Landa <landa.martin@gmail.com> wrote:

Hi,

čt 2. 1. 2020 v 20:08 odesílatel Anna Petrášová <kratochanna@gmail.com> napsal:

This is still an issue, in case of 7.8.1 it can’t find numpy, e.g.

https://wingrass.fsv.cvut.cz/grass78/x86_64/addons/grass-7.8.1/logs/r.futures.log

fixed [1].

in case of 7.8.dev and 7.9 everything fails due to:

Should be better [2], r.futures compiled [3]. Ma

[1] https://wingrass.fsv.cvut.cz/grass78/x86_64/addons/grass-7.8.1/logs/r.futures.log
[2] https://wingrass.fsv.cvut.cz/grass79/x86_64/addons/grass-7.9.dev/logs/
[3] https://wingrass.fsv.cvut.cz/grass79/x86_64/addons/grass-7.9.dev/logs/r.futures.log


Martin Landa
http://geo.fsv.cvut.cz/gwiki/Landa
http://gismentors.cz/mentors/landa

Ahoj,

po 6. 1. 2020 v 9:42 odesílatel Anna Petrášová <kratochanna@gmail.com> napsal:

Thanks for looking into this! Unfortunately, there is now a different problem, in 7.8 and 7.9, it looks like all c modules are not compiled, that's also the case of r.futures.pga (which is a c module within r.futures):

ops, opraveno. Martin

--
Martin Landa
http://geo.fsv.cvut.cz/gwiki/Landa
http://gismentors.cz/mentors/landa

On 6/01/20 13:29, Martin Landa wrote:

Ahoj,

po 6. 1. 2020 v 9:42 odesílatel Anna Petrášová <kratochanna@gmail.com> napsal:

Thanks for looking into this! Unfortunately, there is now a different problem, in 7.8 and 7.9, it looks like all c modules are not compiled, that's also the case of r.futures.pga (which is a c module within r.futures):

ops, opraveno. Martin

I see that r.object.activelearning also fails with:

"ModuleNotFoundError: No module named 'scipy'"

Should this module be changed somehow to wrap the import in a way to only make it fail at runtime ? ISTR, there was a technique for that, or ?

Moritz

Hi Moritz,

po 6. 1. 2020 v 16:56 odesílatel Moritz Lennert <mlennert@club.worldonline.be> napsal:

I see that r.object.activelearning also fails with:

“ModuleNotFoundError: No module named ‘scipy’”

Should this module be changed somehow to wrap the import in a way to
only make it fail at runtime ? ISTR, there was a technique for that, or ?

A lazy import should do this for you.

Thanks!

On Mon, Jan 6, 2020 at 1:30 PM Martin Landa <landa.martin@gmail.com> wrote:

Ahoj,

po 6. 1. 2020 v 9:42 odesílatel Anna Petrášová <kratochanna@gmail.com> napsal:

Thanks for looking into this! Unfortunately, there is now a different problem, in 7.8 and 7.9, it looks like all c modules are not compiled, that’s also the case of r.futures.pga (which is a c module within r.futures):

ops, opraveno. Martin


Martin Landa
http://geo.fsv.cvut.cz/gwiki/Landa
http://gismentors.cz/mentors/landa

Hi, coming back to this… the addons don’t seem to be updated, I checked 2 addons and no recent changes are incorporated in the zip files. Is it possible you still download it from trac rather than github?

Thanks!

On Mon, Jan 6, 2020 at 12:10 PM Ondřej Pešek <pesej.ondrek@gmail.com> wrote:

Hi Moritz,

po 6. 1. 2020 v 16:56 odesílatel Moritz Lennert <mlennert@club.worldonline.be> napsal:

I see that r.object.activelearning also fails with:

“ModuleNotFoundError: No module named ‘scipy’”

Should this module be changed somehow to wrap the import in a way to
only make it fail at runtime ? ISTR, there was a technique for that, or ?

A lazy import should do this for you.

Hi,

pá 24. 1. 2020 v 16:16 odesílatel Anna Petrášová <kratochanna@gmail.com> napsal:

Hi, coming back to this... the addons don't seem to be updated, I checked 2 addons and no recent changes are incorporated in the zip files. Is it possible you still download it from trac rather than github?

which GRASS version? Ma

--
Martin Landa
http://geo.fsv.cvut.cz/gwiki/Landa
http://gismentors.cz/mentors/landa

On Tue, Jan 28, 2020 at 4:59 AM Martin Landa <landa.martin@gmail.com> wrote:

Hi,

pá 24. 1. 2020 v 16:16 odesílatel Anna Petrášová <kratochanna@gmail.com> napsal:

Hi, coming back to this… the addons don’t seem to be updated, I checked 2 addons and no recent changes are incorporated in the zip files. Is it possible you still download it from trac rather than github?

which GRASS version? Ma

I looked at 7.9, 7.8.2 and 7.8.dev, none of them have any recent changes

Anna


Martin Landa
http://geo.fsv.cvut.cz/gwiki/Landa
http://gismentors.cz/mentors/landa

Hi,

I found another issue, it’s not a big deal, but addons can’t be installed for grass7.8dev because the g.extension expects grass-7.8.3dev while the server uses grass-7.8.dev:

ERROR: Cannot open URL: http://wingrass.fsv.cvut.cz/grass78/x86_64/addons/grass-7.8.3dev/r.futures.zip

Anna

On Tue, Jan 28, 2020 at 9:00 AM Anna Petrášová <kratochanna@gmail.com> wrote:

On Tue, Jan 28, 2020 at 4:59 AM Martin Landa <landa.martin@gmail.com> wrote:

Hi,

pá 24. 1. 2020 v 16:16 odesílatel Anna Petrášová <kratochanna@gmail.com> napsal:

Hi, coming back to this… the addons don’t seem to be updated, I checked 2 addons and no recent changes are incorporated in the zip files. Is it possible you still download it from trac rather than github?

which GRASS version? Ma

I looked at 7.9, 7.8.2 and 7.8.dev, none of them have any recent changes

Anna


Martin Landa
http://geo.fsv.cvut.cz/gwiki/Landa
http://gismentors.cz/mentors/landa

Seems like the server is down right now…

On Fri, Feb 14, 2020 at 2:15 PM Anna Petrášová <kratochanna@gmail.com> wrote:

Hi,

I found another issue, it’s not a big deal, but addons can’t be installed for grass7.8dev because the g.extension expects grass-7.8.3dev while the server uses grass-7.8.dev:

ERROR: Cannot open URL: http://wingrass.fsv.cvut.cz/grass78/x86_64/addons/grass-7.8.3dev/r.futures.zip

Anna

On Tue, Jan 28, 2020 at 9:00 AM Anna Petrášová <kratochanna@gmail.com> wrote:

On Tue, Jan 28, 2020 at 4:59 AM Martin Landa <landa.martin@gmail.com> wrote:

Hi,

pá 24. 1. 2020 v 16:16 odesílatel Anna Petrášová <kratochanna@gmail.com> napsal:

Hi, coming back to this… the addons don’t seem to be updated, I checked 2 addons and no recent changes are incorporated in the zip files. Is it possible you still download it from trac rather than github?

which GRASS version? Ma

I looked at 7.9, 7.8.2 and 7.8.dev, none of them have any recent changes

Anna


Martin Landa
http://geo.fsv.cvut.cz/gwiki/Landa
http://gismentors.cz/mentors/landa

Hi,

pá 14. 2. 2020 v 20:15 odesílatel Anna Petrášová <kratochanna@gmail.com> napsal:

I found another issue, it's not a big deal, but addons can't be installed for grass7.8dev because the g.extension expects grass-7.8.3dev while the server uses grass-7.8.dev:

ERROR: Cannot open URL: http://wingrass.fsv.cvut.cz/grass78/x86_64/addons/grass-7.8.3dev/r.futures.zip

the correct URL is

http://wingrass.fsv.cvut.cz/grass78/x86_64/addons/grass-7.8.dev/r.futures.zip

Ma

--
Martin Landa
http://geo.fsv.cvut.cz/gwiki/Landa
http://gismentors.cz/mentors/landa

Hi,

út 28. 1. 2020 v 15:00 odesílatel Anna Petrášová <kratochanna@gmail.com> napsal:

I looked at 7.9, 7.8.2 and 7.8.dev, none of them have any recent changes

please check a next build (1/3), should be fixed.

Ma

--
Martin Landa
http://geo.fsv.cvut.cz/gwiki/Landa
http://gismentors.cz/mentors/landa

Thanks, confirmed!

On Sat, Feb 29, 2020 at 4:52 PM Martin Landa <landa.martin@gmail.com> wrote:

Hi,

út 28. 1. 2020 v 15:00 odesílatel Anna Petrášová <kratochanna@gmail.com> napsal:

I looked at 7.9, 7.8.2 and 7.8.dev, none of them have any recent changes

please check a next build (1/3), should be fixed.

Ma


Martin Landa
http://geo.fsv.cvut.cz/gwiki/Landa
http://gismentors.cz/mentors/landa

On Sat, Feb 29, 2020 at 4:51 PM Martin Landa <landa.martin@gmail.com> wrote:

Hi,

pá 14. 2. 2020 v 20:15 odesílatel Anna Petrášová <kratochanna@gmail.com> napsal:

I found another issue, it’s not a big deal, but addons can’t be installed for grass7.8dev because the g.extension expects grass-7.8.3dev while the server uses grass-7.8.dev:

ERROR: Cannot open URL: http://wingrass.fsv.cvut.cz/grass78/x86_64/addons/grass-7.8.3dev/r.futures.zip

the correct URL is

http://wingrass.fsv.cvut.cz/grass78/x86_64/addons/grass-7.8.dev/r.futures.zip

yes, but g.extension expects grass-7.8.3dev because grass.version() gives 7.8.3dev not 7.8.dev. So I guess the directory layout should follow that.

Ma


Martin Landa
http://geo.fsv.cvut.cz/gwiki/Landa
http://gismentors.cz/mentors/landa