Package: anki
Version: 1.2.9-2
Severity: normal
I have a deck with 266 cards at ankiweb. It was edited mostly with
AnkiDroid, I pretty much only used the desktop Anki to create a
three-field fact layout.
When I do "Download personal deck" and open the "Browse Items" window,
I get:
An error occurred. It may have been caused by a harmless bug,
or your deck may have a problem.
To confirm it's not a problem with your deck, please restart
Anki and run Tools > Advanced > Check Database.
If that doesn't fix the problem, please copy the following
into a bug report:
Traceback (most recent call last):
File "/usr/share/anki/ankiqt/ui/cardlist.py", line 770, in rowChanged
self.showCardInfo(self.currentCard)
File "/usr/share/anki/ankiqt/ui/cardlist.py", line 781, in showCardInfo
self.cardStats.report())
File "/usr/share/anki/anki/stats.py", line 292, in report
self.addLine(_("Model Tags"), c.fact.model.tags)
AttributeError: 'NoneType' object has no attribute 'model'
Traceback (most recent call last):
File "/usr/share/anki/ankiqt/ui/cardlist.py", line 334, in paint
elif "Marked" in row[CARD_TAGS]:
TypeError: argument of type 'NoneType' is not iterable
Traceback (most recent call last):
File "/usr/share/anki/ankiqt/ui/cardlist.py", line 334, in paint
elif "Marked" in row[CARD_TAGS]:
TypeError: argument of type 'NoneType' is not iterable
Traceback (most recent call last):
File "/usr/share/anki/ankiqt/ui/cardlist.py", line 334, in paint
elif "Marked" in row[CARD_TAGS]:
TypeError: argument of type 'NoneType' is not iterable
Traceback (most recent call last):
File "/usr/share/anki/ankiqt/ui/cardlist.py", line 334, in paint
elif "Marked" in row[CARD_TAGS]:
TypeError: argument of type 'NoneType' is not iterable
Traceback (most recent call last):
File "/usr/share/anki/ankiqt/ui/cardlist.py", line 334, in paint
elif "Marked" in row[CARD_TAGS]:
TypeError: argument of type 'NoneType' is not iterable
Traceback (most recent call last):
File "/usr/share/anki/ankiqt/ui/cardlist.py", line 334, in paint
elif "Marked" in row[CARD_TAGS]:
TypeError: argument of type 'NoneType' is not iterable
Traceback (most recent call last):
File "/usr/share/anki/ankiqt/ui/cardlist.py", line 334, in paint
elif "Marked" in row[CARD_TAGS]:
TypeError: argument of type 'NoneType' is not iterable
Traceback (most recent call last):
File "/usr/share/anki/ankiqt/ui/cardlist.py", line 334, in paint
elif "Marked" in row[CARD_TAGS]:
TypeError: argument of type 'NoneType' is not iterable
Traceback (most recent call last):
File "/usr/share/anki/ankiqt/ui/cardlist.py", line 334, in paint
elif "Marked" in row[CARD_TAGS]:
TypeError: argument of type 'NoneType' is not iterable
Traceback (most recent call last):
File "/usr/share/anki/ankiqt/ui/cardlist.py", line 334, in paint
elif "Marked" in row[CARD_TAGS]:
TypeError: argument of type 'NoneType' is not iterable
Traceback (most recent call last):
File "/usr/share/anki/ankiqt/ui/cardlist.py", line 334, in paint
elif "Marked" in row[CARD_TAGS]:
TypeError: argument of type 'NoneType' is not iterable
Traceback (most recent call last):
File "/usr/share/anki/ankiqt/ui/cardlist.py", line 334, in paint
elif "Marked" in row[CARD_TAGS]:
TypeError: argument of type 'NoneType' is not iterable
That error pops up repeatedly e.g. when selecting cards or searching
something. Also, some cards cannot be found in the browser. From
Ankidroid, everything seems fine.
If I do "Check Database", I get
Problems found:
Recovered 52 cards with missing fact
Cards with corrupt or missing facts have been placed into new facts. Your
scheduling info and card content has been preserved, but the original layout of
the facts has been lost.
And indeed some cards have lost their layout, there were three-entry
facts but have been converted to two-entry. Again, on Ankidroid all
cards including these look fine.
Falk
-- System Information:
Debian Release: sid
APT prefers unstable
APT policy: (500, 'unstable')
Architecture: amd64 (x86_64)
Kernel: Linux 3.2.0-2-amd64 (SMP w/8 CPU cores)
Locale: LANG=en_US.utf8, LC_CTYPE=en_US.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Versions of packages anki depends on:
ii python 2.7.2-10
ii python-beautifulsoup 3.2.0-2
ii python-qt4 4.9.1-1
ii python-simplejson 2.4.0-1
ii python-sqlalchemy 0.7.6-1
Versions of packages anki recommends:
ii kakasi 2.3.5~pre1+cvs20071101-1
ii python-matplotlib 1.1.0-1
Versions of packages anki suggests:
pn dvipng <none>
-- no debconf information
--
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]