jakesylvestre / pychess

Automatically exported from code.google.com/p/pychess
GNU General Public License v3.0
1 stars 7 forks source link

Error on full harddrive #193

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Fill up your harddrive
2. Try to save a file

What is the expected output? What do you see instead?
Programs like gedit does in this situation give an error dialog (or yellow
bar).
PyChess on the other hand simply gives a terminal exception and hides the
save dialog.

Did you use an installed version of PyChess or did you run in from a
tarball/svn?

trunk

Please use labels and text to provide additional information.

This should be looked at both for save as and normal save.
Error is 
Traceback (most recent call last):
  File
"/home/thomas/Programmering/python/skak/trunk/lib/pychess/widgets/ionest.py",
line 630, in response
    game.save("file://"+uri, saver, append)
  File
"/home/thomas/Programmering/python/skak/trunk/lib/pychess/Utils/GameModel.py",
line 252, in save
    saver.save(fileobj, self)
  File
"/home/thomas/Programmering/python/skak/trunk/lib/pychess/Savers/pgn.py",
line 55, in save
    file.close()
IOError: [Errno 28] Ikke mere plads på enheden

Original issue reported on code.google.com by lobais on 26 Aug 2007 at 9:08

GoogleCodeExporter commented 9 years ago
Fixed in 556

Original comment by lobais on 30 Aug 2007 at 2:18