﻿id	summary	reporter	owner	description	type	status	priority	milestone	component	version	resolution	keywords	cc	blockedby	blocking	notify_on_close	platform	project
10388	"ChimeraX 1.7 won't start when initial window size setting is ""maximized"""	matt.jaremko@…	Tom Goddard	"{{{
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.

}}}
"	defect	closed	normal		UI		fixed		chimera-programmers				all	ChimeraX
