[GRASS-dev] [GRASS-user] experimental Python 3 support in trunk
Anna Petrášová
kratochanna at gmail.com
Tue Sep 4 07:21:29 PDT 2018
Those easy ones should be fixed now, please test
On Tue, Sep 4, 2018 at 9:21 AM Anna Petrášová <kratochanna at gmail.com> wrote:
>
>
> On Tue, Sep 4, 2018 at 2:00 AM Markus Neteler <neteler at osgeo.org> wrote:
>
>> 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'
>>
>
> not sure about this, but seems minor right now
>
>>
>> --> 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:
>>
>
> generally, that's the problem with ctypes which is not fixed yet, I can
> look what that 'WindowsError' means specifically
>
>
>> wxPyDeprecationWarning: Call to deprecated item. Use
>> DrawLine instead.
>> coords[i][1]))
>>
>
> minor, should be easy to get rid of it
>
>
>> 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'
>>
>>
> I will look at that, should be easy
>
>>
>> ##################################################
>>
>> 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
>>
>>
> as I said, that's the ctypes problem, weird is I don't get this specific
> problem, when I compile it, I get PORT_LONG_MAX = 2147483647 (without the
> L)
>
>>
>>
>> Markus
>>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/grass-dev/attachments/20180904/740f7186/attachment-0001.html>
More information about the grass-dev
mailing list