Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Windows] Assertion failed on launch #447

Open
Acrivec opened this issue Oct 22, 2024 · 2 comments
Open

[Windows] Assertion failed on launch #447

Acrivec opened this issue Oct 22, 2024 · 2 comments

Comments

@Acrivec
Copy link

Acrivec commented Oct 22, 2024

Describe the bug
A clear and concise description of what the bug is.
image
after OK:
image
after 2-3 similar OK:
image
after OK:
image
Then it's stuck on loading screen
image
..untill killing process.

To Reproduce
Steps to reproduce the behavior:
First launch after installing.

Versions (please complete the following information):

  • OS: Windows 11 22631.4317
  • Python Version: 3.10.6 installed
  • ArgyllCMS Version: [e.g. 3.0.2, 3.1.0, 3.2.0]
  • DisplayCAL Version: [e.g. 3.9.12]

Additional context

[Window Title]
DisplayCAL

[Main Instruction]
C++ assertion "which == State_Normal" failed at ..\..\src\msw\anybutton.cpp(819) in wxAnyButton::DoSetBitmap(): Must set normal bitmap with the new size first

[Content]

Traceback (most recent call last):
  File "DisplayCAL\xh_filebrowsebutton.pyc", line 28, in DoCreateResource
  File "DisplayCAL\wxwindows.pyc", line 3185, in __init__
  File "wx\lib\filebrowsebutton.pyc", line 75, in __init__
  File "DisplayCAL\wxwindows.pyc", line 3334, in createDialog
  File "DisplayCAL\wxwindows.pyc", line 3310, in createBrowseButton
  File "DisplayCAL\wxfixes.pyc", line 1200, in __init__
  File "DisplayCAL\wxfixes.pyc", line 990, in set_bitmap_labels
wx._core.wxAssertionError: C++ assertion "which == State_Normal" failed at ..\..\src\msw\anybutton.cpp(819) in wxAnyButton::DoSetBitmap(): Must set normal bitmap with the new size first


WARNING: Your version of wxPython (4.2.1) is outdated and no longer supported. You should consider updating to wxPython 4.2.2 or newer.

[OK]

then

[Window Title]
DisplayCAL

[Main Instruction]
C++ assertion "which == State_Normal" failed at ..\..\src\msw\anybutton.cpp(819) in wxAnyButton::DoSetBitmap(): Must set normal bitmap with the new size first

[Content]
Traceback (most recent call last):
  File "DisplayCAL\xh_filebrowsebutton.pyc", line 28, in DoCreateResource
  File "DisplayCAL\wxwindows.pyc", line 3185, in __init__
  File "wx\lib\filebrowsebutton.pyc", line 75, in __init__
  File "DisplayCAL\wxwindows.pyc", line 3334, in createDialog
  File "DisplayCAL\wxwindows.pyc", line 3310, in createBrowseButton
  File "DisplayCAL\wxfixes.pyc", line 1200, in __init__
  File "DisplayCAL\wxfixes.pyc", line 990, in set_bitmap_labels
wx._core.wxAssertionError: C++ assertion "which == State_Normal" failed at ..\..\src\msw\anybutton.cpp(819) in wxAnyButton::DoSetBitmap(): Must set normal bitmap with the new size first


WARNING: Your version of wxPython (4.2.1) is outdated and no longer supported. You should consider updating to wxPython 4.2.2 or newer.

[OK]

after 2-3x ok

[Window Title]
DisplayCAL

[Main Instruction]
C++ assertion ""Assert failure"" failed at ..\..\src\common\sizer.cpp(678) in wxSizerItem::SetDimension(): can't set size of uninitialized sizer item

[Content]
Traceback (most recent call last):
  File "wx\core.pyc", line 3427, in <lambda>
  File "DisplayCAL\display_cal.pyc", line 19520, in setup_frame
  File "DisplayCAL\display_cal.pyc", line 1874, in __init__
  File "DisplayCAL\display_cal.pyc", line 2079, in init_frame
wx._core.wxAssertionError: C++ assertion ""Assert failure"" failed at ..\..\src\common\sizer.cpp(678) in wxSizerItem::SetDimension(): can't set size of uninitialized sizer item


WARNING: Your version of wxPython (4.2.1) is outdated and no longer supported. You should consider updating to wxPython 4.2.2 or newer.
@KubaT1987
Copy link

I get the exact same error messages.

Windows 11 Pro 23H2 and 24H2.

@Hubedge
Copy link

Hubedge commented Dec 1, 2024

Running it in compatible mode (Windows 7) seem to workaround the issue

Edit: while it launches, it recognize my 4k monitor as 1080p, so I'm not sure if it's running as expected

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants