facebookarchive / pfff

Tools for code analysis, visualizations, or style-preserving source transformation.
http://github.com/facebook/pfff/wiki/Main
Other
2.44k stars 205 forks source link

Error while running codegraph on Mac OS X 10.11.3 #148

Open xennygrimmato opened 8 years ago

xennygrimmato commented 8 years ago

After building pfff, I tried to run codegraph and got the following error:

2016-08-12 11:19:17.589 codegraph[89464:1210334] *** WARNING: Method userSpaceScaleFactor in class NSView is deprecated on 10.7 and later. It should not be used in new applications. Use convertRectToBacking: instead. 

What is the suggested fix for this?

aryx commented 8 years ago

I have no idea. This warning does not come from the code I wrote. It probably comes from the GTK library I use for the user interface. NSView is I think the main UI class of MacOSX. If you grep userSpaceScaleFactor in the code of pfff/ you will see it is never used.

xennygrimmato commented 8 years ago

I just noticed that it is a warning. Yes, it is from GTK. Actually, the error that I get immediately after the warning is: Fatal error: exception Not_found. I wonder which library was not found though.

Vaibhavs-MacBook-Pro:pfff vaibhavtulsyan$ ./codegraph ~/pfff
2016-08-13 01:55:31.384 codegraph[38870:1639667] *** WARNING: Method userSpaceScaleFactor in class NSView is deprecated on 10.7 and later. It should not be used in new applications. Use convertRectToBacking: instead. 
Fatal error: exception Not_found