My app is deployed in the Community Cloud. It was working fine until a few days ago. Then it went to sleep over the weekend due to lack of activity. It is hosted on a private github repository. Here is the requirements file:
name: base
channels:
- defaults
dependencies: - conda
- python=3.9
- console_shortcut
- conda-env
- conda-build
- conda-verify
- _ipyw_jlab_nb_ext_conf
- anaconda-navigator==2.3.2
- navigator-updater
- spyder
- pandas
- openpyxl
- matplotlib
- xmltodict
- nuitka
- pyinstaller
- plotly
- scipy
- streamlit
prefix: C:\Anaconda
Here is the error message:
[16:19:31] π₯ Provisioning machine...
[16:19:31] π Preparing system...
[16:19:31] β Spinning up manager process...
[16:19:05] π Starting up repository: 'tpapps', branch: 'main', main module: 'tpapps.py'
[16:19:05] π Cloning repository...
[16:19:06] π Cloning into '/mount/src/tpapps'...
Warning: Permanently added the ED25519 host key for IP address '140.82.112.4' to the list of known hosts.
[16:19:06] π Cloned repository!
[16:19:06] π Pulling code changes from Github...
[16:19:07] π¦ Processing dependencies...
Retrieving notices: ...working... [2024-04-01 16:19:08.457611] done
Channels:
- defaults
Platform: linux-64
Collecting package metadata (repodata.json): ...working... [2024-04-01 16:19:11.144664] done
Solving environment: ...working... [2024-04-01 16:19:16.091231] done
Downloading and Extracting Packages: ...working... done
Verifying transaction: [2024-04-01 16:20:47.809638] ...working... [2024-04-01 16:21:10.805261] done
Executing transaction: ...working... [2024-04-01 16:21:42.683541]
done
# >>>>>>>>>>>>>>>>>>>>>> ERROR REPORT <<<<<<<<<<<<<<<<<<<<<<
Traceback (most recent call last):
File "/home/adminuser/.conda/lib/python3.9/site-packages/conda/exception_handler.py", line 17, in __call__
File "/home/adminuser/.conda/lib/python3.9/site-packages/conda/cli/main.py", line 83, in main_subshell
post_parse_hook(args, p)
File "/home/adminuser/.conda/lib/python3.9/site-packages/conda/cli/conda_argparse.py", line 199, in do_call
if getattr(namespace, name, NULL) in (NULL, None):
File "/home/adminuser/.conda/lib/python3.9/site-packages/conda/notices/core.py", line 126, in wrapper
for channel_notice in channel_notices
File "/home/adminuser/.conda/lib/python3.9/site-packages/conda/cli/main_env_update.py", line 161, in execute
File "/home/adminuser/.conda/lib/python3.9/site-packages/conda/env/env.py", line 278, in print_result
File "/home/adminuser/.conda/lib/python3.9/site-packages/conda/cli/install.py", line 20, in <module>
from ..core.solve import _get_solver_class
ImportError: cannot import name '_get_solver_class' from 'conda.core.solve' (/home/adminuser/.conda/lib/python3.9/site-packages/conda/core/solve.py)
`$ /home/adminuser/.conda/bin/conda env update -n base --file environment.yml`
environment variables:
CIO_TEST=<not set>
CONDA_ROOT=/home/adminuser/.conda
CURL_CA_BUNDLE=<not set>
LD_PRELOAD=<not set>
PATH=/usr/local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin
:/bin
PYTHON_GET_PIP_SHA256=dfe9fd5c28dc98b5ac17979a953ea550cec37ae1b47a5116007395bfacff2ab9
PYTHON_GET_PIP_URL=https://github.com/pypa/get-
pip/raw/dbf0c85f76fb6e1ab42aa672ffca6f0a675d9ee4/public/get-pip.py
PYTHON_PIP_VERSION=23.0.1
PYTHON_SETUPTOOLS_VERSION=58.1.0
PYTHON_VERSION=3.9.19
REQUESTS_CA_BUNDLE=<not set>
SSL_CERT_FILE=<not set>
STREAMLIT_ERROR_LOG_FILE_PATH=/tmp/error.log
STREAMLIT_LOG_FILE_PATH=/tmp/app.log
active environment : None
user config file : /home/adminuser/.condarc
populated config files : /home/adminuser/.condarc
conda version : 24.3.0
conda-build version : 3.26.1
python version : 3.9.18.final.0
solver : libmamba (default)
virtual packages : __archspec=1=zen2
__conda=24.3.0=0
__glibc=2.31=0
__linux=5.15.146=0
__unix=0=0
base environment : /home/adminuser/.conda (writable)
conda av data dir : /home/adminuser/.conda/etc/conda
conda av metadata url : None
channel URLs : https://repo.anaconda.com/pkgs/main/linux-64
https://repo.anaconda.com/pkgs/main/noarch
https://repo.anaconda.com/pkgs/r/linux-64
https://repo.anaconda.com/pkgs/r/noarch
package cache : /home/adminuser/.conda/pkgs
envs directories : /home/adminuser/.conda/envs
platform : linux-64
user-agent : conda/24.3.0 requests/2.31.0 CPython/3.9.18 Linux/5.15.146+ debian/11.9 glibc/2.31 solver/libmamba conda-libmamba-solver/24.1.0 libmambapy/1.5.6
UID:GID : 1000:1000
netrc file : None
offline mode : False
An unexpected error has occurred. Conda has prepared the above report.
If you suspect this error is being caused by a malfunctioning plugin,
consider using the --no-plugins option to turn off plugins.
Example: conda --no-plugins install <package>
Alternatively, you can set the CONDA_NO_PLUGINS environment variable on
the command line to run the command without plugins enabled.
Example: CONDA_NO_PLUGINS=true conda install <package>
[16:21:45] βοΈ installer returned a non-zero exit code
[16:21:45] βοΈ Error during processing dependencies! Please fix the error and push an update, or try restarting the app.
[16:23:25] βοΈ Streamlit server consistently failed status checks
[16:23:25] βοΈ Please fix the errors, push an update to the git repo, or reboot the app.
Any ideas what happened and how to resolve?