I am hoping that in posting this, someone is able to save a little time and frustration.
On my Ubuntu 10.10 machine with CouchDB 1.0.1 installed, I began experiencing the following error every time I attempted to ‘couchapp push’ my couchapp changes:
[CRITICAL] Expecting object: line 2 column 3 (char 4)
After a bit of noggin scratching (and perhaps a little mumbled cussing), I started thinking about the fact I had not upgraded my couchapp install since long before I last upgraded CouchDb.
Running the following cleared up all error and put me back in the happy land of ‘couchapp push’:
“easy_install -U couchapp”
Yup… Just a version issue… Hope this saves someone a few gray hairs…
Updated: April 6, 2010 9:50pm CST – Correction (Below)
When reading/working through the 2nd edition of Apress’ ‘Practical Django Projects’, I hit a hang. A big hang. And like most big hangs, it was actually a very small (technically speaking) bump in the road. The problem is that when looking to “how to” books such as ‘Practical Django Projects’, it is easy to fall back to the book’s printed text as the absolute code bible of what is and what is not correct in this world of code. Unfortunatly, as was the case with me, this can lead to wasted hours and (after-the-fact) embarrassing frustration.
As I have seen this mentioned on forums around the interwebs while researching this myself, I figured I would document the solution here. I am happy to say that I do not have to cite reference here as I figured this out myself and have submitted an errata report to the publisher. What I am not as happy to admit is the fact that when you see what the problem here is, you will not be impressed (and will likely kick yourself as clearly you are reading this for help – and don’t really need it)… So on to the meat…
PG.24-25 – the tiny_mce.js referral to load TinyMCE in your Flatpages… You set it up, just as the book instructs and BAM – nothing… No TinyMCE and a Firebug inspection of the page shows that the tiny_mce.js cannot be found (404).. Again, the error is actually quite simple, of course making it all the more simple to overlook when error correcting…
Hope this helps someone…