And deleting and readding the affected cards?

Would it be possible to modify the grade by a python script importing 
libmnemosyne?

On Wednesday, September 3, 2014 9:37:55 AM UTC+2, Peter Bienstman wrote:
>
> Not really, I'm afraid... 
>
> For obvious reasons, tinkering with the database without going through the 
> libmnemosyne API is Mnemosyne's equivalent of 'warranty void when 
> opened'... 
>
> Kind regards, 
>
> Peter 
>
> > -----Original Message----- 
> > From: [email protected] <javascript:> [mailto:mnemosyne- 
> <javascript:> 
> > [email protected] <javascript:>] On Behalf Of Oisín 
> > Sent: 03 September 2014 00:32 
> > To: [email protected] <javascript:> 
> > Subject: Re: [mnemosyne-proj-users] Hacking the Mnemosyne databse 
> > 
> > Would exporting and re-importing the deck at this point sidestep the 
> > potential sync issues? 
> > 
> > 
> > 
> > On 2 September 2014 17:30, Peter Bienstman <[email protected] 
> <javascript:>> 
> > wrote: 
> > 
> > 
> >         Then I will not be able to help you if you run into sync 
> problems... 
> > 
> >         Peter 
> > 
> > 
> >         > -----Original Message----- 
> >         > From: [email protected] <javascript:> 
> > [mailto:mnemosyne- <javascript:> 
> >         > [email protected] <javascript:>] On Behalf Of Marcin 
> M. 
> >         > Sent: 02 September 2014 15:28 
> >         > To: [email protected] <javascript:> 
> >         > Subject: Re: [mnemosyne-proj-users] Hacking the Mnemosyne 
> > databse 
> >         > 
> > 
> >         > And what if such thing has been already done before posting? 
> :) 
> >         > 
> >         > On Tuesday, September 2, 2014 5:32:42 AM UTC+2, Peter 
> > Bienstman wrote: 
> >         > 
> >         >       No, you would mess up the sync protocol... 
> >         > 
> >         >       Peter 
> >         > 
> >         > 
> >         >       On September 1, 2014 6:34:16 PM CEST, "Marcin M." 
> > 
> >         > <[email protected] <javascript:> > wrote: 
> >         > 
> >         >               Impossible if you have lots of cards and the 
> majority is well- 
> >         > known to you. ;) 
> >         > 
> >         >               And as for hacking the database. If one would 
> only set the 
> >         > grades to 0/1 and next rep to some value (don't know which) 
> and 
> > did nothing 
> >         > else in the db, would it be safe? 
> >         > 
> >         >               On Monday, September 1, 2014 5:51:13 PM UTC+2, 
> Peter 
> >         > Bienstman wrote: 
> >         > 
> >         >                       I'm afraid the recommended way for the 
> moment is 
> >         > paying attention when you grade.. 
> >         > 
> >         >                       Peter 
> >         > 
> >         >                       > -----Original Message----- 
> >         >                       > From: [email protected] 
> >         > [mailto:mnemosyne- <javascript:> 
> >         >                       > [email protected]] On Behalf 
> Of Marcin 
> >         > M. 
> >         >                       > Sent: 01 September 2014 17:14 
> >         >                       > To: [email protected] 
> >         >                       > Subject: Re: [mnemosyne-proj-users] 
> Hacking the 
> >         > Mnemosyne databse 
> >         >                       > 
> >         >                       > So what's the recommended way of 
> handling such 
> >         > cases until undo is 
> >         >                       > implemented? 5 months (my case) is a 
> lot. 
> >         >                       > 
> >         >                       > On Monday, September 1, 2014 4:27:30 
> PM UTC+2, 
> >         > Peter Bienstman wrote: 
> >         >                       > 
> >         >                       >         Sorry, I really don't 
> recommend manually 
> >         > changing the internals of 
> >         >                       > the database, as this risks causing 
> corruption and 
> >         > hard to debug problems 
> >         >                       > later. 
> >         >                       > 
> >         >                       >         An 'undo' feature is on my 
> todo list, though. 
> >         >                       > 
> >         >                       >         Peter 
> >         >                       > 
> >         >                       >         > -----Original Message----- 
> >         >                       >         > From: 
> [email protected] 
> >         > <javascript:> 
> >         >                       > [mailto:mnemosyne- <javascript:> 
> <javascript:> 
> >         >                       >         > [email protected] 
> <javascript:> ] On 
> >         > Behalf Of Marcin M. 
> >         >                       >         > Sent: 01 September 2014 
> 16:06 
> >         >                       >         > To: 
> [email protected] 
> >         > <javascript:> 
> >         >                       >         > Subject: 
> [mnemosyne-proj-users] Hacking the 
> >         > Mnemosyne 
> >         >                       > databse 
> >         >                       >         > 
> >         >                       >         > Sometimes, when I misgrade a 
> card, the next 
> >         > repetition is in several 
> >         >                       > months. 
> >         >                       >         > To fix it I thought about 
> editing the SQLite 
> >         > database Mnemosyne 
> >         >                       > uses. 
> >         >                       >         > 
> >         >                       >         > What changes should be done 
> to do a full 
> >         > regrade a card using a 
> >         >                       > SQLite 
> >         >                       >         > database browser. I can 
> change the `grade` 
> >         > property but what to do 
> >         >                       > with the 
> >         >                       >         > `next rep` property? Are 
> there any other 
> >         > card's properties to be 
> >         >                       > changed? 
> >         >                       >         > 
> >         >                       >         > 
> >         >                       >         > -- 
> >         >                       >         > 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- 
> >         > [email protected] <javascript:> 
> > <mailto:users%[email protected] <javascript:>> 
> >         >                       > <javascript:> . 
> >         >                       >         > To post to this group, send 
> email to 
> >         > mnemosyne-proj- 
> >         >                       >         > [email protected] 
> <javascript:> . 
> >         >                       >         > To view this discussion on 
> the web visit 
> >         >                       >         > 
> >         > https://groups.google.com/d/msgid/mnemosyne-proj- 
> >         > <https://groups.google.com/d/msgid/mnemosyne-proj-> 
> >         >                       > users/42fa1f43-e198- 
> >         > <https://groups.google.com/d/msgid/mnemosyne- 
> > 
> >         > <https://groups.google.com/d/msgid/mnemosyne-> 
> >         >                       > proj-users/42fa1f43-e198-> 
> >         >                       >         > 417c-9163- 
> >         > 34ded819f886%40googlegroups.com <http://40googlegroups.com> 
> >         >                       > <http://40googlegroups.com> 
> >         >                       >         > 
> >         > <https://groups.google.com/d/msgid/mnemosyne-proj- 
> > 
> >         > <https://groups.google.com/d/msgid/mnemosyne-proj-> 
> >         >                       > users/42fa1f43- 
> >         > <https://groups.google.com/d/msgid/mnemosyne-proj- 
> >         > <https://groups.google.com/d/msgid/mnemosyne-proj-> 
> >         >                       > users/42fa1f43-> 
> >         >                       >         > e198-417c-9163- 
> >         >                       >         > 
> >         >                       > 
> >         > 
> > 34ded819f886%40googlegroups.com?utm_medium=email&utm_source=foo 
> >         > 
> > <http://40googlegroups.com?utm_medium=email&utm_source=foo> 
> >         >                       > 
> > 
> >         > 
> > <http://40googlegroups.com?utm_medium=email&utm_source=foo 
> > 
> >         > 
> > <http://40googlegroups.com?utm_medium=email&utm_source=foo> > 
> >         >                       >         > ter> . 
> >         >                       >         > For more options, visit 
> >         > https://groups.google.com/d/optout 
> >         > <https://groups.google.com/d/optout> 
> >         >                       > <https://groups.google.com/d/optout 
> >         > <https://groups.google.com/d/optout> > . 
> >         >                       > 
> >         >                       > 
> >         >                       > 
> >         >                       > 
> >         >                       > -- 
> >         >                       > 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- 
> >         > [email protected] <javascript:> 
> > <mailto:users%[email protected] <javascript:>> . 
> > 
> >         >                       > To post to this group, send email to 
> mnemosyne- 
> >         > proj- 
> > 
> >         >                       > [email protected]. 
> >         >                       > To view this discussion on the web 
> visit 
> >         >                       > 
> https://groups.google.com/d/msgid/mnemosyne- 
> > 
> >         > proj-users/5bd857ba- 
> > <https://groups.google.com/d/msgid/mnemosyne- 
> >         > proj-users/5bd857ba-> 
> >         >                       > fda6-485d-9a03- 
> >         > 73a0ab87d5dd%40googlegroups.com 
> > <http://40googlegroups.com> 
> >         >                       > <
> https://groups.google.com/d/msgid/mnemosyne- 
> >         > proj-users/5bd857ba- 
> > <https://groups.google.com/d/msgid/mnemosyne- 
> >         > proj-users/5bd857ba-> 
> >         >                       > fda6-485d-9a03- 
> >         >                       > 
> >         > 
> > 73a0ab87d5dd%40googlegroups.com?utm_medium=email&utm_source=fo 
> > 
> >         > 
> > <http://40googlegroups.com?utm_medium=email&utm_source=fo> 
> >         >                       > oter> . 
> >         >                       > For more options, visit 
> >         > https://groups.google.com/d/optout 
> >         > <https://groups.google.com/d/optout> . 
> >         > 
> >         > 
> >         > 
> >         > 
> >         > 
> >         > 
> >         > -- 
> >         > 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:> 
> > <mailto:mnemosyne-proj-users%[email protected] 
> <javascript:>> . 
> >         > To post to this group, send email to mnemosyne-proj- 
> > 
> >         > [email protected] <javascript:>. 
> > 
> >         > To view this discussion on the web visit 
> > 
> >         > https://groups.google.com/d/msgid/mnemosyne-proj- 
> > users/05b5a730- 
> >         > 26de-4aab-a6e4-4e462eb526c7%40googlegroups.com 
> >         > <https://groups.google.com/d/msgid/mnemosyne-proj- 
> > users/05b5a730- 
> >         > 26de-4aab-a6e4- 
> >         > 
> > 4e462eb526c7%40googlegroups.com?utm_medium=email&utm_source=foo 
> >         > ter> . 
> > 
> >         > For more options, visit https://groups.google.com/d/optout. 
> > 
> > 
> >         -- 
> >         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:> 
> > <mailto:mnemosyne-proj-users%[email protected] 
> <javascript:>> . 
> >         To post to this group, send email to mnemosyne-proj- 
> > [email protected] <javascript:>. 
> > 
> >         To view this discussion on the web visit 
> > https://groups.google.com/d/msgid/mnemosyne-proj- 
> > users/007b01cfc6cb%243f5835c0%24be08a140%24%40UGent.be. 
> > 
> >         For more options, visit https://groups.google.com/d/optout. 
> > 
> > 
> > 
> > -- 
> > 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 post to this group, send email to mnemosyne-proj- 
> > [email protected] <javascript:>. 
> > To view this discussion on the web visit 
> > https://groups.google.com/d/msgid/mnemosyne-proj-users/CAO- 
> > 0pXDk0DKQiWn%2Bq31q5hZu%3Dca%2BA8wGWvz8ZNS- 
> > P6sZBz2_QA%40mail.gmail.com 
> > <https://groups.google.com/d/msgid/mnemosyne-proj-users/CAO- 
> > 0pXDk0DKQiWn%2Bq31q5hZu%3Dca%2BA8wGWvz8ZNS- 
> > P6sZBz2_QA%40mail.gmail.com?utm_medium=email&utm_source=footer> . 
> > For more options, visit https://groups.google.com/d/optout. 
>
>
>

-- 
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 post to this group, send email to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/mnemosyne-proj-users/39bc4d28-6684-4554-9513-ea7e1266027f%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to