Re: [mnemosyne-proj-users] Having trouble syncing Mnemosyne and Mnemogogo

104 views
Skip to first unread message

Timothy Bourke

unread,
Jan 31, 2013, 1:03:27 AM1/31/13
to mnemosyne-...@googlegroups.com
Hello,

On Jan 30 at 15:52 -0800, clwa...@gmail.com wrote:
> I have just recently started using Mnemogogo, but I have noticed
> that my scheduled cards are out of sync between Mnemosyne and
> Mnemogogo.
>
> For example: When I export to Mnemogogo it shows that I have 16
> cards scheduled for tomorrow, however when I import back to
> Mnemosyne it shows that I have 16 cards scheduled for the day AFTER
> tomorrow and nothing for tomorrow.

Could you please open the CONFIG file exported by Mnemogogo (using
Notepad or similar) and check the line that begins with "start_date="
and "start_days="?

Normally, these values should be "1970-01-01" and "0", respectively,
but they may be "1969-12-31" and "-1", in which case the schedule in
Mnemododo will be one day off.

> I looked in the forum for similar problems and came across a post
> with a similar issue. In that instance, it turned out to be a
> timezone problem between the two devices. I have checked and double
> check, and I am sure that time zones and local time are the same for
> my phone and my computer.

The discrepancy with start_date and start_days caused this problem for
somebody else. I still haven't figured out why the exported values are
incorrect (and why the problem was only reported so recently), but I
will do so soon.

@Peter, did the start date adjustments during upgrade from Mnemosyne
1.x change within the last four or so months?

Tim.

signature.asc

Timothy Bourke

unread,
Jan 31, 2013, 4:51:30 AM1/31/13
to mnemosyne-...@googlegroups.com, clwa...@gmail.com
On Jan 30 at 16:08 -0800, deric...@gmail.com wrote:
> I had a similar problem. Tim Bourke helped me through it (Thank you
> Tim!) -- The CONFIG file exported by Mnemogogo includes two lines:
>
> start_days=-1 start_date=1969-12-31
>
> If you change the above to this:
>
> start_days=0 start_date=1970-01-01
>
> it solved the problem for me.
>
> Mnemogogo overwrites this file with each export, so you have to
> change it each time, but it solved the problem for me.

Actually, it's more of a workaround than a solution, since I don't yet
understand how this situation arises!

Tim.

signature.asc

Timothy Bourke

unread,
Feb 1, 2013, 3:42:05 AM2/1/13
to mnemosyne-...@googlegroups.com
On Jan 31 at 14:24 -0800, clwa...@gmail.com wrote:
> I opened the CONFIG file and it shows :
>
> logging=1
> log_format=2
> day_starts_at=3
> grade_0_items_at_once=10
> database=default-
> start_days=-1
> start_date=1969-12-31
> last_day=15743
>
> Changing "start_days=0" and "start_date=1970-01-01" does solve the
> problem. I ended up editing "mnemogogo_plugin.py" to force it to print
> the proper dates in the CONFIG file after exporting.

OK. That shouldn't cause any major problems.

I would like to try to understand what is happening before releasing
an updated version of Mnemogogo.

Would it trouble you to send me a zipped copy of your Mnemosyne
database by private mail? I promise to respect your privacy.

Tim.

signature.asc
Reply all
Reply to author
Forward
0 new messages