I’ve been trying to run deepnote code in Anvil for weeks and am getting several errors, it’s like the entire notebook isn’t running.
Currently in deepnote I get successfully connected to Anvil
What I’ve tried and what’s not working:
But when I call the function from Anvil it appears that it cannot connect.
Have you checked Google colab to web app tutorial? I have no experience with deepnote but from what I can see, it seems to be something very similar to Google Colab notebooks.
One specific step in said tutorial came to my mind that might be related to your issue. In Step 7, anvil.server.wait_forever() function is used to keep the server available for server calls. Is it possible you might have forgotten to include it?
The same function is also mentioned in the documentation: