Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Data changes are not saved on my Nexus 4 but on the PC #93

Open
nikwen opened this issue Apr 7, 2014 · 8 comments
Open

Data changes are not saved on my Nexus 4 but on the PC #93

nikwen opened this issue Apr 7, 2014 · 8 comments

Comments

@nikwen
Copy link

nikwen commented Apr 7, 2014

After closing the app on my Nexus 4, all changes to the data are gone.
Is it due to some data incompatibility with one of the first versions?

Nothing suspicious can be found in the logs.

Version: 0.4.2, but I've been having this issue for quite some time now (it worked initially).

@nikwen
Copy link
Author

nikwen commented Apr 7, 2014

Reinstalling the app and deleting the data folder of the app did not work.

@iBelieve iBelieve added the bug label Apr 7, 2014
@iBelieve iBelieve added this to the Version 0.5 milestone Apr 7, 2014
@iBelieve iBelieve self-assigned this Apr 7, 2014
@iBelieve
Copy link
Contributor

iBelieve commented Apr 7, 2014

Oh no, now this is quite the critical bug. Since you're able to look at the logs, can you see if you the text Saving... in the log, followed the times it took to save each of your projects?

I'm wondering if this is because onDestruction() isn't being called properly

@nikwen
Copy link
Author

nikwen commented Apr 7, 2014

Yes, this is probably the most critical bug at all. :(

Just got an idea when you mentioned onDestruction(). If I quit the app using the HUD, everything is fine, but if I (as I usually do) kill it through the apps scope, it's literally killed and does not save any data. The logs reflect that assumption (one time it contains Saving... and if I do it the latter way, it does not).

As you once mentioned you're using U1db, what's about saving after every change? Should work in my opinion.

@iBelieve
Copy link
Contributor

iBelieve commented Apr 7, 2014

Cool, so it sounds like a Apps Scope/Unity 8 bug. (Obviously it's still a problem, but because it's in Ubuntu Touch it won't be held against me during judging). I asked on IRC and it seems to be a known problem.

I'd like to be able to save after every change, and I think I'll implement it where I can, but there are certain cases where it won't work, since a lot of data comes from online services like GitHub or Travis CI and I have no easy way of knowing if its been changed or not.

@nikwen
Copy link
Author

nikwen commented Apr 7, 2014

Ok, great. 👍

@iBelieve
Copy link
Contributor

iBelieve commented Apr 7, 2014

Filed this upstream in the Click Scope as LP #1304034.

@iBelieve iBelieve added ubuntu-touch and removed bug labels Apr 7, 2014
@nikwen
Copy link
Author

nikwen commented Apr 7, 2014

And I didn't even have the time to confirm it...

@iBelieve iBelieve added this to the Version 0.6 milestone Jul 11, 2014
@nikwen
Copy link
Author

nikwen commented Jan 9, 2015

Ok, a fix for the upstream bug has made it into today's devel-proposed build.

Btw: Have you stopped working on this project? Or will you continue to do so in the future?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants