You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The issue exists on a clean installation of Fooocus
The issue exists in the current version of Fooocus
The issue has not been reported before recently
The issue has been reported before but has not been fixed yet
What happened?
Error when applying metadata (a1111) with LoRAs turned off.
Steps to reproduce the problem
Turn off the LoRAs switch.
Create an image with metadata saved in a1111 format.
Save the image.
View metadata and apply it.
What should have happened?
Metadata had to be imported.
What browsers do you use to access Fooocus?
Google Chrome
Where are you running Fooocus?
Cloud (Google Colab)
What operating system are you using?
No response
Console logs
Traceback (most recent call last):
File "/usr/local/lib/python3.10/dist-packages/gradio/routes.py", line 488, in run_predict
output = await app.get_blocks().process_api(
File "/usr/local/lib/python3.10/dist-packages/gradio/blocks.py", line 1431, in process_api
result = await self.call_function(
File "/usr/local/lib/python3.10/dist-packages/gradio/blocks.py", line 1103, in call_function
prediction = await anyio.to_thread.run_sync(
File "/usr/local/lib/python3.10/dist-packages/anyio/to_thread.py", line 33, in run_sync
return await get_asynclib().run_sync_in_worker_thread(
File "/usr/local/lib/python3.10/dist-packages/anyio/_backends/_asyncio.py", line 877, in run_sync_in_worker_thread
return await future
File "/usr/local/lib/python3.10/dist-packages/anyio/_backends/_asyncio.py", line 807, in run
result = context.run(func, *args)
File "/usr/local/lib/python3.10/dist-packages/gradio/utils.py", line 707, in wrapper
response = f(*args, **kwargs)
File "/content/Fooocus/webui.py", line 637, in trigger_metadata_import
parsed_parameters = metadata_parser.parse_json(parameters)
File "/content/Fooocus/modules/meta_parser.py", line 385, in parse_json
lora_name, lora_hash, lora_weight = lora.split(': ')
ValueError: not enough values to unpack (expected 3, got 1)
Additional information
No response
The text was updated successfully, but these errors were encountered:
poor7
changed the title
[Bug]: Error when applying metadata (a1111) with lore turned off.
[Bug]: Error when applying metadata (a1111) with LoRAs turned off.
Mar 17, 2024
Checklist
What happened?
Error when applying metadata (a1111) with LoRAs turned off.
![snap2](https://private-user-images.githubusercontent.com/154618384/313445711-2d43ace2-6281-4b8a-9663-b5478094df4f.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MjAzNzY4NjAsIm5iZiI6MTcyMDM3NjU2MCwicGF0aCI6Ii8xNTQ2MTgzODQvMzEzNDQ1NzExLTJkNDNhY2UyLTYyODEtNGI4YS05NjYzLWI1NDc4MDk0ZGY0Zi5wbmc_WC1BbXotQWxnb3JpdGhtPUFXUzQtSE1BQy1TSEEyNTYmWC1BbXotQ3JlZGVudGlhbD1BS0lBVkNPRFlMU0E1M1BRSzRaQSUyRjIwMjQwNzA3JTJGdXMtZWFzdC0xJTJGczMlMkZhd3M0X3JlcXVlc3QmWC1BbXotRGF0ZT0yMDI0MDcwN1QxODIyNDBaJlgtQW16LUV4cGlyZXM9MzAwJlgtQW16LVNpZ25hdHVyZT03YWM2NTQ3MjgwNzZjNTM0ZDg1NmFjMTA4N2IzMmUyOGUzODBkMzAwMTA2ODZiMTljYWM2NjQxOTI5Y2ZiM2JkJlgtQW16LVNpZ25lZEhlYWRlcnM9aG9zdCZhY3Rvcl9pZD0wJmtleV9pZD0wJnJlcG9faWQ9MCJ9.Ps7rYYVkRPZpu9FU10i4JuxyzsdNDmfvHtcmpRAWlLw)
Steps to reproduce the problem
What should have happened?
Metadata had to be imported.
What browsers do you use to access Fooocus?
Google Chrome
Where are you running Fooocus?
Cloud (Google Colab)
What operating system are you using?
No response
Console logs
Additional information
No response
The text was updated successfully, but these errors were encountered: