Re: [GRASS-user] Need help identifying missing wxgtk dependencies
--- Original Message --- On Sunday, August 14th, 2022 at 00:40, Anna Petrášová wrote: > On Sat, Aug 13, 2022 at 5:57 PM Eric Patton > wrote: > >> --- Original Message --- >> On Saturday, August 13th, 2022 at 00:23, Anna Petrášová >> wrote: >> >>> I would say ctypes compilation may be a problem, there is a common issue >>> related to libproj, see also >>> https://github.com/OSGeo/grass/issues/435#issuecomment-688807074 >>> >>> Anna >> >> Thanks for the link, Anna. I have the multiple proj installations thing >> resolved now, but I'm not sure what to make of the ctypes issue. I read >> through the bug report, but it's beyond me. > > Does the ctypes part of compilation go through ok? It seems to me the problem > you describe is not related to Python or wx. I don't see anything related to ctypes in the configuration messages or the config.log - what config messages should a "good" installation have?___ grass-user mailing list grass-user@lists.osgeo.org https://lists.osgeo.org/mailman/listinfo/grass-user
Re: [GRASS-user] Need help identifying missing wxgtk dependencies
On Sat, Aug 13, 2022 at 5:57 PM Eric Patton wrote: > --- Original Message --- > On Saturday, August 13th, 2022 at 00:23, Anna Petrášová < > kratocha...@gmail.com> wrote: > > I would say ctypes compilation may be a problem, there is a common issue > related to libproj, see also > https://github.com/OSGeo/grass/issues/435#issuecomment-688807074 > > Anna > > > Thanks for the link, Anna. I have the multiple proj installations thing > resolved now, but I'm not sure what to make of the ctypes issue. I read > through the bug report, but it's beyond me. > Does the ctypes part of compilation go through ok? It seems to me the problem you describe is not related to Python or wx. > > -- > Eric > > > ___ grass-user mailing list grass-user@lists.osgeo.org https://lists.osgeo.org/mailman/listinfo/grass-user
Re: [GRASS-user] Need help identifying missing wxgtk dependencies
I would say ctypes compilation may be a problem, there is a common issue related to libproj, see also https://github.com/OSGeo/grass/issues/435#issuecomment-688807074 Anna On Fri, Aug 12, 2022 at 11:45 AM Eric Patton via grass-user < grass-user@lists.osgeo.org> wrote: > --- Original Message --- > On Friday, August 12th, 2022 at 12:27, Markus Neteler > wrote: > > > Pls run this to print the Python and wxPython versions: > > > > python3 -c "import sys, wx; print(sys.version); print(wx.version())" > > libgrass: > > locate libgrass_gis.8.3.so > /usr/local/grass/dist.x86_64-pc-linux-gnu/lib/libgrass_gis.8.3.so > /usr/local/grass83/lib/libgrass_gis.8.3.so > > python3: > > python3 -c "import sys, wx; print(sys.version); print(wx.version())" > 3.8.10 (default, Jun 22 2022, 20:18:18) > [GCC 9.4.0] > 4.0.7 gtk3 (phoenix) wxWidgets 3.0.4 > > ~ Eric. > > > > > ___ > grass-user mailing list > grass-user@lists.osgeo.org > https://lists.osgeo.org/mailman/listinfo/grass-user > ___ grass-user mailing list grass-user@lists.osgeo.org https://lists.osgeo.org/mailman/listinfo/grass-user
Re: [GRASS-user] Need help identifying missing wxgtk dependencies
--- Original Message --- On Friday, August 12th, 2022 at 12:27, Markus Neteler wrote: > Pls run this to print the Python and wxPython versions: > > python3 -c "import sys, wx; print(sys.version); print(wx.version())" libgrass: > locate libgrass_gis.8.3.so /usr/local/grass/dist.x86_64-pc-linux-gnu/lib/libgrass_gis.8.3.so /usr/local/grass83/lib/libgrass_gis.8.3.so python3: > python3 -c "import sys, wx; print(sys.version); print(wx.version())" 3.8.10 (default, Jun 22 2022, 20:18:18) [GCC 9.4.0] 4.0.7 gtk3 (phoenix) wxWidgets 3.0.4 ~ Eric. ___ grass-user mailing list grass-user@lists.osgeo.org https://lists.osgeo.org/mailman/listinfo/grass-user
Re: [GRASS-user] Need help identifying missing wxgtk dependencies
On Fri, Aug 12, 2022 at 3:49 PM Eric Patton via grass-user wrote: > On Thursday, August 11th, 2022 at 19:29, Markus Neteler > wrote: ... > > > Launching g.gui gives a popup window that says "Unable to get geographic > > > extent. Force quitting wxGUI. Please manually run g.region to fix the > > > problem." > > > > > > On the terminal, this was printed after launhcing g.gui: > > > > > > > g.gui > > > > Launching GUI in the background, please wait... > > > > wxdigit.py: Could not load grass_gis.8.3. > > > > wxnviz.py: Could not load grass_gis.8.3. And libgrass_gis.8.3.so etc are existing? > I still seem to have the wxdigit error, though. > > wxdigit.py: > > > locate wxdigit.py > /usr/local/grass/dist.x86_64-pc-linux-gnu/gui/wxpython/vdigit/wxdigit.py > /usr/local/grass/gui/wxpython/vdigit/wxdigit.py > /usr/local/grass83/gui/wxpython/vdigit/wxdigit.py > > wxnviz.py: > > > locate wxdigit.py > /usr/local/grass/dist.x86_64-pc-linux-gnu/gui/wxpython/vdigit/wxdigit.py > /usr/local/grass/gui/wxpython/vdigit/wxdigit.py > /usr/local/grass83/gui/wxpython/vdigit/wxdigit.py Pls run this to print the Python and wxPython versions: python3 -c "import sys, wx; print(sys.version); print(wx.version())" Markus ___ grass-user mailing list grass-user@lists.osgeo.org https://lists.osgeo.org/mailman/listinfo/grass-user
Re: [GRASS-user] Need help identifying missing wxgtk dependencies
--- Original Message --- On Thursday, August 11th, 2022 at 19:29, Markus Neteler wrote: > Please check if you have by chance PROJ libraries twice on your system > (maybe a leftover from a local compilation vs distro packages. > > sudo updatedb > locate libproj > > may be of help here. Also check the output of > > ldd $(which g.region) > > for anything suspicious. Hi Markus, Indeed, it looks like a did have multiple projlibs installed - thanks. > > Launching g.gui gives a popup window that says "Unable to get geographic > > extent. Force quitting wxGUI. Please manually run g.region to fix the > > problem." > > > > On the terminal, this was printed after launhcing g.gui: > > > > > g.gui > > > Launching GUI in the background, please wait... > > > wxdigit.py: Could not load grass_gis.8.3. > > > wxnviz.py: Could not load grass_gis.8.3. > > > Please check (with locate, see above) if the library is on your system. I still seem to have the wxdigit error, though. wxdigit.py: > locate wxdigit.py /usr/local/grass/dist.x86_64-pc-linux-gnu/gui/wxpython/vdigit/wxdigit.py /usr/local/grass/gui/wxpython/vdigit/wxdigit.py /usr/local/grass83/gui/wxpython/vdigit/wxdigit.py wxnviz.py: > locate wxdigit.py /usr/local/grass/dist.x86_64-pc-linux-gnu/gui/wxpython/vdigit/wxdigit.py /usr/local/grass/gui/wxpython/vdigit/wxdigit.py /usr/local/grass83/gui/wxpython/vdigit/wxdigit.py > > Additionally, I wanted to ask if we have a searchable Grass mailing list > > site? The mailman site is kind of useless for trying to search old messages. > > > I want that, too :-) > For the time being, here is a 3rd party search interface > https://marc.info/?l=grass-user&r=1&w=2 > > Markus Thanks so much for this site, I had no idea it existed! ~ Eric. ___ grass-user mailing list grass-user@lists.osgeo.org https://lists.osgeo.org/mailman/listinfo/grass-user
Re: [GRASS-user] Need help identifying missing wxgtk dependencies
On Thu, Aug 11, 2022 at 8:06 PM Eric Patton via grass-user wrote: > > HI, > > I'm doing a fresh install of Grass 8.3dev on a new laptop running Linux Mint > 20.3. It's been a while since I've had to > do a new install, so used the Linux Mint wiki instructions here: > https://grasswiki.osgeo.org/wiki/Compile_and_Install#Linux_Mint > > I had no obvious error during configure/make/install. > > > g.version -gre > version=8.3.dev > date=2022 > revision=c1b1ff69d > build_date=2022-08-11 > build_platform=x86_64-pc-linux-gnu > build_off_t_size=8 > libgis_revision=2b85ab5eb > libgis_date=2022-07-25T15:37:35+00:00 > proj=7.2.1 > gdal=3.5.1 > geos=3.11.0 > sqlite=3.31.1 > > After launching Grass, g.region -p gives: > > > g.region -p > projection: 99 (unnamed) > zone: 0 > datum: wgs84 > ellipsoid: wgs84 > north: 149300 > south: 124200 > west: -25900 > east: 7800 > nsres: 100 > ewres: 100 > rows: 251 > cols: 337 > cells: 84587 > free(): invalid pointer > Aborted (core dumped) Please check if you have by chance PROJ libraries twice on your system (maybe a leftover from a local compilation vs distro packages. sudo updatedb locate libproj may be of help here. Also check the output of ldd $(which g.region) for anything suspicious. > Launching g.gui gives a popup window that says "Unable to get geographic > extent. Force quitting wxGUI. Please manually run g.region to fix the > problem." > > On the terminal, this was printed after launhcing g.gui: > > > g.gui > Launching GUI in the background, please wait... > wxdigit.py: Could not load grass_gis.8.3. > wxnviz.py: Could not load grass_gis.8.3. Please check (with locate, see above) if the library is on your system. > I noticed in the wxGUI console these messages: > > "3D view mode not available > Reason: cannot import name 'DM_FLAT' from 'nviz.wxnviz' " > > and also this one: > > "Vector digitizer not available. > Reason: name 'sys' is not defined". Mhh, weird. Maybe an error caused by another error? > I thought I had all python/wxwidgets dependcies satisfied, but I must be > missing something obvious?? > > Additionally, I wanted to ask if we have a searchable Grass mailing list > site? The mailman site is kind of useless for trying to search old messages. I want that, too :-) For the time being, here is a 3rd party search interface https://marc.info/?l=grass-user&r=1&w=2 Markus ___ grass-user mailing list grass-user@lists.osgeo.org https://lists.osgeo.org/mailman/listinfo/grass-user
[GRASS-user] Need help identifying missing wxgtk dependencies
HI, I'm doing a fresh install of Grass 8.3dev on a new laptop running Linux Mint 20.3. It's been a while since I've had to do a new install, so used the Linux Mint wiki instructions here: https://grasswiki.osgeo.org/wiki/Compile_and_Install#Linux_Mint I had no obvious error during configure/make/install. > g.version -gre version=8.3.dev date=2022 revision=c1b1ff69d build_date=2022-08-11 build_platform=x86_64-pc-linux-gnu build_off_t_size=8 libgis_revision=2b85ab5eb libgis_date=2022-07-25T15:37:35+00:00 proj=7.2.1 gdal=3.5.1 geos=3.11.0sqlite=3.31.1 After launching Grass, g.region -p gives: > g.region -p projection: 99 (unnamed) zone: 0 datum: wgs84 ellipsoid: wgs84 north: 149300 south: 124200 west: -25900 east: 7800 nsres: 100 ewres: 100 rows: 251 cols: 337 cells: 84587 free(): invalid pointerAborted (core dumped) Launching g.gui gives a popup window that says "Unable to get geographic extent. Force quitting wxGUI. Please manually run g.region to fix the problem." On the terminal, this was printed after launhcing g.gui: > g.gui Launching GUI in the background, please wait... [wxdigit.py](http://wxdigit.py/): Could not load grass_gis.8.3.[wxnviz.py](http://wxnviz.py/): Could not load grass_gis.8.3. I noticed in the wxGUI console these messages: "3D view mode not available Reason: cannot import name 'DM_FLAT' from 'nviz.wxnviz' " and also this one: "Vector digitizer not available. Reason: name 'sys' is not defined". I thought I had all python/wxwidgets dependcies satisfied, but I must be missing something obvious?? Additionally, I wanted to ask if we have a searchable Grass mailing list site? The [mailman site](https://lists.osgeo.org/pipermail/grass-user/) is kind of useless for trying to search old messages. Thanks for any clues! I -- Eric Patton GPG ID: rsa4096/0x[B72AE021](http://keys.gnupg.net/pks/lookup?op=get&search=0x24CC056BB72AE021) Fingerprint: 1B0F 7AFD 9B5B 0E59 DCBC 36B4 24CC 056B B72A E021 Sent with [Proton Mail](https://proton.me/) secure email.___ grass-user mailing list grass-user@lists.osgeo.org https://lists.osgeo.org/mailman/listinfo/grass-user