[SQLObject] Antwort:Re: Creating more sqlobjects in _create()

2007-07-06 Thread bernhard . maeder
Hi all I think I found the cause of my deadlock, which is (if I'm right that is), located in main.py:912: val = cache.get(id, cls) if val is None: try: val = cls(_SO_fetch_no_create=1) We reach this place e.g. by resolving a foreign key through

Re: [SQLObject] Antwort:Re: Creating more sqlobjects in _create()

2007-07-06 Thread Oleg Broytmann
On Fri, Jul 06, 2007 at 02:46:38PM +0200, [EMAIL PROTECTED] wrote: I think I found the cause of my deadlock, which is (if I'm right that is), located in main.py:912: val = cache.get(id, cls) if val is None: try: val = cls(_SO_fetch_no_create=1)

Re: [SQLObject] Creating more sqlobjects in _create()

2007-07-06 Thread bernhard . maeder
On Fri, Jul 06, 2007 at 02:46:38PM +0200, [EMAIL PROTECTED] wrote: I think I found the cause of my deadlock, which is (if I'm right that is), located in main.py:912: val = cache.get(id, cls) if val is None: try: val =

[SQLObject] Types not interpreted correctly with fromDatabase=True

2007-07-06 Thread Brian Cole
Hi All, Found a bug using the SQLObject trunk from svn with MySQLdb 1.2.1 (the default on Ubuntu). Using the following table: CREATE TABLE `cron` ( `cron_id` int(11) NOT NULL auto_increment, `module` enum('Build','Doc','Test') NOT NULL, `args` varchar(256) NOT NULL, `time` time NOT NULL,

Re: [SQLObject] Types not interpreted correctly with fromDatabase=True

2007-07-06 Thread Oleg Broytmann
On Fri, Jul 06, 2007 at 10:25:04AM -0600, Brian Cole wrote: I noticed there is other MySQLdb version specific stuff in mysqlconnection.py so maybe this should be added? What should be added? Why do the ENUM, SET, and TIME field types get interpreted as SOCol's. Because nobody has

Re: [SQLObject] Types not interpreted correctly with fromDatabase=True

2007-07-06 Thread Oleg Broytmann
On Fri, Jul 06, 2007 at 11:00:39AM -0600, Brian Cole wrote: Knew you would say that. =-) I don't even use MySQL, so who and how should fix bugs in mysqlconnection? ;) Where/how do I submit patches? http://sqlobject.org/community.html There is a Trac, there is a tracker at SourceForge,

Re: [SQLObject] Types not interpreted correctly with fromDatabase=True

2007-07-06 Thread Brian Cole
Knew you would say that. =-) Where/how do I submit patches? -Brian On 7/6/07, Oleg Broytmann [EMAIL PROTECTED] wrote: On Fri, Jul 06, 2007 at 10:25:04AM -0600, Brian Cole wrote: I noticed there is other MySQLdb version specific stuff in mysqlconnection.py so maybe this should be added?

Re: [SQLObject] Types not interpreted correctly with fromDatabase=True

2007-07-06 Thread Brian Cole
Little confusing, which patch tracker to use? http://sqlobject.org/community.html points to http://sourceforge.net/tracker/?group_id=74338atid=540674 http://sqlobject.gcu.info/trac points to