Skip to content
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

Imported time doesn't work after 24h #22

Open
Pab10Suarez opened this issue Apr 29, 2022 · 0 comments
Open

Imported time doesn't work after 24h #22

Pab10Suarez opened this issue Apr 29, 2022 · 0 comments

Comments

@Pab10Suarez
Copy link

Pab10Suarez commented Apr 29, 2022

so i was playing earthbound and noticed that time tracking started to fail i thought t was a retroarch issue but tracking with logs the problem it seemes that with 23:59:11 works perfect until it arrives to 24 this error appears on the log

2022-04-28 19:32:59,918 - root - DEBUG - Task manager jsonrpc server: finished task 184 (start_game_times_import)
2022-04-28 19:32:59,921 - root - ERROR - Unexpected exception raised in import_game_time
Traceback (most recent call last):
File "C:\Users\user\AppData\Local\GOG.com\Galaxy\plugins\installed\snes_bc831044-f772-4391-8c22-529f42cb9799\galaxy\api\plugin.py", line 703, in import_game_time
game_time = await self.get_game_time(game_id, context
)
File "C:\Users\user\AppData\Local\GOG.com\Galaxy\plugins\installed\snes_bc831044-f772-4391-8c22-529f42cb9799\plugin.py", line 128, in get_game_time
min_data = datetime.datetime.strptime(time_data["runtime"], '%H:%M:%S')
File "D:\obj\Windows-Release\37win32_Release\msi_python\zip_win32_strptime.py", line 577, in _strptime_datetime
File "D:\obj\Windows-Release\37win32_Release\msi_python\zip_win32_strptime.py", line 359, in strptime
ValueError: time data '24:00:41' does not match format '%H:%M:%S'
2022-04-28 19:32:59,921 - root - INFO - Sending notification: method=game_time_import_failure, params={'game_id': 'EarthBound', 'error': {'code': 0, 'message': 'Unknown error'}}
2022-04-28 19:32:59,921 - root - DEBUG - Sending 144 byte of data

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant