Anki is a smart spaced repetition flashcard program
Find a file
Damien Elmes 9cc99cdced possible fix for " super-class ... Preferences was never called"
Can't reproduce the issue, but it seems the user was able to open the
preferences screen when no collection was loaded. If an error was
caught in loadCollection() the main window was not being hidden, so
perhaps a timing issue was preventing the profiles screen from taking
modal focus.

Removed the check in the prefs init - it is hopefully no longer
necessary, and returning before QDialog.__init__() was called was
causing the problem.

Caught exception:
  File "aqt/webview.py", line 27, in cmd
  File "aqt/webview.py", line 85, in _onCmd
  File "aqt/webview.py", line 360, in _onBridgeCmd
  File "aqt/toolbar.py", line 56, in _linkHandler
  File "aqt/toolbar.py", line 80, in _syncLinkHandler
  File "aqt/main.py", line 669, in onSync
  File "aqt/main.py", line 365, in unloadCollection
  File "aqt/main.py", line 611, in closeAllWindows
  File "aqt/__init__.py", line 110, in closeAll
<class 'RuntimeError'>: super-class __init__() of type Preferences was never called
2019-04-21 19:02:03 +10:00
anki catch full mpv request queue 2019-04-21 18:56:11 +10:00
aqt possible fix for " super-class ... Preferences was never called" 2019-04-21 19:02:03 +10:00
designer revert undo shortcut change in browser 2019-03-11 13:43:25 +10:00
tests add option to strip html in export 2019-03-05 08:57:53 +10:00
tools reduce test verbosity 2019-03-05 08:57:00 +10:00
web Revert "Remove <br> from empty fields." 2019-04-16 18:58:59 +10:00
.gitignore move versionWithBuild into anki module 2019-02-28 08:37:42 +10:00
.pylintrc enable some warnings in pylint 2019-03-04 17:27:39 +10:00
.travis.sh lint in travis 2019-03-04 17:58:50 +10:00
.travis.yml turn off success notifications 2019-03-04 18:29:12 +10:00
anki.1 merged libanki and ankiqt into single distro 2012-12-21 16:51:59 +09:00
anki.desktop update anki.desktop (thanks to julian) 2017-01-24 18:29:31 +10:00
anki.png merged libanki and ankiqt into single distro 2012-12-21 16:51:59 +09:00
anki.xml update file associations 2018-08-20 14:38:22 +10:00
anki.xpm merged libanki and ankiqt into single distro 2012-12-21 16:51:59 +09:00
LICENSE update copyright and clarify licenses 2019-02-05 14:01:33 +10:00
LICENSE.logo clarify logo license 2017-09-06 17:01:23 +10:00
Makefile add missing license file 2018-03-17 10:37:50 +10:00
pkgkey.asc add public key for release signing 2018-09-18 10:40:45 +10:00
README.contributing Update README.contributing 2018-07-10 09:13:10 -07:00
README.development Update pip command for PyQt packaging changes 2019-02-15 13:51:57 +01:00
README.md readme tweak 2017-08-16 20:02:09 +10:00
requirements.txt use distro in place of deprecated dist() method 2019-03-04 15:39:10 +10:00
runanki explicit python3 in runanki, remove /usr/share ref 2016-06-28 15:47:09 +10:00

Anki

This is the development branch of Anki.

For stable builds, please see https://apps.ankiweb.net.

For non-developers who want to try this development code, the easiest way is to use a binary package - please see https://anki.tenderapp.com/discussions/beta-testing

To run from source, please see README.development.

Build Status