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

Cannot view most of my notes #341

Closed
claell opened this issue Dec 25, 2015 · 24 comments
Closed

Cannot view most of my notes #341

claell opened this issue Dec 25, 2015 · 24 comments

Comments

@claell
Copy link

claell commented Dec 25, 2015

On Firefox I cannot view most of my notes when clicking on them. Only the last one works (probably because I have not set a notebook for it). Also there are no notebooks available, which I created.

The migrate html does not help. Probably there is some old stuff not compatible with the new version?

@claell
Copy link
Author

claell commented Dec 25, 2015

Also a few notes seem to be missing.

@wwebfor
Copy link
Member

wwebfor commented Dec 25, 2015

Does it show anything in the developer console?

You can also try to clear browser's cache.

@claell
Copy link
Author

claell commented Dec 25, 2015

Clearing cache did not help, unfortunately. Here is the output of the console:
bildschirmfoto vom 2015-12-25 16-58-57

@wwebfor
Copy link
Member

wwebfor commented Dec 25, 2015

Please, try to disable Dropbox sync in settings. Probably it is something related to synchronizing.

@claell
Copy link
Author

claell commented Dec 25, 2015

I disabled it, but that changed nothing, so I used indexedDB.deleteDatabase('notes-db'); in console. Then I got no notes displayed at all after reloading. The problem now is, how to set up sync again?

@wwebfor
Copy link
Member

wwebfor commented Dec 25, 2015

You can setup synchronization in the settings. Click on "All notes", then on "Sync". After that choose your sync method and click "save".

@claell
Copy link
Author

claell commented Dec 25, 2015

The problem is after setting up sync again in the settings it syncs again (without authorisation dialogue by the way) and all notes appear again. Unfortunately I am facing the same problem again then :(

@claell
Copy link
Author

claell commented Dec 25, 2015

After deleting the cache and plugin data on Chrome and setting up sync there again I am experiencing the same problem there.

@wwebfor
Copy link
Member

wwebfor commented Dec 25, 2015

We are sorry to hear that. We will try to address that bug. Seems like it is trying to save something but failing (probably a tag or a notebook)

@wwebfor
Copy link
Member

wwebfor commented Dec 25, 2015

By the way, did it start happening in this update after a while or immediately? Does it work in nightly version?

@claell
Copy link
Author

claell commented Dec 25, 2015

Thanks. I noticed it today on the nightly version. I set it up on this PC with the steps you told me in a different issue two days ago. As far as I remember it did work that time. Maybe there is something wrong with my Dropbox files which causes this.

Also Merry Christmas to you, pretty nice of you to reply to issues during this time :)

@wwebfor wwebfor added the bug label Dec 26, 2015
@wwebfor wwebfor added this to the 1. Refactor and fix bugs milestone Dec 26, 2015
@wwebfor
Copy link
Member

wwebfor commented Dec 26, 2015

Thanks. We'll try to reproduce it and fix. It seems like it is related to tag validation.

@wwebfor
Copy link
Member

wwebfor commented Dec 29, 2015

@claell can you try to move Apps/Laverna/notes-db/tags folder on Dropbox to somewhere else?

@claell
Copy link
Author

claell commented Dec 29, 2015

I just tried this, but unfortunately it did not solve the problem.

@wwebfor
Copy link
Member

wwebfor commented Dec 29, 2015

Thanks for trying. I was just trying to figure out what exactly is causing the problem. Can you also try to find what is causing validation error by clicking on the error message:

screen

@claell
Copy link
Author

claell commented Dec 29, 2015

No problem. This is what I got when clicking on "Arguments":
bildschirmfoto vom 2015-12-29 19-04-54

Also I saw that there was one notebook in the Dropbox folder which was edited on the 18th December, although it was pretty old already. The other ones weren't edited:

bildschirmfoto vom 2015-12-29 19-07-41

This is the content of the json files:

{"id":"1","parentId":"0","name":"Maschinenbau","notes":[],"count":0,"synchronized":0,"type":"notebooks","trash":0,"created":0,"updated":0}

{"id":"9baf3b80-4e58-28d7-0805-50464eacd018","parentId":"0","name":"ToDo","synchronized":0,"count":0,"updated":1409158700571}

{"id":"077686b0-e63d-b48c-9b6e-edba7714283c","parentId":"0","name":"Notizen","synchronized":0,"count":0,"updated":1409497131185}

@wwebfor
Copy link
Member

wwebfor commented Dec 29, 2015

It looks like notebooks weren't corrupt or anything like that.

@claell
Copy link
Author

claell commented Dec 29, 2015

Alright. So any hints from the error message?

@wwebfor
Copy link
Member

wwebfor commented Dec 29, 2015

Unfortunately, no. From one side, it's obvious it happens immediately after synchronization. From the other, notes and other data should still be visible.

Did you used to have notes with empty titles?

@claell
Copy link
Author

claell commented Dec 29, 2015

Normally not, but I might have created a test note to describe a problem and saved it.

@wwebfor
Copy link
Member

wwebfor commented Dec 29, 2015

We may have an idea how to solve this. We'll try to release a hotfix tomorrow.

@claell
Copy link
Author

claell commented Dec 29, 2015

Ok, will try then :)

@wwebfor
Copy link
Member

wwebfor commented Dec 30, 2015

Probably the problem was solved. Can you try it when you have time?

@claell
Copy link
Author

claell commented Dec 30, 2015

Yes, seems to be fixed now. My notebooks are shown again and I can see the notes when I click on them. Thank you for the fast fix.

@claell claell closed this as completed Dec 30, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants