Small SQLObject Gotcha: how to activate debug

While the docs for SQLObject are extensive, they don’t cover every angle of every situation.

If you want to enable debug logging on your sqlobject connections, the manual states that you need to add ‘?debug=t’ to your connection string.

However, if you are already passing information to your connection string (for example, an alternate location . . . → Read More: Small SQLObject Gotcha: how to activate debug

Changing from feedparser.py to urllib & simplejson

With all the outages of Twitter recently, my back end system that retrieves the information from twitter was going haywire. Things kept going wrong, tweets were not retrieved, the works.

I initially coded this backend using feedparser, thinking that this code could be user later on to get rss feeds from other sites. It was . . . → Read More: Changing from feedparser.py to urllib & simplejson

Compiling MySQLdb for Python on mac – djeez !

This seriously needs some attention from someone with some config knowledge. Me and a horde of other python developers who transition to mac have stumbled and failed miserably on setting the python msql adapter on the mac.

Instead of using easy_install like most other python pieces you need for your project, you need to *shock, . . . → Read More: Compiling MySQLdb for Python on mac – djeez !

Changing DEV from SQLite to MySQL

The last few weeks I had quite a few problems with SQLite – whenever I was updating the database using threads (so multiple connections at the same time), fairly frequently a database access error would show up.

Regular usage was fine, no problems, and before I had less than 15 keywords to scan which worked . . . → Read More: Changing DEV from SQLite to MySQL

Categories

A sample text widget

Etiam pulvinar consectetur dolor sed malesuada. Ut convallis euismod dolor nec pretium. Nunc ut tristique massa.

Nam sodales mi vitae dolor ullamcorper et vulputate enim accumsan. Morbi orci magna, tincidunt vitae molestie nec, molestie at mi. Nulla nulla lorem, suscipit in posuere in, interdum non magna.