Package: mnemosyne Version: 2.4-0.1 Severity: normal --- Please enter the report below this line. ---
I tried to convert an existing wordlist to be able to import it to Mnemosyne as 'tab delimited (txt)'. However, the importer wasn't able to import it and presented an error message: """ An unexpected error has occurred. Please forward the following info to the developers: Traceback (innermost last): File "/usr/lib/python3/dist-packages/mnemosyne/pyqt_ui/import_dlg.py", line 76, in accept self.format().do_import(filename, extra_tag_names) File "/usr/lib/python3/dist-packages/mnemosyne/libmnemosyne/file_formats/tsv.py", line 82, in do_import tag_names=tag_names, check_for_duplicates=False, save=False) File "/usr/lib/python3/dist-packages/mnemosyne/libmnemosyne/controllers/default_controller.py", line 112, in create_new_cards assert card_type.is_fact_data_valid(fact_data) AssertionError """ In the end, the input file was not absolutely correct: one entry was missing. I found out hat this happens when a line directly starts with a tab (i.e. content is missing). See also attached file where an error is in line 3. The other way round (content, tab, line-end) there is a meaningful error message: "Badly formed input on line 3:" --- System information. -- Architecture: Kernel: Linux 4.9.0-6-amd64 Debian Release: 9.4 500 stable-updates ftp.de.debian.org 500 stable security.debian.org 500 stable ftp.de.debian.org --- Package information. --- Depends (Version) | Installed =========================================-+-=========== libqt5sql5-sqlite | 5.7.1+dfsg-3+b1 python3 (>= 3.5) | 3.5.3-1 python3-cherrypy3 | 3.5.0-2 python3-matplotlib | 2.0.0+dfsg1-2 python3-pyqt5 | 5.7+dfsg-5 python3-pyqt5.qtsql | 5.7+dfsg-5 python3-pyqt5.qtwebchannel | 5.7+dfsg-5 python3-pyqt5.qtwebengine | 5.7+dfsg-5 python3-webob | 1:1.6.2-2 python3:any (>= 3.5~) | libjs-sphinxdoc (>= 1.0) | 1.4.9-2
aaaa bbbb cccc dddd eeee gggg hhhh