[sqlalchemy] Re: Weird error using SQLAlchemy 0.7.2, MySQL, Python3, SqlSoup and relate

2011-09-28 Thread Ygor Lemos
I'm keeping a project that does pretty much the same as SQLSoup but also does automatic relationship and backref mapping. It also relies on the new Declarative Base and it doesn't rely on anything from SQLSoup, so when Soup gets discontinued, SQLasagna will go on :) You can see the code, fork

[sqlalchemy] Re: Weird error using SQLAlchemy 0.7.2, MySQL, Python3, SqlSoup and relate

2011-08-18 Thread Ygor Lemos
If anybody else is experience the same problem, I have opened a Bug Request @ SQLA Trac, you can follow it through here: http://www.sqlalchemy.org/trac/ticket/2260 On Aug 18, 1:56 am, Ygor Lemos opti...@gmail.com wrote: Oh, sorry about that, I copied from a previous declaration I've been

[sqlalchemy] Re: Weird error using SQLAlchemy 0.7.2, MySQL, Python3, SqlSoup and relate

2011-08-18 Thread Ygor Lemos
If anybody else is experiencing this same problem, I have opened a Bug Request @ SQLA Trac and you can follow it through here: http://www.sqlalchemy.org/trac/ticket/2260 On Aug 18, 1:56 am, Ygor Lemos opti...@gmail.com wrote: Oh, sorry about that, I copied from a previous declaration I've

[sqlalchemy] Re: Weird error using SQLAlchemy 0.7.2, MySQL, Python3, SqlSoup and relate

2011-08-17 Thread Ygor Lemos
I've got the same error on Python 2.7 under Mac OS X 10.7.1 running with oursql 0.9.2 for Python 2.x. But I really need Python 3 for this project as I have developed a web framework (soon to be published on GitHub as Serendipity) that is intrinsically linked against Python 3. This framework uses

Re: [sqlalchemy] Re: Weird error using SQLAlchemy 0.7.2, MySQL, Python3, SqlSoup and relate

2011-08-17 Thread Michael Bayer
On Aug 17, 2011, at 5:19 PM, Ygor Lemos wrote: I've got the same error on Python 2.7 under Mac OS X 10.7.1 running with oursql 0.9.2 for Python 2.x. But I really need Python 3 for this project as I have developed a web framework (soon to be published on GitHub as Serendipity) that is

[sqlalchemy] Re: Weird error using SQLAlchemy 0.7.2, MySQL, Python3, SqlSoup and relate

2011-08-17 Thread Ygor Lemos
Seems fine to me :) I'll be happy to help on SQLSoup future. Please let me know if anyone on the list responds on behalf of this bug. I can help with further data if needed. Thanks Michael ! On Aug 17, 7:20 pm, Michael Bayer mike...@zzzcomputing.com wrote: On Aug 17, 2011, at 5:19 PM, Ygor

[sqlalchemy] Re: Weird error using SQLAlchemy 0.7.2, MySQL, Python3, SqlSoup and relate

2011-08-17 Thread Ygor Lemos
I tried the following for manually mapping the tables: #!/usr/bin/env python3 # -*- coding: utf-8 -*- from sqlalchemy import * from sqlalchemy import dialects from sqlalchemy import sql from sqlalchemy.orm import * from sqlalchemy.ext.declarative import declarative_base from

Re: [sqlalchemy] Re: Weird error using SQLAlchemy 0.7.2, MySQL, Python3, SqlSoup and relate

2011-08-17 Thread Michael Bayer
On Aug 17, 2011, at 10:15 PM, Ygor Lemos wrote: I tried the following for manually mapping the tables: #!/usr/bin/env python3 # -*- coding: utf-8 -*- from sqlalchemy import * from sqlalchemy import dialects from sqlalchemy import sql from sqlalchemy.orm import * from

[sqlalchemy] Re: Weird error using SQLAlchemy 0.7.2, MySQL, Python3, SqlSoup and relate

2011-08-17 Thread Ygor Lemos
Oh, sorry about that, I copied from a previous declaration I've been testing using Table() objects... I did remove the ,'s and all worked fine... The relationships are normal both in py3k and py2 with the latest SQLA. So the problem really lies on the relate() method of SqlSoup. Thanks again for