pocket-sync icon indicating copy to clipboard operation
pocket-sync copied to clipboard

Warning while browsing categories

Open hadess opened this issue 1 year ago • 4 comments

Starting with 3.10.0, using the Flatpak builds from Flathub, I get loads of:

Error creating /home/hadess/.var/app/io.github.neil_morrison44.pocket-sync/cache/today.neil.pocket-sync/file_caches as file cache No such file or directory (os error 2)

warnings when I browse between categories.

hadess avatar Nov 07 '23 14:11 hadess

I’m surprised this wasn’t showing earlier - it’s the caching layer added a few versions ago.

initially it was crashing on Linux systems & a fix for that went out in a subsequent release.

I’ve been meaning to ask the tarui devs why the app cache folder doesn’t exist in Linux

neil-morrison44 avatar Nov 08 '23 02:11 neil-morrison44

I think it might be the fast download support, because it didn't happen on my system before 3.10.0...

hadess avatar Nov 08 '23 11:11 hadess

https://github.com/neil-morrison44/pocket-sync/blob/f36095726a4afad881987ab4d3cb742de43130e1/src-tauri/src/file_cache.rs

It’s all in this file and that’s not changed for 4 months - unless it’s something very weird where the warning was triggered but not shown until recently

neil-morrison44 avatar Nov 08 '23 13:11 neil-morrison44

Had an idea about this - could be that tauri's cache folder needs added to the flatpak configuration as a folder the app can access?

neil-morrison44 avatar Dec 17 '23 19:12 neil-morrison44