Opened 6 years ago

Closed 6 years ago

#2156 closed defect (fixed)

Qt initialization

Reported by: Conrad Huang Owned by: Greg Couch
Priority: moderate Milestone:
Component: Graphics Version:
Keywords: Cc:
Blocked By: Blocking:
Notify when closed: Platform: all
Project: ChimeraX

Description

When I run "debug test", output from one of the tests is:

> interfaces #1
interfaces #1
Cannot find consistent set of bond orders for ring system containing atom NC in residue HEM /C:142
5 buried areas: B A 1049, D C 974, D A 844, B C 837, C A 362
Attribute Qt::AA_EnableHighDpiScaling must be set before QCoreApplication is created.
Attribute Qt::AA_EnableHighDpiScaling must be set before QCoreApplication is created.
E:\chimerax\ChimeraX.app\bin\lib\site-packages\networkx\drawing\nx_pylab.py:579: MatplotlibDeprecationWarning: 
The iterable function was deprecated in Matplotlib 3.1 and will be removed in 3.3. Use np.iterable instead.
if not cb.iterable(width):

I think this is the first use of matplotlib in the test suite and I guess it's trying to handle a "high DPI" device? Anyway, if there is anything easy to to fix this, can you please go ahead and change it.

Change History (3)

comment:1 by Greg Couch, 6 years ago

Status: assignedfeedback

This might be a problem with the test. Isn't "debug test" in nogui mode? So there should be no QCoreApplication created.

comment:2 by Conrad Huang, 6 years ago

I typed "debug test" into the command line in full GUI mode and got that result.

comment:3 by Greg Couch, 6 years ago

Resolution: fixed
Status: feedbackclosed

That bug appears to be fixed.

Note: See TracTickets for help on using tickets.