Prompted by various situations lining up, I spent some time last night dusting off my old CedarRapidsOnline.net web service and trying to make it run again. Before shelving the source code a couple of years ago, I had taken time to document it, so it should be easy to get it running again. Let’s see… I need Python, PostgreSQL, and the Python packages PyGreSQL and CherryPy. Sounds good.
But wait, what version of Python? Does it matter? What version of PostgreSQL? Does it matter? What version of PyGreSQL and CherryPy?
And oops, it seems PyGreSQL doesn’t build properly on my Mac, and there’s no precompiled binary available from the developer.
After some poking around, I finally got all of the individual pieces in place, I think, but then the whole system doesn’t work! I must still not have something right, but I’m not sure what.
Grr. I think I’ll just update it all to use Python3 and newer versions of the other tools, rewriting from scratch anything that I need to.
Lesson learned: document not only the tools used to build the software system, but the versions of the tools, and, if at all possible, make an archive of the tools themselves in case you can’t download them again later…