Changes between Version 30 and Version 31 of Python3Support


Ignore:
Timestamp:
12/26/18 10:46:38 (6 years ago)
Author:
neteler
Comment:

+Troubleshooting

Legend:

Unmodified
Added
Removed
Modified
  • Python3Support

    v30 v31  
    759759PACKAGE_POSTFIX=-daily OSGEO4W_POSTFIX=64 ./mswindows/osgeo4w/package.sh
    760760}}}
     761
     762== Troubleshooting ==
     763
     764Problem:
     765
     766{{{
     767     File "/<grassbin_path>/etc/python/grass/lib/vector.py",
     768    line 5860
     769        PORT_LONG_MAX = 2147483647L
     770                                  ^
     771    SyntaxError: invalid syntax
     772}}}
     773
     774Solution: make sure to compile GRASS GIS with Python 3 (the error occurs when GRASS GIS was compiled with Python2 and then opened with Python 3).
     775
    761776== References
    762777http://sebastianraschka.com/Articles/2014_python_2_3_key_diff.html\\