You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Happens when trying to run any of the tasks. But it did work on an empty log file, so I suspect there is a character in some filename that the code dislikes.
time="2024-06-27 23:28:50" level=error msg="[Plugin / Find File Errors] Traceback (most recent call last):"
time="2024-06-27 23:28:50" level=error msg="[Plugin / Find File Errors] File \"C:\\Users\\redacted\\.stash\\plugins\\stg-annon\\findFileErrors/main.py\", line 122, in <module>"
time="2024-06-27 23:28:50" level=error msg="[Plugin / Find File Errors] main()"
time="2024-06-27 23:28:50" level=error msg="[Plugin / Find File Errors] File \"C:\\Users\\redacted\\.stash\\plugins\\stg-annon\\findFileErrors/main.py\", line 25, in main"
time="2024-06-27 23:28:50" level=error msg="[Plugin / Find File Errors] find_scan_errors()"
time="2024-06-27 23:28:50" level=error msg="[Plugin / Find File Errors] File \"C:\\Users\\redacted\\.stash\\plugins\\stg-annon\\findFileErrors/main.py\", line 45, in find_scan_errors"
time="2024-06-27 23:28:50" level=error msg="[Plugin / Find File Errors] for line in log_file:"
time="2024-06-27 23:28:50" level=error msg="[Plugin / Find File Errors] File \"C:\\Python312\\Lib\\encodings\\cp1252.py\", line 23, in decode"
time="2024-06-27 23:28:50" level=error msg="[Plugin / Find File Errors] return codecs.charmap_decode(input,self.errors,decoding_table)[0]"
time="2024-06-27 23:28:50" level=error msg="[Plugin / Find File Errors] ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^"
time="2024-06-27 23:28:50" level=error msg="[Plugin / Find File Errors] UnicodeDecodeError: 'charmap' codec can't decode byte 0x8d in position 2817: character maps to <undefined>"
time="2024-06-27 23:28:50" level=debug msg="Plugin Find File Errors finished"
time="2024-06-27 23:28:50" level=error msg="Plugin returned error: exit status 1"
It seems the logfile encoding might not match your systems default encoding, I would assume its utf-8 based on the error so ill probably default to that for the plugin
just pushed some changes if you want to try it out
Happens when trying to run any of the tasks. But it did work on an empty log file, so I suspect there is a character in some filename that the code dislikes.
Stash version: stashapp/stash@a8fca47
Plugin version: 0.2-07f89ce
The text was updated successfully, but these errors were encountered: