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

ApplicationSettings.cache_path doesn't work #283

Closed
cztomczak opened this issue Dec 15, 2016 · 1 comment
Closed

ApplicationSettings.cache_path doesn't work #283

cztomczak opened this issue Dec 15, 2016 · 1 comment
Labels
Milestone

Comments

@cztomczak
Copy link
Owner

cztomczak commented Dec 15, 2016

UPDATE: The solution seem to be to reproduce CefSettings values in CefRequestContextSettings when creating CefRequestContext that is passed to CefCreateBrowserSync. CefRequestContextSettings include values such as cache_path, ignore_certificate_errors, etc.

The cache_path directory is not initialized properly, only two files are created in that directory, while in cefclient/cefsimple there are many more files/dirs in it. There are no warning/error messages in console or the debug.log file, so no hint on what went wrong. This causes cookies and indexed DB not to persist between application launches. Tested with CEF Python v55.2 on Ubuntu 14. Tested by user with v53, v54 and v55, all reproduce the same issue.

Reported problem with more details on the CEF Forum:
https://magpcss.org/ceforum/viewtopic.php?f=6&t=14763

User report about the problem on the CEF Python Forum:
https://groups.google.com/d/topic/cefpython/sXwC_NIKjvk/discussion

@cztomczak cztomczak changed the title ApplicationSettings.cache_path setting doesn't work ApplicationSettings.cache_path doesn't work Dec 15, 2016
cztomczak added a commit that referenced this issue Dec 15, 2016
Update to Cython 0.25.2.

Fix Certificate Transparency support causing some SSL sites fail
to load after some time (#279).

Fix ApplicationSettings.cache_path not working (#283).

Fix: Not a clean shutdown in examples, when closing app while browser
is still loading a website (#282).

Fix loading local filesystem urls that contained any of ? & =
characters (#273).

Fix Request.SetPostData and GetPostData segmentation faults (#228).

Add ApplicationSettings.net_security_expiration_enabled.

Update ExecuteJavascript docs with scriptUrl="" and startLine=1
default params. Also worth noting that ExecuteJavascript crashed
in earlier CEF versions when startLine wasn't provided or was <= 0
(Issue #268).

Add a test that measures execution time for calling Python function
from javascript and then js callback.

Add Contributing guidelines / Issue template.

Update automate.py, include ceftests executable.
@cztomczak
Copy link
Owner Author

Fixed in bfc0a25. v55.2 released, please test.

@cztomczak cztomczak added this to the v55 milestone Feb 24, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant