Closed ElizaPottinger closed 4 months ago
Hey, when I use multiple search terms with gelbooru I am getting this message in the CLI and nothing is added to the prompt.
Using gelbooru https://gelbooru.com/index.php?page=dapi&s=post&q=index&json=1&limit=100&pid=70&tags=-animated+1girl+hug+pov *** Error running before_process: E:\Stability Matrix\Data\Packages\Stable Diffusion WebUI Forge\extensions\sd-webui-ranbooru\scripts\ranbooru.py Traceback (most recent call last): File "E:\Stability Matrix\Data\Packages\Stable Diffusion WebUI Forge\modules\scripts.py", line 795, in before_process script.before_process(p, *script_args) File "E:\Stability Matrix\Data\Packages\Stable Diffusion WebUI Forge\extensions\sd-webui-ranbooru\scripts\ranbooru.py", line 654, in before_process for post in data['post']: KeyError: 'post'
it means you have too many pages selected. you have to turn this setting down until it returns search results:
Awesome. Thanks for the reply!
Hey, when I use multiple search terms with gelbooru I am getting this message in the CLI and nothing is added to the prompt.
Using gelbooru https://gelbooru.com/index.php?page=dapi&s=post&q=index&json=1&limit=100&pid=70&tags=-animated+1girl+hug+pov *** Error running before_process: E:\Stability Matrix\Data\Packages\Stable Diffusion WebUI Forge\extensions\sd-webui-ranbooru\scripts\ranbooru.py Traceback (most recent call last): File "E:\Stability Matrix\Data\Packages\Stable Diffusion WebUI Forge\modules\scripts.py", line 795, in before_process script.before_process(p, *script_args) File "E:\Stability Matrix\Data\Packages\Stable Diffusion WebUI Forge\extensions\sd-webui-ranbooru\scripts\ranbooru.py", line 654, in before_process for post in data['post']: KeyError: 'post'