No ideas?<br><br>~Isaac<br><br><div class="gmail_quote">On Fri, Feb 24, 2012 at 3:19 PM, Isaac Ullah <span dir="ltr">&lt;<a href="mailto:isaac.ullah@asu.edu">isaac.ullah@asu.edu</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Actually, now that I am thinking about it, this may be related to an ongoing NVIZ problem that I have had since moving to Ubuntu 11.03. Essentially, what happens is that NVIZ only <i>sort of</i> works in that I can get it to load up and display a map, but as soon as i touch any of the controls with the mouse, the map canvas goes blank. I can see glimpses of the map in coarse mode as if I rotate the view or zoom perspective or raise the height, but the display always goes back blank as soon as I stop moving. Sometimes the display DOES come back if I briefly click the eye arrow and then don&#39;t move the mouse, but this is only temporary. This happens on all three versions of grass I have installed (6.4.1 from ubuntu GIS repository, 6.4.2 from SVN snapshot binary, and 7.0 compiled from source). This is *not* the same exact issue with the 3D map display in 7.0, which just doesn&#39;t even load through, but it *is* an error I have been having with 3D display of maps in GRASS in general...<span class="HOEnZb"><font color="#888888"><br>

<br>~Isaac <br></font></span><div class="HOEnZb"><div class="h5"><br><div class="gmail_quote">On Fri, Feb 24, 2012 at 2:34 PM, Isaac Ullah <span dir="ltr">&lt;<a href="mailto:isaac.ullah@asu.edu" target="_blank">isaac.ullah@asu.edu</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Hi all,<br><br>  After some time I&#39;ve decided to start testing latest devel versions of GRASS on Ubuntu again. I have just today successfully compiled this week&#39;s SVN snapshot on Ubuntu 11.04 64-bit with the following configuration options: <code>CFLAGS=&quot;-g -Wall&quot; ./configure --with-cxx --with-freetype=yes
--with-postgres=no --with-sqlite=yes
--with-tcltk-includes=/usr/include/tcl8.5
--with-freetype-includes=/usr/include/freetype2
--with-python=/usr/bin/python-config --with-wxwidgets=yes --with-nls
--enable-largefile --with-proj-share=/usr/share/proj --enable-64bit
--with-libs=/usr/lib64 --with-gdal=/usr/bin/gdal-config</code><br><br>There was one error upon compile in the NVIS directory where StdCmap.h was not found. It was because <code><span>libxmu-dev</span></code> was not installed. Apparently libxmu is a necessary component for NVIS to compile, but it is strangely not listed as a necessary component on the requirements page (<a href="http://grass.osgeo.org/grass70/source/snapshot/REQUIREMENTS.html" target="_blank">http://grass.osgeo.org/grass70/source/snapshot/REQUIREMENTS.html</a>). Anyhow, after I installed <code><span>libxmu-dev</span></code> then GRASS 7 compiles with no errors.<br>


<br>So far, most basic functionality seems to work, except for the 3-D view in the map display. I get the following errors when I try to use it:<br><br><span style="font-family:courier new,monospace">Starting 3D view mode...                                                        </span><br style="font-family:courier new,monospace">


<span style="font-family:courier new,monospace">Exception in thread Thread-5:</span><br style="font-family:courier new,monospace"><span style="font-family:courier new,monospace">Traceback (most recent call last):</span><br style="font-family:courier new,monospace">


<span style="font-family:courier new,monospace">  File &quot;/usr/lib/python2.7/threading.py&quot;, line 552, in</span><br style="font-family:courier new,monospace"><span style="font-family:courier new,monospace">__bootstrap_inner</span><br style="font-family:courier new,monospace">


<span style="font-family:courier new,monospace">    self.run()</span><br style="font-family:courier new,monospace"><span style="font-family:courier new,monospace">  File &quot;/usr/local/grass-7.0.svn/etc/gui/wxpython/nviz/mapwi</span><br style="font-family:courier new,monospace">


<span style="font-family:courier new,monospace">ndow.py&quot;, line 62, in run</span><br style="font-family:courier new,monospace"><span style="font-family:courier new,monospace">    self._display = wxnviz.Nviz(self.log, self.progressbar)</span><br style="font-family:courier new,monospace">


<span style="font-family:courier new,monospace">  File</span><br style="font-family:courier new,monospace"><span style="font-family:courier new,monospace">&quot;/usr/local/grass-7.0.svn/etc/gui/wxpython/nviz/wxnviz.py&quot;,</span><br style="font-family:courier new,monospace">


<span style="font-family:courier new,monospace">line 104, in __init__</span><br style="font-family:courier new,monospace"><span style="font-family:courier new,monospace">    self.data_obj = nv_data()</span><br style="font-family:courier new,monospace">


<span style="font-family:courier new,monospace">NameError: global name &#39;nv_data&#39; is not defined</span><br style="font-family:courier new,monospace"><span style="font-family:courier new,monospace">Exception</span><br style="font-family:courier new,monospace">


<span style="font-family:courier new,monospace">AttributeError</span><br style="font-family:courier new,monospace"><span style="font-family:courier new,monospace">:</span><br style="font-family:courier new,monospace"><span style="font-family:courier new,monospace">&quot;&#39;Nviz&#39; object has no attribute &#39;data&#39;&quot;</span><br style="font-family:courier new,monospace">


<span style="font-family:courier new,monospace"> in</span><br style="font-family:courier new,monospace"><span style="font-family:courier new,monospace">&lt;bound method Nviz.__del__ of &lt;nviz.wxnviz.Nviz object at</span><br style="font-family:courier new,monospace">


<span style="font-family:courier new,monospace">0x53f3390&gt;&gt;</span><br style="font-family:courier new,monospace"><span style="font-family:courier new,monospace"> ignored</span><br style="font-family:courier new,monospace">


<span style="font-family:courier new,monospace">Traceback (most recent call last):</span><br style="font-family:courier new,monospace"><span style="font-family:courier new,monospace">  File &quot;/usr/local/grass-7.0.svn/etc/gui/wxpython/mapdisp/to</span><br style="font-family:courier new,monospace">


<span style="font-family:courier new,monospace">olbars.py&quot;, line 229, in OnSelectTool</span><br style="font-family:courier new,monospace"><br style="font-family:courier new,monospace"><span style="font-family:courier new,monospace">self.parent.AddNviz()</span><br style="font-family:courier new,monospace">


<span style="font-family:courier new,monospace">  File &quot;/usr/local/grass-7.0.svn/etc/gui/wxpython/mapdisp/fr</span><br style="font-family:courier new,monospace"><span style="font-family:courier new,monospace">ame.py&quot;, line 296, in AddNviz</span><br style="font-family:courier new,monospace">


<br style="font-family:courier new,monospace"><span style="font-family:courier new,monospace">Map = self.Map, tree = self.tree, lmgr = self._layerManager)</span><br style="font-family:courier new,monospace"><span style="font-family:courier new,monospace">  File &quot;/usr/local/grass-7.0.svn/etc/gui/wxpython/nviz/mapwi</span><br style="font-family:courier new,monospace">


<span style="font-family:courier new,monospace">ndow.py&quot;, line 152, in __init__</span><br style="font-family:courier new,monospace"><br style="font-family:courier new,monospace"><span style="font-family:courier new,monospace">self.decoration = self.nvizDefault.SetDecorDefaultProp(type</span><br style="font-family:courier new,monospace">


<span style="font-family:courier new,monospace">= &#39;arrow&#39;)</span><br style="font-family:courier new,monospace"><span style="font-family:courier new,monospace">  File &quot;/usr/local/grass-7.0.svn/etc/gui/wxpython/nviz/works</span><br style="font-family:courier new,monospace">


<span style="font-family:courier new,monospace">pace.py&quot;, line 330, in SetDecorDefaultProp</span><br style="font-family:courier new,monospace"><br style="font-family:courier new,monospace"><span style="font-family:courier new,monospace">UserSettings.Get(group = &#39;nviz&#39;, key = &#39;arrow&#39;, subkey =</span><br style="font-family:courier new,monospace">


<span style="font-family:courier new,monospace">&#39;color&#39;)[:3])</span><br style="font-family:courier new,monospace"><span style="font-family:courier new,monospace">TypeError</span><br style="font-family:courier new,monospace">


<span style="font-family:courier new,monospace">:</span><br style="font-family:courier new,monospace"><span style="font-family:courier new,monospace">%d format: a number is required, not str</span><br clear="all"><br><br>


Is this a known issue? Or something ubuntu-specific? It looks like an error with a specific variable that&#39;s being called in a python script before it is assigned. Any ideas on what to tinker with to get it working?<br>


<br>Regards,<br>-- <br>Isaac I Ullah, M.A.<br><br>Archaeology PhD Candidate,<br>ASU School of Evolution and Social Change<br><br>Research Assistant,<br>Mediterranean Landscape Dynamics Project<br>***************************************************<br>


<a href="mailto:isaac.ullah@asu.edu" target="_blank">isaac.ullah@asu.edu</a><br><a href="mailto:ullah@archaeologist.com" target="_blank">ullah@archaeologist.com</a><br><br><a href="http://www.public.asu.edu/%7Eiullah" target="_blank">http://www.public.asu.edu/~iullah</a><br>


***************************************************<br>
</blockquote></div><br><br clear="all"><br>-- <br>Isaac I Ullah, M.A.<br><br>Archaeology PhD Candidate,<br>ASU School of Evolution and Social Change<br><br>Research Assistant,<br>Mediterranean Landscape Dynamics Project<br>

***************************************************<br><a href="mailto:isaac.ullah@asu.edu" target="_blank">isaac.ullah@asu.edu</a><br><a href="mailto:ullah@archaeologist.com" target="_blank">ullah@archaeologist.com</a><br>
<br><a href="http://www.public.asu.edu/%7Eiullah" target="_blank">http://www.public.asu.edu/~iullah</a><br>
***************************************************<br>
</div></div></blockquote></div><br><br clear="all"><br>-- <br>Isaac I Ullah, M.A.<br><br>Archaeology PhD Candidate,<br>ASU School of Evolution and Social Change<br><br>Research Assistant,<br>Mediterranean Landscape Dynamics Project<br>
***************************************************<br><a href="mailto:isaac.ullah@asu.edu">isaac.ullah@asu.edu</a><br><a href="mailto:ullah@archaeologist.com">ullah@archaeologist.com</a><br><br><a href="http://www.public.asu.edu/~iullah">http://www.public.asu.edu/~iullah</a><br>
***************************************************<br>