Bug #755
closedExport/import failure
0%
Description
Exported settings in version 3.6.1
Attempted to import that settings file in version 3.8.1
Import failed: android.database.sqlite.SQLiteException: no such table bookmarks (Code 1 SQLITE_ERROR):,while compiling:SELECT *FROM bookmarks
On inspection of the settings file it is zero bytes so I assume it was the export in version 3.6.1 that failed to work correctly.
Files
Updated by Soren Stoutner over 2 years ago
- File Export Successful.png Export Successful.png added
- Status changed from New to Closed
- Assignee set to Soren Stoutner
Usually this is caused by using the file picker to select a name but not tapping the Export button in Privacy Browser afterwards. This happens because, when the OS file picker selects a file name, it creates a file with 0 bytes to prevent anything else from using that file name in the background.
After tapping Export in Privacy Browser, a snackbar will be display on the bottom of the screen that says "Export successful".
Updated by ask low 2 months ago
- File import-error.png import-error.png added
I'm not sure I understand this bug. I've just tried migrating from alt 3.16 to standard 3.17 & experienced this import bug.
Also, export hangs the browser completely. But successfully creates file.
Fortunately, being a root user I had an appdata backup of webview cookies, bookmarks & preferences so I haven't lost anything.
Updated by Soren Stoutner 2 months ago
Import/export to/from test versions I post on Redmine are not guaranteed to work because the schema on those databases might be in-between official schema releases. So, for example, if you were trying to export from one of the testing versions I posted for testing and import into a production release it will probably fail because the import doesn't know how to correctly update the schema. You can always manually edit the SQLite database to match the configuration described at https://www.stoutner.com/privacy-browser-android/settings-schema/, but that is more work than most people want to put into it.
Note that this has nothing to do with whether it is the Alt or the Standard version. Importing/exporting to/from any of the official production versions posted at https://www.stoutner.com/privacy-browser-android/changelog/ should work just fine.
When I post a testing version on Redmine so that people can check if it fixes a bug I will usually indicate to people if they will be able to import their settings from their current production version. But there is no promise that you will be able to export the settings back out and successfully import them into a future release. This is one of the differences between what makes them a testing version and not a beta release, which would require much more maintenance time to support such things. It is also why I make sure the links to these versions expire, so that I don't end up with a bunch of people trying to use them as their daily drivers and encountering problems down the road.
Updated by Soren Stoutner 2 months ago
ask low wrote in #note-5:
Then why does the export function hangs even on the standard version btw ?
It doesn't for me. If you have such a problem I would recommend you create a new feature request as what you are describing doesn't have anything to do with this original bug.