[GRASS-dev] Re: [GRASS-user] wx.class

Mohammed Rashad mohammedrashadkm at gmail.com
Sat Sep 11 00:55:02 EDT 2010


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 <
mohammedrashadkm at 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 <leohardtke at 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 <leohardtke at 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-user at lists.osgeo.orghttp://lists.osgeo.org/mailman/listinfo/grass-user
>>>
>>>
>>>
>>> _______________________________________________
>>> grass-user mailing list
>>> grass-user at 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-dev/attachments/20100911/34e93717/attachment-0001.html


More information about the grass-dev mailing list