TypesettingTools / Aegisub-Motion

Lua plugin for Aegisub auto4 that parses motion tracking data and applies it to selected subtitles.
Other
172 stars 23 forks source link

Lua reported a runtime error #29

Closed OmAn94 closed 9 years ago

OmAn94 commented 9 years ago

Hello, first of all, I have aegisub 3.2.2 at 32 bits, and aegisub motion v1.0.4, I erase all and install that versions, since the new update was released I have this problem.

Lua reported a runtime error: File "C:/Program Files (x86)\Aegisub\automation\autoload\a-mo.Aegisub-Motion.moon", line 536 File "C:/Program Files (x86)\Aegisub\automation\include\a-mo\MotionHandler.moon", line 112 applyMotion File "C:/Program Files (x86)\Aegisub\automation\include\a-mo\MotionHandler.moon", line 172 method File "", line -1 ? File "C:/Program Files (x86)\Aegisub\automation\include\a-mo\MotionHandler.moon", line 176 attempt to perform arithmetic on local 't1' (a nil value)

I'm new in this, so I need help....and I want to learn more. See ya.

torque commented 9 years ago

Somewhere in the lines you're trying to track, you have a \fade tag where you should have a \fad tag. Unfortunately the error handling of this isn't very good at the moment, and I need to improve it.

OmAn94 commented 9 years ago

So if I try to change the tag \fade by \fad, the error will still apear? Or there's nothing I can do? Thanks for answer so quickly.

torque commented 9 years ago

To clarify, ASS has two tags to control fading a line, \fad and \fade. This bug occurs when you have a tag of the syntax \fade(timein,timeout), which should be \fad(timein,timeout). It will also happen with a variety of other malformed \fade tags, but this is probably the most common.

torque commented 9 years ago

This issue was addressed with commits 8e5fbe068bd8f8f53b3cc708f1f72baa51cfda01 and 6c2e1b74274dbe3c19acfdbf821ca229d3dd2c73. I'm closing it, but I'm not sure when I'll make a new release bundle.