Can't you provide a filename for that new database in that dialog? Just call it tmp.db, then open your own database again. Then, put tmp.db renamed as default.db in the export.
Peter On Sat, 14 Oct 2023, 20:47 Niclas Rieger, <niclasrie...@gmail.com> wrote: > Sorry it's not clear to me how to create an empty database. I see File > > New... but that option want to open a file...it does not create a new > (empty) one. Sorry if the solution is obvious :/ > > On Saturday, 14 October 2023 at 17:26:27 UTC+2 Peter Bienstman wrote: > >> Create an empty database using the desktop app, and use that instead. >> >> Also edit a file like machine id or something, and change the contents to >> something else. >> >> >> Peter >> >> >> On Sat, 14 Oct 2023, 17:21 Niclas Rieger, <niclas...@gmail.com> wrote: >> >>> good idea! I just tried that with the database I have on my Desktop >>> version and with export - import I could make the App "mimick" the same >>> state as the Desktop version, i.e. both Desktop and App have the same >>> number of scheduled, not memorized and active cards. Syncing still fails, >>> however, with the same error as before. >>> >>> How can I create an empty database? At first I thought it would be in >>> File > New... but here I'm asked to provide a new database which then seems >>> to be loaded. >>> >>> On Saturday, 14 October 2023 at 17:03:40 UTC+2 Peter Bienstman wrote: >>> >>>> That's strange, because normally in the later Android versions all data >>>> is removed upon uninstall. >>>> >>>> Possible workaround: export data from the Android app, modify the zip >>>> file to include an empty database, and reimport. >>>> >>>> Peter >>>> >>>> On Sat, 14 Oct 2023, 16:50 Niclas Rieger, <niclas...@gmail.com> wrote: >>>> >>>>> Is there a possibility to incorporate a feature into the app that >>>>> enables users to remove any existing local database? like having a handy >>>>> "reset" button for the app. Alternatively, would it be possible to ensure >>>>> that the app performs a thorough cleanup when it's uninstalled? >>>>> >>>>> In the meantime, I'll explore whether there's a way to access the >>>>> internal data on my phone. It appears that this newer Android model I have >>>>> only allows access to standard data files such as images, downloads, and >>>>> documents. >>>>> On Saturday, 14 October 2023 at 16:31:06 UTC+2 Niclas Rieger wrote: >>>>> >>>>>> I Looked for "sdcard", but unfortunately nothing. I remember that I >>>>>> could access Mnemosyne data in the past on my phone, but I a got a new >>>>>> phone which may be the problem... >>>>>> >>>>>> On Saturday, 14 October 2023 at 16:07:34 UTC+2 Peter Bienstman wrote: >>>>>> >>>>>>> Try looking for a directory /sdcard/Mnemosyne or something like >>>>>>> that. >>>>>>> >>>>>>> Cheers, >>>>>>> >>>>>>> Peter >>>>>>> >>>>>>> On Sat, 14 Oct 2023, 15:37 Niclas Rieger, <niclas...@gmail.com> >>>>>>> wrote: >>>>>>> >>>>>>>> Hi Peter et al. >>>>>>>> Just got a fresh install of 2.10.1 - thank you! I wanted to sync my >>>>>>>> Android App but got the error message: >>>>>>>> >>>>>>>> >>>>>>>> *Error: mismatched user ids. The first sync should happen on an >>>>>>>> empty database. Backup then delete the local database and try again. * >>>>>>>> >>>>>>>> Removing and reinstalling from the PlayStore, however, does not to >>>>>>>> remove the local database, it seems since I already have scheduled >>>>>>>> cards >>>>>>>> when I first open it & the error persists. >>>>>>>> >>>>>>>> Now, I want to delete the local database files on my phone >>>>>>>> manually. But neither through my phone, nor by connecting through USB >>>>>>>> cable/Ubuntu I am able to track down the mnemosyne files. In Ubuntu, >>>>>>>> changing to the root directory where my phone is mounted and then >>>>>>>> entering >>>>>>>> this directory, I see two directories (1) Phone and (2) Card. Running >>>>>>>> >>>>>>>> *find . -type d -name "*mnemosyne*" -print* >>>>>>>> >>>>>>>> in a terminal yields just two entries*,* >>>>>>>> >>>>>>>> ./Phone/Android/data/org.mnemosyne >>>>>>>> ./Card/Android/data/org.mnemosyne >>>>>>>> >>>>>>>> which are both empty. Any idea where I can find this infamous >>>>>>>> database? >>>>>>>> Thank you >>>>>>>> Niclas >>>>>>>> >>>>>>>> -- >>>>>>>> You received this message because you are subscribed to the Google >>>>>>>> Groups "mnemosyne-proj-users" group. >>>>>>>> To unsubscribe from this group and stop receiving emails from it, >>>>>>>> send an email to mnemosyne-proj-u...@googlegroups.com. >>>>>>>> To view this discussion on the web visit >>>>>>>> https://groups.google.com/d/msgid/mnemosyne-proj-users/032b18c3-b817-4559-bd99-52d1eef9a4edn%40googlegroups.com >>>>>>>> <https://groups.google.com/d/msgid/mnemosyne-proj-users/032b18c3-b817-4559-bd99-52d1eef9a4edn%40googlegroups.com?utm_medium=email&utm_source=footer> >>>>>>>> . >>>>>>>> >>>>>>> -- >>>>> You received this message because you are subscribed to the Google >>>>> Groups "mnemosyne-proj-users" group. >>>>> To unsubscribe from this group and stop receiving emails from it, send >>>>> an email to mnemosyne-proj-u...@googlegroups.com. >>>>> >>>> To view this discussion on the web visit >>>>> https://groups.google.com/d/msgid/mnemosyne-proj-users/f408bcca-5e06-4e57-9efc-15a45c5f3506n%40googlegroups.com >>>>> <https://groups.google.com/d/msgid/mnemosyne-proj-users/f408bcca-5e06-4e57-9efc-15a45c5f3506n%40googlegroups.com?utm_medium=email&utm_source=footer> >>>>> . >>>>> >>>> -- >>> You received this message because you are subscribed to the Google >>> Groups "mnemosyne-proj-users" group. >>> To unsubscribe from this group and stop receiving emails from it, send >>> an email to mnemosyne-proj-u...@googlegroups.com. >>> >> To view this discussion on the web visit >>> https://groups.google.com/d/msgid/mnemosyne-proj-users/e2e96b1f-e885-4eba-88ba-2eb12d70c81an%40googlegroups.com >>> <https://groups.google.com/d/msgid/mnemosyne-proj-users/e2e96b1f-e885-4eba-88ba-2eb12d70c81an%40googlegroups.com?utm_medium=email&utm_source=footer> >>> . >>> >> -- > You received this message because you are subscribed to the Google Groups > "mnemosyne-proj-users" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to mnemosyne-proj-users+unsubscr...@googlegroups.com. > To view this discussion on the web visit > https://groups.google.com/d/msgid/mnemosyne-proj-users/e346406a-f76a-4b1a-a07d-8369ab33c607n%40googlegroups.com > <https://groups.google.com/d/msgid/mnemosyne-proj-users/e346406a-f76a-4b1a-a07d-8369ab33c607n%40googlegroups.com?utm_medium=email&utm_source=footer> > . > -- You received this message because you are subscribed to the Google Groups "mnemosyne-proj-users" group. To unsubscribe from this group and stop receiving emails from it, send an email to mnemosyne-proj-users+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/mnemosyne-proj-users/CAMdxoPHq4rg3NQHJH21zfNCCq64Yd5G2CEnTZe1n-7fvAd%2BQBw%40mail.gmail.com.