[Zope-Checkins] CVS: Packages/ZODB - referencesf.py:1.6.94.3

2005-06-02 Thread Tim Peters
Update of /cvs-repository/Packages/ZODB In directory cvs.zope.org:/tmp/cvs-serv13892/ZODB Modified Files: Tag: Zope-2_7-branch referencesf.py Log Message: referencesf(): Use %r instead of %s format in the error message, else the pickle shown is full of unprintable characters.

[Zope-Checkins] CVS: Cruft/ExtensionClass/src - Acquisition.c:1.61.4.3

2005-06-02 Thread Tres Seaver
Update of /cvs-repository/Cruft/ExtensionClass/src In directory cvs.zope.org:/tmp/cvs-serv13461/lib/Components/ExtensionClass/src Modified Files: Tag: Zope-2_7-branch Acquisition.c Log Message: - Collector #1799: Avoid lying about parent's refcount when calling back into

[Zope-Checkins] CVS: Zope/doc - CHANGES.txt:1.625.2.335

2005-06-02 Thread Tres Seaver
Update of /cvs-repository/Zope/doc In directory cvs.zope.org:/tmp/cvs-serv13461/doc Modified Files: Tag: Zope-2_7-branch CHANGES.txt Log Message: - Collector #1799: Avoid lying about parent's refcount when calling back into Python code. === Zope/doc/CHANGES.txt

[Zope-dev] CorruptedDataError sniff !

2005-06-02 Thread Eric Brun
Hi all, Houston, we've got big a problem ! Here is the traceback in ZEO_EVENTS.log: -- 2005-06-02T11:45:21 INFO(0) zrpc-conn:193.49.250.194:37684 zeoLoad() raised exception: 968647571 Traceback (innermost last): File /data/ZeoCVS/lib/python/ZEO/zrpc/connection.py, line 234, in

[Zope-dev] application server standards

2005-06-02 Thread John Doe
Hi All, Im busy conducting an analysis on some python web appplication servers. I have a few questions with regard to Zope: 1 How scalable is Zope ( how)? 2 With regard to web application standards how does it comply: - HTTP protocol support - server-side code execution -

Re: [Zope-dev] CorruptedDataError sniff !

2005-06-02 Thread Tim Peters
[Eric Brun] | Houston, we've got big a problem ! Here is the traceback in ZEO_EVENTS.log: ... CorruptedDataError: 968647571 And I can't pack the zodb, ... Packing is the last thing you should be trying when you have corruption. There's no mechanical, safe way to recover. Please read

Re: Re: [Zope-dev] CorruptedDataError sniff !

2005-06-02 Thread Eric Brun
Packing is the last thing you should be trying when you have corruption. In fact I discover the corruption during the pack. There's no mechanical, safe way to recover. Please read this: http://zope.org/Wikis/ZODB/FileStorageBackup This is a great document. I think the origin of

[Zope-dev] [Proposal] Drop Mount.py from ZODB 3.5

2005-06-02 Thread Tim Peters
http://www.zope.org/Collectors/Zope/1800 describes some of the code problems with Zope's current way of mounting databases. ZODB 3.4 (still) has a Mount.py module, unused and untested by ZODB. Jim and I were both surprised today to discover that Zope (2.8) still imports it, so we can't drop

Re: [Zope] WebDav or Calendar.

2005-06-02 Thread Tino Wildenhain
Am Mittwoch, den 01.06.2005, 22:15 -0300 schrieb Fernando Lujan: Hi, I need a Calendar or WebDav product wich runs with Zope, allow me to share my calendar with others users using mozilla Calendar, Sunbird. evolution, outlook and so on...Something like OpenGroupware. Do someone have a good

Re: [Zope] WebDav or Calendar.

2005-06-02 Thread Lennart Regebro
On 6/2/05, Fernando Lujan [EMAIL PROTECTED] wrote: I need a Calendar or WebDav product wich runs with Zope, allow me to share my calendar with others users using mozilla Calendar, Sunbird. evolution, outlook and so on...Something like OpenGroupware. Do someone have a good suggestion? :) Well,

[Zope] MySQL timestamp issue

2005-06-02 Thread Hugo Ramos
Yellow, Could anyone explain me why this works in Zope 2.7.0 final and doesn't work in Zope 2.7.6 final and/or 2.8.0b1 ?? dtml-var timestampvar fmt=%Y-%m-%d also when I try this: dtml-var _.DateTime(timestampvar) fmt=%Y-%m-%d Zope hangs!!! ps: timestampvar is a timestamp var comming

[Zope] [ANN] TextIndexNG 3.0.2 released

2005-06-02 Thread Andreas Jung
F I am pleased to announce the release of TextIndexNG V 3.0.2. TextIndexNG V 3 is a complete new implementation based on Zope 3 technologies and can be used both in Zope 2.8 or 2.7 (with Five) or in Zope 3. What's new? - multi-field indexing and query support - multi-lingual support -

[Zope] Creating a Product

2005-06-02 Thread Varun Parange
hi, i have add a new directory in my "Products" directory.. however, when i try to add the __init__.py file , it giver me an error.. Error Type: BadRequestError Value: The id "__init__" is invalid because it begins with an underscore. how do i add this file? regards, varun Yahoo! Mail Stay

Re: [Zope] Creating a Product

2005-06-02 Thread Lennart Regebro
On 6/2/05, Varun Parange [EMAIL PROTECTED] wrote: i have add a new directory in my Products directory.. however, when i try to add the __init__.py file , it giver me an error.. Error Type: BadRequest Error Value: The id __init__ is invalid because it begins with an underscore.

[Zope] importing encode_base64

2005-06-02 Thread Varun Parange
hi, i am having problems importing encode_base64 i have created a product in which i have specified: ''' from AccessControl import allow_module, allow_class, allow_typefrom AccessControl import ModuleSecurityInfo, ClassSecurityInfo from email.Encoders import encode_base64

Re: [Zope] importing encode_base64

2005-06-02 Thread Andreas Jung
--On 2. Juni 2005 10:34:20 -0700 Varun Parange [EMAIL PROTECTED] wrote: hi, i am having problems importing encode_base64 i have created a product in which i have specified: ''' from AccessControl import allow_module, allow_class, allow_type from AccessControl import ModuleSecurityInfo,

[Zope] Property id clashes with object id?

2005-06-02 Thread Rob Boyd
I just observed something which I really wouldn't have expected. If I set a property on an object, via a PropertySheet, I then cannot add an object of the same id at the same level (and vice-versa). Say I have a folder, to which I add a property named 'draft'. Then I try to add any object (Page

Re: [Zope] Property id clashes with object id?

2005-06-02 Thread Paul Winkler
On Thu, Jun 02, 2005 at 12:05:00PM -0700, Rob Boyd wrote: I just observed something which I really wouldn't have expected. If I set a property on an object, via a PropertySheet, I then cannot add an object of the same id at the same level (and vice-versa). Yes. PropertyManager just stores

Re: [Zope] Silly question

2005-06-02 Thread Chris McDonough
The DWIM of not disallowing traversal of underscore names is useful (because it makes it easy to conventionally mark attrs as private) but it can definitely be a drag if you really do want to publish something that begins with an underscore; this happens a lot when you need to deal with allowing

RE: [Zope] Silly question

2005-06-02 Thread Dan Pozmanter
The name could change easily enough. How about __bobo_always_allow__ Which can either be: None A List of traversable items A method that takes the path, and returns whether or not it is traversable. So for a path p: if p[0] == '_': if p_object.__bobo_always_allow__: if

RE: [Zope] Silly question

2005-06-02 Thread Chris McDonough
Yup. FWIW, the actual bit of code that would need to change is around line 299 of ZPublisher/BaseRequest.py: if entry_name[:1]=='_': if debug_mode: return response.debugError( Object name begins with an