Importing data

82 views
Skip to first unread message

NotSoHappy

unread,
Nov 14, 2012, 11:10:28 AM11/14/12
to mnemosyne-...@googlegroups.com
I tried to import data but my data is not in the required formats. What i have been doing for years with Mnemosyne is have the question on one line and the answer  on another line. That is no longer a possibility, it seems.

Where can i find information on what the currently allowed formats actually entail? I tried to import as .xml but was told that it was not Mnem .xml or something to that effect.

Also, if i want to get rid of this upgrade and re-install the old format, can i download it from somewhere?

Thanks for letting me know.

Peter Bienstman

unread,
Nov 14, 2012, 11:20:53 AM11/14/12
to mnemosyne-...@googlegroups.com
Easiest is just to have each card on a single line and separate Q and A
by a tab.

I actually thought nobody used the multiline format, and I didn't see
the advantage over the tab-separated single line format, which is why
it's not in 2.x at the moment.

I could of course bring back that other format, but before I do that I
wanted to know if switching to a tab-separated single line format would
be really such a hassle for you that consider downgrading to 1.x?

Cheers,

Peter

hejopop

unread,
Nov 16, 2012, 4:36:27 PM11/16/12
to mnemosyne-...@googlegroups.com
No, it is not a big deal. I have only one file to import and i could change that to tab separation. Importing seems a little of a mute point at the moment as i did a tab-separated test page and found that the Korean comes across as gibberish. When importing i tried all the possible Korean options shown but none seems to work. However, when i manually add a card, the Korean text is perfect. Don't know what to do about this.

--
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-proj-users@googlegroups.com.
To unsubscribe from this group, send email to mnemosyne-proj-users+unsub...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.



hejopop

unread,
Nov 16, 2012, 4:40:56 PM11/16/12
to mnemosyne-...@googlegroups.com
The problem with importing test data that turn out to be gibberish is that you cannot delete it without deleting sister cards as well. Yesterday, i had stopped to painfully add cards manually. They will be deleted as well. I don't like to have lots of  deactivated files that only have gibberish text data. I wish there was a way to delete cards/files without deleting sister cards.

Peter Bienstman

unread,
Nov 17, 2012, 2:11:46 AM11/17/12
to mnemosyne-...@googlegroups.com

Quoting hejopop <hej...@gmail.com>:

> The problem with importing test data that turn out to be gibberish is that
> you cannot delete it without deleting sister cards as well. Yesterday, i
> had stopped to painfully add cards manually. They will be deleted as well.
> I don't like to have lots of deactivated files that only have gibberish
> text data. I wish there was a way to delete cards/files without deleting
> sister cards.

If e.g. 1 of 2 sisters contains gibberish, the other one will contain
gibberish as well, since they are derived from the same data.

Mnemosyne does deliberately not give an option delete sister cards,
only deactivate them. Otherwise, it's much harder to keep the UI
simple and the database in a consistent state.

As for the reason of the gibberish, make sure the text file is encoded
in UTF8, not UTF16 or some other encoding.

Good luck!

Peter

hejopop

unread,
Nov 18, 2012, 12:40:41 PM11/18/12
to mnemosyne-...@googlegroups.com
Thanks for telling me about UTF8 ; I had forgotten and looked under all the "Korean" labeled encoding that all resulted in gibberish. Yes, it is no problem at all to upload files that are tab separated.

I am not entirely sure what sisters are. I understand they are sisters if you have a card and then give it multiple tags. Apart from the tags, they are identical.
Here's a quick an dirty example. Each card  input exactly as written here:
Question - Answer 1 gibberish
Question - Answer 2 TEST.
I *think* I  had cards like this. The first one would be gibberish from an uploaded file with the wrong encoding. The second one would be correct and manually input by me. When i deleted the first card it also deleted the second card as the program perceived them as sisters.
Just curious to know as i might want to change related cards to prevent them being viewed as sisters once i know the criteria.
Thanks!

Peter Bienstman

unread,
Nov 19, 2012, 3:05:02 AM11/19/12
to mnemosyne-...@googlegroups.com
If you use e.g. the front-to-back and back-to-front card type, you'll
get two cards from the same data. These are sister cards, so this has
nothing to do with the tags they have.

If you can reproduce that if you delete a card, a non-sister card gets
deleted as well, let me know, because that's not how it's supposed to
work :-)

Petetr
Reply all
Reply to author
Forward
0 new messages