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
{{ message }}
This repository has been archived by the owner on Sep 20, 2024. It is now read-only.
I get python exceptions while using the Create feature of the Photoshop Publisher.
Expected Behavior:
Instead of throwing lines of code, it should explain to the artist what he did wrong (if he did).
Version
3.17.7-nightly.5
What platform you are running OpenPype on?
Windows
Steps To Reproduce:
Start Photoshop 2024 using Ayon's Launcher.
Draw anything with a simple pen, save the scene.
Start the Publish gui, Create (using the default settings), and Publish, it works without any errors.
Then click on the Reset & discard changes button, and remove the instance (trash icon).
Try to Create again.
I get an error, in a popup (see the output below).
Are there any labels you wish to add?
I have added the relevant labels to the bug report.
Relevant log output:
Traceback (most recent call last):
File "C:\Users\Alain\AppData\Local\Ynput\AYON\addons\openpype_3.17.7\openpype\hosts\photoshop\api\ws_stub.py", line 549, in _to_records
layers_data = json.loads(res)
File "json\__init__.py", line 346, in loads
File "json\decoder.py", line 337, in decode
File "json\decoder.py", line 355, in raw_decode
json.decoder.JSONDecodeError: Expecting value: line 1 column 1 (char 0)
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "C:\Users\Alain\AppData\Local\Ynput\AYON\addons\openpype_3.17.7\openpype\pipeline\create\context.py", line 2059, in _create_with_unified_error
result = creator.create(*args, **kwargs)
File "C:\Users\Alain\AppData\Local\Ynput\AYON\addons\openpype_3.17.7\openpype\hosts\photoshop\plugins\create\create_image.py", line 38, in create
top_level_selected_items = stub.get_selected_layers()
File "C:\Users\Alain\AppData\Local\Ynput\AYON\addons\openpype_3.17.7\openpype\hosts\photoshop\api\ws_stub.py", line 302, in get_selected_layers
return self._to_records(res)
File "C:\Users\Alain\AppData\Local\Ynput\AYON\addons\openpype_3.17.7\openpype\hosts\photoshop\api\ws_stub.py", line 551, in _to_records
raise ValueError("Received broken JSON {}".format(res))
ValueError: Received broken JSON EvalScript error.
### Additional context:
I replicated this bug several times, and now I can't replicate it anymore, which is funny because I didn't change anything.
[cuID:[OP-7549](https://app.clickup.com/t/86bwq53nw)]
The text was updated successfully, but these errors were encountered:
Is there an existing issue for this?
Current Behavior:
I get python exceptions while using the Create feature of the Photoshop Publisher.
Expected Behavior:
Instead of throwing lines of code, it should explain to the artist what he did wrong (if he did).
Version
3.17.7-nightly.5
What platform you are running OpenPype on?
Windows
Steps To Reproduce:
Start Photoshop 2024 using Ayon's Launcher.
Draw anything with a simple pen, save the scene.
Start the Publish gui, Create (using the default settings), and Publish, it works without any errors.
Then click on the Reset & discard changes button, and remove the instance (trash icon).
Try to Create again.
I get an error, in a popup (see the output below).
Are there any labels you wish to add?
Relevant log output:
The text was updated successfully, but these errors were encountered: