Re: [Zope-dev] KeyError on UnIndex.keyForDocument

2001-09-30 Thread Florent Guillaume
From what I remember, it happened even after a complete catalog cleaning and repopulation. We were using Zope 2.3.3 and CMF at the time. That was on a production server so there was a bit of time pressure on us :) thus the hazy recollection. Florent Guillaume Nuxeo Chris McDonough [EMAIL

Re: [Zope-dev] how to accept an arbitrary parameter/anti-NIMDA script

2001-09-28 Thread Florent Guillaume
You can use a **kw argument in a Python Script. Florent Guillaume Nuxeo marc lindahl [EMAIL PROTECTED] wrote: I'm looking at how to get this anti-NIMDA script to work in zope ( http://pc.xs4all.nl/default.ida) The thing is, it's called with a parameter (trying to cause a buffer overflow

Re: [Zope-dev] KeyError on UnIndex.keyForDocument

2001-09-28 Thread Florent Guillaume
I had something like that. It turned out that I was doing a catalog query, sorting on an index that didn't exist on some of the objects. I made sure the index existed on all my objects. But still I'd be inclined to consider this a bug. Florent Guillaume Nuxeo Morten W. Petersen [EMAIL

Re: [Zope-dev] testing types in PythonScripts

2001-09-28 Thread Florent Guillaume
Python Script has a same_type(x,y) function. Florent Guillaume Nuxeo Steve Alexander [EMAIL PROTECTED] wrote: I have a variable, f. The value of f might be a list, or it might be a string. I want to do different things to f depending what type it is. How do I check its type from

Re: DCWorkflow (was Re: [Zope-dev] Another open letter. :-))

2001-12-03 Thread Florent Guillaume
to be low level, mind you, but that missing layer prevents people from using it directly like DCWorkflow. Florent -- Florent Guillaume, Nuxeo SARL (Paris, France) +33 1 40 33 79 10 http://nuxeo.com mailto:[EMAIL PROTECTED] ___ Zope-Dev maillist

Re: [Zope-dev] ZPT Plain Text

2001-12-06 Thread Florent Guillaume
dummy instead of loop though. Florent -- Florent Guillaume, Nuxeo SARL (Paris, France) +33 1 40 33 79 10 http://nuxeo.com mailto:[EMAIL PROTECTED] ___ Zope-Dev maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope-dev

Re: [Zope-dev] zope collector is broken

2001-12-10 Thread Florent Guillaume
] 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 ) -- Florent Guillaume, Nuxeo (Paris, France) +33 1 40 33 79 10 http://nuxeo.com

Re: [Zope-dev] recipe for trapping SIGSEGV and SIGILL signals on solaris

2001-12-12 Thread Florent Guillaume
, tp_clear = 0xd908c0, tp_richcompare = 0x1151300, tp_weaklistoffset = 0} [...] gdb) x 0x4c4f4144 0x4c4f4144: Cannot access memory at address 0x4c4f4144. 0x4c4f4144 is big-endian ascii for LOAD. Things were corrupted before... Florent -- Florent Guillaume, Nuxeo (Paris, France) +33 1 40 33 79 10

Re: [Zope-dev] User Groups

2001-12-12 Thread Florent Guillaume
individual users. Florent -- Florent Guillaume, Nuxeo (Paris, France) +33 1 40 33 79 10 http://nuxeo.com mailto:[EMAIL PROTECTED] ___ Zope-Dev maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML encoding

Re: [Zope-dev] [IDEA] ZopeRoot and SiteRoot

2001-12-17 Thread Florent Guillaume
before it's folded back into Zope (Zope 3 :-). Florent -- Florent Guillaume, Nuxeo (Paris, France) +33 1 40 33 79 10 http://nuxeo.com mailto:[EMAIL PROTECTED] ___ Zope-Dev maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope

Re: [Zope-dev] Delete or move - who can tell?

2001-12-26 Thread Florent Guillaume
ignored when the parent is cloned... Any suggestions? Tom -- Florent Guillaume, Nuxeo (Paris, France) +33 1 40 33 79 10 http://nuxeo.com mailto:[EMAIL PROTECTED] ___ Zope-Dev maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope

Re: [Zope-dev] Defining Interfaces

2002-01-29 Thread Florent Guillaume
When I define an Interface, are the methods of the interface supposed to have self as the first argument? No. But this does preclude automatic validation of the contract using python inheritance from the Interface, doesn't it ? Or will there be another way ? Florent -- Florent Guillaume

[Zope-dev] Re: [Zope-CMF] How to get Type in manage_afterAdd?

2002-01-31 Thread Florent Guillaume
-cmf See http://www.zope.org/Products/PTK/Tracker for bug reports and feature requests -- Florent Guillaume, Nuxeo (Paris, France) +33 1 40 33 79 10 http://nuxeo.com mailto:[EMAIL PROTECTED] ___ Zope-Dev maillist - [EMAIL PROTECTED] http

Re: [Zope-dev] Re: [Zope-CMF] How to get Type in manage_afterAdd?

2002-01-31 Thread Florent Guillaume
Hmmm, probably I should have used the term factory instead of constructor in that last mail... Florent Florent Guillaume [EMAIL PROTECTED] wrote: [sent to zope-dev] This problem is due to a deep bug in the current implementation of the Types Tool: a created object has no way to know its

Re: [Zope-dev] Re: self = self.this() in Factory Methods [Was: Dynpersist.so and makefile.pre.in]

2002-02-02 Thread Florent Guillaume
) if REQUEST is not None: dispatcher.manage_main(dispatcher, REQUEST) In any case calling the first argument self is really overloading the meaning of the word, as we are nowhere near a method here. Florent -- Florent Guillaume, Nuxeo (Paris, France) +33 1 40 33 79 10 http

[Zope-dev] User Groups

2002-02-03 Thread Florent Guillaume
with other products that may patch local roles support in BasicUser, for instance LRBlacklist. Do not use them together. http://www.zope.org/Members/nuxeo/Products/NuxUserGroups/ Awaiting your comments and feedback, Florent -- Florent Guillaume, Nuxeo (Paris, France) +33 1 40 33 79 10

Re: [Zope-dev] User Groups

2002-02-04 Thread Florent Guillaume
in all it was a false good idea. Florent -- Florent Guillaume, Nuxeo (Paris, France) +33 1 40 33 79 10 http://nuxeo.com mailto:[EMAIL PROTECTED] ___ Zope-Dev maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope-dev ** No cross

Re: [Zope-dev] FieldIndex unindex_object could not remove... This should not happen.

2002-02-28 Thread Florent Guillaume
2.5.0 linux binary release, sorry. Andreas Jung [EMAIL PROTECTED] wrote: what zope version ? - aj - Original Message - From: Florent Guillaume [EMAIL PROTECTED] Newsgroups: local.lists.zope.zope-dev To: [EMAIL PROTECTED] Sent: Thursday, February 28, 2002 13:45 Subject: [Zope

Re: [Zope-dev] FieldIndex unindex_object could not remove... This should not happen.

2002-02-28 Thread Florent Guillaume
Ok forget about it, I was unindexing and indexing from several catalogs, and mixed some of them up. All is well now. (However the message was still strange...) Florent Florent Guillaume [EMAIL PROTECTED] wrote: 2.5.0 linux binary release, sorry. Andreas Jung [EMAIL PROTECTED] wrote

Re: [Zope-dev] FieldIndex unindex_object could not remove... This should not happen.

2002-02-28 Thread Florent Guillaume
, and mixed some of them up. All is well now. (However the message was still strange...) Florent Florent Guillaume [EMAIL PROTECTED] wrote: 2.5.0 linux binary release, sorry. Andreas Jung [EMAIL PROTECTED] wrote: what zope version ? - aj - Original Message

Re: [Zope-dev] improved logging

2002-03-02 Thread Florent Guillaume
disks. For low volume logs I guess it's ok, but not in the general case. Florent -- Florent Guillaume, Nuxeo (Paris, France) +33 1 40 33 79 10 http://nuxeo.com mailto:[EMAIL PROTECTED] ___ Zope-Dev maillist - [EMAIL PROTECTED] http://lists.zope.org

Re: [Zope-dev] Moving forward on Zope 2.6

2002-03-16 Thread Florent Guillaume
/NuxUserGroups There will be a merge conflit with Lennart's Local roles blacklists, it it's chosen for 2.6, but I'm familiar enough with both code sets to manage the merge. I'm adding this proposal to the wiki. Florent -- Florent Guillaume, Nuxeo (Paris, France) +33 1 40 33 79 10 http://nuxeo.com

Re: [Zope-dev] manage frame change

2002-03-17 Thread Florent Guillaume
: tabname, that's useful if you open lots of those in their separate windows. Florent -- Florent Guillaume, Nuxeo (Paris, France) +33 1 40 33 79 10 http://nuxeo.com mailto:[EMAIL PROTECTED] ___ Zope-Dev maillist - [EMAIL PROTECTED] http://lists.zope.org

[Zope-dev] Large File Support

2002-03-18 Thread Florent Guillaume
, check using: objdump -T /usr/lib/libpython2.1.so.0.0 | grep lseek You should seek a lseek64 here. HTH, Florent -- Florent Guillaume, Nuxeo (Paris, France) +33 1 40 33 79 10 http://nuxeo.com mailto:[EMAIL PROTECTED] ___ Zope-Dev maillist

Re: [Zope-dev] Impact of additional protocols handled by Zope?

2002-03-19 Thread Florent Guillaume
. Interaction with IMAP and LDAP servers, yes. Jabber is not in the current plans, even though we're thinking about it. Florent -- Florent Guillaume, Nuxeo (Paris, France) +33 1 40 33 79 10 http://nuxeo.com mailto:[EMAIL PROTECTED] ___ Zope-Dev maillist

Re: [Zope-dev] Moving forward on Zope 2.6

2002-03-20 Thread Florent Guillaume
. Some code will be released soon. Florent -- Florent Guillaume, Nuxeo (Paris, France) +33 1 40 33 79 10 http://nuxeo.com mailto:[EMAIL PROTECTED] ___ Zope-Dev maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope-dev ** No cross

Re: [Zope-dev] Moving forward on Zope 2.6

2002-03-20 Thread Florent Guillaume
Johan and me would be very happy to help Florent and the others at Nuxeo implement it groups and blacklists. Thanks. But I insist that my groups are nearly the same as your workgroups. Florent -- Florent Guillaume, Nuxeo (Paris, France) +33 1 40 33 79 10 http://nuxeo.com mailto:[EMAIL

Re: [Zope-dev] Moving forward on Zope 2.6

2002-03-20 Thread Florent Guillaume
the question of what permissions are needed to modify a workgroup of course. Does this match what you want ? Looks quite feasible to me, and I think it can be done pretty independantly of the user groups I propose. Florent -- Florent Guillaume, Nuxeo (Paris, France) +33 1 40 33 79 10 http

Re: [Zope-dev] Proposed Web Services standards for Content Management

2002-03-24 Thread Florent Guillaume
ease than most CMSs be made compliant or at least capable of sustaining. Maybe someone can offer an opinion about this? Thanks in anticipation. Richard Volpato -- Florent Guillaume, Nuxeo (Paris, France) +33 1 40 33 79 10 http://nuxeo.com mailto:[EMAIL PROTECTED

Re: [Zope-dev] Moving forward on Zope 2.6

2002-03-24 Thread Florent Guillaume
don't see a problem having them both. Florent -- Florent Guillaume, Nuxeo (Paris, France) +33 1 40 33 79 10 http://nuxeo.com mailto:[EMAIL PROTECTED] ___ Zope-Dev maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope-dev

Re: [Zope-dev] Roles, groups and permissions: Less talk, more action! :-)

2002-03-24 Thread Florent Guillaume
the permissions and local roles pages. The roles should pop up first, and the permissions page could be access from that one. -- Florent Guillaume, Nuxeo (Paris, France) +33 1 40 33 79 10 http://nuxeo.com mailto:[EMAIL PROTECTED] ___ Zope-Dev maillist - [EMAIL

[Zope-dev] __bobo_traverse__, restrictedTraverse and PageTemplates

2002-04-02 Thread Florent Guillaume
traversal calls ac_acquire with as a filter validate2, the filters receives a container, and this validation suceeds. If anybody has any lights on how I write do the __bobo_traverse__ I need... Thanks, Florent -- Florent Guillaume, Nuxeo (Paris, France) +33 1 40 33 79 10 http://nuxeo.com

Re: [Zope-dev] __bobo_traverse__, restrictedTraverse and PageTemplates

2002-04-02 Thread Florent Guillaume
Zope 3 to clean all that up :) Florent -- Florent Guillaume, Nuxeo (Paris, France) +33 1 40 33 79 10 http://nuxeo.com mailto:[EMAIL PROTECTED] ___ Zope-Dev maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope-dev ** No cross

Re: [Zope-dev] [RFClet]: What about the request method and the client side trojan?

2002-04-12 Thread Florent Guillaume
. Unfortunately, considering how trivial it is for Javascript code to do a POST programmatically, I don't see how that proposal would actually help. Florent -- Florent Guillaume, Nuxeo (Paris, France) +33 1 40 33 79 87 http://nuxeo.com mailto:[EMAIL PROTECTED

Re: [Zope-dev] [RFClet]: What about the request method and the client side trojan?

2002-04-16 Thread Florent Guillaume
this your prefs.js file and you are done. Really, it _would_ help. Okay, I agree that it does indeed help. Florent -- Florent Guillaume, Nuxeo (Paris, France) +33 1 40 33 79 87 http://nuxeo.com mailto:[EMAIL PROTECTED] ___ Zope-Dev maillist

[Zope-dev] _v_ and ZEO

2002-04-18 Thread Florent Guillaume
data. Or am I misunderstanding something ? My question really relates to any use of _v_ as a cache that can survive on publisher transaction, really. Should _v_ never be used like that ? Florent -- Florent Guillaume, Nuxeo (Paris, France) +33 1 40 33 79 87 http://nuxeo.com mailto:[EMAIL

Re: [Zope-dev] _v_ and ZEO

2002-04-18 Thread Florent Guillaume
no way to undo a transaction on error... Florent -- Florent Guillaume, Nuxeo (Paris, France) +33 1 40 33 79 87 http://nuxeo.com mailto:[EMAIL PROTECTED] ___ Zope-Dev maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope-dev

[Zope-dev] Ordered Folder (was: Speaking of 2.6...)

2002-04-23 Thread Florent Guillaume
')), ) ObjectManager.__ac_permissions__ = ObjectManager.__ac_permissions__ + perms -- Florent Guillaume, Nuxeo (Paris, France) +33 1 40 33 79 87 http://nuxeo.com mailto:[EMAIL PROTECTED] ___ Zope-Dev maillist - [EMAIL PROTECTED] http://lists.zope.org

Re: [Zope-dev] Ordered Folder (was: Speaking of 2.6...)

2002-04-24 Thread Florent Guillaume
that the underlying objectValues() returns ordered objects is of no consequence here. Florent -- Florent Guillaume, Nuxeo (Paris, France) +33 1 40 33 79 87 http://nuxeo.com mailto:[EMAIL PROTECTED] ___ Zope-Dev maillist - [EMAIL PROTECTED] http

Re: [Zope-dev] localRoles

2002-04-29 Thread Florent Guillaume
Dirk Datzert [EMAIL PROTECTED] wrote: if I define local roles for a folder object. Are the local roles acquired by Objects in the folder and sub-folders and so on ? Yes. Florent -- Florent Guillaume, Nuxeo (Paris, France) +33 1 40 33 79 87 http://nuxeo.com mailto:[EMAIL PROTECTED

Re: [Zope-dev] Re: ZPT and else

2002-05-11 Thread Florent Guillaume
to internatonalize things... Florent -- Florent Guillaume, Nuxeo (Paris, France) +33 1 40 33 79 87 http://nuxeo.com mailto:[EMAIL PROTECTED] ___ Zope-Dev maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope-dev ** No cross posts

Re: [Zope-dev] Re: [ZPT] Order of attribute execution Feature Request

2002-05-11 Thread Florent Guillaume
.html Florent -- Florent Guillaume, Nuxeo (Paris, France) +33 1 40 33 79 87 http://nuxeo.com mailto:[EMAIL PROTECTED] ___ Zope-Dev maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML encoding

[Zope-dev] restrictedTraverse

2002-05-11 Thread Florent Guillaume
to use in my code for now is to call unrestrictedTraverse and validate() by hand the resulting object. But I'm concerned that there may be a more profound security reason I'm missing. Florent -- Florent Guillaume, Nuxeo (Paris, France) +33 1 40 33 79 87 http://nuxeo.com mailto:[EMAIL PROTECTED

Re: [Zope-dev] Re: [ZPT] Order of attribute execution Feature Request

2002-05-13 Thread Florent Guillaume
. Is this intended to be a permanent feature, or is is experimental? I'm pretty sure it's permanent, only undocumented. Florent -- Florent Guillaume, Nuxeo (Paris, France) +33 1 40 33 79 87 http://nuxeo.com mailto:[EMAIL PROTECTED] ___ Zope-Dev maillist

Re: [Zope-dev] Re: [ZPT] Order of attribute execution Feature Request

2002-05-13 Thread Florent Guillaume
/AdvZPT.stx Yes I have committer privileges, and if I find the time I'll check in the necessary changes to the doc. BTW my comment was in no way intended to disparage you or the writers of the TAL doc, I myself understand only too much how 24 hours in a day are never enough :-) Florent -- Florent

Re: [Zope-dev] restrictedTraverse

2002-05-15 Thread Florent Guillaume
Anybody has any light to shed on this ? Especially the second paragraph... Thanks, Florent Florent Guillaume [EMAIL PROTECTED] wrote: With an object path /A/B/C where C has a local role allowing a user to view C but where B disallows acquisition of the View permission, the publisher

Re: [Zope-dev] stacks != easy to explain

2002-05-15 Thread Florent Guillaume
by any parser or whatever. This is not what is meant here. Florent -- Florent Guillaume, Nuxeo (Paris, France) +33 1 40 33 79 87 http://nuxeo.com mailto:[EMAIL PROTECTED] ___ Zope-Dev maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman

Re: [Zope-dev] fsrecovery in Zope 2.4 ?

2002-06-03 Thread Florent Guillaume
2.5 now, I would like to know if it is possible to install and use this tool on Zope 2.4, because the gain in case of a catastrophe seem very interesting. I don't know. If it imports ok is should be fine I guess. Florent -- Florent Guillaume, Nuxeo (Paris, France) +33 1 40 33 79 87 http

Re: [Zope-dev] Re: [Zope-Coders] ACTION: 2.6 project status updates...

2002-06-05 Thread Florent Guillaume
work during my vacation... Will do, sometimes in the not-too-distant future :-) Florent -- Florent Guillaume, Nuxeo (Paris, France) +33 1 40 33 79 87 http://nuxeo.com mailto:[EMAIL PROTECTED] ___ Zope-Dev maillist - [EMAIL PROTECTED] http

Re: [Zope-dev] Bug Day for June?

2002-06-11 Thread Florent Guillaume
-- Florent Guillaume, Nuxeo (Paris, France) +33 1 40 33 79 87 http://nuxeo.com mailto:[EMAIL PROTECTED] ___ Zope-Dev maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML encoding! ** (Related lists

Re: [Zope-dev] Changes to ZCatalog

2002-06-14 Thread Florent Guillaume
CMF directly uses it now. The rest of Dublin Core should maybe be in the indexes and metadata. I think a portal_type index is needed. HTH, Florent -- Florent Guillaume, Nuxeo (Paris, France) +33 1 40 33 79 87 http://nuxeo.com mailto:[EMAIL PROTECTED

Re: [Zope-dev] Changes to ZCatalog

2002-06-14 Thread Florent Guillaume
that it behaves ok in the presence of VHM. Florent Florent Guillaume [EMAIL PROTECTED] wrote: Casey Duncan [EMAIL PROTECTED] wrote: Yes, I have begun to fix it. I want to determine exactly which Indexes/metdata are really needed in CMF. Like, do we really need both Title and title

Re: [Zope-dev] Questions about BasicUserFolder.authorize

2002-06-20 Thread Florent Guillaume
for efficiency reasons. Basically, these are the two places that check __ac_local_roles__, going up the hierarchy. Florent -- Florent Guillaume, Nuxeo (Paris, France) +33 1 40 33 79 87 http://nuxeo.com mailto:[EMAIL PROTECTED] ___ Zope-Dev maillist

Re: [Zope-dev] Bug Day for June?

2002-06-20 Thread Florent Guillaume
on for tomorrow? Hmm, too much rush here, sorry, I won't make it. Florent -- Florent Guillaume, Nuxeo (Paris, France) +33 1 40 33 79 87 http://nuxeo.com mailto:[EMAIL PROTECTED] ___ Zope-Dev maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman

Re: [Zope-dev] problems with accented characters - need advice

2002-06-20 Thread Florent Guillaume
Florent Guillaume [EMAIL PROTECTED] wrote: Toby Dickenson [EMAIL PROTECTED] wrote: On Tuesday 18 Jun 2002 8:44 pm, Dieter Maurer wrote: The reason why it is still there is that a change should work for all languages and not only western ones. This poses the question how the byte

[Zope-dev] manage_clone

2002-07-06 Thread Florent Guillaume
I noticed that CopyContainer.manage_clone doesn't call manage_afterClone. Is this an oversight or is there a reason ? Florent -- Florent Guillaume, Nuxeo (Paris, France) +33 1 40 33 79 87 http://nuxeo.com mailto:[EMAIL PROTECTED] ___ Zope-Dev

Re: [Zope-dev] updating homebrew extension of structured text to standard

2002-07-15 Thread Florent Guillaume
it with a path with about 550 instances it crashes or is extreme slow. Anyone to suggest a faster method? Thank you, Jochen Call get_transaction().commit() every 20 or so objects ? Florent -- Florent Guillaume, Nuxeo (Paris, France) +33 1 40 33 79 87 http://nuxeo.com mailto:[EMAIL PROTECTED

[Zope-dev] Folder(id)

2002-07-23 Thread Florent Guillaume
is not None: self.title = title in Folder ? Florent -- Florent Guillaume, Nuxeo (Paris, France) +33 1 40 33 79 87 http://nuxeo.com mailto:[EMAIL PROTECTED] ___ Zope-Dev maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope-dev

Re: [Zope-dev] Refresh trashes acquisition

2002-07-24 Thread Florent Guillaume
? Florent -- Florent Guillaume, Nuxeo (Paris, France) +33 1 40 33 79 87 http://nuxeo.com mailto:[EMAIL PROTECTED] ___ Zope-Dev maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML encoding

Re: [Zope-dev] ZCatalogs with SearchIndexes in ZODB - how to fix?

2002-07-24 Thread Florent Guillaume
to UPTODATE) ? Florent -- Florent Guillaume, Nuxeo (Paris, France) +33 1 40 33 79 87 http://nuxeo.com mailto:[EMAIL PROTECTED] ___ Zope-Dev maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML encoding

Re: [Zope-dev] Re: Refresh trashes acquisition

2002-07-30 Thread Florent Guillaume
won't get stored to ZODB upon l.append(xx) or l.update. There is a correct PersistentList in the ZODB package of Zope 2.6 (in CVS). Florent -- Florent Guillaume, Nuxeo (Paris, France) +33 1 40 33 79 87 http://nuxeo.com mailto:[EMAIL PROTECTED

Re: [Zope-dev] Refer to zope attribute or object in source

2002-08-01 Thread Florent Guillaume
charset and allow other site-branch manager to overwrite it with acquisition, thus the attribute zope-charset will be used to determine both the Content-type: text/plain; charset=dtml-var zope-charset and the code convertion of Zope like PropertySheets.py -- Florent Guillaume, Nuxeo (Paris

Re: [Zope-dev] Corrupt Data.fs: Is there a way of fixing transaction ids?

2002-08-03 Thread Florent Guillaume
don't know if it'll work): Convert the hexadecimal id to octal, and do: import Zope app = Zope.app() ob = app._p_jar['\000\000\000\000\000(\347\026'] # here the octal string print ob.id print ob.__class__ HTH, Florent -- Florent Guillaume, Nuxeo (Paris, France) +33 1 40 33 79 87

Re: [Zope-dev] DTML and REQUEST data changes about to be checked in

2002-08-03 Thread Florent Guillaume
that really didn't take the most basic security precautions (unfortunately I'm sure there are some out there, doing stuff like a href=dtml-var REQUEST.foodtml-var REQUEST.footitle/a). So in a code audit all dtml-var [expr=]xxx should be suspect, and dtml-.xxx; too. Florent -- Florent Guillaume

Re: [Zope-dev] Re: Refresh trashes acquisition

2002-08-14 Thread Florent Guillaume
this was your whole implementation. Florent -- Florent Guillaume, Nuxeo (Paris, France) +33 1 40 33 79 87 http://nuxeo.com mailto:[EMAIL PROTECTED] ___ Zope-Dev maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope-dev ** No cross posts

Re: [Zope-dev] Re: pdf - Files not viewable

2002-08-19 Thread Florent Guillaume
will display pdf files without any problems after applying this patch. Can you put this in the Collector? Thanks, Florent -- Florent Guillaume, Nuxeo (Paris, France) +33 1 40 33 79 87 http://nuxeo.com mailto:[EMAIL PROTECTED] ___ Zope-Dev maillist

Re: [Zope-dev] PANIC!!! That old refresh bug again.

2002-09-18 Thread Florent Guillaume
Shane Hathaway [EMAIL PROTECTED] wrote: - Making one product depend on another using import statements I'm doing that, and I observe the problem Lennart is describing (objects turning into None). Any idea for a workaround? Florent -- Florent Guillaume, Nuxeo (Paris, France) +33 1 40 33 79 87

Re: [Zope-dev] Plone, PageTemplates and Zope2.6

2002-09-19 Thread Florent Guillaume
PageTemplate skin and he is getting ugly results (he is migrating from DTML to PageTempaltes). -- Florent Guillaume, Nuxeo (Paris, France) +33 1 40 33 79 87 http://nuxeo.com mailto:[EMAIL PROTECTED] ___ Zope-Dev maillist - [EMAIL PROTECTED] http

Re: [Zope-dev] Product construction question

2002-09-19 Thread Florent Guillaume
= Account(id, title, valuta) 1: #self.Destination()._setObject(id, p) 2: self._setObject(id, p) return id Same comment. Have you read the Developer's Guide? It talks about product creation and should answer your questions. Florent -- Florent Guillaume, Nuxeo (Paris, France) +33 1 40 33

Re: [Zope-dev] __getattr__ and Acquisition

2002-09-23 Thread Florent Guillaume
in CMF for an example. Florent -- Florent Guillaume, Nuxeo (Paris, France) +33 1 40 33 79 87 http://nuxeo.com mailto:[EMAIL PROTECTED] ___ Zope-Dev maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML

[Zope-dev] Unicode treatment in 2.6b1

2002-09-26 Thread Florent Guillaume
better understand the problem, I'll help fix this ASAP in core Zope. Florent -- Florent Guillaume, Nuxeo (Paris, France) +33 1 40 33 79 87 http://nuxeo.com mailto:[EMAIL PROTECTED] ___ Zope-Dev maillist - [EMAIL PROTECTED] http://lists.zope.org

Re: [Zope-dev] Unicode treatment in 2.6b1

2002-09-26 Thread Florent Guillaume
the reported failures don't surprise me. BTW an example of a failing PageTemplate is: html span tal:replace=python:u'hello' / café /html Because, deep inside StringIO, it tries to do something like: ''.join([u'hello', ' café']) -- Florent Guillaume, Nuxeo (Paris, France) +33 1 40 33 79

Re: [Zope-dev] __before_publishing_traverse__ calls RESPONSE.redirect(): is there another way to change the browser URL?

2002-09-27 Thread Florent Guillaume
-- Florent Guillaume, Nuxeo (Paris, France) +33 1 40 33 79 87 http://nuxeo.com mailto:[EMAIL PROTECTED] ___ Zope-Dev maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML encoding! ** (Related

Re: [Zope-dev] [ZOPE 2.6 B1] Unicode/locale problems withOFS/dtml/properties.dtml

2002-09-28 Thread Florent Guillaume
. As a default, it is recommended that user agents use the encoding of the document, but this is not a strict requirement in HTML4. Florent -- Florent Guillaume, Nuxeo (Paris, France) +33 1 40 33 79 87 http://nuxeo.com mailto:[EMAIL PROTECTED] ___ Zope

Re: [Zope-dev] [ZOPE 2.6 B1] Unicode/locale problemswithOFS/dtml/properties.dtml

2002-09-30 Thread Florent Guillaume
On Mon, 2002-09-30 at 09:17, Toby Dickenson wrote: On Saturday 28 Sep 2002 4:38 pm, Florent Guillaume wrote: form action=foo ... accept-charset=UTF-8 ... /form This instructs the browser it should send the content of the form in the accepted charset. Yes, accept-charset could

Re: [Zope-dev] form variables and **kw

2002-10-04 Thread Florent Guillaume
, to allow calling of some scripts from a form or from another script, I end up using the idiom: def somescripts(self, foo, bar, REQUEST=None, **kw) # or: ##parameters=foo, bar, REQUEST=None, **kw if REQUEST is not None: kw.update(REQUEST.form) ... Florent -- Florent Guillaume, Nuxeo (Paris

Re: [Zope-dev] ZEO cache instrumentation -- any takers?

2002-10-05 Thread Florent Guillaume
block, I really want to spell it try...else...except. This places the exceptional situation after the common situation, where it should be. Yep, that's exactly what I was about to say. (Not that I suggest changing the syntax either.) Florent -- Florent Guillaume, Nuxeo (Paris, France) +33 1

Re: [Zope-dev] Re: [Zope-2.6.0b1] Property Problem

2002-10-15 Thread Florent Guillaume
Toby Dickenson [EMAIL PROTECTED] wrote: On Saturday 12 Oct 2002 2:41 pm, Yusei Tahara wrote: and Folder title attribute is string not ustring. so change it. Hmm the 'title' property of Folder is not deletable. Florent -- Florent Guillaume, Nuxeo (Paris, France) +33 1 40 33 79 87 http

[Zope-dev] Re: [Zope-Checkins] efge-death-to-dtml-var-branch

2002-10-24 Thread Florent Guillaume
On Thu, 2002-10-24 at 09:33, Toby Dickenson wrote: Removed most dtml-var to replace them with dtml-foo;. This corrects a number of potential XSS holes I assume that the XSS holes are the old dtml-var tags which didnt have html_quote? Yes. Florent -- Florent Guillaume, Nuxeo (Paris

Re: [Zope-dev] Can't edit CMF/Plone content if the creator is deleted

2002-10-12 Thread Florent Guillaume
would really like to know if this is and intended security feature or a bug. Any input would be appreciated. -- Florent Guillaume, Nuxeo (Paris, France) +33 1 40 33 79 87 http://nuxeo.com mailto:fg;nuxeo.com ___ Zope-Dev maillist - [EMAIL PROTECTED

Re: [Zope-dev] Unicode Support in 2.6 -- background infos?

2002-11-05 Thread Florent Guillaume
versions of Zope. Which is hardly helful for the end-user... I mean, the point of having computers is to simplify things... Florent -- Florent Guillaume, Nuxeo (Paris, France) +33 1 40 33 79 87 http://nuxeo.com mailto:fg;nuxeo.com ___ Zope-Dev

Re: [Zope-dev] CMF, CMFCore/utils.py, Tuple/List incompatibility

2002-11-19 Thread Florent Guillaume
triggered something bad before, but this code seems to be somewhat ... instable ... so maybe forcing it into a tuple maybe a good thing. -- Florent Guillaume, Nuxeo (Paris, France) +33 1 40 33 79 87 http://nuxeo.com mailto:[EMAIL PROTECTED] ___ Zope-Dev

Re: [Zope-dev] allowable object ids

2002-12-12 Thread Florent Guillaume
/ will be forbidden in ids (=names)). For Zope 2 I strongly doubt we'll have full unicode ids. Florent -- Florent Guillaume, Nuxeo (Paris, France) +33 1 40 33 79 87 http://nuxeo.com mailto:[EMAIL PROTECTED] ___ Zope-Dev maillist - [EMAIL PROTECTED

Re: [Zope] Re: [Zope-dev] post-publishing hook

2002-12-12 Thread Florent Guillaume
at that point so you will need to open a new one. Note also that you won't be able to report any error to the user (obviously). Florent -- Florent Guillaume, Nuxeo (Paris, France) +33 1 40 33 79 87 http://nuxeo.com mailto:[EMAIL PROTECTED] ___ Zope-Dev

Re: [Zope-dev] Zope 2.6.0 ZMI Problem for CJK(Collector 623) patch.

2002-12-20 Thread Florent Guillaume
Toby Dickenson [EMAIL PROTECTED] wrote: The final beta is due today. Was this announced somewhere? I really wish the release schedule was a bit more known in advance. Florent -- Florent Guillaume, Nuxeo (Paris, France) +33 1 40 33 79 87 http://nuxeo.com mailto:[EMAIL PROTECTED

RE: [Zope-dev] Zope 2.6.0 ZMI Problem for CJK(Collector 623) patch.

2002-12-20 Thread Florent Guillaume
won't be available to do that today :( -- Florent Guillaume, Nuxeo (Paris, France) +33 1 40 33 79 87 http://nuxeo.com mailto:[EMAIL PROTECTED] ___ Zope-Dev maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope-dev ** No cross

[Zope-dev] Re: [Zope-Checkins] CVS: Zope/lib/python/TAL - TALInterpreter.py:1.69.6.10

2002-12-22 Thread Florent Guillaume
is self.Default: self.interpret(stuff[1]) return -s = escape(text) +s = escape(text, 1) self._stream_write(s) i = s.rfind('\n') if i 0: -- Florent Guillaume, Nuxeo (Paris, France) +33 1 40 33 79 87 http://nuxeo.com mailto

Re: [Zope-dev] Re: [Zope-Checkins] CVS: Zope/lib/python/TAL -TALInterpreter.py:1.69.6.10

2002-12-23 Thread Florent Guillaume
: Florent Guillaume [EMAIL PROTECTED] To: [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Sent: Sunday, December 22, 2002 11:01 AM Subject: [Zope-dev] Re: [Zope-Checkins] CVS: Zope/lib/python/TAL - TALInterpreter.py:1.69.6.10 What prompted this? What does it fix? I don't see that quotes need

Re: [Zope-dev] Re: [Zope-Checkins] CVS: Zope/lib/python/TAL-TALInterpreter.py:1.69.6.10

2002-12-23 Thread Florent Guillaume
are escaping and , I see no reason not to escape as well. And I believe the Zope Book Appendix C needs updating to reflect this. Test checked in by the way. -- Andy McKay -- Florent Guillaume, Nuxeo (Paris, France) +33 1 40 33 79 87 http://nuxeo.com mailto:[EMAIL PROTECTED

[Zope-dev] Re: [Zope-Coders] FYI: Zope 2.6.1 b2 scheduled for friday

2003-01-30 Thread Florent Guillaume
and solved but for which I must write a unit test, and the other (the one posted by Andreas in the ZPT list) that I'm investigating. I'll see to committing fixes today. Florent -- Florent Guillaume, Nuxeo (Paris, France) +33 1 40 33 79 87 http://nuxeo.com mailto:[EMAIL PROTECTED

Re: [Zope-dev] Accept-Charset hearders causing 500 internal servererror.[correct but not lenient]

2003-01-30 Thread Florent Guillaume
= httplib.HTTPConnection(127.0.0.1:8080) conn.request(GET, /mobile/wap/games/,headers=headers) response = conn.getresponse() print response.status, response.reason data = response.read() print data conn.close() sendHTTP() -- Florent Guillaume, Nuxeo (Paris, France

Re: [Zope-dev] Why is it _setObject(), and why is it undocumented

2003-02-01 Thread Florent Guillaume
(), even if __getitem__ often is enough (it has some WebDAV magic though). Florent -- Florent Guillaume, Nuxeo (Paris, France) +33 1 40 33 79 87 http://nuxeo.com mailto:[EMAIL PROTECTED] ___ Zope-Dev maillist - [EMAIL PROTECTED] http://mail.zope.org

Re: [Zope-dev] [Zope] Header information on file upload

2003-02-01 Thread Florent Guillaume
on upload if it is provided by the browser. Only if none is provided does it guess one. See OFS.Image.File._get_content_type(). Florent -- Florent Guillaume, Nuxeo (Paris, France) +33 1 40 33 79 87 http://nuxeo.com mailto:[EMAIL PROTECTED] ___ Zope-Dev

Re: [Zope-dev] Why is it _setObject(), and why is it undocumented

2003-02-05 Thread Florent Guillaume
live Zope 3!) Florent -- Florent Guillaume, Nuxeo (Paris, France) +33 1 40 33 79 87 http://nuxeo.com mailto:[EMAIL PROTECTED] ___ Zope-Dev maillist - [EMAIL PROTECTED] http://mail.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML

[Zope-dev] Offtopic: it's vs. its

2003-02-21 Thread Florent Guillaume
systematically :-) So could you be a bit more careful, especially all you native-English guys? All this with lots of :-) :-) Thanks, Florent -- Florent Guillaume, Nuxeo (Paris, France) +33 1 40 33 79 87 http://nuxeo.com mailto:[EMAIL PROTECTED

Re: [Zope-dev] LOTS of roles?

2003-02-25 Thread Florent Guillaume
) of object and check it against your central authorization source (eg. LDAP). Note that you'll also want to change validate() if you go that route. It has a short-circuited version of getRolesInContext in it. Florent -- Florent Guillaume, Nuxeo (Paris, France) +33 1 40 33 79 87 http://nuxeo.com mailto

[Zope-dev] Following the Zope Collector

2003-02-26 Thread Florent Guillaume
and impractical considering the number of entries. So I'd like to propose to switch the Zope collector to dispatcher Off. This would mean more email traffic for the supporters, but it's easy enough to filter and I think the benefits are worth it. Florent -- Florent Guillaume, Nuxeo (Paris, France

Re: [Zope-dev] Following the Zope Collector

2003-02-26 Thread Florent Guillaume
-- Florent Guillaume, Nuxeo (Paris, France) +33 1 40 33 79 87 http://nuxeo.com mailto:[EMAIL PROTECTED] ___ Zope-Dev maillist - [EMAIL PROTECTED] http://mail.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML encoding! ** (Related lists

Re: [Zope-dev] Index errors revisited: KeywordIndex unindex_object could not remove documentId -883140122 from index ComponentVersions. This should not happen.

2003-02-27 Thread Florent Guillaume
broken somewhere. Maybe because of a too-greedy try/except: ? Which reminds me, there is such a greedy one in manage_beforeDelete, it could be your culprit. BTW are you using CMF? Florent -- Florent Guillaume, Nuxeo (Paris, France) +33 1 40 33 79 87 http://nuxeo.com mailto:[EMAIL PROTECTED

[Zope-dev] umount/remount

2003-03-07 Thread Florent Guillaume
Is there any way to unmount then remount a mounted storage from a running Zope? Use case: mounting it read-only most of the time, and switching to read-write at selected points when updates are allowed. Florent -- Florent Guillaume, Nuxeo (Paris, France) +33 1 40 33 79 87 http://nuxeo.com

  1   2   3   4   >