--- a/eric6/UI/UserInterface.py Sat Oct 31 12:19:44 2020 +0100 +++ b/eric6/UI/UserInterface.py Sat Dec 05 18:02:17 2020 +0100 @@ -1488,7 +1488,7 @@ installInfo["eric"], os.W_OK) with open(installInfoFile, "w") as infoFile: json.dump(installInfo, infoFile, indent=2) - except EnvironmentError: + except OSError: # ignore this pass else: @@ -4996,7 +4996,7 @@ ' is zero length.</p>') .format(fn)) return - except EnvironmentError: + except OSError: E5MessageBox.critical( self, self.tr('Problem'), @@ -5066,7 +5066,7 @@ ' is zero length.</p>') .format(fn)) return - except EnvironmentError: + except OSError: E5MessageBox.critical( self, self.tr('Problem'), @@ -5236,7 +5236,7 @@ ' is zero length.</p>') .format(fn)) return - except EnvironmentError: + except OSError: E5MessageBox.critical( self, self.tr('Problem'), @@ -5292,7 +5292,7 @@ ' is zero length.</p>') .format(fn)) return - except EnvironmentError: + except OSError: if not ignore: E5MessageBox.critical( self,