What if I tried to just manually send over the database from the client to the server and recover from the client's default.db on the server? Would that work? (I don't care about losing the 1 repetition on the server)
On Thursday, February 6, 2020 at 6:12:39 AM UTC-5, Peter Bienstman wrote: > > Hi, > > > > Even reviewing a single card on both the client and the server will cause > a sync conflict, and it will ask you which of the two versions you want to > keep (this is like what you write ‘undoing the progress made’). > > > > However, after this full sync, there should be no more issues as long as > you don’t review a new card on both machines. > > > > If there are still problems then, just let me know what exactly happens > (the error message you post are still from a very old version of Mnemosyne). > > > > Cheers, > > > > Peter > > > > *From:* [email protected] <javascript:> < > [email protected] <javascript:>> *On Behalf Of *Anonymous > Anonymous > *Sent:* 06 February 2020 12:07 > *To:* mnemosyne-proj-users <[email protected] <javascript:>> > *Subject:* Re: [mnemosyne-proj-users] Re: Mnemosyne Sync Error > > > > I reviewed one or two cards on the server after the failed client to > server sync, just to see if the scheduled counter would update. However, I > was getting this error before doing that repetition, even when there were > no conflicts. > > > > Is there anyway to tell which cards are causing the conflict, or undoing > the progress made. I guess I could restore the server from a backup or > maybe look in the browser and delete the card? I expressly avoided most > repetitions on the server during client use for this very reason. I only > did one upon return after a failed sync. > > > > > > > > I think the best clue to the error may be here: > reset_but_try_to_keep_current_card > > > > SQLite objects created in a thread can only be used in that same > thread.The object was created in thread id 4737470464 and this is thread id > 140735087799488 > > > > On Thursday, February 6, 2020 at 3:29:05 AM UTC-5, Peter Bienstman wrote: > > Hi, > > > > When syncing, you have to make sure that you don’t revise the same cards > on the client and the server at the same time, otherwise you’ll get sync > conflicts. Is that what is going on? > > > > Cheers, > > > > Peter > > > > *From:* [email protected] <[email protected]> *On > Behalf Of *Anonymous Anonymous > *Sent:* 05 February 2020 20:30 > *To:* mnemosyne-proj-users <[email protected]> > *Subject:* [mnemosyne-proj-users] Re: Mnemosyne Sync Error > > > > Hi, thanks for clarifying. > > > > Ok I did that at first and synchronized successfully once. > > > > Now I'm trying to send the repetition progress from the client back to the > server, but can't seem to do it successfully. The client can login but the > server hangs with the error described above after selecting to 'keep local > version'. 'Fetch remote' works but it overwrites the client's repetition > progress with the ancient server state. > > > > Any idea how to send back my repetition progress from the client? > > > > Thanks! > > On Wednesday, February 5, 2020 at 9:53:10 AM UTC-5, Anonymous Anonymous > wrote: > > Hi there, > > > > After successfully synchronizing a Mnemosyne 2.0.1 desktop 'A' with a > Mnemosyne 2.0.1 laptop 'B' on foreign network, I began using laptop B to > perform daily repetitions. > > > > Now I would like to send back the repetition progress made on the laptop B > to desktop A, so that I may resume learning with A! > > > > However, I am having difficulty. When I attempt to perform a sync from B > to A everything is fine until a dialog asks about whether to 'keep local > version' or 'fetch remote'. If 'fetch remote' is selected, the progress > made on B is overwritten with the now outdated A. If 'keep local version' > is selected on B, the following error is presented. > > > > Mnemosyne Error > > > > Uncaught exception! > > Traceback (innermost last): > > File > "/Applications/Mnemosyne.app/Contents/Resources/lib/python2.7/mnemosyne/pyqt_ui/main_wdgt.py", > > line 201, in configure > > File > "/Applications/Mnemosyne.app/Contents/Resources/lib/python2.7/mnemosyne/libmnemosyne/controllers/default_controller.py", > > line 767, in show_configuration_dialog > > File > "/Applications/Mnemosyne.app/Contents/Resources/lib/python2.7/mnemosyne/libmnemosyne/review_controllers/SM2_controller.py", > > line 75, in reset_but_try_to_keep_current_card > > File > "/Applications/Mnemosyne.app/Contents/Resources/lib/python2.7/mnemosyne/libmnemosyne/schedulers/SM2_mnemosyne.py", > > line 211, in rebuild_queue > > File > "/Applications/Mnemosyne.app/Contents/Resources/lib/python2.7/mnemosyne/libmnemosyne/databases/SQLite_statistics.py", > > line 42, in active_count > > File > "/Applications/Mnemosyne.app/Contents/Resources/lib/python2.7/mnemosyne/libmnemosyne/databases/_sqlite3.py", > > line 71, in execute > > ProgrammingError: SQLite objects created in a thread can only be used in > that same thread.The object was created in thread id 4737470464 and this is > thread id 140735087799488 > > > > I had thought this was due to an older version of Mnemosyne so updated to > 2.7, but when I sync with that it wants to refetch the original data from A > since it can't tell that B has been already built from A. > > > > So how can I send back the repetition progress made on B to A? Do I need > to setup a sync server on B?? > > > > Thank you very much in advance! > > -- > > -- > 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 [email protected] <javascript:>. > To view this discussion on the web visit > https://groups.google.com/d/msgid/mnemosyne-proj-users/7095f3dd-7545-4848-8f14-58aa31e2ef26%40googlegroups.com > > <https://groups.google.com/d/msgid/mnemosyne-proj-users/7095f3dd-7545-4848-8f14-58aa31e2ef26%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 [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/mnemosyne-proj-users/157930cf-8f8e-4b90-a820-ed3bb65838a9%40googlegroups.com.
