I tried deploying again. Pls see my full logs.
[ UTC ] Logs for sales-engag-tool.streamlit.app/
────────────────────────────────────────────────────────────────────────────────────────
[07:58:17]
Provisioning machine…
[07:58:17]
Preparing system…
[07:58:17]
Spinning up manager process…
[07:58:10]
Starting up repository: ‘streamlit-app-sales-engag’, branch: ‘main’, main module: ‘streamlit_app/app.py’
[07:58:10]
Cloning repository…
[07:58:12]
Cloning into ‘/mount/src/streamlit-app-sales-engag’…
Warning: Permanently added the ED25519 host key for IP address ‘140.82.116.4’ to the list of known hosts.
[07:58:12]
Cloned repository!
[07:58:12]
Pulling code changes from Github…
[07:58:13]
Processing dependencies…
[07:58:13]
Apt dependencies were installed from /mount/src/streamlit-app-sales-engag/packages.txt using apt-get.
Hit:1 ://deb.debian.org/debian bullseye InRelease
Get:2://deb.debian.org/debian-security bullseye-security InRelease [48.4 kB]
Get:3 Index of /debian bullseye-updates InRelease [44.1 kB]
Get:4 https://packages.microsoft.com/debian/11/prod bullseye InRelease [3650 B]
Get:5 Index of /debian-security bullseye-security/main amd64 Packages [279 kB]
Fetched 375 kB in 0s (1245 kB/s)
Reading package lists…[2024-07-06 07:58:14.875132]
Reading package lists…[2024-07-06 07:58:15.287177]
Building dependency tree…[2024-07-06 07:58:15.412955]
Reading state information…[2024-07-06 07:58:15.413236]
Suggested packages:
sqlite3-doc
The following NEW packages will be installed:
libsqlite3-dev
0 upgraded, 1 newly installed, 0 to remove and 4 not upgraded.
Need to get 963 kB of archives.
After this operation, 2620 kB of additional disk space will be used.
Get:1 Index of /debian bullseye/main amd64 libsqlite3-dev amd64 3.34.1-3 [963 kB]
debconf: delaying package configuration, since apt-utils is not installed
Fetched 963 kB in 0s (13.8 MB/s)
Selecting previously unselected package libsqlite3-dev:amd64.
(Reading database … 22037 files and directories currently installed.)
Preparing to unpack …/libsqlite3-dev_3.34.1-3_amd64.deb …
Unpacking libsqlite3-dev:amd64 (3.34.1-3) …
Setting up libsqlite3-dev:amd64 (3.34.1-3) …
──────────────────────────────────────── uv ───────────────────────────────────────────
Using uv pip install.
Resolved 219 packages in 1.58s
Downloaded 219 packages in 42.11s
Installed 219 packages in 399ms
[2024-07-06 07:59:01.062342] + email-validator==2.2.0
-
executing==2.0.1
-
fastapi==0.111.0
-
fastapi-cli==0.0.4
-
fastjsonschema==2.20.0[2024-07-06 07:59:01.062460]
-
filelock==3.13.1
-
flatbuffers==24.3.25
-
frozenlist==1.4.1
-
fsspec==2024.5.0
-
gitdb[2024-07-06 07:59:01.062585] ==4.0.11
-
gitpython==3.1.43
-
google-api-core==2.19.1
-
google-api-python-client==2.135.0
-
google-auth==2.28.2
-
google-auth-httplib2==0.2.0[2024-07-06 07:59:01.062706]
-
google-auth-oauthlib==1.2.0
-
googleapis-common-protos==1.63.2
-
greenlet==3.0.3
-
grpcio==1.64.1
-
h11==0.14.0[2024-07-06 07:59:01.062856]
-
httpcore==1.0.5
-
httplib2==0.22.0
-
httptools==0.6.1
-
httpx==0.27.0
-
huggingface-hub==0.23.4
-
humanfriendly==10.0
-
idna==3.7
-
importlib-metadata==7.1.0
-
importlib-resources==6.4.0
+[2024-07-06 07:59:01.063090] inflection==0.5.1
-
intel-openmp==2021.4.0
-
ipykernel==6.29.4
-
ipython==8.24.0
-
jedi==0.19.1[2024-07-06 07:59:01.063211]
-
jinja2==3.1.4
-
jsonpatch==1.33
-
jsonpointer==2.4
-
jsonschema==4.22.0
-
jsonschema-specifications==2023.12.1
-
jupyter-client==8.6.1
-
jupyter-core==5.7.2
-
jupyterlab-pygments==0.3.0
-
kubernetes[2024-07-06 07:59:01.063446] ==30.1.0
-
langchain==0.1.20
-
langchain-chroma==0.1.2
-
langchain-community==0.0.38
-
langchain-core==0.1.52
+[2024-07-06 07:59:01.063608] langchain-openai==0.1.6
-
langchain-text-splitters==0.0.2
-
langgraph==0.0.51
-
langsmith==0.1.83
-
llvmlite==0.42.0[2024-07-06 07:59:01.063790]
-
markdown-it-py==3.0.0
-
markupsafe==2.1.5
-
marshmallow==3.21.3
-
matplotlib-inline==0.1.7
-
mdurl==0.1.2
-
mistune==3.0.2
-
mkl==2021.4.0
-
mmh3==4.1.0
-
monotonic==1.6
-
more-itertools==10.2.0
-
mpmath==1.3.0
-
multidict==6.0.5
-
mypy-extensions==1.0.0
-
mysql-connector-python==8.4.0
[2024-07-06 07:59:01.064102] + nbclient==0.10.0
-
nbconvert==7.16.4
-
nbformat==5.10.4
-
nest-asyncio==1.6.0
-
networkx==3.1
-
numba==0.59.1
-
numpy==1.26.4
-
nvidia-cublas-cu12==12.1.3.1
-
nvidia-cuda-cupti-cu12==12.1.105
-
nvidia-cuda-nvrtc-cu12==12.1.105[2024-07-06 07:59:01.064232]
-
nvidia-cuda-runtime-cu12==12.1.105
-
nvidia-cudnn-cu12==8.9.2.26
-
nvidia-cufft-cu12==11.0.2.54
-
nvidia-curand-cu12==10.3.2.106
-
nvidia-cusolver-cu12==11.4.5.107
-
nvidia-cusparse-cu12==12.1.0.106
-
nvidia-nccl-cu12==2.20.5
-
nvidia-nvjitlink-cu12==12.5.82
-
nvidia-nvtx-cu12==12.1.105
-
oauthlib==3.2.2
-
onnxruntime==1.18.1
-
openai==1.34.0
-
opentelemetry-api==1.25.0
-
opentelemetry-exporter-otlp-proto-common==1.25.0
-
[2024-07-06 07:59:01.064466] opentelemetry-exporter-otlp-proto-grpc==1.25.0
-
opentelemetry-instrumentation==0.46b0
-
opentelemetry-instrumentation-asgi==0.46b0
-
opentelemetry-instrumentation-fastapi==0.46b0
-
opentelemetry-proto==1.25.0
-
opentelemetry-sdk==1.25.0
-
opentelemetry-semantic-conventions==0.46b0
-
opentelemetry-util-http==0.46b0
-
orjson==3.10.1
-
overrides==7.7.0
-
packaging==23.2
-
pandas==2.2.2
-
pandocfilters==1.5.1
-
parso==0.8.4
-
pexpect==4.9.0
-
pillow==10.3.0
-
pip[2024-07-06 07:59:01.064700] ==24.1.1
-
platformdirs==4.2.0
-
posthog==3.5.0
-
prompt-toolkit==3.0.43
-
proto-plus==1.24.0
-
protobuf==4.25.3
-
psutil==5.9.8
-
[2024-07-06 07:59:01.064842] ptyprocess==0.7.0
-
pulsar-client==3.5.0
-
pure-eval==0.2.2
-
pyairtable==2.3.3
-
pyarrow==16.1.0
-
pyasn1==0.6.0
-
pyasn1-modules==0.4.0
-
pycryptodome[2024-07-06 07:59:01.065019] ==3.20.0
-
pydantic==2.7.4
-
pydantic-core==2.18.4
-
pydeck==0.9.1
-
pydub==0.25.1
-
pygments==2.18.0
-
pyparsing==3.1.2
-
pypika==0.48.9
-
pyproject-hooks==1.1.0
-
pyreadline3==3.4.1
+[2024-07-06 07:59:01.065207] python-dateutil==2.9.0.post0
-
python-dotenv==1.0.1
-
python-multipart==0.0.9
-
pytube==15.0.0
-
pytz==2024.1
-
pyyaml==6.0.1
-
pyzmq==26.0.3
-
referencing==0.35.1
-
regex==2024.4.16
-
[2024-07-06 07:59:01.065351] requests==2.31.0
-
requests-oauthlib==2.0.0
-
rich==13.7.1
-
rpds-py==0.18.1
-
rsa==4.9
-
setuptools==70.0.0
-
shellingham==1.5.4
-
six==1.16.0
-
smmap==5.0.1
-
sniffio[2024-07-06 07:59:01.065498] ==1.3.1
-
soupsieve==2.5
-
sqlalchemy==2.0.31
-
stack-data==0.6.3
-
starlette==0.37.2
-
streamlit==1.36.0
-
sympy==1.12
-
tbb==2021.12.0
-
tenacity==8.2.3
-
tiktoken==0.5.2
-
tinycss2==1.3.0
-
tokenizers==0.19.1
-
toml==0.10.2
-
toolz==0.12.1
-
torch==2.3.0
-
tornado==6.4
-
tqdm==4.66.4
-
traitlets==5.14.3
-
[2024-07-06 07:59:01.065777] typer==0.12.3
-
typing-extensions==4.11.0
-
typing-inspect==0.9.0
-
tzdata==2024.1
-
ujson==5.10.0
-
uritemplate==4.1.1
-
urllib3==2.2.1
-
uuid6==2024.1.12
-
uvicorn==0.30.1
-
uvloop==0.19.0
-
vectorshift==0.0.60
-
virtualenv==20.25.1
-
watchdog==4.0.1
-
watchfiles==0.22.0
-
wcwidth==0.2.13
-
webencodings==0.5.1
-
websocket-client==1.8.0
-
websockets==12.0
-
wrapt==1.16.0
-
yarl==1.9.4
-
zipp==3.19.2
-
zohocrmsdk6-0==5.0.0
Checking if Streamlit is installed
Found Streamlit version 1.36.0 in the environment
────────────────────────────────────────────────────────────────────────────────────────
[07:59:03]
Python dependencies were installed from /mount/src/streamlit-app-sales-engag/requirements.txt using uv.
Check if streamlit is installed
Streamlit is already installed
[07:59:04]
Processed dependencies!
────────────────────── Traceback (most recent call last) ───────────────────────
/home/adminuser/venv/lib/python3.12/site-packages/streamlit/runtime/scriptru
nner/script_runner.py:589 in _run_script
/mount/src/streamlit-app-sales-engag/streamlit_app/app.py:13 in
10 from transcription import transcribe_audio
11 from datetime import datetime
12 from create_engagement_json import generate_and_save_json as generate_
❱ 13 from create_SO_template_json import generate_and_save_json as generate
14 from utils.airtable_retrieve_operations import fetch_all_records, get_
15 from insert_SO_template import insert_sales_order, fetch_sales_order_r
16 from create_draft_email import create_draft_email, authenticate_gmail_
/mount/src/streamlit-app-sales-engag/streamlit_app/create_SO_template_json.p
y:14 in
11 import pytz
12 import streamlit as st
13 from langchain_openai import ChatOpenAI, OpenAIEmbeddings
❱ 14 from langchain_chroma import Chroma
15 from langchain_core.documents import Document
16 from langchain_core.prompts import PromptTemplate
17 from langchain_core.tools import tool
/home/adminuser/venv/lib/python3.12/site-packages/langchain_chroma/init.
py:5 in
2
3 It contains the Chroma class for handling various tasks.
4 """
❱ 5 from langchain_chroma.vectorstores import Chroma
6
7 __all__ = [
8 │ "Chroma",
/home/adminuser/venv/lib/python3.12/site-packages/langchain_chroma/vectorsto
res.py:23 in
20 │ Union,
21 )
22
❱ 23 import chromadb
24 import chromadb.config
25 import numpy as np
26 from langchain_core.documents import Document
/home/adminuser/venv/lib/python3.12/site-packages/chromadb/init.py:79 in
76 │ │ │ __import__("pysqlite3")
77 │ │ │ sys.modules["sqlite3"] = sys.modules.pop("pysqlite3")
78 │ │ else:
❱ 79 │ │ │ raise RuntimeError(
80 │ │ │ │ "\033[91mYour system has an unsupported version of sql
81 │ │ │ │ │ requires sqlite3 >= 3.35.0.\033[0m\n"
82 │ │ │ │ "\033[94mPlease visit \
────────────────────────────────────────────────────────────────────────────────
RuntimeError: e[91mYour system has an unsupported version of sqlite3. Chroma
requires sqlite3 >= 3.35.0.e[0m
e[94mPlease visit
//docs.trychroma.com/troubleshooting#sqlite to learn how
to upgrade.e[0m
main
nag-24/streamlit-app-sales-engag/main/streamlit_app/app.py
end of logs
From the logs, it’s clear that libsqlite3-dev
version 3.34.1-3 is being installed. This version is less than 3.35.0, which is why I am encountering the runtime error. My python version is se to 3.12.3.
Please advise if you have suggestions. this was again deployed after I tested it sucessfully in my local environment.