You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
When loading file from two separate network drives there is an issue with path resolving
To Reproduce
Steps to reproduce the behavior:
Load a pickle file from one drive (probably occurring with all formats)
Load a pickle file from another drive
Expected behavior
Expect to be able to load files located on multiple network drives
Screenshots
Traceback (most recent call last):
File "C:\Interpreters\Instruct_with_sifio\Lib\site-packages\qats\app\gui.py", line 1421, in update_model
names = self.db.list(names="*", relative=True, display=False)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Interpreters\Instruct_with_sifio\Lib\site-packages\qats\tsdb.py", line 1265, in list
match = [self._path_relpath(_, common) for _ in match]
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Interpreters\Instruct_with_sifio\Lib\site-packages\qats\tsdb.py", line 1265, in <listcomp>
match = [self._path_relpath(_, common) for _ in match]
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Interpreters\Instruct_with_sifio\Lib\site-packages\qats\tsdb.py", line 365, in _path_relpath
return os.path.relpath(key, start)
^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "<frozen ntpath>", line 766, in relpath
ValueError: path is on mount 'Y:', start on mount 'C:'
The text was updated successfully, but these errors were encountered:
Describe the bug
When loading file from two separate network drives there is an issue with path resolving
To Reproduce
Steps to reproduce the behavior:
Expected behavior
Expect to be able to load files located on multiple network drives
Screenshots
The text was updated successfully, but these errors were encountered: