Repository: stable-diffusion-webui
Issue: [Bug]:  OSError: [WinError 123]
Labels: bug-report

### Is there an existing issue for this?

- [x] I have searched the existing issues and checked the recent builds/commits

### What happened?

cant preprocess the pic 

### Steps to reproduce the problem

In preprossing , I just tap on deepbooru and it pop out a error


### What should have happened?

I have try to select every button I could , but nothing not seccess , maybe is the disk problem ? But I have tried a few time in this function , it is success in Aug but not for now 

### Sysinfo

no

### What browsers do you use to access the UI ?

Google Chrome

### Console logs

```Shell
D:\AI\SDAI\webui>git pull
Already up to date.
venv "D:\AI\SDAI\webui\venv\Scripts\Python.exe"
Python 3.10.11 (tags/v3.10.11:7d4cc5a, Apr  5 2023, 00:38:17) [MSC v.1929 64 bit (AMD64)]
Version: v1.6.0
Commit hash: 5ef669de080814067961f28357256e8fe27544f4
Launching Web UI with arguments: --xformers

========================= a1111-sd-webui-lycoris =========================
Starting from stable-diffusion-webui version 1.5.0
a1111-sd-webui-lycoris extension is no longer needed

All its features have been integrated into the native LoRA extension
LyCORIS models can now be used as if there are regular LoRA models

This extension has been automatically deactivated
Please remove this extension
==========================================================================

[-] ADetailer initialized. version: 23.8.1, num models: 9
[AddNet] Updating model hashes...
0it [00:00, ?it/s]
[AddNet] Updating model hashes...
0it [00:00, ?it/s]
Loading weights [d8df7e2346] from D:\AI\SDAI\webui\models\Stable-diffusion\goofballMix_v2Baked.safetensors
D:\AI\SDAI\webui\extensions\sd-webui-additional-networks\scripts\metadata_editor.py:399: GradioDeprecationWarning: The `style` method is deprecated. Please set these arguments in the constructor instead.
  with gr.Row().style(equal_height=False):
D:\AI\SDAI\webui\extensions\sd-webui-additional-networks\scripts\metadata_editor.py:521: GradioDeprecationWarning: The `style` method is deprecated. Please set these arguments in the constructor instead.
  cover_image = gr.Image(
Running on local URL:  http://127.0.0.1:7860

To create a public link, set `share=True` in `launch()`.
Creating model from config: D:\AI\SDAI\webui\configs\v1-inference.yaml
Startup time: 42.2s (prepare environment: 7.5s, import torch: 12.5s, import gradio: 5.1s, setup paths: 3.2s, initialize shared: 0.7s, other imports: 3.9s, setup codeformer: 0.6s, setup gfpgan: 0.1s, list SD models: 0.2s, load scripts: 4.5s, initialize extra networks: 0.2s, create ui: 1.4s, gradio launch: 2.4s).
Applying attention optimization: xformers... done.
Model loaded in 36.7s (load weights from disk: 3.9s, create model: 0.3s, apply weights to model: 30.1s, apply half(): 1.2s, calculate empty prompt: 1.1s).
*** Error completing request
*** Arguments: ('task(2n6rrzuo5igs91d)', '"D:\\AI\\512-SD"', '"D:\\AI\\SD-kohya"', 512, 512, 'ignore', False, False, False, False, True, 0.5, 0.2, False, 0.9, 0.15, 0.5, False, False, 384, 768, 4096, 409600, 'Maximize area', 0.1) {}
    Traceback (most recent call last):
      File "D:\AI\SDAI\webui\modules\call_queue.py", line 57, in f
        res = list(func(*args, **kwargs))
      File "D:\AI\SDAI\webui\modules\call_queue.py", line 36, in f
        res = func(*args, **kwargs)
      File "D:\AI\SDAI\webui\modules\textual_inversion\ui.py", line 19, in preprocess
        modules.textual_inversion.preprocess.preprocess(*args)
      File "D:\AI\SDAI\webui\modules\textual_inversion\preprocess.py", line 18, in preprocess
        preprocess_work(process_src, process_dst, process_width, process_height, preprocess_txt_action, process_keep_original_size, process_flip, process_split, process_caption, process_caption_deepbooru, split_threshold, overlap_ratio, process_focal_crop, process_focal_crop_face_weight, process_focal_crop_entropy_weight, process_focal_crop_edges_weight, process_focal_crop_debug, process_multicrop, process_multicrop_mindim, process_multicrop_maxdim, process_multicrop_minarea, process_multicrop_maxarea, process_multicrop_objective, process_multicrop_threshold)
      File "D:\AI\SDAI\webui\modules\textual_inversion\preprocess.py", line 140, in preprocess_work
        os.makedirs(dst, exist_ok=True)
      File "C:\Users\AnsonVTo\AppData\Local\Programs\Python\Python310\lib\os.py", line 215, in makedirs
        makedirs(head, exist_ok=exist_ok)
      File "C:\Users\AnsonVTo\AppData\Local\Programs\Python\Python310\lib\os.py", line 215, in makedirs
        makedirs(head, exist_ok=exist_ok)
      File "C:\Users\AnsonVTo\AppData\Local\Programs\Python\Python310\lib\os.py", line 225, in makedirs
        mkdir(name, mode)
    OSError: [WinError 123] 檔案名稱、目錄名稱或磁碟區標籤語法錯誤。: 'D:\\AI\\SDAI\\webui\\"D:'

---
*** Error completing request
*** Arguments: ('task(8ft5msp5zbf4u2i)', '"D:\\AI\\512-SD"', '"D:\\AI\\SD-kohya"', 512, 512, 'ignore', False, True, False, False, True, 0.5, 0.2, False, 0.9, 0.15, 0.5, False, False, 384, 768, 4096, 409600, 'Maximize area', 0.1) {}
    Traceback (most recent call last):
      File "D:\AI\SDAI\webui\modules\call_queue.py", line 57, in f
        res = list(func(*args, **kwargs))
      File "D:\AI\SDAI\webui\modules\call_queue.py", line 36, in f
        res = func(*args, **kwargs)
      File "D:\AI\SDAI\webui\modules\textual_inversion\ui.py", line 19, in preprocess
        modules.textual_inversion.preprocess.preprocess(*args)
      File "D:\AI\SDAI\webui\modules\textual_inversion\preprocess.py", line 18, in preprocess
        preprocess_work(process_src, process_dst, process_width, process_height, preprocess_txt_action, process_keep_original_size, process_flip, process_split, process_caption, process_caption_deepbooru, split_threshold, overlap_ratio, process_focal_crop, process_focal_crop_face_weight, process_focal_crop_entropy_weight, process_focal_crop_edges_weight, process_focal_crop_debug, process_multicrop, process_multicrop_mindim, process_multicrop_maxdim, process_multicrop_minarea, process_multicrop_maxarea, process_multicrop_objective, process_multicrop_threshold)
      File "D:\AI\SDAI\webui\modules\textual_inversion\preprocess.py", line 140, in preprocess_work
        os.makedirs(dst, exist_ok=True)
      File "C:\Users\AnsonVTo\AppData\Local\Programs\Python\Python310\lib\os.py", line 215, in makedirs
        makedirs(head, exist_ok=exist_ok)
      File "C:\Users\AnsonVTo\AppData\Local\Programs\Python\Python310\lib\os.py", line 215, in makedirs
        makedirs(head, exist_ok=exist_ok)
      File "C:\Users\AnsonVTo\AppData\Local\Programs\Python\Python310\lib\os.py", line 225, in makedirs
        mkdir(name, mode)
    OSError: [WinError 123] 檔案名稱、目錄名稱或磁碟區標籤語法錯誤。: 'D:\\AI\\SDAI\\webui\\"D:'

---
```


### Additional information

_No response_