Export issue

61 views
Skip to first unread message

Gwern Branwen

unread,
Feb 1, 2014, 12:42:26 PM2/1/14
to Mnemosyne mailing list
Curious if anyone is getting this issue when they try to export their
cards to 2.x format with the Debian package mnemosyne-2.2.1-2:

An unexpected error has occurred.
Please forward the following info to the developers:

Traceback (innermost last):
File "/usr/lib/python2.7/dist-packages/mnemosyne/pyqt_ui/export_dlg.py",
line 68, in accept
result = self.format().do_export(filename)
File "/usr/lib/python2.7/dist-packages/mnemosyne/libmnemosyne/file_formats/mnemosyne2_cards.py",
line 113, in do_export
repr_log_entry(log_entry).encode("utf-8"))
File "/usr/lib/python2.7/dist-packages/openSM2sync/text_formats/xml_format.py",
line 104, in repr_log_entry
tags += "<%s>%s</%s>" % (key, saxutils.escape(value), key)
File "/usr/lib/python2.7/xml/sax/saxutils.py", line 32, in escape
data = data.replace("&", "&amp;")
AttributeError: 'NoneType' object has no attribute 'replace'

--
gwern
http://www.gwern.net

Peter Bienstman

unread,
Feb 2, 2014, 12:59:21 AM2/2/14
to mnemosyne-...@googlegroups.com
Please send me the db file you're trying to export.

Cheers,

Peter

Peter Bienstman

unread,
Feb 13, 2014, 3:18:41 PM2/13/14
to mnemosyne-...@googlegroups.com
Fixed off-list, was related to bad Latex install.

Peter

Gwern Branwen

unread,
Feb 13, 2014, 4:00:24 PM2/13/14
to Mnemosyne mailing list
On Thu, Feb 13, 2014 at 3:18 PM, Peter Bienstman
<peter.b...@gmail.com> wrote:
> Fixed off-list, was related to bad Latex install.

Specifically, there being no Latex install and the error message not
explaining why thing were broken. So if anyone gets an export error
like that, check to make sure that you have a full Latex install
locally and you're not running off cached PNGs etc.

--
gwern
http://www.gwern.net
Reply all
Reply to author
Forward
0 new messages