mailRe: Font warnings when running GUI tests at MAC computer


Others Months | Index by Date | Thread Index
>>   [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Header


Content

Posted by Edward d'Auvergne on July 23, 2014 - 12:17:
Hi,

Hmmm, interesting.  This are warnings from wxPython, and it appears to
be related to the Mac Framework this is running on, which must be via
EPD.  The solution to the problem is:

https://stackoverflow.com/questions/18291333/coretext-performance-warning-when-creating-a-ctfont

However I don't know if this needs to go into EPD or wxPython, though
I would guess the former.  Here are some more discussions on the
issue:

https://github.com/ariya/phantomjs/issues/11418

Here is the post which makes me suspicious of EPD:

https://stackoverflow.com/questions/22393103/importing-mayavi-from-python-creates-pop-up-with-black-background-on-ui-maveric

Have you seen this before in EPD, though not when using relax?

Regards,

Edward


On 23 July 2014 11:57, Troels Emtekær Linnet <tlinnet@xxxxxxxxx> wrote:
Hi Ed.

I see these warnings when I run the GUI tests on mac:

I don't know if this has your interest.
Best
Troels

=============
= GUI tests =
=============

2014-07-23 11:51:00.440 Python[10104:d13] CoreText performance note:
Client called CTFontCreateWithName() using name ".Lucida Grande UI"
and got font with PostScript name ".LucidaGrandeUI". For best
performance, only use PostScript names when calling this API.
2014-07-23 11:51:00.441 Python[10104:d13] CoreText performance note:
Set a breakpoint on CTFontLogSuboptimalRequest to debug.
2014-07-23 11:51:02.185 Python[10104:d13] CoreText performance note:
Client called CTFontCreateWithName() using name ".Lucida Grande UI"
and got font with PostScript name ".LucidaGrandeUI". For best
performance, only use PostScript names when calling this API.
.     1.40 s for Bmrb.test_bug_20471_structure_present
.     4.44 s for Bmrb.test_rw_bmrb_3_0_model_free
.     2.99 s for Bmrb.test_rw_bmrb_3_1_model_free
.     0.44 s for Bruker.test_bruker_read_noe
.     0.16 s for Bruker.test_bruker_read_r1
2014-07-23 11:51:11.483 Python[10104:d13] CoreText performance note:
Client called CTFontCreateWithName() using name "Times" and got font
with PostScript name "Times-Roman". For best performance, only use
PostScript names when calling this API.
2014-07-23 11:51:11.974 Python[10104:d13] CoreText performance note:
Client called CTFontCreateWithName() using name "Times" and got font
with PostScript name "Times-Roman". For best performance, only use
PostScript names when calling this API.
.     2.64 s for Bruker.test_bug_20152_read_dc_file
.     1.63 s for Ct.test_bug_20674_ct_analysis_failure
.     0.26 s for Ct.test_calc
.     0.52 s for Ct.test_consistency
.     0.03 s for Ct.test_set_value
.     0.07 s for Dead_uf_pages.test_mol_create
.    19.36 s for Frame_order.test_cam_iso_cone
.     2.80 s for General.test_bug_21720_pipe_switching_with_tab_closure
.     0.04 s for Interatomic.test_copy
.     0.57 s for Interatomic.test_manipulation
.     0.28 s for Jw_mapping.test_bug_20674_jw_mapping
.     0.13 s for Jw_mapping.test_calc
.     0.27 s for Jw_mapping.test_mapping
.     0.04 s for Jw_mapping.test_set_value
.     7.77 s for Mf.test_bug_20479_gui_final_pipe
.     2.40 s for Mf.test_bug_21615_incomplete_setup_failure
2014-07-23 11:51:50.539 Python[10104:d13] CoreText performance note:
Client called CTFontCreateWithName() using name "Times" and got font
with PostScript name "Times-Roman". For best performance, only use
PostScript names when calling this API.
2014-07-23 11:51:50.545 Python[10104:d13] CoreText performance note:
Client called CTFontCreateWithName() using name "Times" and got font
with PostScript name "Times-Roman". For best performance, only use
PostScript names when calling this API.
2014-07-23 11:51:50.548 Python[10104:d13] CoreText performance note:
Client called CTFontCreateWithName() using name "Times" and got font
with PostScript name "Times-Roman". For best performance, only use
PostScript names when calling this API.
2014-07-23 11:51:50.549 Python[10104:d13] CoreText performance note:
Client called CTFontCreateWithName() using name "Times" and got font
with PostScript name "Times-Roman". For best performance, only use
PostScript names when calling this API.
.    38.23 s for Mf.test_mf_auto_analysis
.     0.96 s for Mf.test_opendx_s2_te_rex
.     2.41 s for N_state_model.test_5_state_xz
.     0.17 s for N_state_model.test_A_to_chi
.     1.18 s for N_state_model.test_absolute_T
.     1.58 s for N_state_model.test_absolute_rdc
.     0.71 s for N_state_model.test_absolute_rdc_menthol
.     6.11 s for N_state_model.test_align_fit
.     7.96 s for N_state_model.test_align_fit_pcs
.     5.56 s for N_state_model.test_align_fit_pcs_rand
.     7.52 s for N_state_model.test_align_fit_rand
.     3.90 s for N_state_model.test_align_fit_rdc
.     3.25 s for N_state_model.test_align_fit_rdc_rand
.     0.88 s for N_state_model.test_data_copying
.     1.64 s for N_state_model.test_frame_order_align_fit
.     1.90 s for N_state_model.test_lactose_n_state_fixed
.     2.20 s for N_state_model.test_lactose_n_state_population
.     5.41 s for N_state_model.test_mc_sim_failure
.     7.94 s for N_state_model.test_metal_pos_opt
.     9.14 s for N_state_model.test_missing_data
.     2.28 s for N_state_model.test_monte_carlo_sims
.     3.22 s for N_state_model.test_paramag_align_fit
.     5.97 s for N_state_model.test_paramag_centre_fit
.     0.25 s for N_state_model.test_pcs_back_calc
.     0.64 s for N_state_model.test_pcs_fit_true_pos
.     0.57 s for N_state_model.test_pcs_fit_zero_pos
.     0.33 s for N_state_model.test_pcs_to_rdc
.     1.40 s for N_state_model.test_pyrotartaric_anhydride_absT
.     1.21 s for N_state_model.test_pyrotartaric_anhydride_mix
.     1.45 s for N_state_model.test_pyrotartaric_anhydride_rdcs
.     1.26 s for N_state_model.test_rdc_tensor
.     5.78 s for N_state_model.test_stereochem_analysis
.     0.23 s for N_state_model.test_vector_loading1
.     0.22 s for N_state_model.test_vector_loading2
.     0.22 s for N_state_model.test_vector_loading3
2014-07-23 11:54:02.807 Python[10104:d13] CoreText performance note:
Client called CTFontCreateWithName() using name ".Lucida Grande UI"
and got font with PostScript name ".LucidaGrandeUI". For best
performance, only use PostScript names when calling this API.
.     4.43 s for Noe.test_noe_analysis
.     0.03 s for Pipes.test_change_type
.     0.53 s for Pipes.test_pipe_bundle
.     0.04 s for Pipes.test_pipe_create
.     3.21 s for Relax_disp.test_bug_20889_multi_col_peak_list
.     2.98 s for Relax_disp.test_bug_21076_multi_col_peak_list
.    37.41 s for Relax_disp.test_hansen_trunc_data
.     2.77 s for Relax_disp.test_read_spins_from_spectrum
.    33.43 s for Relax_disp.test_tp02_data_to_tp02
.    23.35 s for Rx.test_r1_analysis
.     1.86 s for State.test_bug_20480
.     4.72 s for State.test_load_state_no_gui
.     4.07 s for State.test_old_state_loading
.     0.91 s for User_functions.test_dx_map
.     0.69 s for User_functions.test_spectrum_read_intensities
.     0.55 s for User_functions.test_structure_add_atom
.     0.67 s for User_functions.test_structure_pdb_read
.     0.90 s for User_functions.test_structure_rotate
.     1.14 s for User_functions.test_value_set

----------------------------------------------------------------------
Ran 75 tests in 305.638s




tlinnet@linmac:~$ relax -i



                                  relax repository checkout r24668
                               svn+ssh://svn.gna.org/svn/relax/trunk

                              Molecular dynamics by NMR data analysis

                             Copyright (C) 2001-2006 Edward d'Auvergne
                         Copyright (C) 2006-2014 the relax development team

This is free software which you are welcome to modify and redistribute
under the conditions of the
GNU General Public License (GPL).  This program, including all
modules, is licensed under the GPL
and comes with absolutely no warranty.  For details type 'GPL' within
the relax prompt.

Assistance in using the relax prompt and scripting interface can be
accessed by typing 'help' within
the prompt.

Processor fabric:  Uni-processor.


Hardware information:
    Machine:                 x86_64
    Processor:               i386
    Processor name:          Intel(R) Core(TM) i5-2435M CPU @ 2.40GHz
    Endianness:              little
    Total RAM size:          2048.0 Mb
    Total swap size:         6144.0 Mb

Operating system information:
    System:                  Darwin
    Release:                 13.2.0
    Version:                 Darwin Kernel Version 13.2.0: Thu Apr 17
23:03:13 PDT 2014; root:xnu-2422.100.13~1/RELEASE_X86_64
    Mac version:             10.9.3 (, , ) x86_64
    Distribution:
    Full platform string:    Darwin-13.2.0-x86_64-i386-64bit

Python information:
    Architecture:            64bit
    Python version:          2.7.6
    Python branch:
    Python build:            default, Apr 11 2014 11:55:30
    Python compiler:         GCC 4.2.1 (Apple Inc. build 5666) (dot 3)
    Libc version:
    Python implementation:   CPython
    Python revision:
    Python executable:
/Users/tlinnet/Library/Enthought/Canopy_64bit/User/bin/pythonw
    Python flags:            sys.flags(debug=0, py3k_warning=0,
division_warning=0, division_new=0, inspect=0, interactive=0,
optimize=0, dont_write_bytecode=0, no_user_site=0, no_site=0,
ignore_environment=0, tabcheck=0, verbose=0, unicode=0,
bytes_warning=0, hash_randomization=0)
    Python float info:
sys.float_info(max=1.7976931348623157e+308, max_exp=1024,
max_10_exp=308, min=2.2250738585072014e-308, min_exp=-1021,
min_10_exp=-307, dig=15, mant_dig=53, epsilon=2.220446049250313e-16,
radix=2, rounds=1)
    Python module path:      ['/Users/tlinnet/software/relax_trunk',
'/Applications/Canopy.app/appdata/canopy-1.4.0.1938.macosx-x86_64/Canopy.app/Contents/lib/python27.zip',
'/Applications/Canopy.app/appdata/canopy-1.4.0.1938.macosx-x86_64/Canopy.app/Contents/lib/python2.7',
'/Applications/Canopy.app/appdata/canopy-1.4.0.1938.macosx-x86_64/Canopy.app/Contents/lib/python2.7/plat-darwin',
'/Applications/Canopy.app/appdata/canopy-1.4.0.1938.macosx-x86_64/Canopy.app/Contents/lib/python2.7/plat-mac',
'/Applications/Canopy.app/appdata/canopy-1.4.0.1938.macosx-x86_64/Canopy.app/Contents/lib/python2.7/plat-mac/lib-scriptpackages',
'/Applications/Canopy.app/appdata/canopy-1.4.0.1938.macosx-x86_64/Canopy.app/Contents/lib/python2.7/lib-tk',
'/Applications/Canopy.app/appdata/canopy-1.4.0.1938.macosx-x86_64/Canopy.app/Contents/lib/python2.7/lib-old',
'/Applications/Canopy.app/appdata/canopy-1.4.0.1938.macosx-x86_64/Canopy.app/Contents/lib/python2.7/lib-dynload',
'/Users/tlinnet/Library/Enthought/Canopy_64bit/User/lib/python2.7/site-packages',
'/Users/tlinnet/Library/Enthought/Canopy_64bit/User/lib/python2.7/site-packages/PIL',
'/Applications/Canopy.app/appdata/canopy-1.4.0.1938.macosx-x86_64/Canopy.app/Contents/lib/python2.7/site-packages']

Python packages and modules (most are optional):

Name               Installed    Version                        Path
minfx              True         1.0.8
/Users/tlinnet/Library/Enthought/Canopy_64bit/User/lib/python2.7/site-packages/minfx
bmrblib            True         1.0.3
/Users/tlinnet/Library/Enthought/Canopy_64bit/User/lib/python2.7/site-packages/bmrblib
numpy              True         1.8.0
/Users/tlinnet/Library/Enthought/Canopy_64bit/User/lib/python2.7/site-packages/numpy
scipy              True         0.13.3
/Users/tlinnet/Library/Enthought/Canopy_64bit/User/lib/python2.7/site-packages/scipy
wxPython           True         2.9.2.4 osx-cocoa (classic)
/Users/tlinnet/Library/Enthought/Canopy_64bit/User/lib/python2.7/site-packages/wx
matplotlib         True         1.3.1
/Users/tlinnet/Library/Enthought/Canopy_64bit/User/lib/python2.7/site-packages/matplotlib
mpi4py             False
epydoc             True         3.0.1
/Users/tlinnet/Library/Enthought/Canopy_64bit/User/lib/python2.7/site-packages/epydoc
optparse           True         1.5.3
/Applications/Canopy.app/appdata/canopy-1.4.0.1938.macosx-x86_64/Canopy.app/Contents/lib/python2.7/optparse.pyc
readline           True
/Users/tlinnet/Library/Enthought/Canopy_64bit/User/lib/python2.7/site-packages/readline.so
profile            True
/Applications/Canopy.app/appdata/canopy-1.4.0.1938.macosx-x86_64/Canopy.app/Contents/lib/python2.7/profile.pyc
bz2                True
/Applications/Canopy.app/appdata/canopy-1.4.0.1938.macosx-x86_64/Canopy.app/Contents/lib/python2.7/lib-dynload/bz2.so
gzip               True
/Applications/Canopy.app/appdata/canopy-1.4.0.1938.macosx-x86_64/Canopy.app/Contents/lib/python2.7/gzip.pyc
io                 True
/Applications/Canopy.app/appdata/canopy-1.4.0.1938.macosx-x86_64/Canopy.app/Contents/lib/python2.7/io.pyc
xml                True         0.8.4 (internal)
/Applications/Canopy.app/appdata/canopy-1.4.0.1938.macosx-x86_64/Canopy.app/Contents/lib/python2.7/xml/__init__.pyc
xml.dom.minidom    True
/Applications/Canopy.app/appdata/canopy-1.4.0.1938.macosx-x86_64/Canopy.app/Contents/lib/python2.7/xml/dom/minidom.pyc

relax information:
    Version:                 repository checkout r24668
svn+ssh://svn.gna.org/svn/relax/trunk
    Processor fabric:        Uni-processor.

relax C modules:

Module                        Compiled    File type
                                  Path
target_functions.relax_fit    True        2-way ['Mach-O 64-bit bundle
x86_64', 'Mach-O bundle i386']
/Users/tlinnet/software/relax_trunk/target_functions/relax_fit.so



----

_______________________________________________
relax (http://www.nmr-relax.com)

This is the relax-devel mailing list
relax-devel@xxxxxxx

To unsubscribe from this list, get a password
reminder, or change your subscription options,
visit the list information page at
https://mail.gna.org/listinfo/relax-devel



Related Messages


Powered by MHonArc, Updated Wed Jul 23 16:00:16 2014