Re: [Tutor] query from sqlalchemy returns AttributeError: 'NoneType' object

2013-05-03 Thread Alan Gauld
On 02/05/13 23:13, Karthik Sharma wrote: This doesn't have much to do with learning Python and a lot to do with SqlAlchemy so you'd be better off asking on a SqlAlchemy forum I suspect. However, some basic debugging investigation first may help your cause. For example... Traceback (most

Re: [Tutor] query from sqlalchemy returns AttributeError: 'NoneType' object :p:

2013-05-02 Thread Paradox
On 05/03/2013 06:13 AM, Karthik Sharma wrote: from sqlalchemy import create_engine, ForeignKey from sqlalchemy import Column, Date, Integer, String This list is mostly for standard library questions (though there may be some that can help here too). Did you know there is an sqlalchem

[Tutor] query from sqlalchemy returns AttributeError: 'NoneType' object

2013-05-02 Thread Karthik Sharma
from pox.core import core import pox.openflow.libopenflow_01 as of import re import datetime from sqlalchemy import create_engine, ForeignKey from sqlalchemy import Column, Date, Integer, String from sqlalchemy.ext.declarative import declarative_base from sqlalchemy