Small feature request:
The client API allows to add rows but not change values in existing rows. It would be great if there is an API to change or add values to existing rows.
augustin_s (ef719fb1) at 28 Mar 09:22
changed the launcher name
augustin_s (b401286d) at 28 Mar 09:15
dont chdir, but construct the path
augustin_s (f8d1df44) at 26 Mar 23:45
added a notification to switch launchers
... and 3 more commits
I am certain it worked once but now trying to start stand unfortunately fails. It looks good initially:
(stand)[steppke_a] /sf/cristallina/applications/stand $ ./stand.sh
2023-03-11 18:29:33.629 INFO numexpr.utils: Note: NumExpr detected 16 cores but "NUMEXPR_MAX_THREADS" not set, so enforcing safe limit of 8.
2023-03-11 18:29:33.629 INFO numexpr.utils: NumExpr defaulting to 8 threads.
Git integration is disabled.
Streamlit requires Git 2.7.0 or later, but you have 1.8.3.1.
Git is used by Streamlit Cloud (https://streamlit.io/cloud).
To enable this feature, please update Git.
You can now view your Streamlit app in your browser.
Network URL: http://129.129.244.74:8501
External URL: http://129.129.244.74:8501
When accessing the web interface though there is a permissions problem:
>>> start restapi
>>> loaded dataframe from output.h5
[11/Mar/2023:18:29:40] ENGINE Bus STARTING
2023-03-11 18:29:40.787 [11/Mar/2023:18:29:40] ENGINE Bus STARTING
>>> start of streamlit run
[11/Mar/2023:18:29:40] ENGINE Started monitor thread 'Autoreloader'.
2023-03-11 18:29:40.788 [11/Mar/2023:18:29:40] ENGINE Started monitor thread 'Autoreloader'.
[11/Mar/2023:18:29:40] ENGINE Error in HTTP server: shutting down
Traceback (most recent call last):
File "/sf/cristallina/applications/conda/envs/stand/lib/python3.10/site-packages/cherrypy/process/servers.py", line 225, in _start_http_thread
self.httpserver.start()
File "/sf/cristallina/applications/conda/envs/stand/lib/python3.10/site-packages/cheroot/server.py", line 1836, in start
self.prepare()
File "/sf/cristallina/applications/conda/envs/stand/lib/python3.10/site-packages/cheroot/server.py", line 1791, in prepare
raise socket.error(msg)
OSError: No socket could be created -- (('129.129.244.80', 9090): [Errno 99] Cannot assign requested address)
2023-03-11 18:29:40.795 [11/Mar/2023:18:29:40] ENGINE Error in HTTP server: shutting down
Traceback (most recent call last):
File "/sf/cristallina/applications/conda/envs/stand/lib/python3.10/site-packages/cherrypy/process/servers.py", line 225, in _start_http_thread
self.httpserver.start()
File "/sf/cristallina/applications/conda/envs/stand/lib/python3.10/site-packages/cheroot/server.py", line 1836, in start
self.prepare()
File "/sf/cristallina/applications/conda/envs/stand/lib/python3.10/site-packages/cheroot/server.py", line 1791, in prepare
raise socket.error(msg)
OSError: No socket could be created -- (('129.129.244.80', 9090): [Errno 99] Cannot assign requested address)
[11/Mar/2023:18:29:40] ENGINE Bus STOPPING
2023-03-11 18:29:40.795 [11/Mar/2023:18:29:40] ENGINE Bus STOPPING
[11/Mar/2023:18:29:40] ENGINE HTTP Server cherrypy._cpwsgi_server.CPWSGIServer(('saresc-cons-05', 9090)) already shut down
2023-03-11 18:29:40.795 [11/Mar/2023:18:29:40] ENGINE HTTP Server cherrypy._cpwsgi_server.CPWSGIServer(('saresc-cons-05', 9090)) already shut down
[11/Mar/2023:18:29:40] ENGINE Stopped thread 'Autoreloader'.
2023-03-11 18:29:40.795 [11/Mar/2023:18:29:40] ENGINE Stopped thread 'Autoreloader'.
[11/Mar/2023:18:29:40] ENGINE Bus STOPPED
2023-03-11 18:29:40.795 [11/Mar/2023:18:29:40] ENGINE Bus STOPPED
[11/Mar/2023:18:29:40] ENGINE Bus EXITING
2023-03-11 18:29:40.795 [11/Mar/2023:18:29:40] ENGINE Bus EXITING
[11/Mar/2023:18:29:40] ENGINE Bus EXITED
2023-03-11 18:29:40.795 [11/Mar/2023:18:29:40] ENGINE Bus EXITED
Looking at the IP address though it is a bit strange that it wants to bind to 129.129.244.80 (where I started stand once in the past) but I am executing this on 129.129.244.74. A streamlight config show
does not reveal any references to the 129.129.244.80 address either. Is there some other configuration that needs to be edited?
We found that the REST API address was not set correctly (only the web server address). The configuration options need to be improved in that regard.
added hostname detection and set port explicitly for RESTAPI
Addendum:
I am certain it worked once but now trying to start stand unfortunately fails. It looks good initially:
(stand)[steppke_a] /sf/cristallina/applications/stand $ ./stand.sh
2023-03-11 18:29:33.629 INFO numexpr.utils: Note: NumExpr detected 16 cores but "NUMEXPR_MAX_THREADS" not set, so enforcing safe limit of 8.
2023-03-11 18:29:33.629 INFO numexpr.utils: NumExpr defaulting to 8 threads.
Git integration is disabled.
Streamlit requires Git 2.7.0 or later, but you have 1.8.3.1.
Git is used by Streamlit Cloud (https://streamlit.io/cloud).
To enable this feature, please update Git.
You can now view your Streamlit app in your browser.
Network URL: http://129.129.244.74:8501
External URL: http://129.129.244.74:8501
When accessing the web interface though there is a permissions problem:
>>> start restapi
>>> loaded dataframe from output.h5
[11/Mar/2023:18:29:40] ENGINE Bus STARTING
2023-03-11 18:29:40.787 [11/Mar/2023:18:29:40] ENGINE Bus STARTING
>>> start of streamlit run
[11/Mar/2023:18:29:40] ENGINE Started monitor thread 'Autoreloader'.
2023-03-11 18:29:40.788 [11/Mar/2023:18:29:40] ENGINE Started monitor thread 'Autoreloader'.
[11/Mar/2023:18:29:40] ENGINE Error in HTTP server: shutting down
Traceback (most recent call last):
File "/sf/cristallina/applications/conda/envs/stand/lib/python3.10/site-packages/cherrypy/process/servers.py", line 225, in _start_http_thread
self.httpserver.start()
File "/sf/cristallina/applications/conda/envs/stand/lib/python3.10/site-packages/cheroot/server.py", line 1836, in start
self.prepare()
File "/sf/cristallina/applications/conda/envs/stand/lib/python3.10/site-packages/cheroot/server.py", line 1791, in prepare
raise socket.error(msg)
OSError: No socket could be created -- (('129.129.244.80', 9090): [Errno 99] Cannot assign requested address)
2023-03-11 18:29:40.795 [11/Mar/2023:18:29:40] ENGINE Error in HTTP server: shutting down
Traceback (most recent call last):
File "/sf/cristallina/applications/conda/envs/stand/lib/python3.10/site-packages/cherrypy/process/servers.py", line 225, in _start_http_thread
self.httpserver.start()
File "/sf/cristallina/applications/conda/envs/stand/lib/python3.10/site-packages/cheroot/server.py", line 1836, in start
self.prepare()
File "/sf/cristallina/applications/conda/envs/stand/lib/python3.10/site-packages/cheroot/server.py", line 1791, in prepare
raise socket.error(msg)
OSError: No socket could be created -- (('129.129.244.80', 9090): [Errno 99] Cannot assign requested address)
[11/Mar/2023:18:29:40] ENGINE Bus STOPPING
2023-03-11 18:29:40.795 [11/Mar/2023:18:29:40] ENGINE Bus STOPPING
[11/Mar/2023:18:29:40] ENGINE HTTP Server cherrypy._cpwsgi_server.CPWSGIServer(('saresc-cons-05', 9090)) already shut down
2023-03-11 18:29:40.795 [11/Mar/2023:18:29:40] ENGINE HTTP Server cherrypy._cpwsgi_server.CPWSGIServer(('saresc-cons-05', 9090)) already shut down
[11/Mar/2023:18:29:40] ENGINE Stopped thread 'Autoreloader'.
2023-03-11 18:29:40.795 [11/Mar/2023:18:29:40] ENGINE Stopped thread 'Autoreloader'.
[11/Mar/2023:18:29:40] ENGINE Bus STOPPED
2023-03-11 18:29:40.795 [11/Mar/2023:18:29:40] ENGINE Bus STOPPED
[11/Mar/2023:18:29:40] ENGINE Bus EXITING
2023-03-11 18:29:40.795 [11/Mar/2023:18:29:40] ENGINE Bus EXITING
[11/Mar/2023:18:29:40] ENGINE Bus EXITED
2023-03-11 18:29:40.795 [11/Mar/2023:18:29:40] ENGINE Bus EXITED
Looking at the IP address though it is a bit strange that it wants to bind to 129.129.244.80 (where I started stand once in the past) but I am executing this on 129.129.244.74. A streamlight config show
does not reveal any references to the 129.129.244.80 address either. Is there some other configuration that needs to be edited?
augustin_s (37ca97ea) at 25 Nov 23:53
added handling multiple browser sessions
... and 2 more commits
augustin_s (9716d646) at 17 Sep 18:51
adapt to changed return type in streamlit-aggrid
... and 1 more commit
augustin_s (a6a793dd) at 05 Jun 18:42
made the key logic for the aggrid wrapper adhere generel streamlit ...
augustin_s (59000edd) at 04 Jun 19:15
added slider to sidebar controlling the grid height (instead of aut...
... and 1 more commit
augustin_s (cd7d6e0b) at 29 May 12:19
added running backups of df dumps
augustin_s (8a599233) at 28 May 19:12
Update README.md
augustin_s (3cb7c6af) at 28 May 19:11
Update README.md