|
|
|
Michael Barton
|
Hi Massimo,
Thanks for testing wxgrass. Please post your comments to the grass-gui list. On 3/25/07 6:47 PM, "Massimo Di Stefano" <[hidden email]> wrote: > > svn co https://grasssvn.itc.it/svn/grassaddons/trunk/grassaddons/gui > > Checked out revision 318 > > when i start using : python wxgui.py > > GRASS 6.3.cvs (salerno):~/gui > python wxgui.pyTraceback (most recent > call last): > File "wxgui.py", line 23, in <module> > import images > ImportError: No module named images > > i commented the line 23 in wxgui.py > > #import images This was in for testing and I thought it was taken out. I've fixed this. > > now it works. > > start the gis manager : > > note: > many commands in the menu bar, works > but for a command that have many option (...) the command window that > appair, > is largest than the screen size, so i'm not able to use it : > > (this is the same problem that i had developping the grass-tools for > qgis) > ...needed a scrollbar ? Which command is a problem? > > > In the Gis manager window : > add a raster (or vector) > the feature : (double click to set properties) > do not works > so i'm not able too use it. I don't have this problem with the current version. However, I did find a bug in launching a command dialog from the wxgrass command line. I've fixed this and committed it to the svn repository. Maybe it will help you. Michael > > bash log when i try with double click on (raster, vector, rgb ...): > > GRASS 6.3.cvs (salerno):~/gui > Traceback (most recent call last): > File "/Users/epifanio/gui/gui_modules/wxgui_utils.py", line 212, > in onActivateLayer > menuform.GUI().parseCommand('d.rast', gmpath, completed= > (self.getOptData,layer,self.params), parentframe=self) > File "/Users/epifanio/gui/gui_modules/menuform.py", line 659, in > parseCommand > xml.sax.parseString(cmdout2, handler) > File "/Library/Frameworks/Python.framework/Versions/2.5/lib/ > python2.5/xml/sax/__init__.py", line 49, in parseString > parser.parse(inpsrc) > File "/Library/Frameworks/Python.framework/Versions/2.5/lib/ > python2.5/xml/sax/expatreader.py", line 107, in parse > xmlreader.IncrementalParser.parse(self, source) > File "/Library/Frameworks/Python.framework/Versions/2.5/lib/ > python2.5/xml/sax/xmlreader.py", line 123, in parse > self.feed(buffer) > File "/Library/Frameworks/Python.framework/Versions/2.5/lib/ > python2.5/xml/sax/expatreader.py", line 207, in feed > self._parser.Parse(data, isFinal) > File "/Library/Frameworks/Python.framework/Versions/2.5/lib/ > python2.5/xml/sax/expatreader.py", line 381, in external_entity_ref > "") > File "/Library/Frameworks/Python.framework/Versions/2.5/lib/ > python2.5/xml/sax/saxutils.py", line 295, in prepare_input_source > f = urllib.urlopen(source.getSystemId()) > File "/Library/Frameworks/Python.framework/Versions/2.5/lib/ > python2.5/urllib.py", line 82, in urlopen > return opener.open(url) > File "/Library/Frameworks/Python.framework/Versions/2.5/lib/ > python2.5/urllib.py", line 190, in open > return getattr(self, name)(url) > File "/Library/Frameworks/Python.framework/Versions/2.5/lib/ > python2.5/urllib.py", line 451, in open_file > return self.open_local_file(url) > File "/Library/Frameworks/Python.framework/Versions/2.5/lib/ > python2.5/urllib.py", line 465, in open_local_file > raise IOError(e.errno, e.strerror, e.filename) > IOError: [Errno 2] No such file or directory: '/Applications/ > GRASS-6.3.app/Contents/Resources/etc/wx/gui_modules//grass- > interface.dtd' > > > seems that it try to find : > > wx/gui_modules//grass-interface.dtd > > in my $gisbase/etc : > > '/Applications/GRASS-6.3.app/Contents/Resources/etc/wx/gui_modules// > grass-interface.dtd' > > that there isn't in my 6.3 source installation; (one week ago) > i need a more recent 6.3 cvs ? > > about the script folder: > ... exported the path : > > export PATH=/.../.../gui/scripts/:$PATH > > p.mon > p.rast > p.vect > > works fine, great tools > > important: > i'm not able to redraw a map into the same monitor > > p.mon select=px seems do not works > > > > Massimo > > Il giorno 26/mar/07, alle ore 02:12, Michael Barton ha scritto: > >> You may have already solved this. >> >> Last night, I did a rename of several core components of wxgrass. >> gism.py >> has been renamed to wxgui.py. I updated all modules calling this I >> think. >> Please download new versions of all (including the scripts) and let >> me know >> if you have problems. >> >> Michael >> >> >> On 3/24/07 12:53 AM, "Massimo Di Stefano" <[hidden email]> >> wrote: >> >>> >>> Hi, >>> >>> i'm tring to use the py-gui grass-interface >>> not for works, i'm trying it :-) >>> really nice ! >>> i've downloaded the last svn version, >>> >>> thanks to all the grass developper! >>> >>> the new command p.mon p.rast works fine, >>> >>> but i've some problems using "p.mon select=p.." >>> to redraw a new image in the same monitor... >>> it open a new monitor and not rewrite in the same monitor... >>> ...again >>> i've noted that in the last svn the command to start the gis.m >>> interface >>>>> "python gism.py" >>> do not works >>> while in the last "Gui" (wiki grass addons) it works >>> >>> it give me : >>> >>> GRASS 6.3.cvs (salerno):~/grassaddons/gui > python gism.py >>> Traceback (most recent call last): >>> File "gism.py", line 445, in <module> >>> app = GMApp(0) >>> File "//Library/Frameworks/Python.framework/Versions/2.5/lib/ >>> python2.5/site-packages/wx-2.8-mac-unicode/wx/_core.py", line 7757, >>> in __init__ >>> self._BootstrapApp() >>> File "//Library/Frameworks/Python.framework/Versions/2.5/lib/ >>> python2.5/site-packages/wx-2.8-mac-unicode/wx/_core.py", line 7354, >>> in _BootstrapApp >>> return _core_.PyApp__BootstrapApp(*args, **kwargs) >>> File "gism.py", line 427, in OnInit >>> mainframe = GMFrame(None, -1, "") >>> File "gism.py", line 110, in __init__ >>> self.menubar = self.__createMenuBar() >>> File "gism.py", line 166, in __createMenuBar >>> self.menubar.Append(self.__createMenu(menuItems), menuLabel) >>> File "gism.py", line 181, in __createMenu >>> self.__createMenuItem(menu, *eachItem) >>> File "gism.py", line 193, in __createMenuItem >>> rhandler = eval(handler) >>> File "<string>", line 1, in <module> >>> AttributeError: 'GMFrame' object has no attribute 'Nomethod' >>> GRASS 6.3.cvs (salerno):~/grassaddons/gui > >>> >>> i'm on osx 10.4.9 >>> grass 6.3cvs >>> >>> thanks for any comments >>> >>> Massimo >>> >>> >> >> __________________________________________ >> Michael Barton, Professor of Anthropology >> School of Human Evolution & Social Change >> Center for Social Dynamics & Complexity >> Arizona State University >> >> phone: 480-965-6213 >> fax: 480-965-7671 >> www: http://www.public.asu.edu/~cmbarton >> >> > __________________________________________ Michael Barton, Professor of Anthropology School of Human Evolution & Social Change Center for Social Dynamics & Complexity Arizona State University phone: 480-965-6213 fax: 480-965-7671 www: http://www.public.asu.edu/~cmbarton _______________________________________________ grassgui mailing list [hidden email] http://grass.itc.it/mailman/listinfo/grassgui |
||||||||||||||||
|
Michael Barton
|
On 3/26/07 12:34 AM, "Massimo Di Stefano" <[hidden email]> wrote: >> Which command is a problem? > > this is what i've for r.slope.aspect : > > http://img291.imageshack.us/img291/3842/immagine7cp9.png > > and for r.watershed : > > http://img134.imageshack.us/img134/3726/immagine10li0.png It looks like both of these are fixed this morning. > > i'm really intersted about a "redrawing feature" in the same monitor... > can i explain... > just like : > > d.mon x0 ; > d.rast map1_temp_1 ; > d.mon x1 ; > d.rast map2_temp1 ; > d.mon select=x0 ; d.erase ; d.rast map1_temp2 ; > d.mon select=x1 ; d.erase ; d.rast map2_temp2 ; > ..... again for temp_1>....>n > > > but > when i use > the command "p.mon" it open olways new monitor, > (i cant "select" monitor for a "redrawing" process) > > seems that in "p.mon" the other option( stop, select, unlook) are > not available. I haven't worked with the convenience scripts p.mon etc. However, this is certainly possible from the GIS Manager window. > > is this a common problem ? > > > thanks for ant suggestion about! > > regards, > > Massimo. > > > __________________________________________ Michael Barton, Professor of Anthropology School of Human Evolution & Social Change Center for Social Dynamics & Complexity Arizona State University phone: 480-965-6213 fax: 480-965-7671 www: http://www.public.asu.edu/~cmbarton _______________________________________________ grassgui mailing list [hidden email] http://grass.itc.it/mailman/listinfo/grassgui |
|
Jachym Cepicky
|
hi,
p.mon & co. are just in the development. how they work now is just a proof of the concept. you can go ahead and continue to develop them j 2007/3/26, Michael Barton <[hidden email]>: > > > On 3/26/07 12:34 AM, "Massimo Di Stefano" <[hidden email]> wrote: > > >> Which command is a problem? > > > > this is what i've for r.slope.aspect : > > > > http://img291.imageshack.us/img291/3842/immagine7cp9.png > > > > and for r.watershed : > > > > http://img134.imageshack.us/img134/3726/immagine10li0.png > > It looks like both of these are fixed this morning. > > > > > > i'm really intersted about a "redrawing feature" in the same monitor... > > can i explain... > > just like : > > > > d.mon x0 ; > > d.rast map1_temp_1 ; > > d.mon x1 ; > > d.rast map2_temp1 ; > > d.mon select=x0 ; d.erase ; d.rast map1_temp2 ; > > d.mon select=x1 ; d.erase ; d.rast map2_temp2 ; > > ..... again for temp_1>....>n > > > > > > but > > when i use > > the command "p.mon" it open olways new monitor, > > (i cant "select" monitor for a "redrawing" process) > > > > seems that in "p.mon" the other option( stop, select, unlook) are > > not available. > > I haven't worked with the convenience scripts p.mon etc. > > However, this is certainly possible from the GIS Manager window. > > > > > is this a common problem ? > > > > > > thanks for ant suggestion about! > > > > regards, > > > > Massimo. > > > > > > > > __________________________________________ > Michael Barton, Professor of Anthropology > School of Human Evolution & Social Change > Center for Social Dynamics & Complexity > Arizona State University > > phone: 480-965-6213 > fax: 480-965-7671 > www: http://www.public.asu.edu/~cmbarton > > > _______________________________________________ > grassgui mailing list > [hidden email] > http://grass.itc.it/mailman/listinfo/grassgui > -- Jachym Cepicky e-mail: jachym.cepicky gmail com URL: http://les-ejk.cz GPG: http://www.les-ejk.cz/pgp/jachym_cepicky-gpg.pub _______________________________________________ grassgui mailing list [hidden email] http://grass.itc.it/mailman/listinfo/grassgui |
||||||||||||||||
| Free Embeddable Forum Powered by Nabble | Help |