[GRASS-user] r.diversity (r.li) options on windows
Luigi Ponti
lponti at inbox.com
Fri Mar 7 01:01:38 PST 2014
Hi Markus,
I have installed grass70 on a virtualBox with OSGeo Live 7.0
GRASS precompiled version from:
https://launchpad.net/~grass/+archive/grass-devel
ppa:grass/grass-devel
Installed precompiled version:
7.0.0+0ubuntu3~develppa~2~svn-30128~ubuntu12.04.1
which the repository says is 9 hrs hold, and hence I assume includes r.li.* updates by Markus Metz.
Start GRASS from terminal with grass70 is fine.
If I go menuwise in wxpython gui:
Settings > Addons extenstions > install extensions from Addons
g.extension gui reports the following error:
Unable to load extensions
and when trying to fecth extensions, the same occurs.
Other things appear not to work properly. For example, again in the gui:
Help > About GRASS GIS
Nothing happens and commmand console reports the following:
Traceback (most recent call last):
File "/usr/lib/python2.7/dist-
packages/wx-2.8-gtk2-unicode/wx/lib/agw/customtreectrl.py",
line 6469, in OnKeyDown
id = self.FindItem(self._current, self._findPrefix + ch)
File "/usr/lib/python2.7/dist-
packages/wx-2.8-gtk2-unicode/wx/lib/agw/customtreectrl.py",
line 4151, in FindItem
id = self.GetNext(id)
File "/usr/lib/python2.7/dist-
packages/wx-2.8-gtk2-unicode/wx/lib/agw/customtreectrl.py",
line 4036, in GetNext
children = i.GetChildren()
AttributeError
:
'NoneType' object has no attribute 'GetChildren'
Traceback (most recent call last):
File "/usr/lib/python2.7/dist-
packages/wx-2.8-gtk2-unicode/wx/lib/agw/customtreectrl.py",
line 6469, in OnKeyDown
id = self.FindItem(self._current, self._findPrefix + ch)
File "/usr/lib/python2.7/dist-
packages/wx-2.8-gtk2-unicode/wx/lib/agw/customtreectrl.py",
line 4151, in FindItem
id = self.GetNext(id)
File "/usr/lib/python2.7/dist-
packages/wx-2.8-gtk2-unicode/wx/lib/agw/customtreectrl.py",
line 4036, in GetNext
children = i.GetChildren()
AttributeError
:
'NoneType' object has no attribute 'GetChildren'
Traceback (most recent call last):
File "/usr/lib/python2.7/dist-
packages/wx-2.8-gtk2-unicode/wx/lib/agw/customtreectrl.py",
line 6469, in OnKeyDown
id = self.FindItem(self._current, self._findPrefix + ch)
File "/usr/lib/python2.7/dist-
packages/wx-2.8-gtk2-unicode/wx/lib/agw/customtreectrl.py",
line 4151, in FindItem
id = self.GetNext(id)
File "/usr/lib/python2.7/dist-
packages/wx-2.8-gtk2-unicode/wx/lib/agw/customtreectrl.py",
line 4036, in GetNext
children = i.GetChildren()
AttributeError
:
'NoneType' object has no attribute 'GetChildren'
Traceback (most recent call last):
File "/usr/lib/python2.7/dist-
packages/wx-2.8-gtk2-unicode/wx/lib/agw/customtreectrl.py",
line 6300, in OnKeyDown
if not self.IsItemEnabled(self._current):
File "/usr/lib/python2.7/dist-
packages/wx-2.8-gtk2-unicode/wx/lib/agw/customtreectrl.py",
line 2661, in IsItemEnabled
return item.IsEnabled()
AttributeError
:
'NoneType' object has no attribute 'IsEnabled'
Traceback (most recent call last):
File "/usr/lib/python2.7/dist-
packages/wx-2.8-gtk2-unicode/wx/lib/agw/customtreectrl.py",
line 6469, in OnKeyDown
id = self.FindItem(self._current, self._findPrefix + ch)
File "/usr/lib/python2.7/dist-
packages/wx-2.8-gtk2-unicode/wx/lib/agw/customtreectrl.py",
line 4151, in FindItem
id = self.GetNext(id)
File "/usr/lib/python2.7/dist-
packages/wx-2.8-gtk2-unicode/wx/lib/agw/customtreectrl.py",
line 4036, in GetNext
children = i.GetChildren()
AttributeError
:
'NoneType' object has no attribute 'GetChildren'
Traceback (most recent call last):
File "/usr/lib/python2.7/dist-
packages/wx-2.8-gtk2-unicode/wx/lib/agw/customtreectrl.py",
line 6469, in OnKeyDown
id = self.FindItem(self._current, self._findPrefix + ch)
File "/usr/lib/python2.7/dist-
packages/wx-2.8-gtk2-unicode/wx/lib/agw/customtreectrl.py",
line 4151, in FindItem
id = self.GetNext(id)
File "/usr/lib/python2.7/dist-
packages/wx-2.8-gtk2-unicode/wx/lib/agw/customtreectrl.py",
line 4036, in GetNext
children = i.GetChildren()
AttributeError
:
'NoneType' object has no attribute 'GetChildren'
Traceback (most recent call last):
File "/usr/lib/python2.7/dist-
packages/wx-2.8-gtk2-unicode/wx/lib/agw/customtreectrl.py",
line 6469, in OnKeyDown
id = self.FindItem(self._current, self._findPrefix + ch)
File "/usr/lib/python2.7/dist-
packages/wx-2.8-gtk2-unicode/wx/lib/agw/customtreectrl.py",
line 4151, in FindItem
id = self.GetNext(id)
File "/usr/lib/python2.7/dist-
packages/wx-2.8-gtk2-unicode/wx/lib/agw/customtreectrl.py",
line 4036, in GetNext
children = i.GetChildren()
AttributeError
:
'NoneType' object has no attribute 'GetChildren'
Traceback (most recent call last):
File "/usr/lib/grass70/etc/gui/wxpython/lmgr/frame.py",
line 1003, in OnAboutGRASS
win = AboutWindow(self)
File
"/usr/lib/grass70/etc/gui/wxpython/gui_core/ghelp.py", line
57, in __init__
for title, win in ((_("Info"), self._pageInfo()),
File
"/usr/lib/grass70/etc/gui/wxpython/gui_core/ghelp.py", line
112, in _pageInfo
label = 'GRASS GIS ' + vInfo['version'] + '\n')
KeyError
:
'version'
Sounds like a Python problem but I am not sure how to deal with that. I also have of course GRASS 6.4.3 intalled as it comes with OSGeo Live 7.0.
Thanks in advance for any pointer.
Kind regards,
Luigi
> -----Original Message-----
> From: neteler at osgeo.org
> Sent: Sun, 23 Feb 2014 23:51:38 +0100
> To: lponti at inbox.com
> Subject: Re: [GRASS-user] r.diversity (r.li) options on windows
>
> Hi Luigi,
>
> over the past few weeks Markus Metz has submitted a major rewrite of
> r.li.* to GRASS GIS 7.svn.
>
> We tested the older version a lot which is containing a lot of errors.
>
> Suggestion: get a fresh GRASS 7 from SVN (or precompiled, see
> http://grass.osgeo.org/grass7/
> ) and use the r.diversity Addon for GRASS 7.
>
> Backporting the r.li.* rewrite is quite some effort, not sure how to
> deal with that.
>
> Best
> Markus
____________________________________________________________
Protect your computer files with professional cloud backup.
Get PCRx Backup and upload unlimited files automatically.
Learn more at http://backup.pcrx.com/mail
More information about the grass-user
mailing list