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
[env]
Windows 10 22H2 64-bit
Python 3.11.0
normcap 0.3.14
I just updated normcap via pip and it failed to launch.
[log]
Traceback (most recent call last):
File "<frozen runpy>", line 198, in _run_module_as_main
File "<frozen runpy>", line 88, in _run_code
File "C:\Users\explo\scoop\apps\python\current\Scripts\normcap.exe\__main__.py", line 4, in <module>
File "C:\Users\explo\scoop\apps\python\current\Lib\site-packages\normcap\app.py", line 13, in <module>
from normcap.gui import system_info, utils
File "C:\Users\explo\scoop\apps\python\current\Lib\site-packages\normcap\gui\system_info.py", line 14, in <module>
from normcap.gui.models import DesktopEnvironment, Rect, Screen
File "C:\Users\explo\scoop\apps\python\current\Lib\site-packages\normcap\gui\models.py", line 147, in <module>
@dataclass()
^^^^^^^^^^^
File "C:\Users\explo\scoop\apps\python\current\Lib\dataclasses.py", line 1211, in wrap
return _process_class(cls, init, repr, eq, order, unsafe_hash,
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\explo\scoop\apps\python\current\Lib\dataclasses.py", line 959, in _process_class
cls_fields.append(_get_field(cls, name, type, kw_only))
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\explo\scoop\apps\python\current\Lib\dataclasses.py", line 816, in _get_field
raise ValueError(f'mutable default {type(f.default)} for field '
ValueError: mutable default <class 'PySide6.QtGui.QImage'> for field image is not allowed: use default_factory
The text was updated successfully, but these errors were encountered:
[env]
Windows 10 22H2 64-bit
Python 3.11.0
normcap 0.3.14
I just updated
normcap
viapip
and it failed to launch.[log]
The text was updated successfully, but these errors were encountered: