Hello Michael, Thanks for your input! I got the latest trunk from SVN.
However, if my app specific baseclass is an old style class, it still breaks., this time in orm\attributes.py Traceback (most recent call last): File "SqlDB_Test.py", line 9, in ? dbo = SqlDB("SqlDB_Test.Sqlite","c:\\testdbs") File "d:\recogsys\src\python\RSITerm\SQLConvert\SqlDB.py", line 77, in __init_ _ self.initSetup(echo) File "d:\recogsys\src\python\RSITerm\SQLConvert\SqlDB.py", line 115, in initSe tup elixir.setup_all(True) File "d:\recogsys\src\python\rsiterm\__init__.py", line 145, in setup_all File "c:\Python24\lib\site-packages\elixir-0.6.1-py2.4.egg\elixir\entity.py", line 816, in setup_entities File "c:\Python24\lib\site-packages\elixir-0.6.1-py2.4.egg\elixir\entity.py", line 409, in setup_mapper File "c:\python24\lib\site-packages\SQLAlchemy-0.5.0beta4dev_r5048-py2.4.egg\s qlalchemy\orm\__init__.py", line 643, in mapper return Mapper(class_, local_table, *args, **params) File "c:\python24\lib\site-packages\SQLAlchemy-0.5.0beta4dev_r5048-py2.4.egg\s qlalchemy\orm\mapper.py", line 197, in __init__ self.__compile_class() File "c:\python24\lib\site-packages\SQLAlchemy-0.5.0beta4dev_r5048-py2.4.egg\s qlalchemy\orm\mapper.py", line 852, in __compile_class manager = attributes.create_manager_for_cls(self.class_) File "c:\python24\lib\site-packages\SQLAlchemy-0.5.0beta4dev_r5048-py2.4.egg\s qlalchemy\orm\attributes.py", line 1494, in create_manager_for_cls manager = factory(class_) File "c:\python24\lib\site-packages\SQLAlchemy-0.5.0beta4dev_r5048-py2.4.egg\s qlalchemy\orm\attributes.py", line 1047, in __init__ cls_state = manager_of_class(base) File "c:\python24\lib\site-packages\SQLAlchemy-0.5.0beta4dev_r5048-py2.4.egg\s qlalchemy\orm\attributes.py", line 1511, in manager_of_class finder = self.manager_finders[cls] File "C:\Python24\lib\weakref.py", line 219, in __getitem__ return self.data[ref(key)] TypeError: cannot create weak reference to 'classobj' object This error goes away when I make my app baseclass as a new style class. It is not giving any problems with Exceptions class in Py2.4 though. Could this be a possible issue? On Wed, Aug 20, 2008 at 9:28 PM, Michael Bayer <[EMAIL PROTECTED]>wrote: > > > On Aug 20, 2008, at 11:52 AM, Harish K Vishwanath wrote: > > > Hello, > > > > Sorry if I am being stupid. I saw the ticket and r0535 and 537 > > changeset. Which version of SQLA incorporates these changesets? > > > no worries...use the latest trunk, which will ultimately be released > either as 0.5beta4 or 0.5.0. > > > > > > -- Regards, Harish --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---