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

[bug]: Pasting paths with quotes into Model Manager gives an error #6517

Open
1 task done
DuncanL opened this issue Jun 15, 2024 · 0 comments
Open
1 task done

[bug]: Pasting paths with quotes into Model Manager gives an error #6517

DuncanL opened this issue Jun 15, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@DuncanL
Copy link

DuncanL commented Jun 15, 2024

Is there an existing issue for this problem?

  • I have searched the existing issues

Operating system

Windows

GPU vendor

Nvidia (CUDA)

GPU model

RTX 4070

GPU VRAM

12GB

Version number

v4.2.4

Browser

Firefox 128.0b3

Python dependencies

No response

What happened

Tried to add models using paths copied from Windows File Explorer and recieved error message about "Unsupported model source"

What you expected to happen

The models to be imported

How to reproduce the problem

Right click a model file in Windows Explorer
Select "Copy as path"
Paste the path into the "URL or local path" section in Model Manager
Note that Windows has added quotes to cope with spaces in the path; even if there are none.
Click Install
An error toast appears along the lines of "Unsupported model source: '"D:\blah\blah\fred.safetensors"'
Remove the quotes and press Install again - works as expected.

Additional context

Generally Windows file handlers cope with quotes; remving them as necessary.
Simply stripping any quotes from the pasted path would make this process much easier if you're importing multiple models.

Discord username

No response

@DuncanL DuncanL added the bug Something isn't working label Jun 15, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant