[GRASS-user] GRASS wxpython error in ubuntu 11.04

Pierre Roudier pierre.roudier at gmail.com
Wed Jul 6 01:19:07 EDT 2011


Andry,

Note that the last stable version of GRASS is actually in
UbuntuGIS-unstable:
https://launchpad.net/~ubuntugis/+archive/ubuntugis-unstable

Not sure in what extent this repo is experimental or not,

Pierre

2011/7/6 Pierre Roudier <pierre.roudier at gmail.com>:
> Andry,
>
> Yes, I think I've already went through that problem. For some reasons
> the Ubuntu folks have an unstable/old version of GRASS in the default
> repository. This is bad.
>
> Two solutions:
>
> - First one, compile it from source, if you're confident with that
> sort of things.
>
> - Otherwise, there is a special Ubuntu repository for spatial
> software, UbuntuGIS: https://launchpad.net/~ubuntugis/+archive/ppa/ .
> What you need to do is to add that repository to your system. Then
> install GRASS from that repository.
>
> Maybe an Ubuntu user could comment - I'm on OpenSuse so I may not been
> up-to-date,
>
> HTH,
>
> Pierre
>
> 2011/7/6 andry rustanto <rustanto.id at gmail.com>:
>> Hi Pierre,
>>
>> Thanks for your reply, yes i installed it from synaptic from local
>> repository in Indonesia. How can I upgrade my GRASS into version 6.4.1 ?
>>
>> Many Thanks,
>>
>> Andry
>>
>> On 6 July 2011 11:34, Pierre Roudier <pierre.roudier at gmail.com> wrote:
>>>
>>> Hi Andry,
>>>
>>> Your seem to be running an unstable and rather old version of GRASS
>>> (GRASS 6.4.0+42329). First thing you should do is to update to the
>>> newest stable version (6.4.1).
>>>
>>> How did you install it? If from Synaptic, from which repository?
>>>
>>> Pierre
>>>
>>> 2011/7/6 andry rustanto <rustanto.id at gmail.com>:
>>> > Dear All,
>>> >
>>> > Please help me to start GRASS -wxpython i ubuntu 11.04, it gives error
>>> > as
>>> > follow :
>>> >
>>> > GRASS 6.4.0+42329 (New):~ >
>>> > (python:3254): GLib-CRITICAL **: g_hash_table_insert_internal: assertion
>>> > `hash_table != NULL' failed
>>> > Traceback (most recent call last):
>>> >   File "/usr/lib/grass64/etc/wxpython/wxgui.py", line 1818, in <module>
>>> >     sys.exit(main())
>>> >   File "/usr/lib/grass64/etc/wxpython/wxgui.py", line 1811, in main
>>> >     app = GMApp(workspaceFile)
>>> >   File "/usr/lib/grass64/etc/wxpython/wxgui.py", line 1736, in __init__
>>> >     wx.App.__init__(self, False)
>>> >   File
>>> > "/usr/lib64/python2.7/dist-packages/wx-2.8-gtk2-unicode/wx/_core.py",
>>> > line 7978, in __init__
>>> >     self._BootstrapApp()
>>> >   File
>>> > "/usr/lib64/python2.7/dist-packages/wx-2.8-gtk2-unicode/wx/_core.py",
>>> > line 7552, in _BootstrapApp
>>> >     return _core_.PyApp__BootstrapApp(*args, **kwargs)
>>> >   File "/usr/lib/grass64/etc/wxpython/wxgui.py", line 1754, in OnInit
>>> >     workspace = self.workspaceFile)
>>> >   File "/usr/lib/grass64/etc/wxpython/wxgui.py", line 185, in __init__
>>> >     self.NewDisplay(show=False)
>>> >   File "/usr/lib/grass64/etc/wxpython/wxgui.py", line 1235, in
>>> > NewDisplay
>>> >     auimgr=self._auimgr, showMapDisplay=show)
>>> >   File "/usr/lib/grass64/etc/wxpython/gui_modules/wxgui_utils.py", line
>>> > 73,
>>> > in __init__
>>> >     super(LayerTree, self).__init__(parent, id, pos, size, style=style,
>>> > ctstyle=ctstyle)
>>> >   File
>>> >
>>> > "/usr/lib64/python2.7/dist-packages/wx-2.8-gtk2-unicode/wx/lib/mixins/treemixin.py",
>>> > line 488, in __init__
>>> >     super(DragAndDrop, self).__init__(*args, **kwargs)
>>> > TypeError: __init__() got an unexpected keyword argument 'ctstyle'
>>> >
>>> > Many Thanks...
>>> >
>>> > Regards,
>>> >
>>> > Andry
>>> > _______________________________________________
>>> > grass-user mailing list
>>> > grass-user at lists.osgeo.org
>>> > http://lists.osgeo.org/mailman/listinfo/grass-user
>>> >
>>> >
>>>
>>>
>>>
>>> --
>>> Scientist
>>> Landcare Research, New Zealand
>>
>>
>
>
>
> --
> Scientist
> Landcare Research, New Zealand
>



-- 
Scientist
Landcare Research, New Zealand


More information about the grass-user mailing list