[sqlalchemy] Re: SqlSoup error

2006-12-22 Thread Alan Franzoni


Any suggestions on what I am missing?



I don't use sqlsoup and I don't know whether you not using it correctly;
btw, if you're in hurry, as a simple workaround, I suggest you add this line
to sqlsoup.py, line 369, just above klass_query =... :

klass._mapper.compile()


and see if it works.


--
Alan Franzoni [EMAIL PROTECTED]
-
Togli .xyz dalla mia email per contattarmi.
Remove .xyz from my address in order to contact me.
-
GPG Key Fingerprint (Key ID = FE068F3E):
5C77 9DC3 BD5B 3A28 E7BC 921A 0255 42AA FE06 8F3E

--~--~-~--~~~---~--~~
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
-~--~~~~--~~--~--~---



[sqlalchemy] Re: SqlSoup error

2006-12-22 Thread Sean Davis


On Friday 22 December 2006 10:10, Alan Franzoni wrote:

 Any suggestions on what I am missing?

I don't use sqlsoup and I don't know whether you not using it correctly;
btw, if you're in hurry, as a simple workaround, I suggest you add this
line to sqlsoup.py, line 369, just above klass_query =... :

klass._mapper.compile()


and see if it works.


Alan,

This was, indeed, the fix.  And, to clarify for Michael, I did include a 
primary key on the g_refseq table but neglected to include it in the table 
def--sorry for being misleading.  

Thanks for the help.  


Sean

--~--~-~--~~~---~--~~
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
-~--~~~~--~~--~--~---



[sqlalchemy] Re: SqlSoup error

2006-12-22 Thread Michael Bayer


when i put PKs on the table, it worked fine.  so that you get the error
is disturbing to me since I have tried to insure that there are no
paths into a Mapper that wont compile it first.  It makes sense that
you might have problems I dont, since im testing on OSX whereas you are
on linux, and one thing ive noticed about linux is that Python
dictionaries produce a very different ordering than whatever you get on
OSX (and therefore all kinds of ordering-dependent bugs pop up when i
test on linux that dont come up on OSX).  so i think there might be a
bug here...im going to add a ticket to remind myself to test on linux
later.


--~--~-~--~~~---~--~~
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
-~--~~~~--~~--~--~---