On Friday, August 9, 2013 11:04:53 AM UTC-4, Jonathan Vanasco wrote:
>
>
> 1. What versions Pyramid / SqlAlchemy are you using?
>

I'm using 
alembic0.6.0amqp1.0.13anyjson0.3.3argparse1.2.1Beaker1.6.4beautifulsoup4
4.2.1billiard2.7.3.31celery3.0.21Chameleon2.11cornice0.14coverage3.6
distribute0.7.3flup1.0.3.dev-20110405kombu2.5.12Mako0.8.1MarkupSafe0.18meld3
0.6.10mock1.0.1MySQL-python1.2.4nose1.3.0openpyxl1.6.2paramiko1.11.0
PasteDeploy1.5.0pip1.1pycrypto2.6Pygments1.6pyramid1.4.3pyramid-beaker0.8
pyramid-debugtoolbar1.0.6pyramid-mailer0.13pyramid-tm0.7Python2.7
python-dateutil2.1pytz2013brepoze.lru0.6repoze.sendmail4.1selenium2.33.0
Server0.0.6setuptools0.9.8simplejson3.3.0six1.3.0SQLAlchemy0.8.2supervisor
3.0transaction1.4.1translationstring1.1venusian1.0a8waitress0.8.5WebOb1.2.3
WebTest2.0.6wsgiref0.1.2zope.deprecation4.0.2zope.interface4.0.5
zope.sqlalchemy0.7.2
 

> 2. How are you grabbing a dbSession for each request ( are you calling a 
> new `DBSession()` , and removing it at the end of the request )? 
>

I'm doing the typical 
  DBSession = 
scoped_session(sessionmaker(extension=ZopeTransactionExtension()))

in my models.py and just using that in my endpoints.

 

> 3. Are you sure you have those columns mapped in your models , not just 
> the database ?
>
>
It works most of the time... so yes.  I'm using declarative, and 
everything's mapped... and works 99.9% of the time.

 

-- 
You received this message because you are subscribed to the Google Groups 
"pylons-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/pylons-discuss.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to