Closed komoreshi closed 1 week ago
Still can't pinpoint what's causing this. No ffmpeg output, so I imagine it's the completed file not being accepted by the ugoira postprocessor.
Different ffmpeg versions and gallery-dl version all seem to fail. No stack trace either, just postprocessor.ugoira: TypeError: expected string or bytes-like object, got 'list'
This is not an issue with FFmpeg, but something that happens in gallery-dl's code when generating FFmpeg commands and options.
I've tested your post processor settings from https://github.com/mikf/gallery-dl/issues/5683#issue-2330182828 and didn't get an error, so there's something else going on. Are you somehow modifying certain metadata data structure with a different post processor? Are you using other pixiv
options that might be relevant here?
No stack trace either
I know ... Would have been really helpful if I had added them in 3346a377 Oh well, better late than never, right? https://github.com/mikf/gallery-dl/commit/4727ad6f572c1d003c95db4d36271227d63665d8
Weird, turned out to be the extractor.pixiv.actions
portion of my config. Looks like the following part of my pixiv extractor config was responsible somehow as it works fine without it (it was only there temporarily until sanity_level
was changed to an warning). Is it possible that was somehow being passed as an argument for ffmpeg?
"actions": {
"debug:sanity_level": "level = error"
}
Here's the trace if you're interested (ty for the latest commit):
postprocessor.ugoira: TypeError: expected string or bytes-like object, got 'list'
postprocessor.ugoira:
Traceback (most recent call last):
File "gallery_dl\postprocessor\ugoira.py", line 146, in convert
File "gallery_dl\postprocessor\ugoira.py", line 175, in _exec
File "gallery_dl\output.py", line 117, in log
TypeError: expected string or bytes-like object, got 'list'
Either way, happy to close this off or leave it open as a bug
Thank you for debugging this all on your own. Fixed in 9671bd6d40e5238709da8da52eb3b7c6d2bdfdaa.
Ugoira artwork seem to be failing, resulting in partially finished (.part) files. Pixiv might've changed the way they're delivered?
Ugoira postprocessor if required: