Skip to content
This repository has been archived by the owner. It is now read-only.

Getting "WARNING: Method userSpaceScaleFactor in class NSView is deprecated on 10.7 and later. It should not be used in new applications. Use convertRectToBacking: instead." #11612

Closed
ianwalter opened this issue Sep 10, 2013 · 76 comments

Comments

Projects
None yet
@ianwalter
Copy link

commented Sep 10, 2013

Every time I run phantomjs 1.9.2 on OS X 10.8.4 I get the following warning:

phantom stderr: 2013-09-10 12:58:45.182 phantomjs[3410:707] *** WARNING: Method userSpaceScaleFactor in class NSView is deprecated on 10.7 and later. It should not be used in new applications. Use convertRectToBacking: instead.

@miogalang

This comment has been minimized.

Copy link

commented Sep 11, 2013

I also get this.

2013-09-11 11:24:55.876 phantomjs[31901:707] *** WARNING: Method userSpaceScaleFactor in class NSView is deprecated on 10.7 and later. It should not be used in new applications. Use convertRectToBacking: instead.

Also phantomjs ver 1.9.2
OSX 10.8.4

@facultymatt

This comment has been minimized.

Copy link

commented Sep 12, 2013

+1 getting the same

phantomjs[14189:707] *** WARNING: Method userSpaceScaleFactor in class NSView is deprecated on 10.7 and later. It should not be used in new applications. Use convertRectToBacking: instead.

OSX
10.8.4

Phantomjs
1.9.2 installed via homebrew

@hackerfriendly

This comment has been minimized.

Copy link

commented Sep 16, 2013

Same here. OS X 10.8.5, phantomjs 1.9.2 installed via npm or direct download (same result):

$ phantomjs --version
1.9.2
$ phantomjs
2013-09-15 18:23:15.559 phantomjs[3004:707] *** WARNING: Method userSpaceScaleFactor in class NSView is deprecated on 10.7 and later. It should not be used in new applications. Use convertRectToBacking: instead.

Looks like a harmless but annoying Qt error?

thoughtbot/capybara-webkit#483

@taboada

This comment has been minimized.

Copy link

commented Sep 16, 2013

Hello,
I just tried (same setup as hackerfriendly to create a small CasperJS script and got the exact same error 2013-09-16 16:46:08.009 phantomjs[4259:707] *** WARNING: Method userSpaceScaleFactor in class NSView is deprecated on 10.7 and later. It should not be used in new applications. Use convertRectToBacking: instead.
It seems that I can generate screenshots though, but it's worrying.

@jdalton

This comment has been minimized.

Copy link
Contributor

commented Sep 19, 2013

I've seen this too. 👍

@jasonet

This comment has been minimized.

Copy link

commented Sep 25, 2013

+1

1 similar comment
@tonini

This comment has been minimized.

Copy link

commented Sep 26, 2013

+1

@okize

This comment has been minimized.

Copy link

commented Sep 26, 2013

I'm seeing this error as well and I wouldn't describe it as harmless as it breaks a module one of my modules depends on.

OSX 10.8.5
PhantomJS 1.9.2

@chemzqm

This comment has been minimized.

Copy link

commented Sep 26, 2013

👍

1 similar comment
@ramsey

This comment has been minimized.

Copy link

commented Sep 27, 2013

+1

@chrisgreeff

This comment has been minimized.

Copy link

commented Sep 30, 2013

+1 This is also breaking our tests :(

@stmichael

This comment has been minimized.

Copy link

commented Oct 2, 2013

👍

1 similar comment
@morganick

This comment has been minimized.

Copy link

commented Oct 2, 2013

👍

@jancha

This comment has been minimized.

Copy link

commented Oct 3, 2013

+1 2013-10-03 18:05:29.699 phantomjs[29709:707] *** WARNING: Method userSpaceScaleFactor in class NSView is deprecated on 10.7 and later. It should not be used in new applications. Use convertRectToBacking: instead.

Dejavu:test jancha$ phantomjs --version
1.9.2

@micmcg

This comment has been minimized.

Copy link

commented Oct 16, 2013

👍

@garyrob

This comment has been minimized.

Copy link

commented Oct 20, 2013

+1 I am seeing this too. OS X 10.8.5

@reduxdj

This comment has been minimized.

Copy link

commented Oct 23, 2013

+1

@daviddrace

This comment has been minimized.

Copy link

commented Oct 23, 2013

+1 : OS X 10.8.5

@hackerfriendly

This comment has been minimized.

Copy link

commented Oct 23, 2013

Also confirmed on Mavericks 10.9.

$ phantomjs --version
1.9.2
$ phantomjs
2013-10-23 13:45:28.961 phantomjs[2857:507] *** WARNING: Method userSpaceScaleFactor in class NSView is deprecated on 10.7 and later. It should not be used in new applications. Use convertRectToBacking: instead.

@duquesnay

This comment has been minimized.

Copy link

commented Oct 31, 2013

+1
version 1.9.2

@m43nu

This comment has been minimized.

Copy link

commented Oct 31, 2013

+1

1 similar comment
@dbuarque

This comment has been minimized.

Copy link

commented Nov 3, 2013

+1

@danielpuglisi

This comment has been minimized.

Copy link

commented Nov 4, 2013

I extended this https://gist.github.com/ericboehs/7125105 to suppress the warning for now.
Although I'm not really feeling well by doing it this way...

@joecairns

This comment has been minimized.

Copy link

commented Nov 12, 2013

+1

@mattuuh7

This comment has been minimized.

Copy link

commented Nov 13, 2013

OS X 10.9

phantomjs --version
1.9.2

*** WARNING: Method userSpaceScaleFactor in class NSView is deprecated on 10.7 and later. It should not be used in new applications. Use convertRectToBacking: instead.

@nitinhayaran

This comment has been minimized.

Copy link

commented Nov 15, 2013

+1

2 similar comments
@savetheclocktower

This comment has been minimized.

Copy link

commented Nov 18, 2013

+1

@saada

This comment has been minimized.

Copy link

commented Nov 19, 2013

👍

@arapehl

This comment has been minimized.

Copy link

commented Jan 24, 2014

I'm also still getting WARNING: Method userSpaceScaleFactor in class NSView is deprecated on 10.7 and later. It should not be used in new applications. Use convertRectToBacking: instead. in 1.9.6 on OSX 10.9.1

ariya added a commit that referenced this issue Jan 24, 2014

@iwelch

This comment has been minimized.

Copy link

commented Jan 26, 2014

still here on osx 10.9.1 on phantomjs 1.9.6 .

@vicramon

This comment has been minimized.

Copy link

commented Jan 27, 2014

+1. Getting the same thing on OSX 10.9.1 and Phantom JS 1.9.6

@marcbachmann

This comment has been minimized.

Copy link

commented Feb 3, 2014

If you still have the problem, you should probably update phantomjs. 😄
i can report that phantomjs v1.9.7 is working with OS X 10.9.1

@ironsand

This comment has been minimized.

Copy link

commented May 10, 2015

Same error on OSX 10.9.5 and Phantom JS 1.9.7

2015-05-10 12:54:18.668 phantomjs[14324:110b] *** WARNING: Method userSpaceScaleFactor in class NSView is deprecated on 10.7 and later. It should not be used in new applications. Use convertRectToBacking: instead.
@selftaught

This comment has been minimized.

Copy link

commented May 13, 2015

I'm getting the warning on OSX 10.10.3 using PhantomJS 1.9.8.


2015-05-13 15:10:30.057 phantomjs[16776:6564746] *** WARNING: Method userSpaceScaleFactor in class NSView is deprecated on 10.7 and later. It should not be used in new applications. Use convertRectToBacking: instead

@Coenego

This comment has been minimized.

Copy link

commented May 19, 2015

Same here.

OSX 10.10.3
PhantomJS 2.0.0 installed via homebrew

@TommyN84

This comment has been minimized.

Copy link

commented May 19, 2015

Das war ein

Send via 5s white

Das war keine Absicht ich weiß nicht was ich gemacht habe

Am 19.05.2015 um 14:56 schrieb Mathieu Decoene notifications@github.com:

Same here.

OSX 10.10.3
PhantomJS 2.0.0 installed via homebrew


Reply to this email directly or view it on GitHub.

@Coenego

This comment has been minimized.

Copy link

commented May 19, 2015

@see: #11612 (comment)

FWIW: I downgraded to 1.9.7-14 and my tests seem to be working again. Installed it via npm this time.

@hammady

This comment has been minimized.

Copy link

commented Jun 1, 2015

Was having this warning in phantomjs 1.9.2 and OS X 10.10.3.
Disappeared after updating to phantomjs 2.0 through Homebrew.

@melissanoelle

This comment has been minimized.

Copy link

commented Jul 6, 2015

Getting this on a fresh Homebrew install of CasperJS.

OSX 10.10.3, CasperJS version 1.1.0-beta3.

mel$ casperjs --version
2015-07-06 13:34:44.160 phantomjs[9387:4048924] *** WARNING: Method userSpaceScaleFactor in class NSView is deprecated on 10.7 and later. It should not be used in new applications. Use convertRectToBacking: instead. 
1.1.0-beta3

Even after updating phantomjs to 2.0 via Homebrew, I still get the error message.

@gposchultes

This comment has been minimized.

Copy link

commented Jul 10, 2015

Homebrew workaround:
https://github.com/n1k0/casperjs/issues/1158

Install version 1.98 and then update
/usr/local/Cellar/casperjs/1.1-beta3/bin/casperjs
with
export PATH=/usr/local/Cellar/phantomjs198/1.9.8/bin:$PATH

or wherever your homebrew installed 1.9.8 (brew ls phantomjs can help if you get stuck)

@wawjr3d wawjr3d referenced this issue Jul 13, 2015

Closed

switch to gulp #158

@corysimmons

This comment has been minimized.

Copy link

commented Sep 16, 2015

👍

3 similar comments
@eahefnawy

This comment has been minimized.

Copy link

commented Oct 5, 2015

+1

@hdwong

This comment has been minimized.

Copy link

commented Nov 2, 2015

+1

@danvn

This comment has been minimized.

Copy link

commented Jan 31, 2016

+1

@zhdanovartur

This comment has been minimized.

Copy link

commented Feb 1, 2016

MBP-Artur $ brew install phantomjs
==> Installing dependencies for phantomjs: openssl
==> Installing phantomjs dependency: openssl
==> Downloading https://homebrew.bintray.com/bottles/openssl-1.0.2e_1.el_capitan.bottle.tar.gz
######################################################################## 100.0%
==> Pouring openssl-1.0.2e_1.el_capitan.bottle.tar.gz
==> Caveats
A CA file has been bootstrapped using certificates from the system
keychain. To add additional certificates, place .pem files in
  /usr/local/etc/openssl/certs

and run
  /usr/local/opt/openssl/bin/c_rehash

This formula is keg-only, which means it was not symlinked into /usr/local.

Apple has deprecated use of OpenSSL in favor of its own TLS and crypto libraries

Generally there are no consequences of this for you. If you build your
own software and it requires this formula, you'll need to add to your
build variables:

    LDFLAGS:  -L/usr/local/opt/openssl/lib
    CPPFLAGS: -I/usr/local/opt/openssl/include

==> Summary
🍺  /usr/local/Cellar/openssl/1.0.2e_1: 465 files, 11.9M
==> Installing phantomjs
==> Downloading https://homebrew.bintray.com/bottles/phantomjs-2.0.1.el_capitan.bottle.tar.gz
######################################################################## 100.0%
==> Pouring phantomjs-2.0.1.el_capitan.bottle.tar.gz
🍺  /usr/local/Cellar/phantomjs/2.0.1: 58 files, 50.4M

MBP-Artur:parser zhdanovartur$ brew install casperjs
==> Downloading https://homebrew.bintray.com/bottles/casperjs-1.0.4.el_capitan.bottle.1.tar.gz
######################################################################## 100.0%
==> Pouring casperjs-1.0.4.el_capitan.bottle.1.tar.gz
🍺  /usr/local/Cellar/casperjs/1.0.4: 262 files, 9.5M

MBP-Artur:parser zhdanovartur$ casperjs script.js
2016-02-01 13:47:55.411 phantomjs[2682:339792] *** WARNING: Method userSpaceScaleFactor in class NSView is deprecated on 10.7 and later. It should not be used in new applications. Use convertRectToBacking: instead. 

MBP-Artur:~ zhdanovartur$ sw_vers -productVersion 
10.11.3

+1

@zackw zackw added 1.x Qt/Other and removed old.Domain-Qt labels Feb 1, 2016

@zackw

This comment has been minimized.

Copy link
Collaborator

commented Feb 1, 2016

We believe this should have been fixed for good in PhantomJS 2.1. However, as I have never encountered the problem myself with any version of PhantomJS on any version of MacOS X, I can't be 100% certain of that. Would everyone who still sees the problem (particularly if you see it with 2.0) please upgrade to the just-released 2.1(.2) and repeat your tests?

@antianxiasimida

This comment has been minimized.

Copy link

commented Jul 12, 2016

Getting the same after installing gr-foo and gr-ieee802-11, when running gnuradio-companion.

@LockGit

This comment has been minimized.

Copy link

commented Nov 27, 2016

+1

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
You can’t perform that action at this time.