From: Jonathan E. <jon...@ca...> - 2006-09-30 03:32:00
|
this is an internal sqlalchemy error... you can either a) install the latest sqlalchemy and try it with that instead of the version included with spyce (replace spyce/sqlalchemy with the lib/ directory from the sqlalchemy download) or b) show me how to reproduce the bug using an sqlite :memory: test database (look at sqlalchemy/ext/sqlsoup.py for an example of how to set up such a test database) -Jonathan On Fri, 29 Sep 2006 11:41:59 +0100, "Mary Jane Boholst" <mar...@io...> said: > Hello again, > I am getting the following error message and can't seem to find any > information on it and am hoping someone here can help. > Error message: > Spyce exception > File: /var/firstproject/www/testagain.spy > Message: AttributeError: 'Mapper' object has no attribute '_Mapper__props' > > Stack: /usr/share/spyce-2.1/sqlalchemy/orm/mapper.py:152, in _get_props: > return self.__props > > /usr/share/spyce-2.1/sqlalchemy/orm/query.py:371, in compile: > > > for key, value in self.mapper.props.iteritems(): > > /usr/share/spyce-2.1/sqlalchemy/orm/query.py:231, in select_whereclause: > > > statement = self.compile(whereclause, **kwargs) > > /usr/share/spyce-2.1/sqlalchemy/orm/query.py:226, in select: > > > return self.select_whereclause(whereclause=arg, **kwargs) > > /usr/share/spyce-2.1/sqlalchemy/orm/mapper.py:1115, in select: > > > return self.query().select(arg=arg, **kwargs) > > testagain.spy:7, in (main): > > > time = db.timetable.select() > > Thanks in advance for any help. > MJ > > ------------------------------------------------------------------------- > Take Surveys. Earn Cash. Influence the Future of IT > Join SourceForge.net's Techsay panel and you'll get the chance to share > your > opinions on IT & business topics through brief surveys -- and earn cash > http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV > _______________________________________________ > Spyce-users mailing list > Spy...@li... > https://lists.sourceforge.net/lists/listinfo/spyce-users -- C++ is history repeated as tragedy. Java is history repeated as farce. --Scott McKay |