Hi,
Thanks for the quick response!
1.I do have gatherUsageState = false inside my project .streamlit/config.toml.
2.I even copied my config.toml to ~/.streamlit/config.toml in case the project config did not override the general one.
still having the same problem:
2020-11-08T14:12:43.149453931Z During handling of the above exception, another exception occurred:
2020-11-08T14:12:43.149457425Z
2020-11-08T14:12:43.149460712Z Traceback (most recent call last):
2020-11-08T14:12:43.149464027Z File "/usr/local/lib/python3.6/threading.py", line 916, in _bootstrap_inner
2020-11-08T14:12:43.149467537Z self.run()
2020-11-08T14:12:43.149470789Z File "/usr/local/lib/python3.6/threading.py", line 864, in run
2020-11-08T14:12:43.149474268Z self._target(*self._args, **self._kwargs)
2020-11-08T14:12:43.149477587Z File "/usr/local/lib/python3.6/site-packages/streamlit/script_runner.py", line 162, in _process_request_queue
2020-11-08T14:12:43.149481138Z self._run_script(data)
2020-11-08T14:12:43.149484417Z File "/usr/local/lib/python3.6/site-packages/streamlit/script_runner.py", line 261, in _run_script
2020-11-08T14:12:43.149487934Z self.on_event.send(ScriptRunnerEvent.SCRIPT_STARTED)
2020-11-08T14:12:43.149491298Z File "/usr/local/lib/python3.6/site-packages/blinker/base.py", line 267, in send
2020-11-08T14:12:43.149494799Z for receiver in self.receivers_for(sender)]
2020-11-08T14:12:43.149498145Z File "/usr/local/lib/python3.6/site-packages/blinker/base.py", line 267, in <listcomp>
2020-11-08T14:12:43.149501759Z for receiver in self.receivers_for(sender)]
2020-11-08T14:12:43.149505519Z File "/usr/local/lib/python3.6/site-packages/streamlit/report_session.py", line 268, in _on_scriptrunner_event
2020-11-08T14:12:43.149509089Z self._maybe_enqueue_initialize_message()
2020-11-08T14:12:43.149512398Z File "/usr/local/lib/python3.6/site-packages/streamlit/report_session.py", line 391, in _maybe_enqueue_initialize_message
2020-11-08T14:12:43.14951598Z imsg.user_info.installation_id = Installation.instance().installation_id
2020-11-08T14:12:43.149519402Z File "/usr/local/lib/python3.6/site-packages/streamlit/metrics_util.py", line 81, in instance
2020-11-08T14:12:43.149522923Z cls._instance = Installation()
2020-11-08T14:12:43.149526233Z File "/usr/local/lib/python3.6/site-packages/streamlit/metrics_util.py", line 87, in __init__
2020-11-08T14:12:43.149529789Z uuid.uuid5(uuid.NAMESPACE_DNS, _get_stable_random_id())
2020-11-08T14:12:43.149533154Z File "/usr/local/lib/python3.6/site-packages/streamlit/metrics_util.py", line 62, in _get_stable_random_id
2020-11-08T14:12:43.149536706Z with file_util.streamlit_write(filepath) as output:
2020-11-08T14:12:43.149540066Z File "/usr/local/lib/python3.6/contextlib.py", line 81, in __enter__
2020-11-08T14:12:43.149543579Z return next(self.gen)
2020-11-08T14:12:43.149546835Z File "/usr/local/lib/python3.6/site-packages/streamlit/file_util.py", line 115, in streamlit_write
2020-11-08T14:12:43.149550392Z raise util.Error("\n".join(msg))
2020-11-08T14:12:43.149553838Z streamlit.util.Error: Unable to write file: /home/jenkins/.streamlit/.stable_random_id
-
When executing streamlit config show in the pod the output is not the same config I copied earlier.
(it’s the initial config from https://docs.streamlit.io/en/stable/streamlit_configuration.html#set-configuration-options)
BUT if i execute cat ~/.streamlit/config.toml I do see the right config. weird
-
The next action was to execute it inside the mentioned pod
streamlit run run.py --browser.gatherUsageStats false/streamlit run run.py --browser.gatherUsageStats=false
still, same error
-
My conclusion is that somehow in the update from 0.67 to 0.68 the ability to use a custom config something stopped working.
AND there was a breaking change that requires writing to disk on versions bigger than 0.67.
My next action is to add “chmod +w /home/jenkins/.streamlit” which i don’t want to do but ill use as last resort.
Thanks