[GRASS-dev] [GRASS-user] experimental Python 3 support in trunk

Markus Neteler neteler at osgeo.org
Mon Sep 3 23:00:23 PDT 2018


On Tue, Sep 4, 2018 at 12:39 AM Anna Petrášová <kratochanna at gmail.com> wrote:
>
> are you sure you did make distclean?

You are right, solved with that.

Here a few more issues: At wxGUI startup:

### in the terminal:
07:37:09: Debug: Adding duplicate image handler for 'Windows bitmap file'
07:37:09: Debug: Adding duplicate image handler for 'Windows bitmap file'

--> perhaps from an underlying lib?

### in the wxGUI console:
> Menu > System info

3D view mode not available
Reason: name 'WindowsError' is not defined
Vector digitizer not available
Reason: name 'WindowsError' is not defined
Note that the wxGUI's vector digitizer is disabled in this
installation. Please keep an eye out for updated versions of
GRASS. In the meantime you can use "v.edit" for non-
interactive editing from the Develop vector map menu.
/home/mneteler/software/grass77/dist.x86_64-pc-linux-
gnu/gui/wxpython/mapwin/buffered.py:406:
wxPyDeprecationWarning: Call to deprecated item. Use
DrawLine instead.
  coords[i][1]))
System Info
Traceback (most recent call last):
  File "/home/mneteler/software/grass77/dist.x86_64-pc-
linux-gnu/gui/wxpython/lmgr/frame.py", line 1259, in
OnSystemInfo

_("Platform"), platform.platform().decode('utf8',
'replace'), osgeo4w),
AttributeError
:
'str' object has no attribute 'decode'


##################################################

display raster > select map > OK button

/home/mneteler/software/grass77/dist.x86_64-pc-linux-
gnu/gui/wxpython/mapwin/buffered.py:406:
wxPyDeprecationWarning: Call to deprecated item. Use
DrawLine instead.
  coords[i][1]))
/home/mneteler/software/grass77/dist.x86_64-pc-linux-
gnu/gui/wxpython/mapwin/buffered.py:406:
wxPyDeprecationWarning: Call to deprecated item. Use
DrawLine instead.
  coords[i][1]))

##################################################
# seen in the terminal:

    from grass.pygrass.vector import VectorTopo
  File "/home/mneteler/software/grass77/dist.x86_64-pc-linux-gnu/etc/python/grass/pygrass/vector/__init__.py",
line 7, in <module>
    import grass.lib.vector as libvect
  File "/home/mneteler/software/grass77/dist.x86_64-pc-linux-gnu/etc/python/grass/lib/vector.py",
line 5863
    PORT_LONG_MAX = 2147483647L
                              ^
SyntaxError: invalid syntax



Markus


More information about the grass-dev mailing list