Open hey-shashikant opened 5 months ago
While running the workflow file I'm facing this issue. I have pasted the error logs as well as the workflow file. Does anyone know how to fix it?
name: Waka Readme on: schedule: # Runs at the end of every day - cron: "0 0 * * *" workflow_dispatch: jobs: update-readme: name: Update Readme with Metrics runs-on: ubuntu-latest steps: - uses: anmol098/waka-readme-stats@master with: WAKATIME_API_KEY: ${{ secrets.WAKATIME_API_KEY }} GH_TOKEN: ${{ secrets.GH_TOKEN }} SHOW_TOTAL_CODE_TIME: false SHOW_LINES_OF_CODE: false SHOW_PROFILE_VIEWS: false SHOW_DAYS_OF_WEEK: false SHOW_OS: true SHOW_PROJECTS: false SHOW_TIMEZONE: true SHOW_LANGUAGE_PER_REPO: false SHOW_LOC_CHART: false
Logs
##[debug]Evaluating condition for step: 'Run anmol098/waka-readme-stats@master' ##[debug]Evaluating: success() ##[debug]Evaluating success: ##[debug]=> true ##[debug]Result: true ##[debug]Starting: Run anmol098/waka-readme-stats@master ##[debug]Loading inputs ##[debug]Evaluating: secrets.WAKATIME_API_KEY ##[debug]Evaluating Index: ##[debug]..Evaluating secrets: ##[debug]..=> Object ##[debug]..Evaluating String: ##[debug]..=> 'WAKATIME_API_KEY' ##[debug]=> '*** ##[debug]' ##[debug]Result: '*** ##[debug]' ##[debug]Evaluating: secrets.GH_TOKEN ##[debug]Evaluating Index: ##[debug]..Evaluating secrets: ##[debug]..=> Object ##[debug]..Evaluating String: ##[debug]..=> 'GH_TOKEN' ##[debug]=> '***' ##[debug]Result: '***' ##[debug]Evaluating: runner.debug ##[debug]Evaluating Index: ##[debug]..Evaluating runner: ##[debug]..=> Object ##[debug]..Evaluating String: ##[debug]..=> 'debug' ##[debug]=> '1' ##[debug]Result: '1' ##[debug]Loading env Run anmol098/waka-readme-stats@master /usr/bin/docker run --name wakareadmestatswakareadmestatsmaster_1[2](https://github.com/hey-shashikant/hey-shashikant/actions/runs/9514189626/job/26226147923#step:3:2)5938 --label 421232 --workdir /github/workspace --rm -e "INPUT_WAKATIME_API_KEY" -e "INPUT_GH_TOKEN" -e "INPUT_SHOW_TOTAL_CODE_TIME" -e "INPUT_SHOW_LINES_OF_CODE" -e "INPUT_SHOW_PROFILE_VIEWS" -e "INPUT_SHOW_DAYS_OF_WEEK" -e "INPUT_SHOW_OS" -e "INPUT_SHOW_PROJECTS" -e "INPUT_SHOW_TIMEZONE" -e "INPUT_SHOW_LANGUAGE_PER_REPO" -e "INPUT_SHOW_LOC_CHART" -e "INPUT_SECTION_NAME" -e "INPUT_PULL_BRANCH_NAME" -e "INPUT_PUSH_BRANCH_NAME" -e "INPUT_SHOW_EDITORS" -e "INPUT_SHOW_COMMIT" -e "INPUT_SHOW_LANGUAGE" -e "INPUT_SHOW_SHORT_INFO" -e "INPUT_SHOW_UPDATED_DATE" -e "INPUT_COMMIT_BY_ME" -e "INPUT_COMMIT_MESSAGE" -e "INPUT_COMMIT_USERNAME" -e "INPUT_COMMIT_EMAIL" -e "INPUT_COMMIT_SINGLE" -e "INPUT_LOCALE" -e "INPUT_UPDATED_DATE_FORMAT" -e "INPUT_IGNORED_REPOS" -e "INPUT_SYMBOL_VERSION" -e "INPUT_DEBUG_LOGGING" -e "HOME" -e "GITHUB_JOB" -e "GITHUB_REF" -e "GITHUB_SHA" -e "GITHUB_REPOSITORY" -e "GITHUB_REPOSITORY_OWNER" -e "GITHUB_REPOSITORY_OWNER Program execution started at 14-06-2024 10:01:1[3](https://github.com/hey-shashikant/hey-shashikant/actions/runs/9514189626/job/26226147923#step:3:3):895002. Current user: hey-shashikant. Managers initialized. Collecting stats for README... Getting user repositories list... User repository list collected! User contributed to repository list collected! Calculating commit data... 1/28 Retrieving repo: hey-shashikant/hey-shashikant 2/28 Retrieving repo: hey-shashikant/FoodApp 3/28 Retrieving repo: [private] [4](https://github.com/hey-shashikant/hey-shashikant/actions/runs/9514189626/job/26226147923#step:3:4)/28 Retrieving repo: hey-shashikant/Terraform [5](https://github.com/hey-shashikant/hey-shashikant/actions/runs/9514189626/job/26226147923#step:3:5)/28 Retrieving repo: hey-shashikant/Food-Book [6](https://github.com/hey-shashikant/hey-shashikant/actions/runs/9514189626/job/26226147923#step:3:6)/28 Retrieving repo: [private] 7/28 Retrieving repo: [private] 8/28 Retrieving repo: hey-shashikant/Employee-REST-APIs 9/28 Retrieving repo: hey-shashikant/REST-APIs 10/28 Retrieving repo: hey-shashikant/Spring-Boot 11/28 Retrieving repo: hey-shashikant/React Skipping repo. 12/28 Retrieving repo: hey-shashikant/Twiggy 13/28 Retrieving repo: hey-shashikant/Shashikant Skipping repo. 14/28 Retrieving repo: CryptoSingh133[7](https://github.com/hey-shashikant/hey-shashikant/actions/runs/9514189626/job/26226147923#step:3:7)/fellowship-frontend 15/2[8](https://github.com/hey-shashikant/hey-shashikant/actions/runs/9514189626/job/26226147923#step:3:8) Retrieving repo: CryptoSingh1337/fellowship-backend 16/28 Retrieving repo: hey-shashikant/Leetcode 17/28 Retrieving repo: hey-shashikant/Certificate-Management-System 18/28 Retrieving repo: hey-shashikant/Weather-App 1[9](https://github.com/hey-shashikant/hey-shashikant/actions/runs/9514189626/job/26226147923#step:3:9)/28 Retrieving repo: hey-shashikant/My-Portfolio-Website 20/28 Retrieving repo: hey-shashikant/Movie-Recomendation-based-on-Emotion-Detection-Using-CNN-Model 21/28 Retrieving repo: [private] 22/28 Retrieving repo: hrb1989/shell_7_foundation_Java_Spring 23/28 Retrieving repo: Luffy-Nikhil/testingSprintBootApplication 24/28 Retrieving repo: [10](https://github.com/hey-shashikant/hey-shashikant/actions/runs/9514189626/job/26226147923#step:3:10)0xDevs-hkirat/all-assignments 25/28 Retrieving repo: 100xDevs-hkirat/Week-2-Assignments 26/28 Retrieving repo: 100xDevs-hkirat/Week-1-assignment-with-tests 27/28 Retrieving repo: ggerganov/whisper.cpp 28/28 Retrieving repo: seanprashad/leetcode-patterns Commit data calculated! Adding short GitHub info... Adding user disk usage info... Making a remote API query named 'github_stats'... Query 'github_stats' finished, result saved! Adding contributions info... Adding opted for hire info... Adding public repositories info... Adding private repositories info... Short GitHub info added! Adding short WakaTime stats... Making a remote API query named 'waka_latest'... Traceback (most recent call last): File "/waka-readme-stats/main.py", line 230, in <module> run(main()) File "/usr/local/lib/python3.[11](https://github.com/hey-shashikant/hey-shashikant/actions/runs/9514189626/job/26226147923#step:3:11)/asyncio/runners.py", line 190, in run return runner.run(main) ^^^^^^^^^^^^^^^^ File "/usr/local/lib/python3.11/asyncio/runners.py", line 118, in run return self._loop.run_until_complete(task) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/local/lib/python3.11/asyncio/base_events.py", line 653, in run_until_complete return future.result() ^^^^^^^^^^^^^^^ File "/waka-readme-stats/main.py", line 217, in main stats = await get_stats() ^^^^^^^^^^^^^^^^^ File "/waka-readme-stats/main.py", line 189, in get_stats stats += await get_waka_time_stats(repositories, commit_data) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/waka-readme-stats/main.py", line 33, in get_waka_time_stats data = await DM.get_remote_json("waka_latest") ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/waka-readme-stats/manager_download.py", line 208, in get_remote_json return await DownloadManager._get_remote_resource(resource, None) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/waka-readme-stats/manager_download.py", line 181, in _get_remote_resource res = await DownloadManager._REMOTE_RESOURCES_CACHE[resource] ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/local/lib/python3.11/site-packages/httpx/_client.py", line 1757, in get return await self.request( ^^^^^^^^^^^^^^^^^^^ File "/usr/local/lib/python3.11/site-packages/httpx/_client.py", line 1517, in request request = self.build_request( ^^^^^^^^^^^^^^^^^^^ File "/usr/local/lib/python3.11/site-packages/httpx/_client.py", line 346, in build_request url = self._merge_url(url) ^^^^^^^^^^^^^^^^^^^^ File "/usr/local/lib/python3.11/site-packages/httpx/_client.py", line 376, in _merge_url merge_url = URL(url) ^^^^^^^^ File "/usr/local/lib/python3.11/site-packages/httpx/_urls.py", line 1[13](https://github.com/hey-shashikant/hey-shashikant/actions/runs/9514189626/job/26226147923#step:3:13), in __init__ self._uri_reference = urlparse(url, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/local/lib/python3.11/site-packages/httpx/_urlparse.py", line [16](https://github.com/hey-shashikant/hey-shashikant/actions/runs/9514189626/job/26226147923#step:3:16)0, in urlparse raise InvalidURL("Invalid non-printable ASCII character in URL") httpx.InvalidURL: Invalid non-printable ASCII character in URL sys:1: RuntimeWarning: coroutine 'AsyncClient.get' was never awaited ##[debug]Docker Action run completed with exit code 1 ##[debug]Finishing: Run anmol098/waka-readme-stats@master
While running the workflow file I'm facing this issue. I have pasted the error logs as well as the workflow file. Does anyone know how to fix it?
Logs