Problem importing from supermemo

33 views
Skip to first unread message

AJ NOURI

unread,
Apr 8, 2017, 11:23:47 AM4/8/17
to AnkiDroid
Whatever the export parameters of supermemo, 
Ankiweb fails to import the collection

Import failed.
Traceback (most recent call last):
File "/usr/share/anki/aqt/importing.py", line 329, in importFile
importer.run()
File "/usr/share/anki/anki/importing/noteimp.py", line 62, in run
c = self.foreignNotes()
File "/usr/share/anki/anki/importing/supermemo_xml.py", line 177, in foreignNotes
self.parse()
File "/usr/share/anki/anki/importing/supermemo_xml.py", line 305, in parse
parseMethod(node)
File "/usr/share/anki/anki/importing/supermemo_xml.py", line 320, in parse_Element
handlerMethod(node)
File "/usr/share/anki/anki/importing/supermemo_xml.py", line 342, in do_SuperMemoCollection
for child in node.childNodes: self.parse(child)
File "/usr/share/anki/anki/importing/supermemo_xml.py", line 305, in parse
parseMethod(node)
File "/usr/share/anki/anki/importing/supermemo_xml.py", line 320, in parse_Element
handlerMethod(node)
File "/usr/share/anki/anki/importing/supermemo_xml.py", line 353, in do_SuperMemoElement
for child in node.childNodes: self.parse(child)
File "/usr/share/anki/anki/importing/supermemo_xml.py", line 305, in parse
parseMethod(node)
File "/usr/share/anki/anki/importing/supermemo_xml.py", line 320, in parse_Element
handlerMethod(node)
File "/usr/share/anki/anki/importing/supermemo_xml.py", line 353, in do_SuperMemoElement
for child in node.childNodes: self.parse(child)
File "/usr/share/anki/anki/importing/supermemo_xml.py", line 305, in parse
parseMethod(node)
File "/usr/share/anki/anki/importing/supermemo_xml.py", line 320, in parse_Element
handlerMethod(node)
File "/usr/share/anki/anki/importing/supermemo_xml.py", line 353, in do_SuperMemoElement
for child in node.childNodes: self.parse(child)
File "/usr/share/anki/anki/importing/supermemo_xml.py", line 305, in parse
parseMethod(node)
File "/usr/share/anki/anki/importing/supermemo_xml.py", line 320, in parse_Element
handlerMethod(node)
File "/usr/share/anki/anki/importing/supermemo_xml.py", line 353, in do_SuperMemoElement
for child in node.childNodes: self.parse(child)
File "/usr/share/anki/anki/importing/supermemo_xml.py", line 305, in parse
parseMethod(node)
File "/usr/share/anki/anki/importing/supermemo_xml.py", line 320, in parse_Element
handlerMethod(node)
File "/usr/share/anki/anki/importing/supermemo_xml.py", line 353, in do_SuperMemoElement
for child in node.childNodes: self.parse(child)
File "/usr/share/anki/anki/importing/supermemo_xml.py", line 305, in parse
parseMethod(node)
File "/usr/share/anki/anki/importing/supermemo_xml.py", line 320, in parse_Element
handlerMethod(node)
File "/usr/share/anki/anki/importing/supermemo_xml.py", line 353, in do_SuperMemoElement
for child in node.childNodes: self.parse(child)
File "/usr/share/anki/anki/importing/supermemo_xml.py", line 305, in parse
parseMethod(node)
File "/usr/share/anki/anki/importing/supermemo_xml.py", line 320, in parse_Element
handlerMethod(node)
File "/usr/share/anki/anki/importing/supermemo_xml.py", line 399, in do_Content
self.cntElm[-1][child.tagName]=child.firstChild.data
AttributeError: Element instance has no attribute 'data'


Versions:
  • supermemo 16
  • Version 2.0.36

Anyone with this issue?

AJ NOURI

unread,
Apr 8, 2017, 11:29:12 AM4/8/17
to AnkiDroid
It is a collection of 9000 elements, which I was maintaining for more than four years.
Any ideas about the cause?

Timothy Rae

unread,
Apr 11, 2017, 4:11:42 AM4/11/17
to AnkiDroid
This forum is only for AnkiDroid, the Android version of Anki.
Please go to the main Anki support site for help with the desktop version:
Reply all
Reply to author
Forward
0 new messages