Re: [GRASS-user] Single GUI window in 8.0.0RC2?

2022-01-21 Thread Veronica Andreo
Oh, sorry that I wasn't explicit enough.

I meant the appearance in your operative system. In my fedora box is under
Applications or Start  --> settings --> appearance, and there, in the Style
tab, I see adwaita, adwaita dark and such... Once you pick one of the dark
themes among the options, grass will get it too :)

[image: image.png]


El vie., 21 ene. 2022 17:20, Eric Patton 
escribió:

> Hi Vero,
>
> Did you mean the Appearance tab under GUI settings? There is nothing
> controlling color in this tab that I see, but under the Map Display tab,
> there is the background color selector. Changing that only changes the
> background of the map display window, not the GUI toolbar background.
>
> --
> Eric
>
>
> ‐‐‐ Original Message ‐‐‐
> On Friday, January 21st, 2022 at 08:03, Veronica Andreo <
> veroand...@gmail.com> wrote:
>
> Hi Eric,
>
> You need to change the `appeareance` settings to a dark one, and grass
> will get it. At least, that's how it worked for me.
>
> HTH,
> Vero
>
> El vie, 21 ene 2022 a las 4:59, Eric Patton via grass-user (<
> grass-user@lists.osgeo.org>) escribió:
>
>> Nevermind, I see that I had to git clone the main branch. The
>> single-window GUI looks great! I really look forward to using this.
>>
>> I still don't see any options for dark mode, though - where do I find
>> this?
>>
>> --
>> Eric
>>
>> ‐‐‐ Original Message ‐‐‐
>> On Thursday, January 20th, 2022 at 23:23, Eric Patton via grass-user <
>> grass-user@lists.osgeo.org> wrote:
>>
>> Hi All,
>> I just downloaded 8.0.0.RC2 source code for Linux from
>> https://github.com/OSGeo/grass/releases/tag/8.0.0RC2 to try it out
>> today, everything compiled and built fine.
>>
>> I'm not seeing any single-window GUI or options to enable it; did I
>> install the wrong branch?
>>
>> --
>> 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] Single GUI window in 8.0.0RC2?

2022-01-21 Thread Eric Patton via grass-user
Hi Vero,

Did you mean the Appearance tab under GUI settings? There is nothing 
controlling color in this tab that I see, but under the Map Display tab, there 
is the background color selector. Changing that only changes the background of 
the map display window, not the GUI toolbar background.

--
Eric

‐‐‐ Original Message ‐‐‐
On Friday, January 21st, 2022 at 08:03, Veronica Andreo  
wrote:

> Hi Eric,
>
> You need to change the `appeareance` settings to a dark one, and grass will 
> get it. At least, that's how it worked for me.
>
> HTH,
> Vero
>
> El vie, 21 ene 2022 a las 4:59, Eric Patton via grass-user 
> () escribió:
>
>> Nevermind, I see that I had to git clone the main branch. The single-window 
>> GUI looks great! I really look forward to using this.
>>
>> I still don't see any options for dark mode, though - where do I find this?
>>
>> --
>> Eric
>>
>> ‐‐‐ Original Message ‐‐‐
>> On Thursday, January 20th, 2022 at 23:23, Eric Patton via grass-user 
>>  wrote:
>>
>>> Hi All,
>>> I just downloaded 8.0.0.RC2 source code for Linux from 
>>> https://github.com/OSGeo/grass/releases/tag/8.0.0RC2 to try it out today, 
>>> everything compiled and built fine.
>>>
>>> I'm not seeing any single-window GUI or options to enable it; did I install 
>>> the wrong branch?
>>>
>>> --
>>> 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] Single GUI window in 8.0.0RC2?

2022-01-21 Thread Markus Neteler
On Fri, Jan 21, 2022 at 12:04 PM Markus Neteler  wrote:
> On Fri, Jan 21, 2022 at 4:58 AM Eric Patton via grass-user
> > Nevermind, I see that I had to git clone the main branch.
>
> This reminded me of the fact that this directory isn't populated yet:
> https://grass.osgeo.org/grass81/source/

done:
... this folder now contains the GRASS GIS 8.1.dev source code
snapshot, the new cronjob is up & running to generate it weekly.

Markus

-- 
Markus Neteler, PhD
https://www.mundialis.de - free data with free software
https://grass.osgeo.org
https://courses.neteler.org/blog
___
grass-user mailing list
grass-user@lists.osgeo.org
https://lists.osgeo.org/mailman/listinfo/grass-user


Re: [GRASS-user] Single GUI window in 8.0.0RC2?

2022-01-21 Thread Veronica Andreo
Hi Eric,

You need to change the `appeareance` settings to a dark one, and grass will
get it. At least, that's how it worked for me.

HTH,
Vero

El vie, 21 ene 2022 a las 4:59, Eric Patton via grass-user (<
grass-user@lists.osgeo.org>) escribió:

> Nevermind, I see that I had to git clone the main branch. The
> single-window GUI looks great! I really look forward to using this.
>
> I still don't see any options for dark mode, though - where do I find this?
>
> --
> Eric
>
> ‐‐‐ Original Message ‐‐‐
> On Thursday, January 20th, 2022 at 23:23, Eric Patton via grass-user <
> grass-user@lists.osgeo.org> wrote:
>
> Hi All,
> I just downloaded 8.0.0.RC2 source code for Linux from
> https://github.com/OSGeo/grass/releases/tag/8.0.0RC2 to try it out today,
> everything compiled and built fine.
>
> I'm not seeing any single-window GUI or options to enable it; did I
> install the wrong branch?
>
> --
> 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] Single GUI window in 8.0.0RC2?

2022-01-21 Thread Markus Neteler
On Fri, Jan 21, 2022 at 4:58 AM Eric Patton via grass-user
 wrote:
>
> Nevermind, I see that I had to git clone the main branch.

This reminded me of the fact that this directory isn't populated yet:
https://grass.osgeo.org/grass81/source/

I have now created a new cronjob, once approved, GRASS GIS 8.devel
(currently 8.1.dev) will be generated:
https://github.com/OSGeo/grass-addons/pull/682

Coming soon!

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


[GRASS-user] "double free or corruption" when calling e.g. g.version, g.list, g.region

2022-01-21 Thread Maximilian Stahlberg
Hello,

I'm using GRASS 7.8.6 on openSUSE Leap 15.2 and experience the
following crashes:

> Welcome to GRASS GIS 7.8.6
> GRASS GIS homepage:  https://grass.osgeo.org
> This version running through:Z Shell (/bin/zsh)
>   [...]
> GRASS 7.8.6 : ~ > g.version   
>
> GRASS 7.8.6 (2021)
> *** Error in `g.version': double free or corruption (out): 0x55866fc655b0 
> ***
> [1]9995 abort (core dumped)  g.version
> GRASS 7.8.6 : ~ > g.list
> Lists available GRASS data base files of the user-specified data type 
> optionally using the search pattern.
>   [...]
> *** Error in `g.list': double free or corruption (out): 0x55a24a9f75b0 ***
> [1]1 abort (core dumped)  g.list

Some other tools like g.gisenv work and GRASS used to work fully in the
past (using, potentially, older versions of GRASS and SUSE).

Even though these crashes occur at the end of execution (after output
was produced), they are problematic as they stop e.g. the GUI from
fully working, i.e. grass --gui brings up the launcher but crashes when
I press "Start GRASS session" with the following output (note that
there is additionally an assertion failure at the end):

> Launching  GUI in the background, please wait...
> GRASS 7.8.6 : ~ > /usr/lib64/python3.6/site-packages/wx/py/buffer.py:6: 
> DeprecationWarning: the imp module is deprecated in favour of importlib; see 
> the module's documentation for alternative uses
>   import imp
> *** Error in `g.version': double free or corruption (out): 0x5588157c15b0 
> ***
> Unable to get GRASS version
> *** Error in `g.version': double free or corruption (out): 0x55ddbe4825b0 
> ***
> Traceback (most recent call last):
>   File "/usr/lib64/grass78/scripts/g.extension", line 2592, in 
> version = grass_version["version"].split(".")
> KeyError: 'version'
> *** Error in `g.list': double free or corruption (out): 0x56167e0485b0 ***
> Traceback (most recent call last):
>   File "/usr/lib64/grass78/gui/wxpython/wxgui.py", line 106, in OnInit
> workspace=self.workspaceFile)
>   File "/usr/lib64/grass78/gui/wxpython/lmgr/frame.py", line 143, in __init__
> self.notebook = self._createNoteBook()
>   File "/usr/lib64/grass78/gui/wxpython/lmgr/frame.py", line 330, in 
> _createNoteBook
> gcstyle=GC_PROMPT)
>   File "/usr/lib64/grass78/gui/wxpython/gui_core/goutput.py", line 118, in 
> __init__
> self.cmdPrompt = GPromptSTC(parent=self, menuModel=self._menuModel)
>   File "/usr/lib64/grass78/gui/wxpython/gui_core/prompt.py", line 138, in 
> __init__
> GPrompt.__init__(self, parent=parent, menuModel=menuModel)
>   File "/usr/lib64/grass78/gui/wxpython/gui_core/prompt.py", line 56, in 
> __init__
> self.mapList = self._getListOfMaps()
>   File "/usr/lib64/grass78/gui/wxpython/gui_core/prompt.py", line 100, in 
> _getListOfMaps
> result['raster'] = grass.list_strings('raster')
>   File "/usr/lib64/grass78/etc/python/grass/script/core.py", line 1288, in 
> list_strings
> mapset=mapset).splitlines():
>   File "/usr/lib64/grass78/etc/python/grass/script/core.py", line 503, in 
> read_command
> return handle_errors(returncode, stdout, args, kwargs)
>   File "/usr/lib64/grass78/etc/python/grass/script/core.py", line 343, in 
> handle_errors
> returncode=returncode)
> grass.exceptions.CalledModuleError: Module run None g.list --q -m type=raster 
> ended with error
> Process ended with non-zero return code -6. See errors in the (error) output.
> OnInit returned false, exiting...
> Error in atexit._run_exitfuncs:
> wx._core.wxAssertionError: C++ assertion "GetEventHandler() == this" failed 
> at 
> /home/abuild/rpmbuild/BUILD/wxPython-4.0.1/ext/wxWidgets/src/common/wincmn.cpp(478)
>  in ~wxWindowBase(): any pushed event handlers must have been removed
> *** Error in `python3': double free or corruption (!prev): 0x5647498368e0 
> ***

Python versions used are 3.9.4 (local) for --text and 3.6.12 (system
wide, has wx) for --gui.

Any idea what could cause this?

Kind regards,
Maximilian


signature.asc
Description: This is a digitally signed message part
___
grass-user mailing list
grass-user@lists.osgeo.org
https://lists.osgeo.org/mailman/listinfo/grass-user