error when trying to view card info

Mark's Avatar

Mark

16 Oct, 2019 02:18 AM

I get an error when trying to view card info (ctrl+shift+ I) on certain decks. have tried rebuilding database and disabling addons but makes no difference.

Anki 2.1.15 (442df9d6) Python 3.6.7 Qt 5.12.1 PyQt 5.11.3
Platform: Windows 10
Flags: frz=True ao=False sv=1

Caught exception:
  File "aqt\browser.py", line 1127, in showCardInfo
  File "aqt\browser.py", line 1153, in _cardInfoData
  File "anki\stats.py", line 27, in report
  File "anki\stats.py", line 76, in date
<class 'OSError'>: [Errno 22] Invalid argument

Any ideas?
Thanks

  1. Support Staff 1 Posted by Damien Elmes on 16 Oct, 2019 11:01 AM

    Damien Elmes's Avatar

    The card creation date appears to be invalid - perhaps you imported the material from a source that did not set the dates correctly?

Reply to this discussion

Internal reply

Formatting help / Preview (switch to plain text) No formatting (switch to Markdown)

Attaching KB article:

»

Attached Files

You can attach files up to 10MB

If you don't have an account yet, we need to confirm you're human and not a machine trying to post spam.

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