Join GitHub today
GitHub is home to over 20 million developers working together to host and review code, manage projects, and build software together.
Warning message prior to fc-list command #5640
Conversation
tacaswell
added the
needs_review
label
Dec 9, 2015
mdboom
added this to the
Critical bugfix release (1.5.1)
milestone
Dec 9, 2015
|
|
|
Eventually #5414 will fix this altogether, but this is fine for now. |
|
I would change the text to something like "Building Matplotlib font cache by running fc-list. This could take a few minutes." |
|
Maybe "Matplotlib is building {cachename} using fc-list. This may take a moment". I prefer "moment" over "minutes" because it is ambiguous and thus a bit future-proof. Each person's perception of a moment is shaped by the computer they are using, so it is a bit more flexible, too. |
tacaswell
added a commit
that referenced
this pull request
Dec 23, 2015
|
|
tacaswell |
6e684d1
|
tacaswell
merged commit 6e684d1
into matplotlib:master
Dec 23, 2015
tacaswell
removed the
needs_review
label
Dec 23, 2015
tacaswell
added a commit
that referenced
this pull request
Dec 23, 2015
|
|
tacaswell |
c4a94e5
|
tacaswell
added a commit
that referenced
this pull request
Dec 23, 2015
|
|
tacaswell |
0823022
|
pelegm
commented
Jan 11, 2016
|
One thing I don't understand: why is it giving this warning every time I load matplotlib? Does it build the font cache every time? |
|
It should only be rebuilding each time if it doesn't have write permissions to |
pelegm
commented
Jan 11, 2016
|
@mdboom, thanks for your quick reply. I am using Ubuntu, my user owns |
|
Do you own that file too and have user write access to it? |
pelegm
commented
Jan 11, 2016
|
Sure:
(owner write access...) |
|
Which version are you using 1.5.x and 2.x uses a binary font cache but I would suggest moving those files out of the way and try again if you are using 1.5.1 or on the 2.x branch. |
pelegm
commented
Jan 11, 2016
|
I am using matplotlib 1.5.1, just downloaded via pip. I have removed the files as you suggested, and after they were created again (during the first time I've imported |
ryanfreckleton
commented
Feb 1, 2016
|
I run into similar behavior when opening both my system matplotlib of 1.3.1 and my installed version of 1.5.1. Apparently the older file format with matplotlib 1.3.1 always causes matplotlib 1.5.1 to rescan, but not update the file. |
jenshnielsen
referenced
this pull request
Apr 12, 2016
Closed
Import hangs when importing pyplot #2919
RichardoC
commented
Apr 12, 2016
|
I'm glad this warning is here as it means I know to wait for it to run. @pelegm I found that if I deleted everything in ~/.matplotlib (I'm on OSX) it generated once and I've not had the message since. |
joslloand
added a commit
to ambisonictoolkit/atk-sc3
that referenced
this pull request
Jul 15, 2016
|
|
joslloand |
4f6d2fc
|
joslloand
added a commit
to supercollider/sc3-plugins
that referenced
this pull request
Jul 16, 2016
|
|
joslloand |
604cea3
|
mtmccrea
pushed a commit
to mtmccrea/migrate-atk-sc-src
that referenced
this pull request
Nov 30, 2016
|
|
joslloand |
864b626
|
notmatthancock commentedDec 9, 2015
When the font cache is first created,
fc-listmay take up to several minutes on some machines. No indication is given that this is being done. This adds a warning so the user is aware.#2919