reddit-place-script-2022 icon indicating copy to clipboard operation
reddit-place-script-2022 copied to clipboard

CI failure

Open thoroc opened this issue 3 years ago • 5 comments

the nox stage fails on the last 2 PRs: https://github.com/rdeepak2002/reddit-place-script-2022/pull/409 and https://github.com/rdeepak2002/reddit-place-script-2022/pull/408

Run excitedleigh/setup-nox@v2.0.0 [ '2.7.18', '3.10.4', '3.6.15', '3.7.12', '3.8.12', '3.9.12' ] [ '2.7.18', '3.6.12', '3.7.13', '3.8.13', '3.9.12' ] /opt/hostedtoolcache/PyPy/2.7.18/x64 internal/fs/utils.js:269 throw err; ^

Error: EEXIST: file already exists, symlink '/opt/hostedtoolcache/PyPy/2.7.18/x64/bin/pypy' -> '/opt/hostedtoolcache/PyPy/2.7.18/x64/bin/pypy2' at Object.symlinkSync (fs.js:1095:3) at Object.175 (/home/runner/work/_actions/excitedleigh/setup-nox/v2.0.0/dist/index.js:1459:14) at webpack_require (/home/runner/work/_actions/excitedleigh/setup-nox/v2.0.0/dist/index.js:24:31) at startup (/home/runner/work/_actions/excitedleigh/setup-nox/v2.0.0/dist/index.js:43:19) at /home/runner/work/_actions/excitedleigh/setup-nox/v2.0.0/dist/index.js:47:18 at Object. (/home/runner/work/_actions/excitedleigh/setup-nox/v2.0.0/dist/index.js:50:10) at Module._compile (internal/modules/cjs/loader.js:999:30) at Object.Module._extensions..js (internal/modules/cjs/loader.js:1027:10) at Module.load (internal/modules/cjs/loader.js:863:32) at Function.Module._load (internal/modules/cjs/loader.js:708:14) { errno: -17, syscall: 'symlink', code: 'EEXIST', path: '/opt/hostedtoolcache/PyPy/2.7.18/x64/bin/pypy', dest: '/opt/hostedtoolcache/PyPy/2.7.18/x64/bin/pypy2' }

I have no clue why this is happening.

thoroc avatar Apr 04 '22 12:04 thoroc

makes no sense. nothing even changed

ixi2101 avatar Apr 04 '22 13:04 ixi2101

I think you are using 2.7 version of Python. Try to reinstall and download latest python 3 version. Make sure you have all requeriments at the requeirements.txt file (they should have been installed with start.bat/sh)

1101-trash avatar Apr 04 '22 13:04 1101-trash

Geez you're correct it looks like it is trying to pull python 2.7. no idea why this is happening in the PR stages ...

thoroc avatar Apr 04 '22 15:04 thoroc

Last change on the github action: https://github.com/rdeepak2002/reddit-place-script-2022/commit/76987fb71774aa46af06ba25d0169e7f8289e07b

thoroc avatar Apr 04 '22 15:04 thoroc

The CI job has always pulled python2.7 it just doesn't use it. It just pulls in all the python dists available in github actions in case it's needed by a nox session.

ixi2101 avatar Apr 04 '22 16:04 ixi2101