Hi all,
After some time I’ve decided to start testing latest devel versions of GRASS on Ubuntu again. I have just today successfully compiled this week’s SVN snapshot on Ubuntu 11.04 64-bit with the following configuration options: CFLAGS="-g -Wall" ./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
There was one error upon compile in the NVIS directory where StdCmap.h was not found. It was because libxmu-dev
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 (http://grass.osgeo.org/grass70/source/snapshot/REQUIREMENTS.html). Anyhow, after I installed libxmu-dev
then GRASS 7 compiles with no errors.
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:
Starting 3D view mode…
Exception in thread Thread-5:
Traceback (most recent call last):
File “/usr/lib/python2.7/threading.py”, line 552, in
__bootstrap_inner
self.run()
File “/usr/local/grass-7.0.svn/etc/gui/wxpython/nviz/mapwi
ndow.py”, line 62, in run
self._display = wxnviz.Nviz(self.log, self.progressbar)
File
“/usr/local/grass-7.0.svn/etc/gui/wxpython/nviz/wxnviz.py”,
line 104, in init
self.data_obj = nv_data()
NameError: global name ‘nv_data’ is not defined
Exception
AttributeError
:
“‘Nviz’ object has no attribute ‘data’”
in
<bound method Nviz.del of <nviz.wxnviz.Nviz object at
0x53f3390>>
ignored
Traceback (most recent call last):
File “/usr/local/grass-7.0.svn/etc/gui/wxpython/mapdisp/to
olbars.py”, line 229, in OnSelectTool
self.parent.AddNviz()
File “/usr/local/grass-7.0.svn/etc/gui/wxpython/mapdisp/fr
ame.py”, line 296, in AddNviz
Map = self.Map, tree = self.tree, lmgr = self._layerManager)
File “/usr/local/grass-7.0.svn/etc/gui/wxpython/nviz/mapwi
ndow.py”, line 152, in init
self.decoration = self.nvizDefault.SetDecorDefaultProp(type
= ‘arrow’)
File “/usr/local/grass-7.0.svn/etc/gui/wxpython/nviz/works
pace.py”, line 330, in SetDecorDefaultProp
UserSettings.Get(group = ‘nviz’, key = ‘arrow’, subkey =
‘color’)[:3])
TypeError
:
%d format: a number is required, not str
Is this a known issue? Or something ubuntu-specific? It looks like an error with a specific variable that’s being called in a python script before it is assigned. Any ideas on what to tinker with to get it working?
Regards,
Isaac I Ullah, M.A.
Archaeology PhD Candidate,
ASU School of Evolution and Social Change
Research Assistant,
Mediterranean Landscape Dynamics Project
isaac.ullah@asu.edu
ullah@archaeologist.com
http://www.public.asu.edu/~iullah