Re: [Zope-dev] APE leaving SQL transactions open
Hi Shane, we have a PostgreSQL DA object in place, but we are not using it in our tests. Hope this helps. Best regards. Paolo One thing I wonder, though, is whether you're simultaneously connecting to Postgres using a Zope database adapter. It shouldn't matter, but who knows, maybe it does. Shane -- Paolo Bizzarri - President - Icube S.r.l. Address:Via Ridolfi 15 - 56124 Pisa (PI), Italy E-mail: [EMAIL PROTECTED] Web:http://www.icube.it Phone: (+39) 050 97 02 07 Fax:(+39) 050 31 36 588 ___ Zope-Dev maillist - [EMAIL PROTECTED] http://mail.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce http://mail.zope.org/mailman/listinfo/zope )
[Zope-dev] APE leaving SQL transactions open
Hi all. We're making our first experiments with APE. The environment is Zope 2.7.1 on Linux. We're using APE 0.8.1. A problem we encountered is that APE leaves the final db transaction neither commited nor aborted, in the normal behaviour. I mean, this is what is going on here: 1) I create a new object under the /sql folder 2) all the required SQL transaction is done, and data is commited on the DB 3) a new SQL transaction begins (corresponding to the new zope transaction) for the new page but this last SQL transaction is never closed. The short story is that you can see the (in)famous idle in transaction message on a ps axf on the box Since we had very bad experience with the idle in transaction in the past, we would like to know if this is a known behaviour, if it is safe, and why. Thank you all. Regards Paolo -- Paolo Bizzarri - President - Icube S.r.l. Address:Via Ridolfi 15 - 56124 Pisa (PI), Italy E-mail: [EMAIL PROTECTED] Web:http://www.icube.it Phone: (+39) 050 97 02 07 Fax:(+39) 050 31 36 588 ___ Zope-Dev maillist - [EMAIL PROTECTED] http://mail.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce http://mail.zope.org/mailman/listinfo/zope )
Re: [Zope] Generic Workflow Products?
There is an standards based (WFMC -- workflow management coalition, www.wfmc.org) Zope product that really has seen no progress since early this year - see openflow.sourceforge.net Correct. OpenFlow was a bit stopped, for two reasons: 1) we here at Icube had undergone acquisition, so it was a bit complicated to follow on the project itself; 2) we have started from WfMC, which was good for defining the interfaces but was a bit bad for designing a real system. Hopefully we can start to work again after the end of this month. More news hopefully to come. Paolo -- Paolo Bizzarri - Responsabile Marketing Icube Srl Sede: Via Ridolfi 15 - 56124 Pisa (PI), Italia E-mail: [EMAIL PROTECTED] WWW: www.icube.it Tel:(+39) 050 97 02 07 Fax: (+39) 050 31 36 588 ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
Re: [Zope] Using Zope and Worldpilot on a large site
Bill Anderson wrote: Paolo Bizzarri wrote: Hi Zopers, we would like to use Zope for an ISP, with more than 400.000 customers. Zope would be used with Worldpilot, in order to provide Webmail, Calendar, to do, etc. THis demonstrates a problem or two with Worldpilot. I would defintiely _not_ use worldpilot in that setting. Why not? Well, the sharing capability (IIRC) gives a list of people on the system you can share with. Think about that for a moment. Four hundred thousand people. One list. It would be nice if it were possible for people to not appear in the list, and for there to be groups. Yes, this is a problem. As a first step, we are going to remove sharing from Worldpilot (disabling it). Then we would like to give customers the possibility to "create" their own groups and subgroups, so that they can build their own "company-on-the-web". Has anyone tried the scalability of Zope till this level ? Well, what you are describing really isn't a test of Zope's scaleability. , but rather workdpilots (and the machines's). Zope's scalability in this case is more a matter of resource usage, than a funtion of the number of users. Thats is to say, what is the expected load of the machine/site. 400,000 users will not access all at once, will they? Zope can be scaled accross multiple machines, through the use of ZEO, so if your load gets too high, you can move to a ZEO solution, adding machines as neccessary. As far as I can understand, ZEO is still in alpha/beta stage, so I am not sure to use it immediately. One caveat to that is that worldpilot stores data on the filesystem, so that data would need replicated accross the sites. Perhaps NFS or Coda could server this function. There is one more problem. Worldpilot create a directory for each user. For 400.000 users this means 400.000 directories, which is not nice for Linux+ext2 (and in general I am not sure I want a directory with 400.000 files inside). So we are considering either hacking WP, so that it creates something like a p/a/paolo directory for the paolo user, or moving data to a relational database. The latter could be the preferred solution, but it could become a too long step right now. So probably we are going to use the former. BTW, I have seen WP has the directory /var/spool/worldpilot that is hard coded into the code. Perhaps we could create a configuration file for WP, in which one can specify these directories. Ciao Paolo -- Paolo Bizzarri - Responsabile Marketing I3 Icube Srl Sede: Via Ridolfi 15 - 56124 Pisa (PI), Italia E-mail: [EMAIL PROTECTED] WWW: www.icube.it Tel:(+39) 050 97 02 07 Fax: (+39) 050 31 36 588 ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
[Zope] Worldpilot+Courier problem
Hi everybody, I have found a strange problem in Worldpilot 1.1.0 alpha. Basically, I was not able to see a message, because the function that performs the parsing of the message (namely, the CreateStruct) was unable to cope with an empty string. I have traced the problem to the QuotedString expression in WPUtil. I have changed it from: QuotedString = re.compile(r'\s*"(?PString.*?[^\\](?="))"(?PRest.*)') to: QuotedString = re.compile(r'\s*"(?PString.[\\]?[^"]*(?="))"(?PRest.*)') and it started working regularly. It is ok that an IMAP server return an empty string ? Or it should give back a NIL value ? If so, perhaps is a bug in courier IMAP. Many thanks for the answers. Paolo -- Paolo Bizzarri - Responsabile Marketing I3 Icube Srl Sede: Via Ridolfi 15 - 56124 Pisa (PI), Italia E-mail: [EMAIL PROTECTED] WWW: www.icube.it Tel:(+39) 050 97 02 07 Fax: (+39) 050 31 36 588 ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
[Zope] WorldPilot 1.1.0 - Possible bug and solution ?
Hi Zopers, apparently, WorldPilot has an error in the getIMAPFolders function, that do not allow the creation of folders. The line is the following: cf.AddChild(IMAPFolder(Folder,TmpFolderFullName[:-1] , padding+Folder)) I have changed it in: cf.AddChild(IMAPFolder(Folder,TmpFolderFullName[1:] , padding+Folder)) and now I can happily create folders and move messages around. I am using courier IMAP on a Red Hat Linux. Can someone confirm the patch ? Many thanks Paolo -- Paolo Bizzarri - Responsabile Marketing I3 Icube Srl Sede: Via Ridolfi 15 - 56124 Pisa (PI), Italia E-mail: [EMAIL PROTECTED] WWW: www.icube.it Tel:(+39) 050 97 02 07 Fax: (+39) 050 31 36 588 ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
[Zope] A new development model for Zope?
Hi everybody, I was just wondering if Zope could not get a better development model. I will explain briefly. Currently, Zope seems to have a model for major releases, in which bugs are corrected and features (possibly large features) are added in each new release. This model, IMHO, performs poorly on the stability and bug fixing side. My proposal is that Zope should go through a stable/development version, in a similar way to the linux-kernel. New heavy features should be only for the development Zope, whereas the stable Zope should receive only the bugfixes and the (micro) new features. This should be of major importance, because I would like to have Zope to increase stability on normal versions, without any further feature that I do not need. What do you think about it ? Paolo -- Paolo Bizzarri - Responsabile Marketing I3 Icube Srl Sede: Via Ridolfi 15 - 56124 Pisa (PI), Italia E-mail: [EMAIL PROTECTED] WWW: www.icube.it Tel:(+39) 050 97 02 07 Fax: (+39) 050 31 36 588 ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
Re: [Zope] A new development model for Zope?
Hi Zopers, My proposal is that Zope should go through a stable/development version, in a similar way to the linux-kernel. New heavy features should be only for the development Zope, whereas the stable Zope should receive only the bugfixes and the (micro) new features. This should be of major importance, because I would like to have Zope to increase stability on normal versions, without any further feature that I do not need. What do you think about it ? I think we see this proposal about every three months on average. ;-) Well, perhaps I got my eyes too much closed... :=( Personally, I would like to see a patch collector, for 'unofficial patches'. Kind of like the ac patches for linux (and now the aa and who knows who else is doing it now). Exactly. For example, here two simple patches that should be collected and posted toward 2.1.6: - patch for renaming single objects (something I have seen in the new 2.2.0a version); - patch for the REQUEST object problem What do you think about it ? Ciao Paolo -- Paolo Bizzarri - Responsabile Marketing I3 Icube Srl Sede: Via Ridolfi 15 - 56124 Pisa (PI), Italia E-mail: [EMAIL PROTECTED] WWW: www.icube.it Tel:(+39) 050 97 02 07 Fax: (+39) 050 31 36 588 ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )