IndexError on blank line of code

What I’m trying to do:
Run my app “Tilmeld træningsløb”

What I’ve tried and what’s not working:
I push button “Run”.
I recieve this: IndexError: list index out of range at [Entrypoint, line 26](javascript:void(0))

at line 26 there is nothing but a blank line of no code.

Code Sample:

Clone link:
https://anvil.works/build#clone:TARZ7GIQPI5UQED6=L5XB6N6HBBGFV5C4W2AA4KPP
share a copy of your app

Your app has dependencies, so I can’t run your clone.

However, on line 26 of your EntryPoint form, I see:

wednesday = anvil.server.call()

You need to provide the name of the server side function that you wish to call. For example, if you’re trying to call your get_next_wednesday function from ServerModule1, that line should be:

wednesday = anvil.server.call("get_next_wednesday")
1 Like

I have found out. It was an misspelling import of a module.
Thanks for trying to solve my problem