friendly message for full disk

This commit is contained in:
Damien Elmes 2019-04-08 15:32:58 +10:00
parent 838545b1d6
commit e7c3de1d9d

View file

@ -80,6 +80,8 @@ your system's temporary folder may be incorrect.""")
return showWarning(self.tempFolderMsg()) return showWarning(self.tempFolderMsg())
if "Beautiful Soup is not an HTTP client" in error: if "Beautiful Soup is not an HTTP client" in error:
return return
if "database or disk is full" in error:
return showWarning(_("Your computer's storage may be full. Please delete some unneeded files, then try again."))
if "disk I/O error" in error: if "disk I/O error" in error:
return showWarning(_("""\ return showWarning(_("""\
An error occurred while accessing the database. An error occurred while accessing the database.