[Z3-sqlos] sqlos and per site databases

Andreas Elvers andreas at work.de
Tue Nov 1 13:51:29 CET 2005


Hi,

I am having problems with sqlos and local utilities. I have a folder 
which is a site. This site has a local utility which is a psycopg 
adapter named as 'psycopg'. I have registered this name with sqlos. When 
adding a SQLObjectContainer to this site folder my guess is, that this 
container should use the db adapter 'psycopg'.

While adding I get a  "'NoneType' object is not callable" in 
connection.py on line 96. This is because queryUtility really does not 
find my local Utility although context point to the newly created 
SQLObjectContainer and the utility name is currect either.

I use sqlos trunk revision 19234. Maybe I forgot some magic configure 
stuff to make SQLObjectContainer more SiteManager aware ?

thanks for any ideas,
- Andreas




More information about the z3-sqlos mailing list