catch windows firewall issue

This commit is contained in:
Damien Elmes 2017-07-09 13:26:50 +10:00
parent 15ca733f14
commit 7d71170a33

View File

@ -67,6 +67,8 @@ Anki manual for more information.""")
self.mw.progress.clear() self.mw.progress.clear()
if "abortSchemaMod" in error: if "abortSchemaMod" in error:
return return
if "10013" in error:
return showWarning(_("Your firewall or antivirus program is preventing Anki from creating a connection to itself. Please add an exception for Anki."))
if "Pyaudio not" in error: if "Pyaudio not" in error:
return showWarning(_("Please install PyAudio")) return showWarning(_("Please install PyAudio"))
if "install mplayer" in error: if "install mplayer" in error: