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

Examples crash on Mac when app doesn't have permission to write to the debug.log file #164

Open
GoogleCodeExporter opened this issue Aug 6, 2015 · 0 comments

Comments

@GoogleCodeExporter
Copy link

When using preinstalled Python that ships with OS X and after install the 
cefpython3 package there are problems with running examples from the 
/Library/Python/2.6/site-packages/cefpython3/examples directory. App has no 
permission to write to the debug.log file and it results in Python crash with 
"Segmentation fault: 11" error. In the console you can see warnings like this:

    [CEF Python] WARNING: failed writing to debug file: debug.log

These warnings are not the cause of the crash. I think that it is CEF that 
causes the crash when it can't access the debug.log file.

Try this: in the examples check if app has permission to write to debug.log 
file and if not then set the ApplicationSettings.log_file to an empty string.

Original issue reported on code.google.com by czarek.t...@gmail.com on 14 Jan 2015 at 7:00

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant