-
Notifications
You must be signed in to change notification settings - Fork 48
Closed
Description
Issue
What happened?
When trying to load the creator tool it fails to run because of the following error:
TypeError: setPropertyName(self, Union[QByteArray, bytes, bytearray]): argument 1 has unexpected type 'str'However, when fixing that code by turning it into setPropertyName(b"value") with the b prefix then it resulted in a crash because of an additonal bug.
TypeError: unable to convert a Python 'NoneType' object to a C++ 'QColor' instance
It fails because of this line introduced with #448. It's easily resolved by initializing the value with a valid QColor as proposed on Gitter
To Reproduce
- Run Python 3+ with PyQt5
- Run code:
from avalon.tools import creator
creator.show()Additional context
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels