FFDA / SourCherry

Android app to open CherryTree databases
GNU General Public License v3.0
69 stars 3 forks source link

Unable to open Cherry Tree document #3

Closed zstankowicz closed 2 years ago

zstankowicz commented 2 years ago

Hey,

I know this is early alpha, but I just tried to open my CherryTree file (stored on google drive) and all I get is "Doesn't look like a CherryTree database". I've tried both the ctd (XML) and the ctb (sqlite) but with the same result.

Any suggestions on what I can do to check why it doesn't get recognized? File is around 500kB, no flashy things. Plenty of text, some basic formatting.

FFDA commented 2 years ago

Hi,

I know of that issue and I already fixed it with 68067a1fd17af06d4778551cd6230d2ace92e4c3, just did not make a new release after fixing it.

Try this apk. It's three days old and should allow you to open database from cloud storage. Let me know either way that I could close this issue.

I think I will have to put some kind of notice about that too. If you will try to open a XML database app will try to open it "in place", that means open it without copying it to app-specific storage and that might sound good, however it will download that database every time you open the app. So, if you have a big database and are on limited mobile data plan that might not be desirable. Moreover, while app "asks" for permanent permission to read the file, I don't know if cloud storage provider and SAF respect it. So if for some reason that file becomes not accessible app will definitely crash.

zstankowicz commented 2 years ago

Thank you very much for the reply and the new apk. Now it works like a charm. Feel free to close the ticket.

I hope you'll have the persistence to continue developing the tool. There's a big gap and big demand for it. Maybe Kickstarter/Patreon?

FFDA commented 2 years ago

Thank you for the confirmation.

I hope you'll have the persistence to continue developing the tool. There's a big gap and big demand for it. Maybe Kickstarter/Patreon?

No, there is no need for that. This project is just for learning purposes. I don't event plan to put any adds in it and I don't want to make any promises or feel obliged to do something I might not be able to.