Opened 9 years ago

Closed 9 years ago

Last modified 9 years ago

#48883 closed defect (duplicate)

cairo: The function ‘CGFontGetGlyphPath’ is obsolete and will be removed in an upcoming update...

Reported by: eerikain@… Owned by: ryandesign (Ryan Carsten Schmidt)
Priority: Normal Milestone:
Component: ports Version: 2.3.3
Keywords: Cc:
Port: cairo

Description (last modified by ryandesign (Ryan Carsten Schmidt))

Hi!

I am running R (a free software for statistical computing, URL http://www.R-project.org/) on my MacBook Pro (OS X Yosemite, ver. 10.10.5) and using its package “semPLS” to estimate the structural equation model by Monecke & Leisch (2012) (see the enclosed article). Everything works well until I try to obtain graphical representations of the results with the function “pathDiagram()” that creates a graph in the DOT language (Gansner et al. 2006). A prerequisite for this is that Graphviz (AT&T Research 2009) is available on the system; I did install it following the instructions given by MacAppStore.org.

The R command and the following comment by the estimator are as follows:

R > pathDiagram(ecsi, file = "ecsiStructure", full = FALSE, edge.labels = "both", output.type = "graphics", digits = 2)

Running  dot -Tpdf -o ecsiStructure.pdf  ecsiStructure.dot 

The error message that I received is as follows:

Sep 16 12:15:48 Kalles-MBP dot[704] <Error>: The function ‘CGFontGetGlyphPath’ is obsolete and will be removed in an upcoming update. Unfortunately, this application, or a library it uses, is using this obsolete function, and is thereby contributing to an overall degradation of system performance.
Sep 16 12:15:48 Kalles-MBP dot[704] <Error>: The function ‘CGFontGetGlyphPaths’ is obsolete and will be removed in an upcoming update. Unfortunately, this application, or a library it uses, is using this obsolete function, and is thereby contributing to an overall degradation of system performance.

I would be very grateful if you could guide me to solve the problem.

Best regards,

Kalle E.

Attachments (2)

Monecke_&_Leisch_2012.pdf (1.1 MB) - added by eerikain@… 9 years ago.
Article by Monecke & Leisch (2012) on semPLS
Install Graphviz on Mac OSX | Mac App Store.pdf (49.9 KB) - added by eerikain@… 9 years ago.
Instructions for installing Graphviz on Mac OSX

Download all attachments as: .zip

Change History (7)

Changed 9 years ago by eerikain@…

Attachment: Monecke_&_Leisch_2012.pdf added

Article by Monecke & Leisch (2012) on semPLS

Changed 9 years ago by eerikain@…

Instructions for installing Graphviz on Mac OSX

comment:1 Changed 9 years ago by ryandesign (Ryan Carsten Schmidt)

Cc: eerikain@… removed
Description: modified (diff)
Owner: changed from macports-tickets@… to ryandesign@…
Port: cairo added
Summary: dot[704] <Error>: The function ‘CGFontGetGlyphPath’ is obsolete and will be removed in an upcoming update...cairo: The function ‘CGFontGetGlyphPath’ is obsolete and will be removed in an upcoming update...

Are you saying that in addition to seeing these messages about CGFontGetGlyphPath/CGFontGetGlyphPaths, your graph is not being created, when Graphviz is run via R? If so, do you see that same problem if you run the dot program yourself, with valid input and arguments?

I am aware that these messages get printed by programs that use cairo (such as Graphviz), but to my knowledge they are just informational; they should not affect the functionality of the software at all. See #45599, of which this may be a duplicate.

comment:2 in reply to:  description ; Changed 9 years ago by ryandesign (Ryan Carsten Schmidt)

Replying to eerikain@…:

A prerequisite for this is that Graphviz (AT&T Research 2009) is available on the system; I did install it following the instructions given by MacAppStore.org.

I've never heard of MacAppStore.org before but the domain is registered in India and does not appear to be affiliated with Apple Inc. so I would be inclined to advise you to stay away from that web site. The PDF you attached gives instructions for installing Graphviz using Homebrew. Homebrew is a competing package manager. You should only use a single package manager on your computer, otherwise they will probably eventually interfere with one another. Decide whether you want to use MacPorts or Homebrew, and completely uninstall the other. If you want to install something from Apple's Mac App Store, you should open the App Store application in your Applications folder (but Graphviz is not available from Apple's Mac App Store yet). If you want to install Graphviz using MacPorts, run "sudo port install graphviz" (for the command line programs, libraries and so forth) or "sudo port install graphviz-gui" (for the graphical user interface).

comment:3 in reply to:  1 Changed 9 years ago by eerikain@…

Replying to ryandesign@…:

Are you saying that in addition to seeing these messages about CGFontGetGlyphPath/CGFontGetGlyphPaths, your graph is not being created, when Graphviz is run via R? If so, do you see that same problem if you run the dot program yourself, with valid input and arguments?

I am aware that these messages get printed by programs that use cairo (such as Graphviz), but to my knowledge they are just informational; they should not affect the functionality of the software at all. See #45599, of which this may be a duplicate.

Many thanks for your prompt reply and comments on my inquiry. Indeed, the message generated and printed by R and its semPLS package - that uses cairo/Graphviz - was just informational and you expected. It really didn’t affect the functionality of the software. Thus, the problem "fixed itself".

comment:4 Changed 9 years ago by ryandesign (Ryan Carsten Schmidt)

Resolution: duplicate
Status: newclosed

comment:5 in reply to:  2 Changed 9 years ago by eerikain@…

Replying to ryandesign@…:

Replying to eerikain@…:

A prerequisite for this is that Graphviz (AT&T Research 2009) is available on the system; I did install it following the instructions given by MacAppStore.org.

I've never heard of MacAppStore.org before but the domain is registered in India and does not appear to be affiliated with Apple Inc. so I would be inclined to advise you to stay away from that web site. The PDF you attached gives instructions for installing Graphviz using Homebrew. Homebrew is a competing package manager. You should only use a single package manager on your computer, otherwise they will probably eventually interfere with one another. Decide whether you want to use MacPorts or Homebrew, and completely uninstall the other. If you want to install something from Apple's Mac App Store, you should open the App Store application in your Applications folder (but Graphviz is not available from Apple's Mac App Store yet). If you want to install Graphviz using MacPorts, run "sudo port install graphviz" (for the command line programs, libraries and so forth) or "sudo port install graphviz-gui" (for the graphical user interface).

Thank you for your message and information. The Graphviz was not available from Apple's Mac App Store and that was the only reason why I decided to install it from another package manager. Next, I shall, however, try to install Graphviz using MacPorts, as you suggested.

Note: See TracTickets for help on using tickets.