how to set cache_path directory of LightweightBrowser/jcef_cache when Matlab startup
48 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
Zuhui Wang
am 20 Mär. 2022
Bearbeitet: Zuhui Wang
am 7 Mai 2023
Hi,
I installed Matlab R2021b in linux cent os 7, and I changed my username for some reasons. I activated the Matlab before the username change, and after the username change, I reactivated the Matlab. Now the Matlab can be normally started from the terminal, but I always get below warning, seems like the cache_path of the "LightweightBrowser/jcef_cache" still do not recognize the new username. How could I solve the issue. Thanks.
[0320/024223.944137:ERROR:context.cc(220)] The cache_path directory (/home/MyOldUserName/.matlab/R2021b/LightweightBrowser/jcef_cache) could not be created.
[0320/024223.944252:ERROR:context.cc(235)] The cache_path is invalid. Defaulting to in-memory storage.
3 Kommentare
Sébastien Doré
am 25 Mai 2022
Hi Zuhui,
Thanks for the follow-up. I put it aside for the same reason. I just hope it won't break something at some point down the road and cross my finger that a future upgrade (2022b) will solve it but I guess I'll leave it at that until then.
Regards,
Akzeptierte Antwort
Weitere Antworten (2)
Christopher Lanning
am 21 Jan. 2023
I can't say my course of action is advised, but it did work.
I first completely uninstalled matlab, then did a file search and deleted all lingering folders in my user profile folder and in the program folders.
Then I opened up registry editor and updated all references to my original user profile folder to my current user profile folder. There were a couple hundred of them.
Then I restarted and re-installed matlab and toolboxs.
No more debug.log file!
Again, use at your own descression. So far I have not detected any ill side effects, but playing around in the registry is always hazardous.
1 Kommentar
Christopher Lanning
am 29 Mär. 2023
Bearbeitet: Christopher Lanning
am 29 Mär. 2023
After some more use, the course of action I took is even less advised. I ran into an issue trying to upgrade from 2022a to 2022b. I don't remember the exact phrasing of the error, but it was evident that my monkeying around in the registry was the cause. I ended up doing a clean install of windows and all programs to fix it.
Evg
am 29 Mär. 2023
Still relevant. Is there a way to solve the problem? Without removing the matlab
1 Kommentar
Christopher Lanning
am 29 Mär. 2023
I would be surprised if there was. Not even re-installing matlab had corrected the issue for me.
Siehe auch
Kategorien
Mehr zu Introduction to Installation and Licensing finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!