<span class="Apple-style-span" style="font-family: arial, sans-serif; font-size: 13px; border-collapse: collapse; ">Fixed for grass6.4.0RC6<div>please update svn</div><div><a href="http://svn.osgeo.org/grass/grass-addons/gui/wxpython/wx.class/wx.class.py" target="_blank" style="color: rgb(0, 0, 204); ">http://svn.osgeo.org/grass/grass-addons/gui/wxpython/wx.class/wx.class.py</a></div>
<div>and download wx.class again</div><div>and try it</div><div><br></div><div>If any problem persists Please feel free to mail me.</div></span><br><div class="gmail_quote">On Fri, Sep 10, 2010 at 10:44 AM, Mohammed Rashad <span dir="ltr">&lt;<a href="mailto:mohammedrashadkm@gmail.com">mohammedrashadkm@gmail.com</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">Fixed for grass6.4.0RC6<div>please update svn</div><div><a href="http://svn.osgeo.org/grass/grass-addons/gui/wxpython/wx.class/wx.class.py" target="_blank">http://svn.osgeo.org/grass/grass-addons/gui/wxpython/wx.class/wx.class.py</a></div>

<div>and download wx.class again</div><div>and try it</div><div><br></div><div>If any problem persists Please feel free to mail me. I have no disturbances and happy to help you.</div><div>I tested the wx.class on Ubunbtu 10.04 LTS and grass6.4.9RC6</div>

<div><br></div><div>ThankYou<div><div></div><div class="h5"><br><br><div class="gmail_quote">On Thu, Sep 9, 2010 at 9:40 PM, Leonardo Hardtke <span dir="ltr">&lt;<a href="mailto:leohardtke@gmail.com" target="_blank">leohardtke@gmail.com</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">



  

<div text="#000000" bgcolor="#ffffff">
Hi,<br>
Ok, it was my fault. I was runing it with ./wx.class instead of python
wx.class<br>
but now...<br>
<br>
<blockquote><small>(nc_spm_08):~ &gt; python <a href="http://wx.class.py" target="_blank">wx.class.py</a> </small><br>
  <small>Traceback (most recent call last):</small><br>
  <small>  File &quot;<a href="http://wx.class.py" target="_blank">wx.class.py</a>&quot;, line 60, in &lt;module&gt;</small><br>
  <small>    from mapdisp_window import BufferedWindow</small><br>
  <small>ImportError: No module named mapdisp_window</small><br>
</blockquote>
Am I missing something again?<br>
I&#39;m running an Ubuntu 10.04 with grass 6.4.rc6<br>
<br>
Bests,<br><font color="#888888">
Leonardo</font><div><div></div><div><br>
<br>
<br>
<br>
On 09/09/2010 12:42 AM, Mohammed Rashad wrote:
<blockquote type="cite">Leonardo Hardtk,
  <div>    Plesase see the README.txt included with wx.class</div>
  <div><a href="http://trac.osgeo.org/grass/browser/grass-addons/gui/wxpython/wx.class/README.txt" target="_blank">http://trac.osgeo.org/grass/browser/grass-addons/gui/wxpython/wx.class/README.txt</a><br>
  <div><br>
  <div class="gmail_quote">On Thu, Sep 9, 2010 at 3:48 AM, Leonardo
Hardtke <span dir="ltr">&lt;<a href="mailto:leohardtke@gmail.com" target="_blank">leohardtke@gmail.com</a>&gt;</span>
wrote:<br>
  <blockquote class="gmail_quote" style="border-left:1px solid rgb(204, 204, 204);margin:0pt 0pt 0pt 0.8ex;padding-left:1ex">
    <div text="#000000" bgcolor="#ffffff">Hi, <br>
I tried to use it, but....<br>
    <blockquote><small>GRASS 6.4.0RC6 (Spearfish):~ &gt; ./<a href="http://wx.class.py" target="_blank">wx.class.py</a>
      <br>
./<a href="http://wx.class.py" target="_blank">wx.class.py</a>:
line 19: !<br>
@package <a href="http://wx.class.py" target="_blank">wx.class.py</a><br>
      <br>
@brief Interface implementation of i.class module without Xterm.<br>
Many thanks to Markus Neteler for his help which allowed me to<br>
know about i.class and its usage.<br>
Classes:<br>
- IClass<br>
- BufferedWindow2<br>
- IClassApp<br>
      <br>
      <br>
(C) 2006-2010 by the GRASS Development Team<br>
This program is free software under the GNU General Public<br>
License (&gt;=v2). Read the file COPYING that comes with GRASS<br>
for details.<br>
      <br>
@author Mohammed Rashad K.M &lt;rashadkm [at] gmail [dot] com&gt;<br>
: command not found<br>
import: unable to grab mouse `&#39;: Resource temporarily unavailable @
xwindow.c/XSelectWindow/8993.<br>
import: unable to grab mouse `&#39;: Resource temporarily unavailable @
xwindow.c/XSelectWindow/8993.<br>
import: unable to grab mouse `&#39;: Resource temporarily unavailable @
xwindow.c/XSelectWindow/8993.<br>
import: unable to grab mouse `&#39;: Resource temporarily unavailable @
xwindow.c/XSelectWindow/8993.<br>
./<a href="http://wx.class.py" target="_blank">wx.class.py</a>:
line 28: syntax error near unexpected token `(&#39;<br>
./<a href="http://wx.class.py" target="_blank">wx.class.py</a>:
line 28: `gbase = os.getenv(&quot;GISBASE&quot;) &#39;<br>
      </small></blockquote>
any idea?<br>
Leonardo A. Hardtke
    <div>
    <div><br>
    <br>
On 09/08/2010 06:34 PM, Mohammed Rashad wrote:
    </div>
    </div>
    <blockquote type="cite">
      <div>
      <div><br clear="all">
Hi all,
      <div><br>
      </div>
      <div>     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.</div>
      <div><br>
      </div>
      <div>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. </div>
      <div><br>
      </div>
      <div>Currently development is in beta stage. wx.class is tested
and
works only for NC dataset available from <a href="http://grassbook.org" target="_blank">grassbook.org</a> site.</div>
      <div>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. </div>
      <div><br>
      </div>
      <div>I dont want to add a new dependency to grass as other
developers
but I am forced to do :(</div>
      <div><br>
      </div>
      <div>current wx.class doesn&#39;t need any other dependencies. The
needs
some cleanup but as I am busy with some other works related to GRASS I
don&#39;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.</div>
      <div><br>
      </div>
      <div>Now I am hosting to GRASS-Addons repo because the code needs
testing...(although needs some cleanup)<br>
      </div>
      <div><br>
      </div>
      <div>A README is included with source which shows how to use the
module. But wx.class is made to be user-friendly.</div>
      <div><br>
      </div>
      <div><br>
      </div>
      <div>Any comments or suggestions are really welcomed :)</div>
      <div><br>
      </div>
      <div><br>
      </div>
      <div>-- <br>
Rashad<br>
      </div>
      </div>
      </div>
      <pre><fieldset></fieldset>
_______________________________________________
grass-user mailing list
<a href="mailto:grass-user@lists.osgeo.org" target="_blank">grass-user@lists.osgeo.org</a>
<a href="http://lists.osgeo.org/mailman/listinfo/grass-user" target="_blank">http://lists.osgeo.org/mailman/listinfo/grass-user</a>
  </pre>
    </blockquote>
    <br>
    </div>
    <br>
_______________________________________________<br>
grass-user mailing list<br>
    <a href="mailto:grass-user@lists.osgeo.org" target="_blank">grass-user@lists.osgeo.org</a><br>
    <a href="http://lists.osgeo.org/mailman/listinfo/grass-user" target="_blank">http://lists.osgeo.org/mailman/listinfo/grass-user</a><br>
    <br>
  </blockquote>
  </div>
  <br>
  <br clear="all">
  <br>
-- <br>
Rashad<br>
  </div>
  </div>
</blockquote>
<br>
</div></div></div>

</blockquote></div><br><br clear="all"><br></div></div>-- <br>Rashad<br>
</div>
</blockquote></div><br><br clear="all"><br>-- <br>Rashad<br>