Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Labelme does not allow saving of files to a separate Mount (separate hard disk) #1350

Open
roystonlmq opened this issue Nov 8, 2023 · 1 comment
Labels
bug issue

Comments

@roystonlmq
Copy link

Provide environment information

3.9.13

What OS are you using?

Windows 11

Describe the Bug

When trying to save a labelme file on another hard disk (D drive), it crashed.

Expected Behavior

No response

To Reproduce

No response

@roystonlmq roystonlmq added the bug issue label Nov 8, 2023
@roystonlmq
Copy link
Author

[INFO ] init:get_config:70 - Loading config file from: C:\Users\royst.labelmerc
Traceback (most recent call last):
File "C:\Users\royst\anaconda3\lib\site-packages\labelme\app.py", line 1873, in saveFile
self._saveFile(self.labelFile.filename)
File "C:\Users\royst\anaconda3\lib\site-packages\labelme\app.py", line 1919, in _saveFile
if filename and self.saveLabels(filename):
File "C:\Users\royst\anaconda3\lib\site-packages\labelme\app.py", line 1342, in saveLabels
imagePath = osp.relpath(self.imagePath, osp.dirname(filename))
File "C:\Users\royst\anaconda3\lib\ntpath.py", line 703, in relpath
raise ValueError("path is on mount %r, start on mount %r" % (
ValueError: path is on mount 'D:', start on mount 'C:'

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug issue
Projects
None yet
Development

No branches or pull requests

1 participant