Send grass-windows mailing list submissions to grass-windows@lists.osgeo.org
To subscribe or unsubscribe via the World Wide Web, visit http://lists.osgeo.org/mailman/listinfo/grass-windows or, via email, send a message with subject or body 'help' to grass-windows-requ...@lists.osgeo.org You can reach the person managing the list at grass-windows-ow...@lists.osgeo.org When replying, please edit your Subject line so it is more specific than "Re: Contents of grass-windows digest..." Today's Topics: 1. Re: [GRASS-user] wx.class (Mohammed Rashad) ---------------------------------------------------------------------- Message: 1 Date: Sat, 11 Sep 2010 10:25:02 +0530 From: Mohammed Rashad <mohammedrasha...@gmail.com> Subject: [GRASS-windows] Re: [GRASS-user] wx.class To: Leonardo Hardtke <leohard...@gmail.com> Cc: grass-...@lists.osgeo.org, grass-windows@lists.osgeo.org Message-ID: <aanlktikqsuzesbvrum0zbpfh4wqagcub2dkb9-mz6...@mail.gmail.com> Content-Type: text/plain; charset="iso-8859-1" Fixed for grass6.4.0RC6 please update svn http://svn.osgeo.org/grass/grass-addons/gui/wxpython/wx.class/wx.class.py and download wx.class again and try it If any problem persists Please feel free to mail me. On Fri, Sep 10, 2010 at 10:44 AM, Mohammed Rashad < mohammedrasha...@gmail.com> wrote: > Fixed for grass6.4.0RC6 > please update svn > http://svn.osgeo.org/grass/grass-addons/gui/wxpython/wx.class/wx.class.py > and download wx.class again > and try it > > If any problem persists Please feel free to mail me. I have no disturbances > and happy to help you. > I tested the wx.class on Ubunbtu 10.04 LTS and grass6.4.9RC6 > > ThankYou > > > On Thu, Sep 9, 2010 at 9:40 PM, Leonardo Hardtke <leohard...@gmail.com>wrote: > >> Hi, >> Ok, it was my fault. I was runing it with ./wx.class instead of python >> wx.class >> but now... >> >> (nc_spm_08):~ > python wx.class.py >> Traceback (most recent call last): >> File "wx.class.py", line 60, in <module> >> from mapdisp_window import BufferedWindow >> ImportError: No module named mapdisp_window >> >> Am I missing something again? >> I'm running an Ubuntu 10.04 with grass 6.4.rc6 >> >> Bests, >> Leonardo >> >> >> >> >> On 09/09/2010 12:42 AM, Mohammed Rashad wrote: >> >> Leonardo Hardtk, >> Plesase see the README.txt included with wx.class >> >> http://trac.osgeo.org/grass/browser/grass-addons/gui/wxpython/wx.class/README.txt >> >> On Thu, Sep 9, 2010 at 3:48 AM, Leonardo Hardtke <leohard...@gmail.com>wrote: >> >>> Hi, >>> I tried to use it, but.... >>> >>> GRASS 6.4.0RC6 (Spearfish):~ > ./wx.class.py >>> ./wx.class.py: line 19: ! >>> @package wx.class.py >>> >>> @brief Interface implementation of i.class module without Xterm. >>> Many thanks to Markus Neteler for his help which allowed me to >>> know about i.class and its usage. >>> Classes: >>> - IClass >>> - BufferedWindow2 >>> - IClassApp >>> >>> >>> (C) 2006-2010 by the GRASS Development Team >>> This program is free software under the GNU General Public >>> License (>=v2). Read the file COPYING that comes with GRASS >>> for details. >>> >>> @author Mohammed Rashad K.M <rashadkm [at] gmail [dot] com> >>> : command not found >>> import: unable to grab mouse `': Resource temporarily unavailable @ >>> xwindow.c/XSelectWindow/8993. >>> import: unable to grab mouse `': Resource temporarily unavailable @ >>> xwindow.c/XSelectWindow/8993. >>> import: unable to grab mouse `': Resource temporarily unavailable @ >>> xwindow.c/XSelectWindow/8993. >>> import: unable to grab mouse `': Resource temporarily unavailable @ >>> xwindow.c/XSelectWindow/8993. >>> ./wx.class.py: line 28: syntax error near unexpected token `(' >>> ./wx.class.py: line 28: `gbase = os.getenv("GISBASE") ' >>> >>> any idea? >>> Leonardo A. Hardtke >>> >>> >>> On 09/08/2010 06:34 PM, Mohammed Rashad wrote: >>> >>> >>> Hi all, >>> >>> I had just created a wx version of i.class module which generates >>> spectral signatures for an image by allowing the user to outline regions of >>> interest. The resulting signature file can be used as input for i.maxlik or >>> as a seed signature file for i.cluster. >>> >>> Actual i.class module requires Xterm and work only in systems having >>> Xserver installed. I created python version of i.class which works on all >>> platform. Now windows users can use i.class module. >>> >>> Currently development is in beta stage. wx.class is tested and works >>> only for NC dataset available from grassbook.org site. >>> It uses wxpython paintDC to draw histograms which must be changed to use >>> python-matplotlib for drawing smooth histograms as the output needed to be. >>> >>> I dont want to add a new dependency to grass as other developers but I >>> am forced to do :( >>> >>> current wx.class doesn't need any other dependencies. The needs some >>> cleanup but as I am busy with some other works related to GRASS I don't have >>> much time to spend on cleaning up the code. But within a month or to you can >>> have the fully functional wx.class. >>> >>> Now I am hosting to GRASS-Addons repo because the code needs >>> testing...(although needs some cleanup) >>> >>> A README is included with source which shows how to use the module. But >>> wx.class is made to be user-friendly. >>> >>> >>> Any comments or suggestions are really welcomed :) >>> >>> >>> -- >>> Rashad >>> >>> >>> _______________________________________________ >>> grass-user mailing >>> listgrass-u...@lists.osgeo.orghttp://lists.osgeo.org/mailman/listinfo/grass-user >>> >>> >>> >>> _______________________________________________ >>> grass-user mailing list >>> grass-u...@lists.osgeo.org >>> http://lists.osgeo.org/mailman/listinfo/grass-user >>> >>> >> >> >> -- >> Rashad >> >> >> > > > -- > Rashad > -- Rashad -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.osgeo.org/pipermail/grass-windows/attachments/20100911/34e93717/attachment-0001.html ------------------------------ _______________________________________________ grass-windows mailing list grass-windows@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/grass-windows End of grass-windows Digest, Vol 49, Issue 5 ********************************************