After a lot of fruitless screwing around with trying to get code running on remote servers using obsolete versions of the compiler, I have finally implemented a solution to the AstroPlanner vs. Lion problem (i.e. Mac OS X Lion only runs Intel-native apps. AstroPlanner V1 is PowerPC-only and hence doesn’t run. AstroPlanner V1 uses a proprietary database format that isn’t available to Intel Mac users, etc.).
Once again, Windows users and non-curious Mac users need not read further.
The solution is sort-of arcane, but seems to work. All the Lion user needs is:
- An Internet connection.
- Patience.
When you attempt to upgrade from V1 on Lion, or you attempt to open a V1 plan document, the application realises you are on Lion and does the following:
- Zips up the files that need converting.
- FTPs the Zip file to a special place on the astroplanner.net server.
- Sends me an e-mail (as a precaution, see below).
- Tells you to be patient and wait – possibly a few hours. You can continue doing stuff with AstroPlanner.
At my end I have an app running (if you’re lucky) that checks for new uploads every couple of minutes. If it finds an upload:
- Downloads the Zip file using FTP.
- Unzips the contents.
- Converts the files to V2 format.
- Rezips the files.
- Uploads the Zip file to another folder on the server.
- Sends you an e-mail announcing the availability of the converted files (if you have requested that to happen).
Back at your end, you receive an e-mail telling you that the conversion has been done, or believe that the gods have been good to you, and do the following:
- Quit and restart AstroPlanner.
- If you previously sent off files for conversion, the app checks to see if the Zip file is available, and if so downloads it.
- The converted files are unzipped and put into place, and you are informed.
- You are ready to go.
The problem is at my end. If my computer is asleep, it could be hours before you get your files back. If it’s awake, it will be minutes, or even seconds. Unfortunately, the only computers I have here that will run 24/7 are not suitable to run the converter app (i.e. too noisy, energy-inefficient, etc.). If anyone has a non-Lion Mac or Windows computer that does run 24/7 with a connection to the Internet, speak to me. It’s not as if this is going to bog down a computer – I have yet to see a conversion request in the three days since I implemented this.
Note: This was implemented for the 2.0b111 release, but I forgot to add a release note about it.