Error in module that doesn't exist

Fixing it

The Startup Form is still set to sub_test_form_1. (If you Git clone the app and look at the anvil.yaml you’ll see that it has startup: {type: form, module: sub_test_form_1}).

You can fix it by setting client_list to be the Startup Form.


Reproducing it

I can’t seem to get an app into this state. I’ve tried two things:

  • Create an app
  • Delete the Startup Form
  • Add a new Form

And

  • Create an App
  • Add a new Form
  • Delete the Startup Form

In both cases, you end up with just Form2, and that is marked as the Startup Form.

I don’t expect you do, but… do you remember what sequence of creating and deleting Forms you carried out?

1 Like