What I’m trying to do:
I am trying to run an app which calls a function at the Backend. The backend function must return back some data after processing. But everytime I run this app, I get error - anvil.server.RuntimeUnavailableError: Failed to launch server runtime
. I have been working on this app for pas few weeks and this was working without any issues.
What I’ve tried and what’s not working:
I have made a dummy app. In UI, I have a button which calls a function at the Backend. The backend function need not do any computation or return anything. I ran this app and clicked the Button, I get same error - anvil.server.RuntimeUnavailableError: Failed to launch server runtime
Is there something wrong with anvil?
Code Sample:
def button_1_click(self, **event_args):
“”“This method is called when the button is clicked”“”
anvil.server.call(‘ss’)
@anvil.server.callable
def ss():
return “Hi there”