SignalFlagZ / sd-webui-civbrowser

Extension to search and download Civitai models in multiple tabs. Save model information. Send sample infotext to txt2img.
GNU Affero General Public License v3.0
62 stars 11 forks source link

OSError: [WinError 123] ファイル名、ディレクトリ名、またはボリューム ラベルの構文が間違っています #51

Closed SignalFlagZ closed 4 months ago

SignalFlagZ commented 4 months ago

Describe the bug When I click save model info, an error message appears and I can't download it.

OSError: [WinError 123] ファイル名、ディレクトリ名、またはボリューム ラベルの構文が間違っています。

To Reproduce Steps to reproduce the behavior:

  1. Set Search Model ID
  2. Input 524801 to Search Term
  3. Click Get cards button
  4. Click on the model card that appears
  5. Click Save model infos
  6. Directory creation fails and an error is displayed.

Expected behavior A directory is created and the model information are saved in that directory.

Environment (please complete the following information):

SignalFlagZ commented 4 months ago

The model name contains a tab. An error occurs when trying to create a directory that contains a tab. It was not anticipated that the model name would contain a tab character.

Model API Responses https://[civitai.com/api/v1/models/524801](https://civitai.com/api/v1/models/524801)

github-actions[bot] commented 4 months ago

This issue is stale because it has been open for 30 days with no activity.