Closed Bwan109 closed 1 year ago
It is likely from your node version, can you try with node v16?
On Sat, Jun 24, 2023, 08:11 VS - Brandon Wan @.***> wrote:
Hi, I'm facing this issue when running cat metrics.txt >> report.md
{"code":"ERR_INVALID_URL","input":"\r\n
400 Bad Request \r\n\r\n 400 Bad Request\r\ncloudflare\r\n\r\n\r\n","level":"error","message":"Invalid URL","stack":"TypeError [ERR_INVALID_URL]: Invalid URL\n at new NodeError (node:internal/errors:399:5)\n at new URL (node:internal/url:560:13)\n at uriParam @./cml/src/utils.js:149:15)\n at watermarkUri @./cml/src/utils.js:140:10)\n at CML.publish @./cml/src/cml.js:349:13)\n at process.processTicksAndRejections (node:internal/process/task_queues:95:5)\n at async visitor @./cml/src/cml.js:247:26)\n at async Promise.all (index 1)\n at async publishLocalFiles @.***/cml/src/cml.js:261:7)"}
Find my Actions file here: https://github.com/Bwan109/MLOps-cml-dvcpipeline/blob/experiment/.github/workflows/train.yaml
— Reply to this email directly, view it on GitHub https://github.com/iterative/cml/issues/1393, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAIN7M4OZTVYWWRG6DTXUT3XM37R7ANCNFSM6AAAAAAZSR7WP4 . You are receiving this because you are subscribed to this thread.Message ID: @.***>
Hi, actually I have tried using Node V16 too. You can view the workflow file. However, still facing the same issue
@Bwan109 how you have that workflow wont work, try something like this please:
jobs:
run:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-python@v4
- uses: actions/setup-node@v3
with:
node-version: 16
- uses: iterative/setup-dvc@v1
- uses: iterative/setup-cml@v1
...
you can also use the latest container image we build:
jobs:
run:
runs-on: ubuntu-latest
container: ghcr.io/iterative/cml:0-dvc3-base1
steps:
- uses: actions/checkout@v3
...
Thanks, it's able to work now
Hi, I'm facing this issue when running cat metrics.txt >> report.md
{"code":"ERR_INVALID_URL","input":"\r\n
400 Bad Request