-
Notifications
You must be signed in to change notification settings - Fork 14
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Syntax error: "(" unexpected with manylinux_2_28-cross:aarch64 container #46
Comments
Hi, not sure who I need to tag here, but we have also been blocked as we want to use connector-x on an arm64 instance. So I took a look at the issue that @wangxiaoying mentioned above and I have a little more information about this issue. The logs on the connector-x actions have been wiped now, but I was able to recreate the same issue by forking it locally. The error log for the setup-poetry@v9 action for aarch64 architecture is:
Doing some googling on this issue, I was able to find this link that specifies it's an issue with the file extensions for the python file the action is trying to run - https://stackoverflow.com/questions/33075561/unable-to-run-py-file-from-putty-syntax-error-word-unexpected-expecting
Here, the downloadTool function call returns the path of the python file that will be run. This function is returning the path in the form of
Digging further into this downloadTool function in @actions/tool-cache, I was able to find the source code for the function in the file - https://github.com/actions/toolkit/blob/main/packages/tool-cache/src/tool-cache.ts#L38
I don't really have the time to set it up locally and test it out, but I am hoping it helps debugging the issue further for someone who can take this up. LMK if this was helpful. |
Got syntax error during
setup-poetry
runs on ubuntu-latest withcontainer: ghcr.io/rust-cross/manylinux_2_28-cross:aarch64
.Here is the action link: https://github.com/sfu-db/connector-x/actions/runs/8091126113/job/22109709826#step:7:7
Here is the workflow definition: https://github.com/sfu-db/connector-x/blob/prerelease/.github/workflows/release.yml#L95
Will be appreciated if anyone can give me some pointer on this. Thanks!
The text was updated successfully, but these errors were encountered: