[GRASS-dev] Problem starting GRASS GUI - ntpath splitdrive
Pedro Venâncio
pedrongvenancio at gmail.com
Wed Dec 12 02:02:23 PST 2018
Hi Martin and Helmut,
About this issue, I finally find the problem.
I had changed the default code page in this machine long time ago (Regional
Settings -> Language for non-Unicode programs -> and marked the beta option
"Use Unicode UTF-8 for worldwide language support").
And so, the active code page in windows console was 65001.
Unchecking that option, the defaut CHCP came back to 850, and the problem
gone away!
Thank you very much for your help!
Best regards,
Pedro Venâncio
Pedro Venâncio <pedrongvenancio gmail.com> escreveu no dia quarta,
7/11/2018 à(s) 14:10:
> Hi Martin,
>
> Yes, I tried to update wxPython by pip, but it does not solved the problem.
>
> Returning to 2.8.12 also does not help:
>
> C:\>pip uninstall wxpython
> Uninstalling wxPython-4.0.3:
> Would remove:
> c:\osgeo4~1\apps\python27\lib\site-packages\wx\*
> c:\osgeo4~1\apps\python27\lib\site-packages\wxpython-4.0.3.dist-info\*
> c:\osgeo4~1\apps\python27\scripts\helpviewer.exe
> c:\osgeo4~1\apps\python27\scripts\img2png.exe
> c:\osgeo4~1\apps\python27\scripts\img2py.exe
> c:\osgeo4~1\apps\python27\scripts\img2xpm.exe
> c:\osgeo4~1\apps\python27\scripts\pycrust.exe
> c:\osgeo4~1\apps\python27\scripts\pyshell.exe
> c:\osgeo4~1\apps\python27\scripts\pyslices.exe
> c:\osgeo4~1\apps\python27\scripts\pyslicesshell.exe
> c:\osgeo4~1\apps\python27\scripts\pywxrc.exe
> c:\osgeo4~1\apps\python27\scripts\wxdemo.exe
> c:\osgeo4~1\apps\python27\scripts\wxdocs.exe
> c:\osgeo4~1\apps\python27\scripts\wxget.exe
> Proceed (y/n)? y
> Successfully uninstalled wxPython-4.0.3
> You are using pip version 18.0, however version 18.1 is available.
> You should consider upgrading via the 'python -m pip install --upgrade
> pip' command.
>
> C:\>grass74
> Cleaning up temporary files...
> Starting GRASS GIS...
> ATENÇÃO: Concurrent mapset locking is not supported on Windows
>
> __________ ___ __________ _______________
> / ____/ __ \/ | / ___/ ___/ / ____/ _/ ___/
> / / __/ /_/ / /| | \__ \\_ \ / / __ / / \__ \
> / /_/ / _, _/ ___ |___/ /__/ / / /_/ // / ___/ /
> \____/_/ |_/_/ |_/____/____/ \____/___//____/
>
> Welcome to GRASS GIS 7.4.2
> GRASS GIS homepage: http://grass.osgeo.org
> This version running through: Command Shell
> (C:\WINDOWS\system32\cmd.exe)
> Help is available with the command: g.manual -i
> See the licence terms with: g.version -c
> See citation options with: g.version -x
> Start the GUI with: g.gui wxpython
> When ready to quit enter: exit
>
> Microsoft Windows [Version 10.0.17134.345]
> (c) 2018 Microsoft Corporation. Todos os direitos reservados.
>
> C:\>g.gui wxpython
> Launching <wxpython> GUI in the background, please wait...
>
> C:\>python
> Python 2.7.14 (v2.7.14:84471935ed, Sep 16 2017, 20:25:58) [MSC v.1500 64
> bit (AMD64)] on win32
> Type "help", "copyright", "credits" or "license" for more information.
>
> >>> import wx
> >>> wx.version()
> '2.8.12.1 (msw-unicode)'
>
> >>> import sys
> >>> print '\n'.join(sys.path)
>
> C:\OSGEO4~1\apps\grass\grass-7.4.2\etc\python
> C:\OSGeo4W64\apps\Python27
> C:\OSGEO4~1\bin\python27.zip
> C:\OSGEO4~1\apps\Python27\DLLs
> C:\OSGEO4~1\apps\Python27\lib
> C:\OSGEO4~1\apps\Python27\lib\plat-win
> C:\OSGEO4~1\apps\Python27\lib\lib-tk
> C:\OSGEO4~1\bin
> C:\OSGEO4~1\apps\Python27
> C:\OSGEO4~1\apps\Python27\lib\site-packages
> C:\OSGEO4~1\apps\Python27\lib\site-packages\jinja2-2.7.2-py2.7.egg
>
> C:\OSGEO4~1\apps\Python27\lib\site-packages\markupsafe-0.23-py2.7-win-amd64.egg
> C:\OSGEO4~1\apps\Python27\lib\site-packages\win32
> C:\OSGEO4~1\apps\Python27\lib\site-packages\win32\lib
> C:\OSGEO4~1\apps\Python27\lib\site-packages\Pythonwin
> C:\OSGEO4~1\apps\Python27\lib\site-packages\wx-2.8-msw-unicode
>
> Thanks!
>
> Best regards,
> Pedro
>
>
>
> Martin Landa <landa.martin gmail.com> escreveu no dia quarta, 7/11/2018
> à(s) 12:52:
>
>> Hi,
>>
>> st 7. 11. 2018 v 12:02 odesílatel Pedro Venâncio
>> <pedrongvenancio gmail.com> napsal:
>> > >>> import wx
>> > >>> wx.version()
>> > u'4.0.3 msw (phoenix) wxWidgets 3.0.5'
>>
>> btw, have you installed wxPython on your own by pip? OSGeo4W still
>> comes with version 2.8.12 [1]
>>
>> Ma
>>
>> [1] https://download.osgeo.org/osgeo4w/x86_64/release/python/python-wx/
>>
>> --
>> Martin Landa
>> http://geo.fsv.cvut.cz/gwiki/Landa
>> http://gismentors.cz/mentors/landa
>>
>
-------------- próxima parte ----------
Um anexo em HTML foi limpo...
URL: <http://lists.osgeo.org/pipermail/grass-dev/attachments/20181212/adadd08e/attachment.html>
More information about the grass-dev
mailing list