mjennings061 / viking-log-keeper

661 VGS - Collate gliding log sheets into a database and visual dashboard.
https://viking.streamlit.com/
MIT License
5 stars 0 forks source link

Dashboard modules not installed #57

Closed mjennings061 closed 5 months ago

mjennings061 commented 5 months ago

Bug - Dashboard does not have correct modules installed

Possible fix - Move requirements to a separate requirements.txt file

Stack trace

──────────────────────────────── Installing Streamlit ──────────────────────────────────
Using uv pip install.
Resolved 41 packages in 8.12s
Downloaded 41 packages in 3.55s
Installed 41 packages in 81ms
 + altair==5.3.0
 + [2024-05-24 10:12:53.051501] attrs==23.2.0
 + blinker==1.8.2
 + cachetools==5.3.3
 + certifi==2024.2.2
 + charset-normalizer==3.3.2
 + click==8.1.7
 + gitdb==4.0.11
 + gitpython==3.1.43
 + idna==3.7
 + jinja2==3.1.4
 + jsonschema==4.22.0
 + jsonschema-specifications==2023.12.1
 + markdown-it-py==3.0.0
 + markupsafe==2.1.5
 + mdurl==0.1.2
 + numpy==1.26.4
 + packaging==24.0
 + pandas==2.2.2
 + pillow==10.3.0
 + protobuf==4.25.3
 + pyarrow==16.1.0
 + pydeck==0.9.1
 + pygments==2.18.0
 + python-dateutil==2.9.0.post0
 + pytz==2024.1
 + referencing==0.35.1
 + requests==2.32.2
 + [2024-05-24 10:12:53.051953] rich==13.7.1
 + rpds-py==0.18.1
 + six==1.16.0
 + smmap==5.0.1
 + streamlit==1.35.0
 + tenacity==8.3.0
 + toml==0.10.2
 + toolz==0.12.1
 + tornado==6.4
 + typing-extensions==4.12.0
 + tzdata==2024.1
 + urllib3==2.2.1
 + watchdog==4.0.1
────────────────────────────────────────────────────────────────────────────────────────
[10:12:53] 📦 Processed dependencies!
cat: /mount/admin/install_path: No such file or directory
────────────────────── Traceback (most recent call last) ───────────────────────
  /home/adminuser/venv/lib/python3.12/site-packages/streamlit/runtime/scriptrunner/script_runner.py:600 in _run_script                                      
  /mount/src/viking-log-keeper/src/dashboard/main.py:8 in <module>                                                                             
      5 import subprocess                                                       
      6 from datetime import datetime, timedelta    # noqa: F401                
      7 import streamlit as st                                                  
  ❱   8 from extra_streamlit_components import CookieManager                    
      9 import pandas as pd                                                     
     10 import logging                                                          
     11                
mjennings061 commented 5 months ago

image