I had the following error since the update to SQLAlchemy 0.5.1 (we had
to upgrade because it fixed a bug we had in the previous version :P).
I'm not really sure how it manifest itself but here is the traceback:

Traceback (most recent call last):
 [...]
  File "<string>", line 4, in __init__
  File 
"/usr/lib/python2.5/site-packages/SQLAlchemy-0.5.1-py2.5.egg/sqlalchemy/orm/attributes.py",
line 880, in initialize_instance
    return manager.events.original_init(*mixed[1:], **kwargs)
  File "[..]/model/business/yield_term_structure.py", line 57, in __init__
    settlement_days, tenor, rolling_convention)
  File "<string>", line 6, in __init__
  File "[...]/model/business/yield_term_structure.py", line 35, in __init__
    self.currency = currency
  File 
"/usr/lib/python2.5/site-packages/SQLAlchemy-0.5.1-py2.5.egg/sqlalchemy/orm/attributes.py",
line 151, in __set__
    self.impl.set(instance_state(instance), value, None)
AttributeError: 'NoneType' object has no attribute 'set'

Do you have any hints?

-- 
Lawrence, http://oluyede.org - http://twitter.com/lawrenceoluyede
"It is difficult to get a man to understand
something when his salary depends on not
understanding it" - Upton Sinclair

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"sqlalchemy" group.
To post to this group, send email to sqlalchemy@googlegroups.com
To unsubscribe from this group, send email to 
sqlalchemy+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/sqlalchemy?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to