I found some sort of bug, though I can't figure out how to reproduce it.
I was saving with Ctrl-S and fat-fingered something, at which point a message popped up briefly and the program crashed. When I restarted and went back to the mod I was working on, all the changed entries had been retained but all the new ones were gone.
All I managed to catch of the error box was 'encountered character...' and either #288 or #388.
Sorry it's a little vague, but this was a particularly nasty surprise. Does the universe not want me to do this mod or something? :/
Edit: another crash after restoring the mod from the objects folder and attempting to reinstall it. (see bottom of post) This isn't the same one as it didn't delete things.
UnicodeEncodeError: 'charmap' codec can't encode characters in position 1551-1554: character maps to <undefined>
File "dfmm.py", line 465, in install
File "encode.pyc", line 19, in encode_objects
File "encode.pyc", line 7, in encode_objects
File "encodings\cp437.pyc", line 12, in encode
There isn't anything in the relevant creature file that looks out of the ordinary, just regular text. I'm going to delete bits of the area I was working on and see if I can get rid of the problem.
Edit: Right, let's get this reported properly. Reimporting the objects folder with the last installed version of the mod before the crash does work. Anything involving the .dfmod file that crashed does not. Attempting to install it does not redelete anything added after the crash, but it does delete enough of the raws to result in a 265KB error file upon selecting arena mode.