mirror of
https://github.com/ankitects/anki.git
synced 2025-09-18 22:12:21 -04:00
show exact graph failure error
This commit is contained in:
parent
d5361b34db
commit
3ffdae29bb
1 changed files with 1 additions and 1 deletions
|
@ -999,13 +999,13 @@ Error was:\n%(f1)s\n...\n%(f2)s""") % {'f1': fmt1, 'f2': fmt2})
|
|||
try:
|
||||
ui.dialogs.get("Graphs", self, self.deck)
|
||||
except (ImportError, ValueError):
|
||||
traceback.print_exc()
|
||||
if sys.platform.startswith("win32"):
|
||||
ui.utils.showInfo(
|
||||
_("To display graphs, Anki needs a .dll file which\n"
|
||||
"you don't have. Please install:\n") +
|
||||
"http://www.dll-files.com/dllindex/dll-files.shtml?msvcp71")
|
||||
else:
|
||||
#traceback.print_exc()
|
||||
ui.utils.showInfo(_(
|
||||
"Your version of Matplotlib is broken.\n"
|
||||
"Please see http://ichi2.net/anki/wiki/MatplotlibBroken"))
|
||||
|
|
Loading…
Reference in a new issue