Freeze upon save
Brought to you by:
jaspervdj
Upon saving (near a glimming ball, selecting Save), the gui freezes.
running from the command line yields
Could not open log file save/log.txt for writing.
And upon saving
Traceback (most recent call last):
File "<string>", line 2, in <module>
File "locations/common/crystal.py", line 28, in <module>
partyManager.save( "save/save.xml" )
File "src/PartyManager.py", line 168, in save
file = open( self.filename, "wb" )
IOError: [Errno 13] Permission denied: 'save/save.xml'
/usr/bin/fall-of-imiryn: line 9: 6674 Segmentation fault python2 main.py
A workaround is to give write access to the save/ directory.
For instance on openSUSE 13.2:
sudo chgrp games /usr/share/fall-of-imiryn/save
sudo chmod g+w /usr/share/fall-of-imiryn/save
Make sure the the user is in the games group, and logout/login or
su - <username>
But it would be much better to allow for saving in a custom directory (or in ~/.fall-of-imiryn/save/)
And perhaps not fail silently if not run from the command line (give an error message in the gui).
Otherwise, nice game, thanks !