ACCEPT_EULA crash application

Hello Streamlit community,
We have multiple application deployed on streamlit community cloud, all of them crashed with this error

sudo: sorry, you are not allowed to set the following environment variables: ACCEPT_EULA

Example of one of our application here :

  • I went back few commits back and the error is still happening, this is likely not linked to our codebase.
  • same error on python 3.11 and 3.12
  • launch is successful locally in Docker and in bash script

Full logs :

[10:03:08] ๐Ÿš€ Starting up repository: 'jarvis', branch: 'supply_devapp_prod', main module: 'supply/main.py'

[10:03:08] ๐Ÿ™ Cloning repository...

[10:03:35] ๐Ÿ™ Cloning into '/mount/src/jarvis'...
Warning: Permanently added the ED25519 host key for IP address '140.82.116.3' to the list of known hosts.
Updating files: 100% (3696/3696), done.

[10:03:35] ๐Ÿ™ Cloned repository!

[10:03:35] ๐Ÿ™ Pulling code changes from Github...

[10:03:40] ๐Ÿ“ฆ Processing dependencies...

[10:03:40] ๐Ÿ“ฆ Apt dependencies were installed from /mount/src/jarvis/packages.txt using apt-get.

Hit:1 http://deb.debian.org/debian bullseye InRelease

Hit:2 http://deb.debian.org/debian-security bullseye-security InRelease

Get:3 http://deb.debian.org/debian bullseye-updates InRelease [44.1 kB]

Get:4 https://packages.microsoft.com/debian/11/prod bullseye InRelease [3650 B]

Fetched 47.7 kB in 1s (71.9 kB/s)

Reading package lists...[2025-04-25 10:03:41.982144] 

sudo[2025-04-25 10:03:42.019987] : [2025-04-25 10:03:42.020607] sorry, you are not allowed to set the following environment variables: ACCEPT_EULA

[10:03:43] โ—๏ธ installer returned a non-zero exit code

[10:03:43] โ—๏ธ Error during processing dependencies! Please fix the error and push an update, or try restarting the app.

[10:04:51] ๐Ÿ™ Pulling code changes from Github...

[10:04:56] ๐Ÿ“ฆ Processing dependencies...

[10:04:56] ๐Ÿ“ฆ Apt dependencies were installed from /mount/src/jarvis/packages.txt using apt-get.

Hit:1 http://deb.debian.org/debian bullseye InRelease

Hit:2 http://deb.debian.org/debian-security bullseye-security InRelease

Hit:3 http://deb.debian.org/debian bullseye-updates InRelease

Hit:4 https://packages.microsoft.com/debian/11/prod bullseye InRelease

Reading package lists...[2025-04-25 10:04:57.896811] 

sudo: sorry, you are not allowed to set the following environment variables: ACCEPT_EULA

[10:04:58] โ—๏ธ installer returned a non-zero exit code

requirements.txt

anthropic
openpyxl
pandas
pillow
pycryptodome
pymupdf
pypdf2
pytest
python-calamine
snowflake-connector-python[pandas]
snowflake-sqlalchemy
st-theme
streamlit
streamlit-pdf-viewer
watchdog
xlsxwriter

Fixed

We had at the root of our mono repo a package.txt with only โ€˜poppler-utilsโ€™ in it

This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.