Skip to content

BUG: Exception occurred 'Europe/Kyiv' #533

@searge

Description

@searge

Describe the bug
Hello,

I got next error message from the latest (v4) tag:

Traceback (most recent call last):
Username Searge
Exception occurred 'Europe/Kyiv'
Exception occurred 'Europe/Kyiv'
Exception occurred 'Europe/Kyiv'
Exception occurred 'Europe/Kyiv'
Exception occurred 'Europe/Kyiv'
Exception occurred 'Europe/Kyiv'
Exception occurred 'Europe/Kyiv'
Exception occurred 'Europe/Kyiv'
Exception occurred 'Europe/Kyiv'
Exception occurred 'Europe/Kyiv'
Exception occurred 'Europe/Kyiv'
Exception occurred 'Europe/Kyiv'
Exception occurred 'Europe/Kyiv'
Exception occurred 'Europe/Kyiv'
Exception occurred 'Europe/Kyiv'
Exception occurred 'Europe/Kyiv'
Exception occurred 'Europe/Kyiv'
Exception occurred 'Europe/Kyiv'
Exception occurred 'Europe/Kyiv'
Exception occurred 'Europe/Kyiv'
Exception Occurred division by zero
  File "/main.py", line 511, in <module>
    waka_stats = get_stats(g)
  File "/main.py", line 456, in get_stats
    stats += get_waka_time_stats()
  File "/main.py", line 307, in get_waka_time_stats
    stats = stats + generate_commit_list(tz=data['data']['timezone']) + '\n\n'
  File "/main.py", line 256, in generate_commit_list
    "percent": round((morning / sumAll) * 100, 2)},
ZeroDivisionError: division by zero

The job with error: Run anmol098/waka-readme-stats@v4

Expected behavior
I am expecting the job will successes ;-)

Github repository link
The link to the github.com/Searge/Searge/.github/workflows/wakatime.yml

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions