App won't run, no /tmp or /var/tmp

What I’m trying to do:
Run my App from the development tool or from the live url

The error:
FileNotFoundError: [Errno 2] No usable temporary directory found in ['/tmp', '/var/tmp', '/usr/tmp', '/home/anvil/.downlink-sources/downlink-2023-07-15-08-18-50']

  • at /usr/local/lib/python3.10/tempfile.py:223
  • called from /usr/local/lib/python3.10/tempfile.py:292
  • called from /usr/local/lib/python3.10/tempfile.py:299
  • called from /home/anvil/.downlink-sources/downlink-2023-07-15-08-18-50/anvil/files/__init__.py:43
  • called from /home/anvil/.downlink-sources/downlink-2023-07-15-08-18-50/anvil/files/__init__.py:252
  • called from BackgroundTasksModule, line 1
  • called from /home/anvil/.downlink-sources/downlink-2023-07-15-08-18-50/anvil_downlink_worker/__init__.py:70
  • called from /home/anvil/.downlink-sources/downlink-2023-07-15-08-18-50/anvil_downlink_worker/__init__.py:186
  • called from Login, line 19

What I’ve tried and what’s not working:
I have made no changes, this was all working earlier today.

backgroundTasksModule line 1 is

import anvil.files

Anybody else getting this problem?

Sorry if I haven’t been clear.

I click the Green RUN button, login with my username and password, then get a blank screen and those errors in the Running App Console tab

Fixed. Was a disk issue with my server. The Support Team were fantastic!
Thanks very much guys.

2 Likes