nirum-lang / nirum

Nirum: IDL compiler and RPC/distributed object framework for microservices
https://nirum.org/
GNU General Public License v3.0
121 stars 27 forks source link

AppVeyor build failed everytime #226

Closed jckdotim closed 6 years ago

jckdotim commented 6 years ago
ERROR:   py27: Error creating virtualenv. Note that some special characters (e.g. ':' and unicode symbols) in paths are not supported by virtualenv. Error details: InvocationError('c:\\python36\\python.exe -m virtualenv --python C:\\msys64\\usr\\bin\\python2.7.EXE py27 (see C:\\projects\\nirum-k5n5y\\.tox\\py27\\log\\py27-0.log)', 100)
jckdotim commented 6 years ago

See also: https://github.com/tox-dev/tox/issues/644

dahlia commented 6 years ago
ERROR: The executable /c/projects/nirum-k5n5y/.tox/py27/bin/python2.7 is not functioning
ERROR: It thinks sys.prefix is u'/c/projects/nirum-k5n5y/.tox' (should be u'/c/projects/nirum-k5n5y/.tox/py27')
ERROR: virtualenv is not compatible with this system or executable
dahlia commented 6 years ago

I'm guessing it's because AppVeyor's recently introduced/updated msys64 contains its own C:\msys64\usr\bin\python2.7.exe executable and it overrides the existing C:\Python27\python.exe when tox search Python 2.7 through PATH.

[00:16:45] ERROR: invocation failed (exit code 100), logfile: C:\projects\nirum-k5n5y\.tox\py27\log\py27-0.log
[00:16:45] ERROR: actionid: py27
[00:16:45] msg: getenv
[00:16:45] cmdargs: ['c:\\python36\\python.exe', '-m', 'virtualenv', '--python', 'C:\\msys64\\usr\\bin\\python2.7.EXE', 'py27']
dahlia commented 6 years ago

See also: https://github.com/tox-dev/tox/issues/114#issuecomment-349712050.