Comments (6)
At the very least, it seems the error message isn't clear enough to understand the actual issue.
from setup-python.
Hello @jonathonlacher,
To capture more detailed logs in your GitHub Actions workflow, you can enable additional debugging by setting the following environment variables:
env:
ACTIONS_RUNNER_DEBUG: true
ACTIONS_STEP_DEBUG: true
To check the logs in the runner, follow these steps:
- Navigate to the Runner Directory: Go to the directory where the self-hosted runner is installed.
- Check the _diag Directory: Within the runner installation directory, locate the _diag directory. It contains diagnostic logs.
These settings will generate detailed logs to help diagnose issues. However, we currently cannot pinpoint the exact cause of the "Error: candidates is not iterable" message.
from setup-python.
Hello @jonathonlacher
Thank you for creating this issue. We will investigate it and get back to you as soon as we have some feedback.
from setup-python.
Hello @jonathonlacher, Thank you once again for bringing this issue to our attention. We attempted to reproduce the problem but were unsuccessful. Upon further investigation, we identified the following potential causes for the failure:
- Network Interruptions: Intermittent network issues might cause failures in downloading the specified Python version. These issues could be transient and may not occur during subsequent attempts.
- GHES Complexities: Specific complexities or configurations related to GitHub Enterprise Server (GHES) might influence the action's behavior.
It would be very helpful if we could obtain the detailed logs of the failed run or a link to a public repository that reproduces the problem . As we understand from your description, the issue is not consistent, and these logs would aid us in identifying the root cause more effectively.
from setup-python.
Hello @jonathonlacher, we attempted to reproduce the issue on the GHES server but were unsuccessful even after more than 150 runs. Please review the above feedback, which likely identifies the cause of the issue. I have attached a screenshot for reference.
from setup-python.
@aparnajyothi-y @mahabaleshwars do you have any suggestions on how to capture more logs or which logs would be helpful?
What specifically is throwing the error ( Error: candidates is not iterable
)?
from setup-python.
Related Issues (20)
- `RUNNER_TOOL_CACHE` and/or `AGENT_TOOLSDIRECTORY` not picked up on self hosted runner HOT 5
- Cannot setup python 3.x environment on windows arm64 HOT 3
- Add Python 3.13.0rc1 HOT 2
- PyPy 3.9-nightly is less than a day old, but PyPy 3.10-nightly is a week old HOT 5
- setup-python computes wrong cache hash key, restores wrong cache HOT 5
- Python Version 3.9.2 was not found in the local cache HOT 2
- Python 3.12.5 missing HOT 3
- This issue was invalid HOT 2
- macOS package installation fails for non-privileged user HOT 1
- Missing Windows Installers for Python 3.9.x Versions Post-3.9.13 HOT 2
- submit Pull request HOT 2
- feature request needs triage HOT 1
- `python-version` is ignored on MacOS runners HOT 3
- PIP_ROOT_USER_ACTION=ignore ignored: pip still issues error messages about running it as root HOT 4
- Failure to extract Python archive on new Windows ARM ARM64 Github-hosted runner (Python 3.11 and 3.12) HOT 5
- Post Run fails when using "cache: pip" on v5.2.0 HOT 6
- What if I need to cache both pip and pipenv, is that possible? HOT 1
- Failure to parse pyproject.toml file when run on Windows HOT 7
- PyPy3.10 is v7.3.16 not the latest v7.3.17 HOT 6
- Permission denied when using os: self-hosted HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from setup-python.