-
Notifications
You must be signed in to change notification settings - Fork 800
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
Some problems with the new version #300
Comments
What version of Firefox are you using? |
You should be able to connect to Dropbox now. |
Thanks for the fast response. I am using Firefox 42.0. Mabye this is a problem caused by the older version stored locally? Dropbox authentication works now, thank you :) Unfortunately my notes stored in Dropbox from the old version do not seem to get synced to the new Laverna version. There is always a loading circle when selecting "All notes". |
We will check it out, though I doubt it's because of the older version. |
Alright. I am using Ubuntu 15.10 by the way. So is there a link to the old version, so I can sync the notes with Chrome (since Firefox does not work and it is the only browser where I have the notes locally)? |
In Firefox, can you press F12, switch to 'console' tab, update the page, and take a screenshot after several seconds? |
Konsole is the right tab. |
It seems like indexedDB is not available for some reason, are you in a Private browsing mode? Or perhaps some kind of extension is blocking it. BTW. We have uploaded old version of the Laverna. You can access it here: https://laverna.cc/old.html |
I don't use private browsing, but could try deactivating some extensions. |
Still the same problem with all extensions deactivated. |
Try to set "Firefox will: Remember history" in the preferences panel of Firefox. |
about:preferences#privacy |
It is definitely something caused by my settings. Just tried it with a clean Firefox by renaming the settings folder and it worked. |
If that's the case, probably either indexeddb was disabled specifically or the database was damaged. To test if IndexedDb was disabled, open |
Also to test if settings are to blame, you can ran Firefox in a safe mode.
Or if all your notes are synchronized with Dropbox, you can just create a new folder named |
The IndexedDb is enabled in about:config for me. Interesting thing is that the problem occurs in safe mode of Firefox as well. |
New app doesn't work for me too. I am using the latest Firefox. Also after trying to open a new app, old one broke completely (the one from 'index.html' (stored in cache I assume) was working fine just minutes before). There is only empty left side pane on the screen. The error in my console for the old app is:
New app gives me the following error:
IndexedDB is allowed in settings. I also have noted the database files with my notes in dropbox are quite old, maybe because there were some errors in sync config, after I have turned off encryption. With this situation and new errors in mind, can you tell me please, how can I safely export my current db in plaintext format? |
Alright, can you try to open https://laverna.cc/dist? Maybe there it will work. Edit: right now we don't have time to code and therefore we can't help with exporting data into plain text format. On Monday we'll tackle with the issue. |
Yeah, it works, thanks. |
You're welcome. I'm glad it helped. |
Hi, Indeed there are several issues:
I use Laverna on 3 devices: 2 PCs and a phone. And now I've connected the 2 devices (one PC and the phone), I think my DropBox storage is a mess, here is what I have:
Need some advices here about what I've to do to fix this. I run Firefox 42 too. |
If you are using your custom dropbox key, you need to add a new redirect URL in Dropbox App settings. For laverna.cc domain: https://laverna.cc/app/dropbox.html |
Ok thanks, this trick works. I've been able to clean up the notes folders within DropBox. Seems great to me, I've just a remaining issue, I've created an issue about this. |
I just tried to load the new version of Laverna on a different machine, Firefox sync enabled and get the same issue. |
By the same issue do you mean Error 400 on Dropbox? |
No, the infinite loading problem. |
@wwebfor just tried, but unfortunately still the same problem. |
Did you close the third tab before trying? |
No, but now I tried and still the same problem. Also in a different browser I cannot see the new features in the Nightly version unfortunately. Have you uploaded the new version already? |
Yes we did. Also we updated appcache file. |
Weird. For example exporting notes is missing for me. But on Chrome migrate.html solved problem with missing UI elements on nightly. |
It should be on this page #/settings/importExport |
Can you try to run key combination ``Ctrl+Shift+r` in your browser. It should force your browser to load new versions of files. |
I already tried it. |
Deleting browser cache and cookies helped. |
Can you try to run this command in you Firefox developer console on page laverna.cc: var req = indexedDB.open('notes-db'); req.onsuccess = function() {console.log('success');}; req.onerror = function(e) {console.error('Error', e);} |
On the nightly version? |
It doesn't matter as long as you are on laverna.cc |
It is a bug in Firefox https://bugzil.la/1143003 If you have synchronized everything with a cloud storage, you can try to remove the database and reload the page. With this command you can remove the database:
|
Worked, thanks. Interesting thing is that the settings seem to have been transferred. Cloud sync worked immediately after reloading the site. |
Same issue with nightly though, got Beta v0.7.1-rc still. |
Do you mean on Firefox it shows v0.7.1-rc? |
Yes. But after deleting offline webdata in Firefox settings it is on the current version now. |
Seems like something is wrong with our appcache file. We'll fix it later. Regarding settings, probably it got your settings from localStorage (in previous version we used to store settings in localStorage) |
Alright. Thanks for helping with this issue. Seems it can be closed? |
Thank you for your patience. Closing the issue since you agreed it was fixed. |
No problem, wasn't even your fault, apparently. |
@wwebfor Thanks. I have successfully exported data in the nightly version. |
Thanks for rewriting so much. Unfortunately I am facing some problems using it. In Firefox loading does never finish (https://laverna.cc/app/) and on Chrome it loads, but I don't know, whether Importing settings works. I don't get a message that they ware imported (probably they were).
Also the Dropbox authorisation page shows an Error message. Please say if you need more details.
The text was updated successfully, but these errors were encountered: