[Zope] Problems starting ZEO with zeoctl

2006-09-01 Thread Ben
I am receiving error messages when attempting to start ZEO in daemon mode. I have setup ZEO according to: http://plone.org/documentation/tutorial/robust-installation I have tried the Plone setup list, but their suggestions (changing the permissions on zeo/log/ and related files) did not lead to a

Re: [Zope] insert_id with MySQL an Z SQL Method

2006-09-01 Thread Ferhat Ayaz
Thanks for the answers. The keyword I missed was . Now it's working. Here my complete Z SQL Method: --- insert into categories (parent_id,logo,active) values ( , , ) select LAST_INSERT_ID() as table_id_seq --- --- "Allen Schmidt Sr." <[EMAIL PROTECTED]

Re: [Zope] insert_id with MySQL an Z SQL Method

2006-09-01 Thread Allen Schmidt Sr.
I have been using this successfully for a while. Don't remember where I found out about it though: insert stuff... select alert_id from entertainment_alerts where alert_id = @@identity Allen Cliff Ford wrote: Search the mailing list archives for July - there were several contributions

Re: [Zope] insert_id with MySQL an Z SQL Method

2006-09-01 Thread Cliff Ford
Search the mailing list archives for July - there were several contributions to this question. Roughly: insert ... select LAST_INSERT_ID() as table_id_seq Cliff Ferhat Ayaz wrote: Hi, I have a Z SQL Method with an insert expression. To the inserted row will be assigned an auto_increment id.

[Zope] insert_id with MySQL an Z SQL Method

2006-09-01 Thread Ferhat Ayaz
Hi, I have a Z SQL Method with an insert expression. To the inserted row will be assigned an auto_increment id. How can I get the last inserted id? I tryed the following both commands in one Z SQL method. Unfortunatly this produces an error. insert into categories (parent_id,logo,active) values

Re: [Zope] Re: How can I import python script into another python script?

2006-09-01 Thread Ferhat Ayaz
Thanks, it's just a little function (3-5 lines) and uses the REQUEST object. It will lookup for request parameters, if not found, a default value will be returned. But your suggestion can make the code more readable. Greets, Ferhat --- Duncan Booth <[EMAIL PROTECTED]> wrote: > Gabriel Genellin

Re: [Zope] dtml-in sorting bug (collector #1884)

2006-09-01 Thread Andreas Jung
--On 1. September 2006 07:46:33 -0400 "Allen Schmidt Sr." <[EMAIL PROTECTED]> wrote: r.__cmp__(x,y) requires y to be a 'r', not a 'ImplicitAcquirerWrapper' http://www.zope.org/Collectors/Zope/1884 I see this is a pending case but does anyone have any idea if it will be fixed in future relea

[Zope] dtml-in sorting bug (collector #1884)

2006-09-01 Thread Allen Schmidt Sr.
r.__cmp__(x,y) requires y to be a 'r', not a 'ImplicitAcquirerWrapper' http://www.zope.org/Collectors/Zope/1884 I see this is a pending case but does anyone have any idea if it will be fixed in future releases? Finally got a 2.8.8 instance running with our Data (from 2.7.5) and was able to ru

[Zope] Re: How can I import python script into another python script?

2006-09-01 Thread Duncan Booth
Gabriel Genellina wrote: > At Thursday 31/8/2006 18:11, Ferhat Ayaz wrote: > >>I have a Script (Python) called 'functions'. >>I want to import this script into another Script >>(Python). >> >>import Include.Functions.requests >> >>says >> >>import of "Include.Functions.requests" is unauthorized >