Open slrslr opened 7 months ago
This is an issue with Debian's Aegisub package. Aegisub needs luajit to be compiled with the Lua 5.2 compat flag, which Debian's luajit does not seem to have. This results in the __ipairs
metatable entry on the subs
object not being respected.
To fix this you would need to compile Aegisub yourself with --force-fallback-for=luajit
.
Open .srt file, menu "Automation" > Select overlaps cause
Lua reported a runtime error
on Linux, Aegisub 3.2.2 Detail Is anyone capable to fix it, i am willing to pay for that fix. Thank youThe file: https://github.com/TypesettingTools/Aegisub/blob/master/automation/autoload/select-overlaps.moon (in /usr/share/aegisub/automation/autoload/select-overlaps.moon)
ChatGPT suggested this modification:
Replace:
[prepare i, line for i, line in ipairs subs when is_dialogue line]
by:
[prepare i, line for i, line in ipairs(subs) when is_dialogue(line)]
or by:
[prepare(i, line) for i, line in ipairs(subs) when is_dialogue(line)]
saying:
But it does not work. Do you have please idea what to try? I am trying to detect and fix subtitle overlaps in several .ass files.
An issue of the luajit and the current Aegisub version?