Can't import Mnemosyne 2.0 cards

Amelie's Avatar

Amelie

11 May, 2013 10:50 AM

I tried importing the .db file and got the following error message:

Import failed.
Traceback (most recent call last):
  File "C:\cygwin\home\dae\win\build\pyi.win32\anki\outPYZ1.pyz/aqt.importing", line 306, in importFile
  File "C:\cygwin\home\dae\win\build\pyi.win32\anki\outPYZ1.pyz/anki.importing.mnemo", line 74, in run
AttributeError: 'NoneType' object has no attribute 'group'

Any ideas why and what I can do to fix it?

  1. Support Staff 1 Posted by Damien Elmes on 11 May, 2013 11:00 AM

    Damien Elmes's Avatar

    Please attach the db file and I'll take a look.

  2. 2 Posted by Amelie on 11 May, 2013 05:50 PM

    Amelie's Avatar

    Here's the .db file

    Thank you

  3. Support Staff 3 Posted by Damien Elmes on 12 May, 2013 09:15 AM

    Damien Elmes's Avatar

    Please have a look at the attached file and see if it looks correct. The import log was:

    190 notes added, 0 notes updated.
    0 notes added, 0 notes updated.
    Appeared twice in file: si
    Appeared twice in file: grave
    Appeared twice in file: triste
    Appeared twice in file: difficile
    Appeared twice in file: facile
    4005 notes added, 0 notes updated.
    4195 notes imported.

  4. 4 Posted by Amelie on 12 May, 2013 12:11 PM

    Amelie's Avatar

    That looks mostly okay, except there are 24 missing cards (which include the "appeared twice ones"). I'm not sure which ones went missing.

  5. Support Staff 5 Posted by Damien Elmes on 12 May, 2013 12:19 PM

    Damien Elmes's Avatar

    The importer currently doesn't support cloze deletion cards

  6. 6 Posted by Amelie on 12 May, 2013 12:42 PM

    Amelie's Avatar

    Does it only support front to back style cards? I've been experimenting with only certain kinds of cards and those are the only ones which will work, which is a pain, and some of my cards have more than two fields...

    Is there a way I can manually convert a .db file to an anki file? I'll need to import several different files again (because I need to separate the languages so no cards get lost, and because of the fact that I have done today's cards on mnemosyne) and I'd rather not just rely on you to change each one...

  7. Support Staff 7 Posted by Damien Elmes on 13 May, 2013 03:33 AM

    Damien Elmes's Avatar

    The stable code didn't support cloned note types, so the file I sent you was created after I fixed this issue. I've just pushed an updated snapshot to https://anki.tenderapp.com/discussions/beta-testing/9-test-build-wi..., so after installing that you should be able to import the db file yourself.

  8. 8 Posted by Amelie on 13 May, 2013 08:38 AM

    Amelie's Avatar

    Thank you very much!

  9. Support Staff 9 Posted by Damien Elmes on 14 May, 2013 11:38 AM

    Damien Elmes's Avatar

    No prob!

  10. Damien Elmes closed this discussion on 14 May, 2013 11:38 AM.

Comments are currently closed for this discussion. You can start a new one.

Keyboard shortcuts

Generic

? Show this help
ESC Blurs the current field

Comment Form

r Focus the comment reply box
^ + ↩ Submit the comment

You can use Command ⌘ instead of Control ^ on Mac