[GRASS-dev] pywin32 missing

Helmut Kudrnovsky hellik at web.de
Wed May 15 12:56:13 PDT 2019


Anna Petrášová wrote
> Hi,
> 
> I am testing some changes in Python library on Windows and when I get over
> the current problem, I run into that I can't import win32file in
> core/gcmd.py. Some problem with packaging?

applied locally your commits (r74480), I get:

############################
C:\>grass77svn --text
Starting GRASS GIS...
WARNUNG: Sperren gleichzeitiger Zugriffe auf ein Mapset ist unter Windows
         nicht möglich.
Cleaning up temporary files...

          __________  ___   __________    _______________
         / ____/ __ \/   | / ___/ ___/   / ____/  _/ ___/
        / / __/ /_/ / /| | \__ \\_  \   / / __ / / \__ \
       / /_/ / _, _/ ___ |___/ /__/ /  / /_/ // / ___/ /
       \____/_/ |_/_/  |_/____/____/   \____/___//____/

Welcome to GRASS GIS 7.7.svn (r74474M)
GRASS GIS homepage:                      https://grass.osgeo.org
This version running through:            Command Prompt
(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.17763.475]
(c) 2018 Microsoft Corporation. Alle Rechte vorbehalten.

C:\>g.gui wxpython
Starte <wxpython> GUI im Hintergrund. Bitte warten Sie ...
C:\OSGEO4~1\apps\grass\grass77/gui/wxpython/wxgui.py:101:
DeprecationWarning: Yield() is deprecated
  wx.Yield()
Traceback (most recent call last):
  File "C:\OSGEO4~1\apps\grass\grass77/gui/wxpython/wxgui.py", line 106, in
OnInit
    workspace=self.workspaceFile)
  File "C:\OSGEO4~1\apps\grass\grass77\gui\wxpython\lmgr\frame.py", line
131, in __init__
    self._moduleTreeBuilder =
LayerManagerModuleTree(message_handler=add_menu_error)
  File "C:\OSGEO4~1\apps\grass\grass77\gui\wxpython\lmgr\menudata.py", line
68, in __init__
    message_handler=message_handler)
  File "C:\OSGEO4~1\apps\grass\grass77\gui\wxpython\core\menutree.py", line
71, in __init__
    xmlTree = etree.parse(filename)
  File "C:\OSGEO4~1\apps\Python37\lib\xml\etree\ElementTree.py", line 1197,
in parse
    tree.parse(source, parser)
  File "C:\OSGEO4~1\apps\Python37\lib\xml\etree\ElementTree.py", line 598,
in parse
    self._root = parser._parse_whole(source)
xml.etree.ElementTree.ParseError: no element found: line 1, column 0
OnInit returned false, exiting...
############################




-----
best regards
Helmut
--
Sent from: http://osgeo-org.1560.x6.nabble.com/Grass-Dev-f3991897.html


More information about the grass-dev mailing list