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

49 separate streamlit from update logs #50

Closed mjennings061 closed 4 months ago

mjennings061 commented 4 months ago

Closes #49

mjennings061 commented 4 months ago

Reviewers, can you please test this tonight? Run the following in terminal, from the viking-log-keeper folder:

git fetch origin
git checkout 49-separate-streamlit-from-update-logs
python -m pip install --upgrade .
update-logs
dgscwhite commented 4 months ago

Tested the code. Recieved the following error when running the command update-logs:
INFO:log_keeper.main:Starting... Traceback (most recent call last): File "", line 198, in _run_module_as_main File "", line 88, in _run_code File "C:\Users\Chris\AppData\Local\Programs\Python\Python311\Scripts\update-logs.exe__main.py", line 7, in File "C:\Users\Chris\AppData\Local\Programs\Python\Python311\Lib\site-packages\log_keeper\main.py", line 46, in main auth_config = AuthConfig() ^^^^^^^^^^^^ File "", line 14, in init File "C:\Users\Chris\AppData\Local\Programs\Python\Python311\Lib\site-packages\dashboard\auth.py", line 46, in post_init__ self.load_secrets() File "C:\Users\Chris\AppData\Local\Programs\Python\Python311\Lib\site-packages\dashboard\auth.py", line 62, in load_secrets self.auth_url = self.auth_url.replace( ^^^^^^^^^^^^^^^^^^^^^^ TypeError: replace() argument 2 must be str, not None

dgscwhite commented 4 months ago

Code ran successfully. This time I was asked to enter my credentials when I ran the code 'update-logs'.