this is self explanatory, but error is below i'm using sqlalchemy to reflect a table. it reads it fine. when i try to assign a mapper, i get "has no attribute '_class_state'"
looking at orm.mapper.py 734: if self.non_primary: self._class_state = self.class_._class_state _mapper_registry[self] = True return if i look at the dict around 735, self.class_._class_state not set i couldn't find where self.class_._class_state was set elsewhere in the code is this a bug? could something else be at fault? == File "/Library/Frameworks/Python.framework/Versions/2.5/lib/ python2.5/site-packages/SQLAlchemy-0.4.3-py2.5.egg/sqlalchemy/orm/ __init__.py", line 548, in mapper return Mapper(class_, local_table, *args, **params) File "/Library/Frameworks/Python.framework/Versions/2.5/lib/ python2.5/site-packages/SQLAlchemy-0.4.3-py2.5.egg/sqlalchemy/orm/ mapper.py", line 158, in __init__ self._compile_class() File "/Library/Frameworks/Python.framework/Versions/2.5/lib/ python2.5/site-packages/SQLAlchemy-0.4.3-py2.5.egg/sqlalchemy/orm/ mapper.py", line 737, in _compile_class self._class_state = self.class_._class_state AttributeError: type object '_attachment_type' has no attribute '_class_state' --~--~---------~--~----~------------~-------~--~----~ 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 [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/sqlalchemy?hl=en -~----------~----~----~----~------~----~------~--~---