HappenApps / Quiver

Quiver documentation and issue tracker
2.26k stars 109 forks source link

After latest update, notes are coming up blank #1319

Closed dkp closed 5 years ago

dkp commented 5 years ago

Periodically, instead of displaying their content, notes are showing as blank...it looks like an old problem has been reintroduced ; ( This is version 3.2.5 (198) that is not working. On another machine I have 3.2.4 and it is working fine with the same notes.

I uninstalled quiver 3.2.5 and reinstalled from the app store. Now I am unable to add a shared notebook or to import a notebook.

ylian commented 5 years ago

3.2.5 was meant to fix this bug, but apparently the fix is not enough.

The root cause of the issue is an invalidated security bookmark which is needed to open your Quiver library because the app is sandboxed. Somehow the security bookmark is invalidated. I put in a fix in 3.2.5 to renew the security bookmark if it's stale (but not yet invalidated). Apparently that's not enough.

To get around the issue, you just need to remove two files:

~/Library/Containers/com.happenapps.Quiver/Data/Library/Application\ Support/Quiver/cache.db ~/Library/Containers/com.happenapps.Quiver/Data/Library/Application\ Support/Quiver/index-v2.dat

Then double click on your Quiver library to open.

ylian commented 5 years ago

In the meantime, I will put in more safeguards and push out 3.2.6 shortly.

dkp commented 5 years ago

I believe there is something corrupted on my home machine. quiver 3.2.4 does not solve my problem at home. disk first aid did not solve the problem. I have removed quiver with app cleaner at least twice and reinstalled the older version, but that did not help either...I really appreciate your responsiveness.

I tried removing the 2 files you suggested and it didn't help. I tried logging in as a different user and it didn't help. I have tried with the notebooks in my Box Sync area and with copies of the notebooks on the local disk...I am bummed.

dkp commented 5 years ago

I just tried exporting a notebook on my work machine and then loading it on the troubled home machine...this worked fine. I wonder if Box Sync is to blame for causing some kind of corruption to the notebooks themselves. The box sync copy on the work machine is fine...I think

ylian commented 5 years ago

That's puzzling. If the notebooks are corrupted, you should be able to tell by dragging the notebook (.qvnotebook file) to a text editor like Sublime Text, and view its contents. If no sensitive information is in the notebook, zip the notebook and send to me (ylian@happenapps.com), and I will inspect. Otherwise, some screenshots of the contents will help me see if anything is wrong.

dkp commented 5 years ago

I have copies of 2 small notebooks (same notebook): one which won't import (R_bad): It was downloaded in a folder from box and box zipped the folder. I diffed them, and as you can see the "bad" one does not think it is a directory, but that it is an archive file. However, unzipping it extracts all the notes. Blaming Box.

dpat@Saci:~/Desktop/q_notebook_compare% ls -l total 48 drwx------@ 6 dpat staff 192 Jul 5 2018 R.qvnotebook -rwxr-xr-x@ 1 dpat staff 24241 Jul 5 2018 R_bad.qvnotebook dpat@Saci:~/Desktop/q_notebook_compare% file * R.qvnotebook: directory R_bad.qvnotebook: Zip archive data, at least v2.0 to extract dpat@Saci:~/Desktop/q_notebook_compare% unzip R_bad.qvnotebook Archive: R_bad.qvnotebook creating: 3CBDB388-69C6-47C2-AC5B-3BB475085A83.qvnote/ creating: 28BA3818-AFDE-46B4-A84E-8B6D7B2C8BEB.qvnote/ creating: B9A559AF-6A5D-4278-A08B-F4EDCD5A9C1E.qvnote/ inflating: meta.json inflating: 3CBDB388-69C6-47C2-AC5B-3BB475085A83.qvnote/content.json inflating: 3CBDB388-69C6-47C2-AC5B-3BB475085A83.qvnote/meta.json inflating: 28BA3818-AFDE-46B4-A84E-8B6D7B2C8BEB.qvnote/content.json inflating: 28BA3818-AFDE-46B4-A84E-8B6D7B2C8BEB.qvnote/meta.json inflating: B9A559AF-6A5D-4278-A08B-F4EDCD5A9C1E.qvnote/content.json inflating: B9A559AF-6A5D-4278-A08B-F4EDCD5A9C1E.qvnote/meta.json dpat@Saci:~/Desktop/q_notebook_compare% ls 28BA3818-AFDE-46B4-A84E-8B6D7B2C8BEB.qvnote B9A559AF-6A5D-4278-A08B-F4EDCD5A9C1E.qvnote R_bad.qvnotebook 3CBDB388-69C6-47C2-AC5B-3BB475085A83.qvnote R.qvnotebook meta.json dpat@Saci:~/Desktop/q_notebook_compare%

ylian commented 5 years ago

I see. Didn't know Box might zip files behind the scenes. Hopefully it's something that can be configured.

So this is a completely different issue from the one I tried to fix in 3.2.5 (#1300).

dkp commented 5 years ago

Here you go. These are the ones I just mentioned on github...some sort of invisible zipping happened when I copied them out of Box??? I guess?

-D

On Fri, May 17, 2019 at 1:31 PM Yaogang Lian notifications@github.com wrote:

That's puzzling. If the notebooks are corrupted, you should be able to tell by dragging the notebook (.qvnotebook file) to a text editor like Sublime Text, and view its contents. If no sensitive information is in the notebook, zip the notebook and send to me (ylian@happenapps.com), and I will inspect. Otherwise, some screenshots of the contents will help me see if anything is wrong.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/HappenApps/Quiver/issues/1319?email_source=notifications&email_token=AAHLUQFXCFZ46L6LZAQAG3TPV4I2RA5CNFSM4HNW5WQ2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGODVVZNCQ#issuecomment-493590154, or mute the thread https://github.com/notifications/unsubscribe-auth/AAHLUQG4SSDUBETIVTUEIMTPV4I2RANCNFSM4HNW5WQQ .

-- Dianne Patterson, Ph.D. Research Scientist dkp@email.arizona.edu dkp@u.arizona.edu or diannepat@gmail.com University of Arizona Speech and Hearing Science 314 1131 E 2nd Street, Building #71 (Just East of Harvill)

If you don't hear back from me (and you expected to), I blame the University's new SPAM filter. Please write to my gmail account.

Antipiphany: That moment when you realize how little you actually know

ylian commented 5 years ago

Thanks. Closing this issue since it's clearly due to Box zipping the files behind the scenes.

dkp commented 5 years ago

Yes, I see that now...very confusing, but hardly your fault.

On Fri, May 17, 2019 at 1:56 PM Yaogang Lian notifications@github.com wrote:

I see. Didn't know Box might zip files behind the scenes. Hopefully it's something that can be configured.

So this is a completely different issue from the one I tried to fix in 3.2.5 (#1300 https://github.com/HappenApps/Quiver/issues/1300).

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/HappenApps/Quiver/issues/1319?email_source=notifications&email_token=AAHLUQFCS3RMZCURYY66G2TPV4LYRA5CNFSM4HNW5WQ2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGODVV3CKI#issuecomment-493596969, or mute the thread https://github.com/notifications/unsubscribe-auth/AAHLUQFIACA266TWTONFNQTPV4LYRANCNFSM4HNW5WQQ .

-- Dianne Patterson, Ph.D. Research Scientist dkp@email.arizona.edu dkp@u.arizona.edu or diannepat@gmail.com University of Arizona Speech and Hearing Science 314 1131 E 2nd Street, Building #71 (Just East of Harvill)

If you don't hear back from me (and you expected to), I blame the University's new SPAM filter. Please write to my gmail account.

Antipiphany: That moment when you realize how little you actually know

ylian commented 5 years ago

Very confusing indeed. I will add a check in the next update so Quiver will show a helpful error message for this case.