Re: [Zope-DB] Error in Shared.ZRDB.Connection.__setstate__ in 2.9.4

2006-10-16 Thread Charlie Clark
Am 16.10.2006, 17:30 Uhr, schrieb Chris Withers <[EMAIL PROTECTED]>: Don't worry, that wasn't aimed at you I've hardly touched the logging module so I'll plead ignorance (as well as stupidity ;-). But for 2.10 it is a big error if zLog is officially being deprecated. I'll submit a bug. zL

Re: [Zope-DB] Error in Shared.ZRDB.Connection.__setstate__ in 2.9.4

2006-10-16 Thread Chris Withers
Charlie Clark wrote: And this is STILL wrong... FFS... How hard is "exc_info=True" to grasp as a concept? Don't shoot the messenger! Don't worry, that wasn't aimed at you ;-) I've hardly touched the logging module so I'll plead ignorance (as well as stupidity ;-). But for 2.10 it is a big

Re: [Zope-DB] Error in Shared.ZRDB.Connection.__setstate__ in 2.9.4

2006-10-16 Thread Chris Withers
Charlie Clark wrote: While I couldn't find any trace in the collector, I did see that this has already been corrected in Zope 2.10.0 Is it still worth submitting the error? def __setstate__(self, state): Globals.Persistent.__setstate__(self, state) if self.connection_string

Re: [Zope-DB] Error in Shared.ZRDB.Connection.__setstate__ in 2.9.4

2006-10-16 Thread Charlie Clark
Am 16.10.2006, 16:52 Uhr, schrieb Chris Withers <[EMAIL PROTECTED]>: While I couldn't find any trace in the collector, I did see that this has already been corrected in Zope 2.10.0 Is it still worth submitting the error? def __setstate__(self, state): Globals.Persistent.__setstat

[Zope-DB] Error in Shared.ZRDB.Connection.__setstate__ in 2.9.4

2006-10-16 Thread Charlie Clark
Hi, the following code will throw a key error on "error" def __setstate__(self, state): Globals.Persistent.__setstate__(self, state) if self.connection_string: try: self.connect(self.connection_string) except: logger.error('Error connec

Re: [Zope-DB] Pitfall: mxODBCZopeDA and test runner in 2.9+

2006-10-16 Thread Charlie Clark
Am 16.10.2006, 15:10 Uhr, schrieb Chris Withers <[EMAIL PROTECTED]>: Charlie Clark wrote: Technically you should actually use $INSTANCE_HOME/modules at least for Never heard of 'modules' before, where did you read about this? My bad - I'm sure I saw it on one of the more recent Zope version

Re: [Zope-DB] Example of how to use SQLStorage with MySQL?

2006-10-16 Thread Martin Aspeli
Anna Falkowska wrote: > > I read that I can use SQLStorage with a MySQL database. Does anyone > know of a good example on how to do this? > This is an Archetypes-related question, so you should use the archetypes-general (-user) list. AFAIK, there are docs in Products/Archetypes/docs that cov

Re: [Zope-DB] Pitfall: mxODBCZopeDA and test runner in 2.9+

2006-10-16 Thread Chris Withers
Charlie Clark wrote: Technically you should actually use $INSTANCE_HOME/modules at least for Never heard of 'modules' before, where did you read about this? newer versions of Zope and I think this is also the way to go in the future. We've stuck with $INSTANCE_HOME/lib as this works with so m

[Zope-DB] Example of how to use SQLStorage with MySQL?

2006-10-16 Thread Anna Falkowska
I read that I can use SQLStorage with a MySQL database. Does anyone know of a good example on how to do this? Thanks, Anna ___ Zope-DB mailing list Zope-DB@zope.org http://mail.zope.org/mailman/listinfo/zope-db

Re: [Zope-DB] How do I use my archetypes-generated form to insert data into a mysql table?

2006-10-16 Thread Charlie Clark
Am 16.10.2006, 14:13 Uhr, schrieb Anna Falkowska <[EMAIL PROTECTED]>: I made a form using ArchGenXML and want to use it to populate a table in a mysql database. So far I have not come across a good tutorial on how to do this. Someone suggested I use ZSQL methods. I understand how to create them,

Re: [Zope-DB] How do I use my archetypes-generated form to insert datainto a mysql table?

2006-10-16 Thread Jonathan
- Original Message - From: "Anna Falkowska" <[EMAIL PROTECTED]> To: Sent: Monday, October 16, 2006 8:13 AM Subject: [Zope-DB] How do I use my archetypes-generated form to insert datainto a mysql table? I made a form using ArchGenXML and want to use it to populate a table in a mysq

[Zope-DB] How do I use my archetypes-generated form to insert data into a mysql table?

2006-10-16 Thread Anna Falkowska
I made a form using ArchGenXML and want to use it to populate a table in a mysql database. So far I have not come across a good tutorial on how to do this. Someone suggested I use ZSQL methods. I understand how to create them, but how exactly would I call a ZSQL method with the information from my