Opened 9 years ago

Closed 9 years ago

#337 closed defect (fixed)

mousemodes breaks nogui mode

Reported by: Greg Couch Owned by: Tom Goddard
Priority: blocker Milestone: Core API Complete
Component: Window Toolkit Version:
Keywords: Cc: Eric Pettersen, Conrad Huang
Blocked By: Blocking:
Notify when closed: Platform: all
Project: ChimeraX

Description

importing mousemodes fails due to the missing window_sys variable when ChimeraX is run in nogui mode. It worked before because only one gui toolkit was referred to and its packages were present. Ideally, none of the mousemode related stuff should be available in nogui mode so we can have a (server) distribution that doesn't have a gui toolkit in it.

Change History (3)

comment:1 by Greg Couch, 9 years ago

Summary: mousemodes break nogui modemousemodes breaks nogui mode

comment:2 by Greg Couch, 9 years ago

Forgot to add that the change breaks the ChimeraX builds because 'ChimeraX -m pip install ...' no longer works.

comment:3 by Tom Goddard, 9 years ago

Resolution: fixed
Status: newclosed

Fixed.

Made window_sys = None in nogui mode and made mouse modes code not import qt or wx in that case.

Note: See TracTickets for help on using tickets.