[GRASS-user] Re: Wxpython module's interface- multiple entries
Greetings Clearly it needs to be fixed. never the less, I have been able to delete 1 or two entries. By selecting all entries and deleting 1 by selecting the faction of text. but it's not very user friendly Michael Barton wrote: Yes. This has been around for some time. Looks like it may need to have a bug report filed as I cannot find one. It definitely needs to be fixed. The only workaround is to close the module and reopen it. Michael __ Information from ESET NOD32 Antivirus, version of virus signature database 6271 (20110706) __ The message was checked by ESET NOD32 Antivirus. http://www.eset.com ___ grass-user mailing list grass-user@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/grass-user
Re: [GRASS-user] Re: Wxpython module's interface- multiple entries
This should be fixed now in the svn. Could you please update and test? Michael __ C. Michael Barton Director, Center for Social Dynamics Complexity Professor of Anthropology, School of Human Evolution Social Change Arizona State University Tempe, AZ 85287-2402 USA voice: 480-965-6262 (SHESC), 480-727-9746 (CSDC) fax: 480-965-7671(SHESC), 480-727-0709 (CSDC) www:http://csdc.asu.edu, http://shesc.asu.edu http://www.public.asu.edu/~cmbarton On Jul 7, 2011, at 9:00 AM, grass-user-requ...@lists.osgeo.org wrote: Date: Thu, 07 Jul 2011 10:10:04 +0100 From: Ant?nio Rocha antonio.ro...@deimos.com.pt Subject: [GRASS-user] Re: Wxpython module's interface- multiple entries To: GRASS user list grass-user@lists.osgeo.org Message-ID: 4e1577ec.7050...@deimos.com.pt Content-Type: text/plain; charset=ISO-8859-1; format=flowed Greetings Clearly it needs to be fixed. never the less, I have been able to delete 1 or two entries. By selecting all entries and deleting 1 by selecting the faction of text. but it's not very user friendly Michael Barton wrote: Yes. This has been around for some time. Looks like it may need to have a bug report filed as I cannot find one. It definitely needs to be fixed. The only workaround is to close the module and reopen it. Michael ___ grass-user mailing list grass-user@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/grass-user
[GRASS-user] Re: Wxpython module's interface- multiple entries
Greetings I have sent this email a few times but no answer. Let me try (one last time :) ): I just realized one thing regarding wxpython module's interface for multiple parameters: If I select one parameter or two, when I try to eliminate one of them it's not possible. I need to close the interface and do it again. Is there any fix for this? Thanks Luisa ___ grass-user mailing list grass-user@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/grass-user
[GRASS-user] Re: Wxpython module's interface- multiple entries
Greetings I have sent this email a couple of days ago. can anyone reply me? Thanks Greetings I just realized one thing regarding wxpython module's interface for multiple parameters: If I select one parameter or two, when I try to eliminate one of them it's not possible. I need to close the interface and do it again. Is there any fix for this? Thanks Luisa ___ grass-user mailing list grass-user@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/grass-user
Re: [GRASS-user] re: WXPYTHON???
On Sun, 1 Feb 2009, Macsurfcat wrote: Paul Kelly wrote: it's not true that there is no other way to change the GUI settings, on Windows at least: The grassXX.bat start-up script has always accepted arguments -text, -gui or -tcltk and was recently extended to also accept -wxpython. Yes, I reset default gui via g.gisenv with resultant change to GISRC file. However, at startup tcltk' reasserts itself regardless. Ah, the problem is that the Windows start-up script in 6.3.x doesn't know what to do with a wxpython GRASS_GUI setting. So it starts the Tcl/Tk GUI anyway. This was corrected a couple of weeks ago and the correct behaviour will be in 6.4.0. Paul ___ grass-user mailing list grass-user@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/grass-user
Re: [GRASS-user] re: WXPYTHON???
Macsurfcat a écrit : MORREALE Jean Roc wrote: Macsurfcat a écrit : Howdy, Just a little problem I've encountered before, resolved once but forgotten the solution: I've downloaded another version of GRASS 6.3.0 because of extreme problems with previous; the GUI default (of course) is not the wxpython which I prefer. I have reset it again and again in terminal with an -u flag with the same result. The claim is the GUI will be updated, but upon opening GRASS again, the older GUI is called and utilized. Help suggests several options but doesn't exactly explain how to implement them: ie; how does one change a variable in the .grassrc6 folder, for example. Sounds ridiculous, I know, but what am I missing here? ___ grass-user mailing list grass-user@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/grass-user Launch grass with the -wxpython option ? ___ grass-user mailing list grass-user@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/grass-user Yes, tried that. Error message follows: cd ~; export PATH=/bin:/sbin:/usr/bin:/usr/sbin:$PATH; export DISPLAY=:0.0; export osxaqua=1; export LANG=en_EN; export LANGUAGE=en_EN; '/Applications/GrassGIS.app/'Contents/Resources/app/grass-6.3.0/grass63 -wxpython Cleaning up temporary files. Starting GRASS ... Unable to set locale: unsupported locale setting Traceback (most recent call last): File /Applications/GrassGIS.app/Contents/Resources/app/grass-6.3.0/etc/wxpython/gis_set.py, line 31, in module from gui_modules import globalvar File /Applications/GrassGIS.app/Contents/Resources/app/grass-6.3.0/etc/wxpython/gui_modules/globalvar.py, line 49, in module import wx File /BinaryCache/wxWidgets/wxWidgets-11~57/Root/System/Library/Frameworks/Python.framework/Versions/2.5/Extras/lib/python/wx-2.8-mac-unicode/wx/__init__.py, line 45, in module File /BinaryCache/wxWidgets/wxWidgets-11~57/Root/System/Library/Frameworks/Python.framework/Versions/2.5/Extras/lib/python/wx-2.8-mac-unicode/wx/_core.py, line 14007, in module File /System/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/locale.py, line 512, in getpreferredencoding File /System/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/locale.py, line 476, in setlocale locale.Error: unsupported locale setting Error in GUI startup. If necessary, please report this error to the GRASS developers. Switching to text mode now. Hit RETURN to continue... I've downloaded python 2.6 and wxpython 2.8; both have installed themselves in my APPLICATIONS folder, as per usual on a MAC. The MacPython 2.5 packaged with Leopard OSX.5 is also located in same apps folder. The Python framework referred to above does exist, and seems to be in order . . . I added the xpython switch by copying the login sh from the terminal window after it ran and inserting the -wxpython switch manually, opened the terminal and copied in the text. It ran as above. I am not a programmer, so when you say launch grass with -wxpython switch, I say how? (I'm just a dumb archaeologist) Eugene Hi eugene, sorry, I made a mistake while replying to your mail so I'm copying your message here as it belongs more to the list. Looking at your log, your application is already set to use wxpython (see the line /Applications/GrassGIS.app/'Contents/Resources/app/grass-6.3.0/grass63 -wxpython) I don't have access to a mac for now but could you try to open a terminal, do export LANG=en_EN.utf8 then grass63 -wxpython ? Regards, MORREALE Jean Roc an equally dumb archaeologist ___ grass-user mailing list grass-user@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/grass-user
Re: [GRASS-user] re: WXPYTHON???
Macsurfcat a écrit : Howdy, Just a little problem I've encountered before, resolved once but forgotten the solution: I've downloaded another version of GRASS 6.3.0 because of extreme problems with previous; the GUI default (of course) is not the wxpython which I prefer. I have reset it again and again in terminal with an -u flag with the same result. The claim is the GUI will be updated, but upon opening GRASS again, the older GUI is called and utilized. Help suggests several options but doesn't exactly explain how to implement them: ie; how does one change a variable in the .grassrc6 folder, for example. Sounds ridiculous, I know, but what am I missing here? ___ grass-user mailing list grass-user@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/grass-user Launch grass with the -wxpython option ? ___ grass-user mailing list grass-user@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/grass-user
Re: [GRASS-user] re: WXPYTHON???
On Feb 1, 2009, at 4:30 AM, grass-user-requ...@lists.osgeo.org wrote: Date: Sat, 31 Jan 2009 18:28:06 -0500 From: Macsurfcat macsurf...@me.com Subject: [GRASS-user] re: WXPYTHON??? To: grass-user@lists.osgeo.org Message-ID: 4984de86.4020...@me.com Content-Type: text/plain; charset=ISO-8859-1; format=flowed Howdy, Just a little problem I've encountered before, resolved once but forgotten the solution: I've downloaded another version of GRASS 6.3.0 because of extreme problems with previous; the GUI default (of course) is not the wxpython which I prefer. I have reset it again and again in terminal with an -u flag with the same result. The claim is the GUI will be updated, but upon opening GRASS again, the older GUI is called and utilized. Help suggests several options but doesn't exactly explain how to implement them: ie; how does one change a variable in the .grassrc6 folder, for example. Sounds ridiculous, I know, but what am I missing here? Not at all ridiculous. In fact, it requires some arcane knowledge. There are 2 ways to change the GUI. From the terminal, you can use the g.gui command. g.gui tcltk launches the tcltk GUI g.gui wxpython launches the wxpython GUI However, all module interfaces will launch in the default GUI regardless of which is started from the command line. If you launch GRASS from an x11 terminal (i.e., on Linux), you can issue a command line argument with GRASS to set the default GUI. I believe it is -tcl and -wx. For people starting GRASS on windows and Mac, however, you need to edit the .grassrc6 file (not folder) to change the default GUI. This file is normally located in your home folder. This can be done with a standard text editor on windows (don't use a word processor that can inadvertently save this file in other than text format with wrong line feeds). On the Mac all files that start with a . are hidden with no way built into the Mac interface to make them visible. I think this is a bad idea, but that's the way it is. To edit the .grassrc6 file, you can get utilities to make all hidden files visible (invisibility toggler, for example), you can use TextWrangler's open hidden feature, or you can use a command-lined text editor like pico (hidden files are visible from the command line). Once you are editing your .grassrc6 file, you simply need to change the GRASS_GUI line GRASS_GUI: tcltk OR GRASS_GUI: wxpython ...will set the default GUI to either TclTk or wxPython. Hope this helps you and others. Michael ___ grass-user mailing list grass-user@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/grass-user
Re: [GRASS-user] re: WXPYTHON???
Hi, 2009/2/1 Michael Barton michael.bar...@asu.edu: [...] Not at all ridiculous. In fact, it requires some arcane knowledge. There are 2 ways to change the GUI. From the terminal, you can use the g.gui command. g.gui tcltk launches the tcltk GUI g.gui wxpython launches the wxpython GUI if you launch g.gui with '-u' flag the default GUI is updated according your choice. Martin -- Martin Landa landa.martin gmail.com * http://gama.fsv.cvut.cz/~landa ___ grass-user mailing list grass-user@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/grass-user
Re: [GRASS-user] re: WXPYTHON???
Thanks for the useful information. Michael On Feb 1, 2009, at 9:24 AM, Martin Landa wrote: Hi, 2009/2/1 Michael Barton michael.bar...@asu.edu: [...] Not at all ridiculous. In fact, it requires some arcane knowledge. There are 2 ways to change the GUI. From the terminal, you can use the g.gui command. g.gui tcltk launches the tcltk GUI g.gui wxpython launches the wxpython GUI if you launch g.gui with '-u' flag the default GUI is updated according your choice. Martin -- Martin Landa landa.martin gmail.com * http://gama.fsv.cvut.cz/~landa ___ grass-user mailing list grass-user@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/grass-user
Re: [GRASS-user] re: WXPYTHON???
On Sun, 1 Feb 2009, Michael Barton wrote: Not at all ridiculous. In fact, it requires some arcane knowledge. There are 2 ways to change the GUI. From the terminal, you can use the g.gui command. g.gui tcltk launches the tcltk GUI g.gui wxpython launches the wxpython GUI However, all module interfaces will launch in the default GUI regardless of which is started from the command line. If you launch GRASS from an x11 terminal (i.e., on Linux), you can issue a command line argument with GRASS to set the default GUI. I believe it is -tcl and -wx. For people starting GRASS on windows and Mac, however, you need to edit the .grassrc6 file (not folder) to change the default GUI. This file is normally located in your home folder. This can be done with a standard text editor on windows (don't use a word processor that can inadvertently save this file in other than text format with wrong line feeds). On the Mac all files that start with a . are hidden with no way built into the Mac interface to make them visible. I think this is a bad idea, but that's the way it is. To edit the .grassrc6 file, you can get utilities to make all hidden files visible (invisibility toggler, for example), you can use TextWrangler's open hidden feature, or you can use a command-lined text editor like pico (hidden files are visible from the command line). Once you are editing your .grassrc6 file, you simply need to change the GRASS_GUI line GRASS_GUI: tcltk OR GRASS_GUI: wxpython ...will set the default GUI to either TclTk or wxPython. Simpler than that (and less risk of messiness with line endings) is to use g.gisenv to edit GRASS variables in the GISRC file: g.gisenv set=GRASS_GUI=tcltk or g.gisenv set=GRASS_GUI=wxpython will achieve the same as the above, or use g.gui as Martin suggested. BUT, it's not true that there is no other way to change the GUI settings, on Windows at least: The grassXX.bat start-up script has always accepted arguments -text, -gui or -tcltk and was recently extended to also accept -wxpython. Paul ___ grass-user mailing list grass-user@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/grass-user
Re: [GRASS-user] Re: wxpython gui: error while loding avevry first layer
To be exact, I0ve added q=wx.LogNull() - before app.MainLoop inside wxgui.py - before GrassGUIApp( task ).MainLoop() inside menuform.py 2008/2/25, G. Allegri [EMAIL PROTECTED]: Using wx.LogNull() has solved the problem. I've added it both in wxgui.py and menuform.py, gust before app.MainLoop() in the main routine. The GUI appears to load faster too... Giovanni 2008/2/25, Martin Landa [EMAIL PROTECTED]: Ciao, can you try to add wx.LogNull() instance to wxgui.py (launch d.vect/d.rast from GUI) or menuform.py (launch for CLI)? See http://aspn.activestate.com/ASPN/Mail/Message/wxPython-users/3609948 Regards, Martin 2008/2/25, G. Allegri [EMAIL PROTECTED]: As Martin Landa has suggested me, it's a problem related to wxpython and KDE, not Grass. Giovanni 2008/2/25, G. Allegri [EMAIL PROTECTED]: Hi, I'm playing with the new gui. I've tried it yesterday for the first time: it rocks! There are some warning and little errors the come raised with some tasks, but everything seems to work fine. The first error I've experimented is: 23:57:44: Can not enumerate files in directory '/home/giova/.kde/share/mimelnk/text' (error 13: Permesso negato) 23:57:46: Can not enumerate files in directory '/home/giova/.local/share/applications' (error 13: Permesso negato) It happens when I launch d.vect or d.rast the very first time. I click ok and the d.vect (d.rast) window opens correctly. The subsequent times I do it, it doesn't happen... Great work! Thanks, Giovanni ___ grass-user mailing list grass-user@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/grass-user -- Martin Landa landa.martin gmail.com * http://gama.fsv.cvut.cz/~landa * ___ grass-user mailing list grass-user@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/grass-user
Re: [GRASS-user] Re: wxpython gui: error while loding avevry first layer
Ciao, 2008/2/25, G. Allegri [EMAIL PROTECTED]: To be exact, I0ve added q=wx.LogNull() - before app.MainLoop inside wxgui.py - before GrassGUIApp( task ).MainLoop() inside menuform.py thanks for testing, now in SVN trunk http://trac.osgeo.org/grass/changeset/30345 Martin -- Martin Landa landa.martin gmail.com * http://gama.fsv.cvut.cz/~landa * ___ grass-user mailing list grass-user@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/grass-user
[GRASS-user] Re: wxpython gui: error while loding avevry first layer
As Martin Landa has suggested me, it's a problem related to wxpython and KDE, not Grass. Giovanni 2008/2/25, G. Allegri [EMAIL PROTECTED]: Hi, I'm playing with the new gui. I've tried it yesterday for the first time: it rocks! There are some warning and little errors the come raised with some tasks, but everything seems to work fine. The first error I've experimented is: 23:57:44: Can not enumerate files in directory '/home/giova/.kde/share/mimelnk/text' (error 13: Permesso negato) 23:57:46: Can not enumerate files in directory '/home/giova/.local/share/applications' (error 13: Permesso negato) It happens when I launch d.vect or d.rast the very first time. I click ok and the d.vect (d.rast) window opens correctly. The subsequent times I do it, it doesn't happen... Great work! Thanks, Giovanni ___ grass-user mailing list grass-user@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/grass-user
[GRASS-user] Re: wxpython gui: error while loding avevry first layer
On Feb 24, 2008, at 4:30 PM, [EMAIL PROTECTED] wrote: Date: Mon, 25 Feb 2008 00:30:08 +0100 From: G. Allegri [EMAIL PROTECTED] Subject: [GRASS-user] wxpython gui: error while loding avevry first layer To: grassuser grass-user@lists.osgeo.org Message-ID: [EMAIL PROTECTED] Content-Type: text/plain; charset=ISO-8859-1 Hi, I'm playing with the new gui. I've tried it yesterday for the first time: it rocks! There are some warning and little errors the come raised with some tasks, but everything seems to work fine. The first error I've experimented is: Can you provide some additional information? What platform are you using? What version of GRASS are you using? 23:57:44: Can not enumerate files in directory '/home/giova/.kde/share/mimelnk/text' (error 13: Permesso negato) 23:57:46: Can not enumerate files in directory '/home/giova/.local/share/applications' (error 13: Permesso negato) It happens when I launch d.vect or d.rast the very first time. I click ok and the d.vect (d.rast) window opens correctly. The subsequent times I do it, it doesn't happen... What do you mean by launch d.vect or d.rast? Do you mean add a raster or vector layer to the layer tree? Or are you trying to launch d.vect from the command line? Great work! Thanks Michael Thanks, Giovanni ___ grass-user mailing list grass-user@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/grass-user
Re: [GRASS-user] Re: wxpython gui: error while loding avevry first layer
Ciao, can you try to add wx.LogNull() instance to wxgui.py (launch d.vect/d.rast from GUI) or menuform.py (launch for CLI)? See http://aspn.activestate.com/ASPN/Mail/Message/wxPython-users/3609948 Regards, Martin 2008/2/25, G. Allegri [EMAIL PROTECTED]: As Martin Landa has suggested me, it's a problem related to wxpython and KDE, not Grass. Giovanni 2008/2/25, G. Allegri [EMAIL PROTECTED]: Hi, I'm playing with the new gui. I've tried it yesterday for the first time: it rocks! There are some warning and little errors the come raised with some tasks, but everything seems to work fine. The first error I've experimented is: 23:57:44: Can not enumerate files in directory '/home/giova/.kde/share/mimelnk/text' (error 13: Permesso negato) 23:57:46: Can not enumerate files in directory '/home/giova/.local/share/applications' (error 13: Permesso negato) It happens when I launch d.vect or d.rast the very first time. I click ok and the d.vect (d.rast) window opens correctly. The subsequent times I do it, it doesn't happen... Great work! Thanks, Giovanni ___ grass-user mailing list grass-user@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/grass-user -- Martin Landa landa.martin gmail.com * http://gama.fsv.cvut.cz/~landa * ___ grass-user mailing list grass-user@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/grass-user