Looking into it more, I can get Mnemosyne 2.0.1 to play the videos in the 
video tags, just not Mnemosyne 2.7.

On Thursday, February 13, 2020 at 7:16:05 PM UTC-5, Anonymous Anonymous 
wrote:
>
> Hey Peter,
>
> Thank you for the help.  I believe this worked, sending the client 
> default.db database manually to the server and using that.  I believe I now 
> have the client's repetition progress on my desktop.  Hurrah!  We'll see 
> about the syncing back and forth later but I'm sure that'll work too.
>
> Unfortunately, I just noticed that I now have another issue now which is 
> likely unrelated.  None of my videos are playing in the cards, not even if 
> I make a new card with a video file from my computer.  Any thoughts? 
>  Should I make a new topic or for this question?  I recently updated my 
> operating system to allow me to install Menmosyne 2.7, I wonder if that has 
> anything to do with it..
>
> Anyway thanks for all the help with the first issue!
>
> On Saturday, February 8, 2020 at 9:19:51 AM UTC-5, Peter Bienstman wrote:
>>
>> Hi,
>>
>>  
>>
>> I suggest you do the following:
>>
>>  
>>
>> -          Pick one default.db you want to keep (either from the client 
>> or the server)
>>
>> -          Copy that databe to the server database
>>
>> -          Completely delete the client data directory (
>> https://mnemosyne-proj.org/help/backups.php) (or better move it to a 
>> different location as a backup)
>>
>> -          From an empty client database, do a sync with server. It will 
>> download the complete server database
>>
>> -          From now on, if you’re careful not to review the same card on 
>> the client and the server, you will not get sync conflicts, and the sync 
>> will be much faster, since it only sends the modified cards along.
>>
>>  
>>
>> Cheers,
>>
>>  
>>
>> Peter
>>
>>  
>>
>> *From:* [email protected] [mailto:
>> [email protected]] *On Behalf Of *Anonymous Anonymous
>> *Sent:* 07 February 2020 18:25
>> *To:* mnemosyne-proj-users <[email protected]>
>> *Subject:* Re: [mnemosyne-proj-users] Re: Mnemosyne Sync Error
>>
>>  
>>
>> 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] <[email protected]> *On 
>> Behalf Of *Anonymous Anonymous
>> *Sent:* 06 February 2020 12:07
>> *To:* mnemosyne-proj-users <[email protected]>
>> *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].
>> 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
>>  
>> <https://groups.google.com/d/msgid/mnemosyne-proj-users/157930cf-8f8e-4b90-a820-ed3bb65838a9%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/95ae11c0-cadc-4d64-a6e7-b3a2487ce70a%40googlegroups.com.

Reply via email to