Internal server error on data table access via uplink

I am getting an internal server error when trying to access an Anvil data table via uplink in an app I cloned:

File "/Users/jdoe/.pyenv/versions/3.10.15/envs/sample-project/lib/python3.10/site-packages/sainaptic_spice/db/connect.py", line 184, in rds_settings
    settings = app_tables.app_config.get(fetch_only("data"),
  File "/Users/jdoe/.pyenv/versions/3.10.15/envs/sample-project/lib/python3.10/site-packages/anvil/tables/__init__.py", line 72, in __getattribute__
    _lazy_replace_class(self)
  File "/Users/jdoe/.pyenv/versions/3.10.15/envs/sample-project/lib/python3.10/site-packages/anvil/tables/__init__.py", line 52, in _lazy_replace_class
    if _config.get_client_config().get("enable_v2"):
  File "/Users/jdoe/.pyenv/versions/3.10.15/envs/sample-project/lib/python3.10/site-packages/anvil/tables/_config.py", line 10, in get_client_config
    _config = anvil._get_service_client_config("/runtime/services/tables.yml") or {}
  File "/Users/jdoe/.pyenv/versions/3.10.15/envs/sample-project/lib/python3.10/site-packages/anvil/__init__.py", line 141, in _get_service_client_config
    return anvil.server.call("anvil.private.get_client_config", path)
  File "/Users/jdoe/.pyenv/versions/3.10.15/envs/sample-project/lib/python3.10/site-packages/anvil/server.py", line 422, in call
    raise _server._deserialise_exception(e.error_obj)
anvil._server.AnvilWrappedError: Internal server error: 0a8a447b6c6d

I’ve tried recreating the table and have upgraded to the latest version of anvil-uplink to no avail.

@meredydd This is blocking a production deployment and it doesn’t seem like there’s anything we can do about it. Tried again this morning and got same error (1bbe26a2ea58).

It turned out that cloning the app had broken the application dependencies in the clone (Error: permission denied when loading app dependency). Once the clone’s dependencies were fixed, the internal server error reported above disappeared.

1 Like