anvil.server.RuntimeUnavailableError:

I’m trying to call a server-side function and get this message

anvil.server.RuntimeUnavailableError: Server resources not available for ‘python3-full’. Please contact support@anvil.works.

I’ve paid my money to see how far I can go with the individual plan as part of an ongoing evaluation of Anvil, like what I see but need to see how we can use it!

The app is stupid simple but created a new one with even less in it to isolate the issue, code that causes warning is server code

‘’’
from ._anvil_designer import Form1Template
from anvil import *
import anvil.tables as tables
import anvil.tables.query as q
from anvil.tables import app_tables
import anvil.server

class Form1(Form1Template):

def init(self, **properties):
# Set Form properties and Data Bindings.
self.init_components(**properties)

# Any code you write here will run when the form opens.
self.label_1.text = "Hallo World"
self.label_2.text = anvil.server.call("get_devices")

‘’’

error on last line

Any ideas?

Hi @DavidAtkins! Can you confirm that your server code is definitely using the Full Python 3 environment? In the Beta Editor, this is under your app’s Settings, in ‘Python versions’. In the Classic Editor, this is under your App’s Server Code section.

yes, discovered i needed that and a license to make ti work so disappointed when it does not!

Indeed! Would you mind sending me a clone link for the app where you’re seeing this issue so I can dig a bit deeper?

Oddly the issue has gone, suspect it was related to my purchase not going all the way through?

David

It can take up to 24 hours for your Full Python 3 environment to be activated after upgrading, so I’m guessing that’s what happened here! I’m glad it’s sorted now :slight_smile: