errors with cache using/creating

Having problems with building or using CEF's C/C++ APIs? This forum is here to help. Please do not post bug reports or feature requests here.

errors with cache using/creating

Postby dam4rus » Mon Nov 10, 2014 11:28 am

Hi. I have some problem with Chromium's cache. First time we run our program and the cache folder is empty the files are downloaded to the cache folder, but never used afterwards. Next time i try to access the same web page, the cache is ignored and the files are downloaded again.

Another problem is, after the first run we get some error messages:
[1110/163209:ERROR:cache_util_win.cc(20)] Unable to move the cache: 5
[1110/163209:ERROR:cache_util.cc(132)] Unable to move cache folder c:\Users\<userName>\AppData\Local\<cacheDir> to c:\Users\<userName>\AppData\Local\old_<cacheDir>_000
[1110/163209:ERROR:cache_creator.cc(132)] Unable to create cache

Looking at the code of Chromium, on Windows it uses MoveFileEx to rename the cache folder, which fails with an error code of 5: ERROR_ACCESS_DENIED. I tried to run our application with Admin rights, but the result was the same. Our program already writes to a folder very similiar to the cache folder (also located in AppData\Local\) and we never run into this problem. We use a separate exe as the child process and don't use sandboxing, if this has anything to do with the problem, then we would need a massive reworking of our application...
dam4rus
Techie
 
Posts: 20
Joined: Thu Jul 25, 2013 4:01 am

Re: errors with cache using/creating

Postby magreenblatt » Mon Nov 10, 2014 2:43 pm

Are you specifying a CefSettings.cache_path value?
magreenblatt
Site Admin
 
Posts: 12382
Joined: Fri May 29, 2009 6:57 pm

Re: errors with cache using/creating

Postby dam4rus » Tue Nov 11, 2014 4:15 am

Yes, i did. So far it looks kinda random, since today i didn't encountered this problem, but yesterday the error message showed up every time i started CEF.
dam4rus
Techie
 
Posts: 20
Joined: Thu Jul 25, 2013 4:01 am

Re: errors with cache using/creating

Postby magreenblatt » Tue Nov 11, 2014 9:59 am

Seems related to viewtopic.php?f=6&t=11492
magreenblatt
Site Admin
 
Posts: 12382
Joined: Fri May 29, 2009 6:57 pm

Re: errors with cache using/creating

Postby tomst » Thu Nov 13, 2014 6:42 pm

tomst
Techie
 
Posts: 43
Joined: Fri Aug 22, 2014 4:38 pm


Return to Support Forum

Who is online

Users browsing this forum: cybersight and 38 guests