From 50e0d0b8116e49c9d07ff90ff697c6c1c6427bcf Mon Sep 17 00:00:00 2001 From: "Soren I. Bjornstad" Date: Fri, 20 Jun 2014 10:00:44 -0500 Subject: [PATCH] better message when Anki can't create a profile folder --- aqt/profiles.py | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/aqt/profiles.py b/aqt/profiles.py index 4503240d6..a7472947c 100644 --- a/aqt/profiles.py +++ b/aqt/profiles.py @@ -88,8 +88,10 @@ class ProfileManager(object): # can't translate, as lang not initialized QMessageBox.critical( None, "Error", """\ -Anki can't write to the harddisk. Please see the \ -documentation for information on using a flash drive.""") +Anki could not create the folder %s. Please ensure that location is not \ +read-only and you have permission to write to it. If you cannot fix this \ +issue, please see the documentation for information on running Anki from \ +a flash drive.""" % self.base) raise # Profile load/save