Closed FreddieGeorge closed 12 months ago
I have the same problem.
me too, hope to be fixed soon
Same here
I am having a slightly different exception information, which also starts from today, before that it runs normally. my workflow:
name: Waka Readme
on:
schedule:
# Runs at 12am IST
- cron: '30 18 * * *'
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_LOC_CHART: False
exception information:
Traceback (most recent call last):
File "/waka-readme-stats/main.py", line 221, in <module>
run(main())
File "/usr/local/lib/python3.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 208, in main
stats = await get_stats()
^^^^^^^^^^^^^^^^^
File "/waka-readme-stats/main.py", line 180, in get_stats
stats += await get_waka_time_stats(repositories, commit_data)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/waka-readme-stats/main.py", line 49, in get_waka_time_stats
lang_list = no_activity if len(data["data"]["languages"]) == 0 else make_list(data["data"]["languages"])
~~~~~~~~~~~~^^^^^^^^^^^^^
KeyError: 'languages'
sys:1: RuntimeWarning: coroutine 'AsyncClient.get' was never awaited
I am having a slightly different exception information, which also starts from today, before that it runs normally. my workflow:
name: Waka Readme on: schedule: # Runs at 12am IST - cron: '30 18 * * *' 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_LOC_CHART: False
exception information:
Traceback (most recent call last): File "/waka-readme-stats/main.py", line 221, in <module> run(main()) File "/usr/local/lib/python3.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 208, in main stats = await get_stats() ^^^^^^^^^^^^^^^^^ File "/waka-readme-stats/main.py", line 180, in get_stats stats += await get_waka_time_stats(repositories, commit_data) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/waka-readme-stats/main.py", line 49, in get_waka_time_stats lang_list = no_activity if len(data["data"]["languages"]) == 0 else make_list(data["data"]["languages"]) ~~~~~~~~~~~~^^^^^^^^^^^^^ KeyError: 'languages' sys:1: RuntimeWarning: coroutine 'AsyncClient.get' was never awaited
I have the same error on my side.
There seems to be issue with Wakatime API which were giving HTTP status code 202 for some api calls. fix has been added so please re-run the workflow manually to update the data or else the next scheduled workflow run will update the data
Describe the bug I could run workflow normally before, but I was informed by email 2 days ago that it could not be used normally. The TIME_RANGE(which used to work) was removed when I saw an Unexpected input error. But it's not working yet. This is a further error message.
work flow code:
Expected behavior
Github repository link Github repository link.