mirror of
https://github.com/ankitects/anki.git
synced 2025-09-19 06:22:22 -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:
|
try:
|
||||||
ui.dialogs.get("Graphs", self, self.deck)
|
ui.dialogs.get("Graphs", self, self.deck)
|
||||||
except (ImportError, ValueError):
|
except (ImportError, ValueError):
|
||||||
|
traceback.print_exc()
|
||||||
if sys.platform.startswith("win32"):
|
if sys.platform.startswith("win32"):
|
||||||
ui.utils.showInfo(
|
ui.utils.showInfo(
|
||||||
_("To display graphs, Anki needs a .dll file which\n"
|
_("To display graphs, Anki needs a .dll file which\n"
|
||||||
"you don't have. Please install:\n") +
|
"you don't have. Please install:\n") +
|
||||||
"http://www.dll-files.com/dllindex/dll-files.shtml?msvcp71")
|
"http://www.dll-files.com/dllindex/dll-files.shtml?msvcp71")
|
||||||
else:
|
else:
|
||||||
#traceback.print_exc()
|
|
||||||
ui.utils.showInfo(_(
|
ui.utils.showInfo(_(
|
||||||
"Your version of Matplotlib is broken.\n"
|
"Your version of Matplotlib is broken.\n"
|
||||||
"Please see http://ichi2.net/anki/wiki/MatplotlibBroken"))
|
"Please see http://ichi2.net/anki/wiki/MatplotlibBroken"))
|
||||||
|
|
Loading…
Reference in a new issue