Backups, part 2
Posted on 26.8.2008, 15:47 by alcaeus
Posted in Ayumi, Work
Comments: 0
It's been a few days since I've almost lost all my work on Ayumi. Since restoring all files I haven't touched it. I looked in the error log to get an idea what happened, but I haven't yet retraced the error, just like I haven't made any attempts to fix some obvious flaws that I got from the logs. It's shocking how much confidence goes out the window when something like that happens. It's one thing to lose all data because of a hard drive failure (which has happened to me before), but having your software go into self-destroy mode is completely different. I'm curious to see how long it takes until I decide that I've been avoiding it long enough...
[edit@19:47]
I finally got myself to work on it again. After (finally) installing a SVN server on my machine to keep track of changes I decided to change the files a little and research the nature of the problem. Once I did, I once again was reminded why I love programming languages like Delphi, Java or C/C++/C# which require you to declare variables before using them. I partly moved the installation code from one class to another, and in doing so forgot to update a few variable names. The variable that used to contain the temporary path for the package files was now empty, and when the installer checked to make sure that there were no remainders of older installations it noticed that the directory was already there....the root directory that was, instead of the temporary one. That's when undefined variables are a bitch. And the consequence? Since I already defined a custom error handler to catch notices and warnings I'm going to change it to die when certain errors occur (for example, undefined variables)
[/edit]
Greetz
alcaeus
| « Finally making progress | Backups - and how much they are worth » |
Comments
You may not post comments.