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
File ~/.pyenv/versions/3.8.10/lib/python3.8/enum.py:663, in Enum.__new__(cls, value)
661 ve_exc = ValueError("%r is not a valid %s" % (value, cls.__name__))
662 if result is None and exc is None:
--> 663 raise ve_exc
664 elif exc is None:
665 exc = TypeError(
666 'error in %s._missing_: returned %r instead of None or a valid member'
667 % (cls.__name__, result)
668 )
ValueError: b'loat' is not a valid OSType
Environment
Python [3.8.10]
Version [v1.9.28]
Additional context
After investigating the issue, it has been discovered that the error occurs when there are layers that require clipping during the Lab to RGB conversion process.
The text was updated successfully, but these errors were encountered:
Since those are the only keys with length greater than 4 (at least at the moment) you can just add a condition to only include length 4 byte strings to fix this, or move the keys to their own separate class.
Describe the bug
When attempting to reopen a psd file saved using psd-tools, an error occurs, preventing successful reopening.
To Reproduce
Steps to reproduce the behavior:
Expected behavior
Both "error_sample.psd" and "sample.psd" should be identical, and "sample.psd" should be successfully reopened without any errors.
File and screenshots
Error file:
error_sample.psd.zip
Error log:
Environment
Additional context
After investigating the issue, it has been discovered that the error occurs when there are layers that require clipping during the Lab to RGB conversion process.
The text was updated successfully, but these errors were encountered: