I replicated this error on my version of 2.4 on macOS. I'll try it with the
latest pbienst branch when I next get a chance

On Fri, Jan 6, 2017 at 8:17 AM Peter Bienstman <[email protected]>
wrote:

> Hi,
>
> I tried importing this card set:
> http://mnemosyne-proj.org/cards/chinese-hsk-set
>
> Under Windows, this proceeded without problems.
>
> It might be a platform specific issue, so I've committed a patch to
> explicitly specify the encoding, so hopefully this helps in your case.
>
> Perhaps Devin, our OSX packager, can verify if this solves the problem.
>
> Cheers,
>
> Peter
>
> > -----Original Message-----
> > From: [email protected] [mailto:mnemosyne-
> > [email protected]] On Behalf Of MarcoP
> > Sent: 06 January 2017 00:28
> > To: mnemosyne-proj-users <[email protected]>
> > Cc: [email protected]
> > Subject: [mnemosyne-proj-users] Mnemosyne 2.4 Similar problem when
> > importing cards (?)
> >
> > This may be a similar problem, therefore posted here:
> >
> > When importing cards (Mnemosyne 2.4, menu selection File-Import... select
> > 2.x cards), using the following card sets (available under one of the
> > Mnemosyne-links, see website "Sharing cards", i.e. http://mnemosyne-
> > proj.org/card-sets under German or Chinese):
> >   chinese_hsk.cards
> >   hanziSY.cards
> >   quick_german.cards
> >
> > the following error message occurs:
> >
> > "An unexpected error has occurred.
> > Please forward the following info to the developers:
> >
> > Traceback (innermost last):
> >   File "mnemosyne/pyqt_ui/import_dlg.py", line 76, in accept
> >   File "mnemosyne/libmnemosyne/file_formats/mnemosyne2_cards.py",
> > line 213, in do_import
> >   File
> > "/usr/local/Cellar/python3/3.5.2_3/Frameworks/Python.framework/Version
> > s/3.5/lib/python3.5/encodings/ascii.py", line 26, in decode
> >  UnicodeDecodeError: 'ascii' codec can't decode byte 0xe6 in position
> 561:
> > ordinal not in range(128)"
> >
> > (or:  UnicodeDecodeError: 'ascii' codec can't decode byte 0xe6 in
> position
> > 351: ordinal not in range(128), or:
> >  UnicodeDecodeError: 'ascii' codec can't decode byte 0xe6 in position
> 976:
> > ordinal not in range(128) --- line number reported depending on the
> file).
> >
> > Furthermore, the "Decompressing" info remains, can only be eliminated
> > when ESC is pressed.
> > Machine: MacOSX 10.11.6
> >
> > Strange thing: When using MnemoSyne 2.3.6, these card sets can be
> > imported. And then they are available under MnemoSyne 2.4 as well! (both
> > Mnemosyne versions installed in parallel; select menu Cards-Browse
> cards...
> > in Mnemosyne2.4).
> >
> > ==> You may try to import the file in a former version, to have it
> available in
> > v2.4.
> >
> > Hope it helps... M
> >
> > --
> > 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 mnemosyne-proj-
> > [email protected].
> > To view this discussion on the web visit
> > https://groups.google.com/d/msgid/mnemosyne-proj-users/a5959ed4-
> > 557c-4223-8637-1e28f960d5d9%40googlegroups.com.
> > 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/CAKr60uOCFkAhQqizKkM4hhUf0NW1OZ0agyvGfOkf%2BsZ_Zt6abA%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to