Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CFNetwork error prevents startup - OSX 10.9 #395

Closed
jordillo opened this issue Nov 3, 2015 · 9 comments
Closed

CFNetwork error prevents startup - OSX 10.9 #395

jordillo opened this issue Nov 3, 2015 · 9 comments
Labels
macOS Mac-specific issue

Comments

@jordillo
Copy link

jordillo commented Nov 3, 2015

v1.16.2 - on my Macbook Pro running OSX 10.9.5

popup says "pyfa Error", let's me choose between Terminate and Open Console

Console output:

03.11.15 18:49:34,948 apsd[195]: Unrecognized leaf certificate
03.11.15 18:50:20,334 pyfa[952]: Traceback (most recent call last):
03.11.15 18:50:20,334 pyfa[952]:   File "/Applications/Spiele/pyfa.app/Contents/Resources/__boot__.py", line 355, in <module>
03.11.15 18:50:20,335 pyfa[952]:     _run()
03.11.15 18:50:20,335 pyfa[952]:   File "/Applications/Spiele/pyfa.app/Contents/Resources/__boot__.py", line 336, in _run
03.11.15 18:50:20,335 pyfa[952]:     exec(compile(source, path, 'exec'), globals(), globals())
03.11.15 18:50:20,335 pyfa[952]:   File "/Applications/Spiele/pyfa.app/Contents/Resources/pyfa.py", line 99, in <module>
03.11.15 18:50:20,336 pyfa[952]:     import wx
03.11.15 18:50:20,336 pyfa[952]:   File "wx/__init__.pyc", line 45, in <module>
03.11.15 18:50:20,336 pyfa[952]:   File "wx/_core.pyc", line 4, in <module>
03.11.15 18:50:20,336 pyfa[952]:   File "wx/_core_.pyc", line 14, in <module>
03.11.15 18:50:20,336 pyfa[952]:   File "wx/_core_.pyc", line 10, in __load
03.11.15 18:50:20,336 pyfa[952]: ImportError: dlopen(/Applications/Spiele/pyfa.app/Contents/Resources/lib/python2.7/lib-dynload/wx/_core_.so, 2): Symbol not found: _OBJC_CLASS_$_NSURLRequest
03.11.15 18:50:20,337 pyfa[952]:   Referenced from: /Applications/Spiele/pyfa.app/Contents/MacOS/../Frameworks/libwx_osx_cocoau_core-3.0.0.2.0.dylib
03.11.15 18:50:20,337 pyfa[952]:   Expected in: /System/Library/Frameworks/CFNetwork.framework/Versions/A/CFNetwork
03.11.15 18:50:20,337 pyfa[952]:  in /Applications/Spiele/pyfa.app/Contents/MacOS/../Frameworks/libwx_osx_cocoau_core-3.0.0.2.0.dylib
03.11.15 18:50:20,410 pyfa[952]: pyfa Error
03.11.15 18:50:20,410 pyfa[952]: 2015-11-03 18:50:20.408 pyfa[952:707] pyfa Error
03.11.15 18:51:16,890 com.apple.launchd.peruser.501[166]: (org.evefit.pya.96832[952]) Exited with code: 255
03.11.15 18:51:17,031 Console[958]: setPresentationOptions called with NSApplicationPresentationFullScreen when there is no visible fullscreen window; this call will be ignored.

let me know if you need any add'l info

@blitzmann
Copy link
Collaborator

I have no idea what this means. I'll try to look into it as soon as possible

@blitzmann blitzmann added the macOS Mac-specific issue label Nov 16, 2015
@blitzmann
Copy link
Collaborator

I had someone eve-mail me this, seems to be the same issue:

I tried the new PYFA. it would not run, the error being nothing more than "PYFA error". The console had this:

11/16/15 1:03:09.983 PM pyfa[42956]: Traceback (most recent call last):
11/16/15 1:03:09.983 PM pyfa[42956]:   File "/Users/hibbs/Documents/EVE/pyfa.app/Contents/Resources/__boot__.py", line 355, in
11/16/15 1:03:09.983 PM pyfa[42956]:     _run()
11/16/15 1:03:09.983 PM pyfa[42956]:   File "/Users/hibbs/Documents/EVE/pyfa.app/Contents/Resources/__boot__.py", line 336, in _run
11/16/15 1:03:09.983 PM pyfa[42956]:     exec(compile(source, path, 'exec'), globals(), globals())
11/16/15 1:03:09.983 PM pyfa[42956]:   File "/Users/hibbs/Documents/EVE/pyfa.app/Contents/Resources/pyfa.py", line 99, in
11/16/15 1:03:09.983 PM pyfa[42956]:     import wx
11/16/15 1:03:09.984 PM pyfa[42956]:   File "wx/__init__.pyc", line 45, in
11/16/15 1:03:09.984 PM pyfa[42956]:   File "wx/_core.pyc", line 4, in
11/16/15 1:03:09.984 PM pyfa[42956]:   File "wx/_core_.pyc", line 14, in
11/16/15 1:03:09.984 PM pyfa[42956]:   File "wx/_core_.pyc", line 10, in __load
11/16/15 1:03:09.984 PM pyfa[42956]: ImportError: dlopen(/Users/hibbs/Documents/EVE/pyfa.app/Contents/Resources/lib/python2.7/lib-dynload/wx/_core_.so, 2): Symbol not found: _OBJC_CLASS_$_NSURLRequest
11/16/15 1:03:09.984 PM pyfa[42956]:   Referenced from: /Users/hibbs/Documents/EVE/pyfa.app/Contents/MacOS/../Frameworks/libwx_osx_cocoau_core-3.0.0.2.0.dylib
11/16/15 1:03:09.984 PM pyfa[42956]:   Expected in: /System/Library/Frameworks/CFNetwork.framework/Versions/A/CFNetwork
11/16/15 1:03:09.985 PM pyfa[42956]:  in /Users/hibbs/Documents/EVE/pyfa.app/Contents/MacOS/../Frameworks/libwx_osx_cocoau_core-3.0.0.2.0.dylib
11/16/15 1:03:10.050 PM pyfa[42956]: pyfa Error
11/16/15 1:03:10.050 PM pyfa[42956]: 2015-11-16 13:03:10.049 pyfa[42956:707] pyfa Error

Hope it helps find the issue. Thanks!

Edit:

OS 10.9.5
17" MacBook Pro, Late 2010.

@jordillo
Copy link
Author

wish i could help you out here but i'm not savvy. can't do much more than
point at something that's broken, then let the smart people fix it. ;-)

thanks for taking the trouble and making pyfa though - best thing since
sliced bread!

2015-11-17 0:29 GMT+01:00 blitzmann [email protected]:

I had someone eve-mail me this, seems to be the same issue:

I tried the new PYFA. it would not run, the error being nothing more than "PYFA error". The console had this:

11/16/15 1:03:09.983 PM pyfa[42956]: Traceback (most recent call last):
11/16/15 1:03:09.983 PM pyfa[42956]: File "/Users/hibbs/Documents/EVE/pyfa.app/Contents/Resources/boot.py", line 355, in
11/16/15 1:03:09.983 PM pyfa[42956]: _run()
11/16/15 1:03:09.983 PM pyfa[42956]: File "/Users/hibbs/Documents/EVE/pyfa.app/Contents/Resources/boot.py", line 336, in _run
11/16/15 1:03:09.983 PM pyfa[42956]: exec(compile(source, path, 'exec'), globals(), globals())
11/16/15 1:03:09.983 PM pyfa[42956]: File "/Users/hibbs/Documents/EVE/pyfa.app/Contents/Resources/pyfa.py", line 99, in
11/16/15 1:03:09.983 PM pyfa[42956]: import wx
11/16/15 1:03:09.984 PM pyfa[42956]: File "wx/init.pyc", line 45, in
11/16/15 1:03:09.984 PM pyfa[42956]: File "wx/_core.pyc", line 4, in
11/16/15 1:03:09.984 PM pyfa[42956]: File "wx/core.pyc", line 14, in
11/16/15 1:03:09.984 PM pyfa[42956]: File "wx/core.pyc", line 10, in __load
11/16/15 1:03:09.984 PM pyfa[42956]: ImportError: dlopen(/Users/hibbs/Documents/EVE/pyfa.app/Contents/Resources/lib/python2.7/lib-dynload/wx/core.so, 2): Symbol not found: OBJC_CLASS$_NSURLRequest
11/16/15 1:03:09.984 PM pyfa[42956]: Referenced from: /Users/hibbs/Documents/EVE/pyfa.app/Contents/MacOS/../Frameworks/libwx_osx_cocoau_core-3.0.0.2.0.dylib
11/16/15 1:03:09.984 PM pyfa[42956]: Expected in: /System/Library/Frameworks/CFNetwork.framework/Versions/A/CFNetwork
11/16/15 1:03:09.985 PM pyfa[42956]: in /Users/hibbs/Documents/EVE/pyfa.app/Contents/MacOS/../Frameworks/libwx_osx_cocoau_core-3.0.0.2.0.dylib
11/16/15 1:03:10.050 PM pyfa[42956]: pyfa Error
11/16/15 1:03:10.050 PM pyfa[42956]: 2015-11-16 13:03:10.049 pyfa[42956:707] pyfa Error

Hope it helps find the issue. Thanks!


Reply to this email directly or view it on GitHub
#395 (comment).

@blitzmann
Copy link
Collaborator

This may be a 10.9.5 problem, as you and the other guy both have that version.

@simonszu
Copy link

Whew. According to Apple's developer reference, the NSURLRequest class should be available since 10.2.
Can you check if /System/Library/Frameworks/CFNetwork.framework/Versions/A/CFNetwork is a valid path on your system? If not, what is the deepest directory in this path which still exists?

@jordillo
Copy link
Author

looks like it's all there, with CFNetwork being an executable

kind regards,

jordi

2015-11-18 21:34 GMT+01:00 Simon Szustkowski [email protected]:

Whew. According to Apple's developer reference, the NSURLRequest class
should be available since 10.2.
Can you check if
/System/Library/Frameworks/CFNetwork.framework/Versions/A/CFNetwork is a
valid path on your system? If not, what is the deepest directory in this
path which still exists?


Reply to this email directly or view it on GitHub
#395 (comment).

@sftcpom
Copy link

sftcpom commented Nov 19, 2015

I'm also getting the same error on the 1.16.2 wx3 build, log attached below.

I'm also running 10.9.5, and the aforementioned CFNetwork path does exist.

Cheers!

19/11/2015 15:00:28.312 pyfa[29309]: Traceback (most recent call last):
19/11/2015 15:00:28.312 pyfa[29309]:   File "/Applications/pyfa.app/Contents/Resources/__boot__.py", line 355, in <module>
19/11/2015 15:00:28.312 pyfa[29309]:     _run()
19/11/2015 15:00:28.312 pyfa[29309]:   File "/Applications/pyfa.app/Contents/Resources/__boot__.py", line 336, in _run
19/11/2015 15:00:28.312 pyfa[29309]:     exec(compile(source, path, 'exec'), globals(), globals())
19/11/2015 15:00:28.313 pyfa[29309]:   File "/Applications/pyfa.app/Contents/Resources/pyfa.py", line 99, in <module>
19/11/2015 15:00:28.313 pyfa[29309]:     import wx
19/11/2015 15:00:28.313 pyfa[29309]:   File "wx/__init__.pyc", line 45, in <module>
19/11/2015 15:00:28.313 pyfa[29309]:   File "wx/_core.pyc", line 4, in <module>
19/11/2015 15:00:28.313 pyfa[29309]:   File "wx/_core_.pyc", line 14, in <module>
19/11/2015 15:00:28.313 pyfa[29309]:   File "wx/_core_.pyc", line 10, in __load
19/11/2015 15:00:28.313 pyfa[29309]: ImportError: dlopen(/Applications/pyfa.app/Contents/Resources/lib/python2.7/lib-dynload/wx/_core_.so, 2): Symbol not found: _OBJC_CLASS_$_NSURLRequest
19/11/2015 15:00:28.314 pyfa[29309]:   Referenced from: /Applications/pyfa.app/Contents/MacOS/../Frameworks/libwx_osx_cocoau_core-3.0.0.2.0.dylib
19/11/2015 15:00:28.314 pyfa[29309]:   Expected in: /System/Library/Frameworks/CFNetwork.framework/Versions/A/CFNetwork
19/11/2015 15:00:28.314 pyfa[29309]:  in /Applications/pyfa.app/Contents/MacOS/../Frameworks/libwx_osx_cocoau_core-3.0.0.2.0.dylib
19/11/2015 15:00:28.380 pyfa[29309]: pyfa Error
19/11/2015 15:00:28.381 pyfa[29309]: 2015-11-19 15:00:28.379 pyfa[29309:707] pyfa Error

@blitzmann blitzmann mentioned this issue Nov 22, 2015
@blitzmann
Copy link
Collaborator

Hi guys,

please check here and report #289 (comment)

@blitzmann blitzmann changed the title Parallax - v1.16.0 for Mac won't start CFNetwork error prevents startup - OSX 10.9 Nov 23, 2015
@blitzmann
Copy link
Collaborator

Closing this now as the new osx binaries fix this issue from what I can tell. If after the next release this issue persists, please reopen

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
macOS Mac-specific issue
Projects
None yet
Development

No branches or pull requests

4 participants