rdeepak2002 / reddit-place-script-2022

Script to draw an image onto r/place (https://www.reddit.com/r/place/)
909 stars 347 forks source link

CI failure #413

Open thoroc opened 2 years ago

thoroc commented 2 years ago

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.

ixi2101 commented 2 years ago

makes no sense. nothing even changed

1101-trash commented 2 years ago

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)

thoroc commented 2 years ago

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 commented 2 years ago

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

ixi2101 commented 2 years ago

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.