2.1 RC1: Tags Lost on Export

70 views
Skip to first unread message

silverbear

unread,
Aug 31, 2012, 8:12:19 AM8/31/12
to mnemosyne-...@googlegroups.com
Hi Peter,
I've just synced my laptop (2.1 RC1 Server Win32) and desktop (2.0.1 Win64 Client) and  found that some of the tags have gone missing on the client.
Most items have 2 tags; sometimes one tag was lost, sometimes both. I suspect it's something to do with which tags were active at the time of the sync. Is this meant to be? Will investigate further if required.

As a further note: I've only just started using the (De)Activate categories options (brill. by the way!). However, there were a couple of times when the window opened with just the Category list frame sized to the full window i.e. the tag tree frame was missing. It seems to occur when I first start using it (i.e. first on my laptop when I started playing with the option, and then later,  when I first started using it on my desktop). Since then, no problem.



silverbear

unread,
Aug 31, 2012, 8:16:03 AM8/31/12
to mnemosyne-...@googlegroups.com
Sorry - title should have read Tags lost on Sync

Peter Bienstman

unread,
Aug 31, 2012, 8:23:35 AM8/31/12
to mnemosyne-...@googlegroups.com
On 08/31/2012 02:12 PM, silverbear wrote:
> Hi Peter,
> I've just synced my laptop (2.1 RC1 Server Win32) and desktop (2.0.1
> Win64 Client) and found that some of the tags have gone missing on the
> client.
> Most items have 2 tags; sometimes one tag was lost, sometimes both. I
> suspect it's something to do with which tags were active at the time of
> the sync. Is this meant to be? Will investigate further if required.

This should not happen. If you can reproduce this, I'd be interested in
the exact steps that cause this. Normally, if you just review cards, the
contents of the card and its tags are not changed at all during sync.
So, make sure that you have not accidentally removed these tags during edit.

Also, make sure that what you're seeing is actually tags gone missing,
and not just cards being activated or deactivated because you started
using (de)activate cards.

> As a further note: I've only just started using the (De)Activate
> categories options (brill. by the way!). However, there were a couple of
> times when the window opened with just the Category list frame sized to
> the full window i.e. the tag tree frame was missing. It seems to occur
> when I first start using it (i.e. first on my laptop when I started
> playing with the option, and then later, when I first started using it
> on my desktop). Since then, no problem.

The first time you use the program, Qt makes a guess of how big the
windows should be, and there's probably a Qt bug here. However,
Mnemosyne remembers if you resize the windows, so in this way, we can
work around the Qt bug.

Thanks for the feedback!

Peter

silverbear

unread,
Aug 31, 2012, 11:58:55 AM8/31/12
to mnemosyne-...@googlegroups.com
Looks like I've just lost my post so to start again......

The tags are indeed missing as can be seen in the card browser; the number of untagged cards > 0 (0 on the server)

Looking at the numbers more closely, the problem seems to be where I've renamed a category on the server. The change worked there ...well I did end up with a handful of cards with duplicate tags but I think this is a red herring.

e.g. es::new::vb::preterite -> es::vb::preterite where es::vb::preterite pre-exists on both the client & the server.

[This is a technique I was using for isolating new cards for later release; I would then Add/Remove tags to activate them. Since investigating the Activate Sets option, I've realised that this not the best way and therefore decided to rename all the es::new.... tags to es::.....]

'Will try to replicate when I have more time this evening.

B.




On Friday, 31 August 2012 13:12:19 UTC+1, silverbear wrote:

Peter Bienstman

unread,
Aug 31, 2012, 2:18:39 PM8/31/12
to mnemosyne-...@googlegroups.com
Quoting silverbear <b...@grizz.eclipse.co.uk>:

> Looking at the numbers more closely, the problem seems to be where I've
> renamed a category on the server. The change worked there ...well I did end
> up with a handful of cards with duplicate tags but I think this is a red
> herring.

Even that should not have happened...

> e.g. es::new::vb::preterite -> es::vb::preterite where es::vb::preterite
> pre-exists on both the client & the server.
>
> [This is a technique I was using for isolating new cards for later release;
> I would then Add/Remove tags to activate them. Since investigating the
> Activate Sets option, I've realised that this not the best way and
> therefore decided to rename all the es::new.... tags to es::.....]
>
> 'Will try to replicate when I have more time this evening.

Yes, that would be useful, thanks!

Peter


silverbear

unread,
Sep 1, 2012, 4:32:47 AM9/1/12
to mnemosyne-...@googlegroups.com
OK, I've managed to replicate the problem. The test was run as follows:

1. Create 2 cards (Vocab card type) on server:

xx::new::vb::test             xyz1       hoja

xx::vb::test                      xyz2       arbol

2. Sync client & server

>> 2 new cards appear on client with tags

3. Change tag on server (Renamed in tag tree of Browser):

xx::new::vb::test -> xx::vb::test                               …..renamed at 'test' level

>> on server, 2x2 cards appear under xx::vb::test in Browser, tags correct

4. Sync client & server

>> xyz1,hoja cards have no tag, xyz2, arbol cards have tag as expected

B




On Friday, 31 August 2012 13:12:19 UTC+1, silverbear wrote:

silverbear

unread,
Sep 1, 2012, 4:58:36 AM9/1/12
to mnemosyne-...@googlegroups.com
TEST FOR DUPLICATE TAGS
I hesitate to report this as it's 'picky' and I only found it because I made an error when renaming tags.


1.Create 2 cards on server:

Xx::vb::test         xyz1       hoja

Xx::vb::test         xyz2       arbol

 2. Add xx::aa::vb::test tag to card1:

>> Xx::vb::test, xx::aa::vb::test        xyz1       hoja

>> Xx::vb::test         xyz2       arbol

 3. Rename tag in Browser tag tree frame:

Xx::aa::vb::test -> xx::vb::test    ….renamed at ‘test ‘ level

4. Check results (still on server)

>> Xx::vb::test, xx::vb::test                     xyz1       hoja                        Note the duplicate tag.

>> Xx::vb::test                                         xyz2       arbol

Probably irrelevant, but when sync'd to the client, xyz1 hoja retains one tag (hence the problems analysing the numbers).



On Friday, 31 August 2012 13:12:19 UTC+1, silverbear wrote:

Peter Bienstman

unread,
Sep 1, 2012, 1:13:47 PM9/1/12
to mnemosyne-...@googlegroups.com
OK, thanks for the detailed steps! I'll have a look at this to see if
I can replicate this next week.

Cheers,

Peter
> --
> You received this message because you are subscribed to the Google
> Groups "mnemosyne-proj-users" group.
> To post to this group, send email to mnemosyne-...@googlegroups.com.
> To unsubscribe from this group, send email to
> mnemosyne-proj-u...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msg/mnemosyne-proj-users/-/FXWniuTTKUwJ.
> For more options, visit https://groups.google.com/groups/opt_out.
>
>
>



Peter Bienstman

unread,
Sep 1, 2012, 1:16:19 PM9/1/12
to mnemosyne-...@googlegroups.com
Tags are case sensitive, so Xx and xx are different tags :-)

However, they should also be different after syncing to the client, so
I'll investigate this further.

Peter
> --
> You received this message because you are subscribed to the Google
> Groups "mnemosyne-proj-users" group.
> To post to this group, send email to mnemosyne-...@googlegroups.com.
> To unsubscribe from this group, send email to
> mnemosyne-proj-u...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msg/mnemosyne-proj-users/-/DYcEM5Z0tbEJ.

silverbear

unread,
Sep 1, 2012, 1:29:15 PM9/1/12
to mnemosyne-...@googlegroups.com
Sorry - the difference in case is here on Google only - the tags entered into the server were all lowercase.


On Friday, 31 August 2012 13:12:19 UTC+1, silverbear wrote:

Peter Bienstman

unread,
Sep 4, 2012, 2:30:56 PM9/4/12
to mnemosyne-...@googlegroups.com
Fixed, thanks!

Peter
> --
> You received this message because you are subscribed to the Google
> Groups "mnemosyne-proj-users" group.
> To post to this group, send email to mnemosyne-...@googlegroups.com.
> To unsubscribe from this group, send email to
> mnemosyne-proj-u...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msg/mnemosyne-proj-users/-/FXWniuTTKUwJ.

Peter Bienstman

unread,
Sep 4, 2012, 2:31:11 PM9/4/12
to mnemosyne-...@googlegroups.com
Fixed, thanks!

Peter

Quoting silverbear <b...@grizz.eclipse.co.uk>:

> --
> You received this message because you are subscribed to the Google
> Groups "mnemosyne-proj-users" group.
> To post to this group, send email to mnemosyne-...@googlegroups.com.
> To unsubscribe from this group, send email to
> mnemosyne-proj-u...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msg/mnemosyne-proj-users/-/DYcEM5Z0tbEJ.
Reply all
Reply to author
Forward
0 new messages