Opened 22 months ago
Closed 22 months ago
#10388 closed defect (fixed)
ChimeraX 1.7 won't start when initial window size setting is "maximized"
Reported by: | Owned by: | Tom Goddard | |
---|---|---|---|
Priority: | normal | Milestone: | |
Component: | UI | Version: | |
Keywords: | Cc: | chimera-programmers | |
Blocked By: | Blocking: | ||
Notify when closed: | Platform: | all | |
Project: | ChimeraX |
Description
Hello, After installing ChimeraX 1.7, the GUI will not open. ChimeraX 1.6.1 is fine: ChimeraX 1.6.1 succesful open from command line: → /Applications/ChimeraX-1.6.1.app/Contents/bin/ChimeraX qt.qpa.openglcontext: Could not find virtual screen for QCocoaScreen(0x6000023fc630, "LEN T24i-10 (1)", QRect(0,0 1920x1080), dpr=1, displayId=4128833, <NSScreen: 0x6000030ff5a0>) with displayId 4128833 qt.qpa.openglcontext: Could not find virtual screen for QCocoaScreen(0x6000023fc630, "LEN T24i-10 (1)", QRect(0,0 1920x1080), dpr=1, displayId=4128833, <NSScreen: 0x6000030ff5a0>) with displayId 4128833 NOTE: available bundle cache has not been initialized yet WARNING: Could not find virtual screen for QCocoaScreen(0x6000023fc630, "LEN T24i-10 (1)", QRect(0,0 1920x1080), dpr=1, displayId=4128833, <NSScreen: 0x6000030ff5a0>) with displayId 4128833 WARNING: Could not find virtual screen for QCocoaScreen(0x6000023fc630, "LEN T24i-10 (1)", QRect(0,0 1920x1080), dpr=1, displayId=4128833, <NSScreen: 0x6000030ff5a0>) with displayId 4128833 WARNING: Could not find virtual screen for QCocoaScreen(0x6000023fc630, "LEN T24i-10 (1)", QRect(0,0 1920x1080), dpr=1, displayId=4128833, <NSScreen: 0x6000030ff5a0>) with displayId 4128833 ChimeraX 1.7 failed open from command line: → /Applications/ChimeraX-1.7.app/Contents/bin/ChimeraX qt.qpa.openglcontext: Could not find virtual screen for QCocoaScreen(0x600002970160, "LEN T24i-10 (1)", QRect(0,0 1920x1080), dpr=1, displayId=4128833, <NSScreen: 0x600003a763a0>) with displayId 4128833 qt.qpa.openglcontext: Could not find virtual screen for QCocoaScreen(0x600002970160, "LEN T24i-10 (1)", QRect(0,0 1920x1080), dpr=1, displayId=4128833, <NSScreen: 0x600003a763a0>) with displayId 4128833 NOTE: available bundle cache has not been initialized yet NOTE: Traceback (most recent call last): File "<frozen runpy>", line 198, in _run_module_as_main File "<frozen runpy>", line 88, in _run_code File "/Applications/ChimeraX-1.7.app/Contents/Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/site- packages/chimerax/core/__main__.py", line 1069, in <module> exit_code = init(sys.argv) ^^^^^^^^^^^^^^ File "/Applications/ChimeraX-1.7.app/Contents/Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/site- packages/chimerax/core/__main__.py", line 722, in init sess.ui.build() File "/Applications/ChimeraX-1.7.app/Contents/Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/site- packages/chimerax/ui/gui.py", line 191, in build self.main_window = mw = MainWindow(self, self.session) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Applications/ChimeraX-1.7.app/Contents/Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/site- packages/chimerax/ui/gui.py", line 425, in __init__ if width > max_size: ^^^^^ UnboundLocalError: cannot access local variable 'width' where it is not associated with a value BUG: UnboundLocalError: cannot access local variable 'width' where it is not associated with a value File "/Applications/ChimeraX-1.7.app/Contents/Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/site- packages/chimerax/ui/gui.py", line 425, in __init__ if width > max_size: ^^^^^ _See log for complete Python traceback._ Can you resolve this issue? Thank you, Matt Matt J. Jaremko, Ph.D. (He|Him) Senior Scientist | Protein & Structural Chemistry Merck Research Labs | 126 E Lincoln Ave | 80B 1012 | Rahway, NJ 07065 Cell: 808.741.6277 | Email: matt.jaremko@merck.com<mailto:matt.jaremko@merck.com> This e-mail message, together with any attachments, contains information of Merck & Co., Inc. (126 East Lincoln Ave., P.O. Box 2000, Rahway, NJ USA 07065) and/or its affiliates, that may be confidential, proprietary copyrighted and/or legally privileged. (Direct contact information for affiliates is available at - Contact us - MSD<https://www.msd.com/contact-us/>.) It is intended solely for the use of the individual or entity named on this message. If you are not the intended recipient, and have received this message in error, please notify us immediately by reply e-mail and then delete it from your system.
Change History (3)
comment:1 by , 22 months ago
Cc: | added |
---|---|
Component: | Unassigned → UI |
Owner: | set to |
Platform: | → all |
Project: | → ChimeraX |
Status: | new → accepted |
comment:2 by , 22 months ago
Owner: | changed from | to
---|---|
Status: | accepted → assigned |
Summary: | ChimeraX 1.7 won't open → ChimeraX 1.7 won't start when initial window size setting is "maximized" |
Fixed in daily build (Dec 22, 2023) and 1.7.1 release (if and when it is made).
This bug happens when the "Initial overall window size" setting in ChimeraX has been changed to "maximized". To work around this bug in ChimeraX 1.7, start ChimeraX 1.6.1 and change the Initial overall window size setting to a different choice (e.g. "last used") and save that setting. Then ChimeraX 1.7 will start.
comment:3 by , 22 months ago
Resolution: | → fixed |
---|---|
Status: | assigned → closed |
Note:
See TracTickets
for help on using tickets.
'width' used before set