--- a/eric6/Cooperation/ChatWidget.py Sat Nov 21 19:31:16 2020 +0100 +++ b/eric6/Cooperation/ChatWidget.py Sun Nov 22 16:04:59 2020 +0100 @@ -575,7 +575,7 @@ try: with open(fname, "w", encoding="utf-8") as f: f.write(txt) - except IOError as err: + except OSError as err: E5MessageBox.critical( self, self.tr("Error saving Chat"),