[GRASS-user] grass6.4.6 on debian 8

Hi,
Trying to install grass-6.4.6svn on a fresh debian jessie, I have no
errors during compilation/installation. But when I launch grass64, no
gui opens up, and I get the following error message on the terminal :
                
                Traceback (most recent call last):
                  File
                "/usr/local/grass-6.4.6svn/etc/wxpython/wxgui.py", line
                34, in <module>
                    from lmgr.frame import GMFrame
                  File
                "/usr/local/grass-6.4.6svn/etc/wxpython/lmgr/frame.py",
                line 46, in <module>
                    from lmgr.layertree import LayerTree, LMIcons
                  File
                "/usr/local/grass-6.4.6svn/etc/wxpython/lmgr/layertree.py", line 37, in <module>
                    from mapdisp.frame import MapFrame
                  File
                "/usr/local/grass-6.4.6svn/etc/wxpython/mapdisp/frame.py", line 39, in <module>
                    from mapdisp.toolbars import MapToolbar, NvizIcons
                  File
                "/usr/local/grass-6.4.6svn/etc/wxpython/mapdisp/toolbars.py", line 22, in <module>
                    from nviz.main import haveNviz
                  File
                "/usr/local/grass-6.4.6svn/etc/wxpython/nviz/main.py",
                line 24, in <module>
                    from nviz import mapwindow
                  File
                "/usr/local/grass-6.4.6svn/etc/wxpython/nviz/mapwindow.py", line 42, in <module>
                    from nviz.workspace import NvizSettings
                  File
                "/usr/local/grass-6.4.6svn/etc/wxpython/nviz/workspace.py", line 22, in <module>
                    from nviz import wxnviz
                  File
                "/usr/local/grass-6.4.6svn/etc/wxpython/nviz/wxnviz.py",
                line 49, in <module>
                    sys.stderr.write(_("3D view mode: %s\n") % e)
                UnicodeDecodeError: 'ascii' codec can't decode byte 0xc3
                in position 58: ordinal not in range(128)
                
I tried to rebuild after a distclean, even purged completely my svn src
directory, but the error is still the same.

Did anybody experience the same issue recently ?

Thanks,
Vincent.

Hi,

On Fri, Nov 6, 2015 at 10:01 PM, Vincent Bain <bain@toraval.fr> wrote:

Hi,
Trying to install grass-6.4.6svn on a fresh debian jessie, I have no
errors during compilation/installation.

While I am all for fixing 6.4, is there a reason that you cannot
switch to GRASS GIS 7? Just curious...

But when I launch grass64, no
gui opens up, and I get the following error message on the terminal :

                  File
                "/usr/local/grass-6.4.6svn/etc/wxpython/nviz/workspace.py", line 22, in <module>
                    from nviz import wxnviz
                  File
                "/usr/local/grass-6.4.6svn/etc/wxpython/nviz/wxnviz.py",
                line 49, in <module>
                    sys.stderr.write(_("3D view mode: %s\n") % e)
                UnicodeDecodeError: 'ascii' codec can't decode byte 0xc3
                in position 58: ordinal not in range(128)

...

While I have no special idea (it will be about char encoding), can it
be that you use it in French locale?

I found something similar fixed in r52329. (btw, such "strange"
references always refer to code changes, in this case
https://trac.osgeo.org/grass/changeset/52329 )

Markus

Hello Markus,
thank you for caring for my rather 'dated' question indeed!

I keep a permanent update build of grass7 from svn, but do not (yet) use
it for production purpose. Last time I tried to work on a project with
it, I noticed the digiting tool was very unstable, where I had no
problem with 6.4. At that moment I did not have time to dig into what
was wrong, nor pass information on the list.

But it is the occasion to give it a try again. Last week I started a
course at the university, students asked me if I could migrate their
workstations to grass 7, so...

Le samedi 07 novembre 2015 à 12:36 +0100, Markus Neteler a écrit :

Hi,
While I have no special idea (it will be about char encoding), can it
be that you use it in French locale?

I don't really know, I'll try after setting back locale to default.

Thnx,
V.

On Nov 7, 2015 1:39 PM, “Vincent Bain” <bain@toraval.fr> wrote:

Le samedi 07 novembre 2015 à 12:36 +0100, Markus Neteler a écrit :

Hi,
While I have no special idea (it will be about char encoding), can it
be that you use it in French locale?

I don’t really know, I’ll try after setting back locale to default.

I meant, is the menu in English or French?

Markus

I meant, is the menu in English or French?

No, menus usually displayed in english. Things began to be on the blink
after I upgraded my system -- python version jumped from 2.7.3 to 2.7.9.
Could be a python-related issue...
Anyway, as you half-suggested I'll take a leap in "seven", then
contribute with my potential bug reports !

Vincent.

On Sat, Nov 7, 2015 at 9:32 AM, Vincent Bain <bain@toraval.fr> wrote:

Anyway, as you half-suggested I'll take a leap in "seven", then
contribute with my potential bug reports !

Please do, it is very important that you report what doesn't work for you
in 7 (i.e. why you are not using it).

Yes Vaclav, I will; I believe it's the very least one should do when
using free software as professional set of tools...

V.

Le samedi 07 novembre 2015 à 12:55 -0500, Vaclav Petras a écrit :

On Sat, Nov 7, 2015 at 9:32 AM, Vincent Bain <bain@toraval.fr> wrote:
        Anyway, as you half-suggested I'll take a leap in "seven",
        then
        contribute with my potential bug reports !

Please do, it is very important that you report what doesn't work for
you in 7 (i.e. why you are not using it).