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

Martin Landa landa.martin at gmail.com
Mon Sep 3 12:01:52 PDT 2018


Hi,

po 3. 9. 2018 v 20:47 odesílatel Markus Neteler <neteler at osgeo.org> napsal:

my first attempt to start GRASS fails with:

(grasspy3) martin at debian:~/src/grass7_trunk$
./bin.x86_64-pc-linux-gnu/grass77 -text
Traceback (most recent call last):
  File "./bin.x86_64-pc-linux-gnu/grass77", line 2162, in <module>
    main()
  File "./bin.x86_64-pc-linux-gnu/grass77", line 2010, in main
    set_paths(grass_config_dir=grass_config_dir)
  File "./bin.x86_64-pc-linux-gnu/grass77", line 623, in set_paths
    os.environ['MANPATH'] = sys_man_path
  File "/home/martin/Downloads/grasspy3/lib/python3.6/os.py", line
674, in __setitem__
    value = self.encodevalue(value)
  File "/home/martin/Downloads/grasspy3/lib/python3.6/os.py", line
744, in encode
    raise TypeError("str expected, not %s" % type(value).__name__)
TypeError: str expected, not bytes

Is it expected? Ma

-- 
Martin Landa
http://geo.fsv.cvut.cz/gwiki/Landa
http://gismentors.cz/mentors/landa


More information about the grass-dev mailing list