My app is currently running of localhost. At one point, the app randomly produce this error: -
File “”, line 850, in commonpath
ValueError: Paths don’t have the same drive
Then the app disconnect with any update I do in my code. All my codes and libraries run on c drive.
Has anyone experience the same error? Can anyone help me.
I’m experiencing the same issue, and I’m working under the suspicion that it may be related to the Streamlit version. I recently (15/10) updated from Streamlit 1.45 to 1.50, and the issue started appearing within the last 20 days or so.
I added a parallel watcher to track watchdog file handling over the past three days and never accessed a drive other than C:, even though the error occurred several times. I’ve also been experimenting with config.toml whitelist/blacklist settings, but the error persists.
The weirdest thing is that my server has no drives other than C:, so unless the app is somehow referencing a network resource (which would be very strange), I’m treating this as a Streamlit-related issue or inconsistency—not a real issue with my repository.
I’ll be performing a downgrade to 1.45 later today and monitoring the behavior.
Could you please share your Streamlit version while experiencing this error?