--- a/DataViews/PyProfileDialog.py Wed Apr 13 19:53:11 2011 +0200 +++ b/DataViews/PyProfileDialog.py Fri Apr 15 18:23:39 2011 +0200 @@ -219,7 +219,7 @@ f = open(fname, 'rb') self.stats = pickle.load(f) f.close() - except (EnvironmentError, pickle.PickleError): + except (EnvironmentError, pickle.PickleError, EOFError): E5MessageBox.critical(self, self.trUtf8("Loading Profiling Data"), self.trUtf8("""<p>The profiling data could not be""" @@ -310,4 +310,4 @@ self.exclude = True self.filterItm.setText(self.trUtf8('Exclude Python Library')) self.__populateLists(False) - self.__finish() \ No newline at end of file + self.__finish()