Closed kedaitinh12 closed 3 years ago
The link you provided gives an error saying file not exist. Can you check that (could be the share permission)?
The link you provided gives an error saying file not exist. Can you check that (could be the share permission)?
Sr, it's my fault. The link be ok: https://drive.google.com/file/d/1aSSeXEBAwhEoYHEirmHSA0ra0hMa75IH/view?usp=drivesdk
The error message I see is:
Runtime error in template code: Expected 1 arguments, got 2
Code producing error: ci = { 0,0 }; cn = _G.unicode.len(orgline.text_stripped:gsub(" ",""))
Looks like the same as https://github.com/wangqr/Aegisub/issues/35#issuecomment-584026098
The error message I see is:
Runtime error in template code: Expected 1 arguments, got 2 Code producing error: ci = { 0,0 }; cn = _G.unicode.len(orgline.text_stripped:gsub(" ",""))
Looks like the same as #35 (comment)
I see you don't fixed in new releases
I'd say the issue is in the lua code, not Aegisub. It should be fixed by adding the parentheses in lua code. There is no point fixing this in Aegisub side.
But why i can apply normally with old ver 3.2.2??
3.2.2 uses an old version of luajit which is compatible with lua 5.1. The change to lua 5.2 compatible mode was made since release r8231 in 2014, long before the last official release r8942. I think fixing lua code is more reasonable and future proof, than downgrading lua just to support this specific issue.
Oh
I seen this thread use new Lua can apply normally and use new ffms2 without crash when open video with .opus audio. Can you to reply on Kainote and updated your aegisub completelly in the future
here fix this error https://github.com/wangqr/Aegisub/pull/156
I Can't apply karaoke template from effect mod, but with old ver 3.2.2 i can apply complete with no error Ex file: https://drive.google.com/file/d/1OAg_3DWXtUpbJG_Xe-AbF8kZ20VHYrGy/view?usp=drivesdk