chromelyapps / Chromely

Build Cross Platform HTML Desktop Apps on .NET using native GUI, HTML5, JavaScript, CSS, Owin, AspNetCore (MVC, RazorPages, Blazor)
MIT License
2.99k stars 279 forks source link

The cache_path directory (/usr/share/MyAppName/chromely-cache) could not be created. #349

Closed wwarby closed 2 years ago

wwarby commented 2 years ago

I'm attempting to open a Chromely app on a Mac that I originally wrote on a Windows machine. It compiles successfully but does not run, and I've found I get the same error with the Chromely demo apps unmodified. Here's the error:

[1120/170844.501184:ERROR:context.cc(151)] The cache_path directory (/usr/share/MyAppName/chromely-cache) could not be created.
[1120/170844.501238:ERROR:context.cc(166)] The cache_path is invalid. Defaulting to in-memory storage.
[1120/170844.507865:ERROR:icu_util.cc(178)] icudtl.dat not found in bundle
[1120/170844.507947:ERROR:icu_util.cc(242)] Invalid file descriptor to ICU data received.

On the demo app I don't get the first two lines of that error for some reason.

Any idea what could be causing this? I'm running in JetBrains Rider instead of Visual Studio if that helps at all.

mattkol commented 2 years ago

@wwarby this is likely related to https://github.com/chromelyapps/demo-projects/issues/27. Please see my comment -https://github.com/chromelyapps/demo-projects/issues/27#issuecomment-724633024 Thanks.