Stream of Consciousness will go dark from January 18, 2012 at 8:00 am Eastern US time through January 18, 2012 at 8:00 pm to protest SOPA/PIPA and Internet Censorship. You can learn more here.
The FrameAlbum website and frame feeds will NOT go dark and will continue normal operations.
Much has been written on how obscenely bad this legislation is to the health of the internet, and our Freedoms in general. I won’t bore you with my weak attempts where others have done so well. I encourage you to read for yourself and to contact your congress critter and let them know that this is hinders innovation, destabilizes the internet, is NOT effective and damages our Freedoms.
Finally! I tracked down the issue that prevented the Picasa grabber from running on a schedule. It was something silly and basic that took my far too long to figure out.
The non-propeller heads in the audience can tune-out now, what follows is a load of geek-speak. 😉
The problem was this; when I ran the Picasa grabber from the command line it worked just fine. However, when it ran via CRON it appeared to not run at all. It didn’t fail with an error message, no messages in the logs, nor did it generate any console message of any kind, it just didn’t do anything. It was very frustrating.
The basic problem was that the PATH statement in CRONTAB did not match the PATH statement of my interactive shell. However, the way in which it failed was not detected by any of my monitors. Since the durn thing didn’t even start none of the error checking/reporting code I have in the app. had any opportunity to catch/report the failure. Nor did my log scrapers find anything anomalous as there were nothing reported.
I tend to work under the basic Unix tenant of less is more, and specifically that if a process does not detect an error it need not report a ‘normal termination’; simply the absence of an error message is in itself an indication of successful completion. In this scenario this ideal failed completely.
There are two morals to this story, both very basic; “Always check your PATHs” and “Don’t assume (that no response is the same as a positive response).”