-
Notifications
You must be signed in to change notification settings - Fork 4k
Closed
Labels
feature:file-watcherRelated to file watching for hot reloadRelated to file watching for hot reloadpriority:P3Medium priorityMedium prioritytype:bugSomething isn't working as expectedSomething isn't working as expected
Description
Checklist
- I have searched the existing issues for similar issues.
- I added a very descriptive title to this issue.
- I have provided sufficient information below to help reproduce this issue.
Summary
Since the last update, I sometimes see the following error (and after this error, code changes are no longer detected), but I don't have any steps to reproduce it.
Exception in thread Thread-1:
Traceback (most recent call last):
File "uv\python\cpython-3.13.7-windows-x86_64-none\Lib\threading.py", line 1043, in _bootstrap_inner
self.run()
~~~~~~~~^^
File ".venv\Lib\site-packages\watchdog\observers\api.py", line 213, in run
self.dispatch_events(self.event_queue)
~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^
File ".venv\Lib\site-packages\watchdog\observers\api.py", line 391, in dispatch_events
handler.dispatch(event)
~~~~~~~~~~~~~~~~^^^^^^^
File ".venv\Lib\site-packages\watchdog\events.py", line 217, in dispatch
getattr(self, f"on_{event.event_type}")(event)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^
File ".venv\Lib\site-packages\streamlit\watcher\event_based_path_watcher.py", line 452, in on_created
self.handle_path_change_event(event)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^
File ".venv\Lib\site-packages\streamlit\watcher\event_based_path_watcher.py", line 402, in handle_path_change_event
and os.path.commonpath([path, abs_changed_path]) == path
~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^
File "<frozen ntpath>", line 861, in commonpath
ValueError: Paths don't have the same drive
Reproducible Code Example
Steps To Reproduce
No response
Expected Behavior
No response
Current Behavior
No response
Is this a regression?
- Yes, this used to work in a previous version.
Debug info
- Streamlit version: 1.50.0
- Python version: 3.13.7
- Operating System: Windows 11
- Browser: Chrome
Additional Information
No response
github-actions, ghilesmeddour, CshardZ, boyscout99 and btgoodwin
Metadata
Metadata
Assignees
Labels
feature:file-watcherRelated to file watching for hot reloadRelated to file watching for hot reloadpriority:P3Medium priorityMedium prioritytype:bugSomething isn't working as expectedSomething isn't working as expected