Module talk:fi-verbs
Add topicAppearance
Latest comment: 4 years ago by Surjection in topic Module errors
Module errors
[edit]@Surjection (also @Rua, Hekaheka, Erutuon in case someone else can help), your recent edits to the module have made CAT:E blow up. Fix it please! —Mahāgaja · talk 19:22, 23 December 2019 (UTC)
- I have not changed anything. --Hekaheka (talk) 19:31, 23 December 2019 (UTC)
- I've reverted the recent edits because I'm not confident I can fix the error and Surjection seems not to be around right now. — Eru·tuon 19:35, 23 December 2019 (UTC)
- For Surjection's reference, the error was caused by the line
local vh = mw.ustring.match(data.forms["impr_2pl"][1], "([aä])$")
. The match sometimes fails, in which casevh
isnil
, and then some function tries to concatenate it, perhaps one of theconvert_to_accel*
functions, causing the error. — Eru·tuon 19:41, 23 December 2019 (UTC)- That is bizarre - the match should never fail, since all verbs should have the form. — surjection ⟨?⟩ 20:01, 23 December 2019 (UTC)
- @Surjection: Right, but the error that I saw was because the call to
mw.ustring.match
returnednil
, not because the function receivednil
as the first argument. That is, in some verbs that form doesn't end in a/ä, for instance maksaa takaisin. — Eru·tuon 20:08, 23 December 2019 (UTC)- Of course it's something like that - there's always that case that I forget about. Sorry everyone. — surjection ⟨?⟩ 20:15, 23 December 2019 (UTC)
- @Surjection: Right, but the error that I saw was because the call to
- That is bizarre - the match should never fail, since all verbs should have the form. — surjection ⟨?⟩ 20:01, 23 December 2019 (UTC)