Cant add cards to certain decks

Jonathan's Avatar

Jonathan

14 Mar, 2013 01:19 AM

I keep getting an error that ive only encounted tonight (though ive not added cards to this deck in awhile)

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 run Tools > Maintenance > Check Database.
If that doesn't fix the problem, please copy the following
into a bug report:
Traceback (most recent call last):
File "C:\cygwin\home\dae\win\build\pyi.win32\anki\outPYZ1.pyz/aqt.webview", line 145, in linkHandler File "C:\cygwin\home\dae\win\build\pyi.win32\anki\outPYZ1.pyz/aqt.toolbar", line 74, in linkHandler File "C:\cygwin\home\dae\win\build\pyi.win32\anki\outPYZ1.pyz/aqt.toolbar", line 88, in _addLinkHandler File "C:\cygwin\home\dae\win\build\pyi.win32\anki\outPYZ1.pyz/aqt.main", line 655, in onAddCard File "C:\cygwin\home\dae\win\build\pyi.win32\anki\outPYZ1.pyz/aqt", line 50, in open File "C:\cygwin\home\dae\win\build\pyi.win32\anki\outPYZ1.pyz/aqt.addcards", line 24, in _init_ File "C:\cygwin\home\dae\win\build\pyi.win32\anki\outPYZ1.pyz/aqt.addcards", line 43, in setupChoosers File "C:\cygwin\home\dae\win\build\pyi.win32\anki\outPYZ1.pyz/aqt.modelchooser", line 20, in init File "C:\cygwin\home\dae\win\build\pyi.win32\anki\outPYZ1.pyz/aqt.modelchooser", line 41, in setupModels File "C:\cygwin\home\dae\win\build\pyi.win32\anki\outPYZ1.pyz/aqt.modelchooser", line 83, in updateModels File "C:\cygwin\home\dae\win\build\pyi.win32\anki\outPYZ1.pyz/anki.models", line 108, in current KeyError: 'curModel'

I tried using check database a few times but I still get the same error, even on fresh decks that have no cards in :S Any help would be appricated.

  1. 1 Posted by Jonathan on 14 Mar, 2013 01:23 AM

    Jonathan's Avatar

    nevermind it seemily works now after waiting 5mins :S oh well.

  2. Support Staff 2 Posted by Damien Elmes on 14 Mar, 2013 01:23 AM

    Damien Elmes's Avatar

    Your collection appears to be in an inconsistent state. Have you used
    AnkiDroid or AnkiMobile recently? Please try changing the note type in
    the add cards screen and see if that helps.

  3. Damien Elmes closed this discussion on 14 Mar, 2013 01:33 AM.

Comments are currently closed for this discussion. You can start a new one.

Keyboard shortcuts

Generic

? Show this help
ESC Blurs the current field

Comment Form

r Focus the comment reply box
^ + ↩ Submit the comment

You can use Command ⌘ instead of Control ^ on Mac