scripts
scripts copied to clipboard
apply_corrections.py: TypeError: must be string without null bytes, not str
02:21:52 =!= python: wrong arguments for function "prnt_date_tags" (script: apply_corrections)
02:21:52 python: stdout/stderr: Traceback (most recent call last):
02:21:52 python: stdout/stderr: File "/home/nyuszika7h/.weechat/python/autoload/apply_corrections.py", line 270, in handle_message_cb
02:21:52 python: stdout/stderr: for cm in get_corrected_messages(nick, log, correction):
02:21:52 python: stdout/stderr: TypeError: must be string without null bytes, not str
02:21:52 =!= python: error in function "handle_message_cb"
I'm not sure which message caused this.
Did you try to reach the author of script? Bugs reported on this repository are rarely fixed since the script author is not informed about the issue (except for my scripts).
Sorry, I never saw this. I didn't think to look here for bugs. After a quick google it looks like maybe I'm not escaping things correctly somewhere and a \0 got through without the \ getting escaped. I'll look into it soon. @flashcode Should I open an issue on my repo so you can close this one?
Yes if you open an issue, please mention it there, and I'll close this one.