[Zope-dev] Signal 11 restarts
Hello! I am a Zope newbie, so maybe I am saying some stupid things, but I'm gonna try =). Oh, and forgive my english! I Have a debian linux box running Zope 2.4.0 binary release. I installed MySQLdb-0.9.0 compiled against a Zope 2.1. I am getting signals 11 frequently. I searched the list archives and found this message: http://lists.zope.org/pipermail/zope-dev/2001-August/012878.html But, since I am using a binary release, how can I turn this pymalloc thing off, besides from installing Zope from the source? My system has an old python version 1.5 from debian woody. I can get python 2.1.1 from the source and compile it without the pymalloc, but choose not to install it on the system, and them put this python in the place of zope/bin/python. Will it work? Oh, BTW, i am not getting any cores, despite setting ulimit -c to unlimited both in the shell and in the start script, giving wrtie permissions to nobody in the zope dir. Oh, I forgot to mention, my Data.fs has 1 GB of size! Thanks on any advice and for your patiente daniel lobato duclos -- [EMAIL PROTECTED] -- http://www.hiperlogica.com.br - ___ Zope-Dev maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope )
[Zope-dev] CatalogPathAwareness, CatalogAwareness and ZClass CatalogAware (2.3.3)
Hello, On 2.3.3 i just discovered a problem with CatalogAware ZClass and VHM. All CatalogAware auto-indexing is fine when i dont use VHM, and when i have (thru Apache and VHM) my root as a folder the autocataloging get the wrong physical path : Example for the same object : www.mysite.com/folder1/item1 is well autoZCataloged as /folder1/item1 (no VHM) but myvirtualsite.com/item1 is missAutoZcataloged as /item1 (with VHM) If i try to find/Catalog the objects they are **well** cataloged (with WHM and without VHM). After looking at the list, i found few informations about VirtualHostFix but normally it's fixed and i do think the problem is elsewhere. So : in ZCatalog/__init__.py there is registring for the old CatalogAwareness instead of the new CatalogPathAwareness (with the getURL, getPath wich i use without anu problem in my application) import ZCatalog, Catalog, CatalogAwareness, Vocabulary, ZClasses createZClassForBase( CatalogAwareness.CatalogAware, globals() , 'CatalogAwareBase', 'CatalogAware' ) My questions are : ? Why is there no reference to the new CatalogPathAwareness for CatalogAware ZClass ? I suspect this is the reason why CatalogAware fails and find works fine on CatalogAware instance. ? Is this a bug or done by purpose ? ? What happens if i just change the ZCatalog/__init__ with import ZCatalog, Catalog, CatalogPathAwareness, Vocabulary, ZClasses createZClassForBase( CatalogPathAwareness.CatalogAware, globals() , 'CatalogAwareBase', 'CatalogAware' ) Will the thunder will strike me ?? Any help or tip would be more than welcome. Thanks in advance. -- Didier Georgieff Chef de projet technique SIT du Bas-Rhin tél : 03.88.76.78.35 - fax : 03.88.76.78.34 email : [EMAIL PROTECTED] ___ Zope-Dev maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope )
[Zope-dev] Can edit via FTP respect Zope versions?
I would like to see the following scenario: 1) I go into Zope/manage_main, create a Version, and enter it. 2) Outside Zope, I use emacs and pull up a DTMLDocument in an edit buffer using FTP 3) I make my changes and save the file (FTP PUT) 4) I return to Zope and see that the changes have been made INSIDE MY VERSION 5) Happy with the changes, I commit my Version and exit it. Today, this does not seem to work. That is, even though I have started working in a Version, FTP does not respect this. How could such a facility be implemented? Well, what about having a context mapping feature where you could map a user to a context. The Zope FTP machinery, when it gets a login, uses the passed in userid and looks up the context in the (global) context map. For me, it says oh, Craeg is working in a Version. I will silently and automatically map URLs for GET and PUT to respect his Version. For my colleague, it says oh, Chip has no special context, no filtering needed... Further, there could be hooks provided so that Zope developers could provide their own URI Resolution algorithms, so that different user's requests could be mapped in different ways. To use a contrived example, this could be a way of implementing a development workflow scenario-- for development, requests are mapped to one area, where as for testing they are mapped to a different area. Note that the virtual host monster operates on a somewhat similar idea. Has anyone else felt the need for such a facility (URIResolver) ? Does anyone have any pointers where I should look in the Zope libraries to program my own? Thanks in advance! --Craeg ___ Zope-Dev maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope )