While I was working on some project (pylons + sqlalchemy), I had an error: “ERROR [project.controllers.blog] Dependency rule tried to blank-out primary key column ‘BLOG_TAG_2_ENTRY.id_blog_entry’ on instance”. How to fix it?
We did some tests few days ago. Kind of easy problem, however… it’s not so obvious. What should I do? Check if variable exists or just create this variable without checking it?
It is always a good idea to run your python projects via paster + nginx. Some time ago I wrote about building environment for pylons projects on ubuntu, so that shouldn’t be a problem. Now… let create some kind of script to start, stop and restart our application.
Ok, I’m building new pylons’ environment like I described in one of the earlier posts on this blog. However… there is a problem with mysql-python. It’s time to fix it.
Few days ago I was fighting with new pylons, now it’s a time to describe how I built my new environment…
Hello, I'm Karol Zielinski, internet evangelist, an entrepreneur, project manager and a web developer from Gdynia, Poland. I like creative design, good advertisement, social media and all kind of stuff around the web.