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(gameid, 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={'gameid': 'EarthBound', 'error': {'code': 0, 'message': 'Unknown error'}}
2022-04-28 19:32:59,921 - root - DEBUG - Sending 144 byte of data
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(gameid, 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={'gameid': 'EarthBound', 'error': {'code': 0, 'message': 'Unknown error'}} 2022-04-28 19:32:59,921 - root - DEBUG - Sending 144 byte of data