Re: [Zope3-Users] What kind of Zope3 classes are available?

2006-08-18 Thread Martijn Pieters
://worldcookery.com/News/Grapevine -- Martijn Pieters ___ Zope3-users mailing list Zope3-users@zope.org http://mail.zope.org/mailman/listinfo/zope3-users

Re: [Zope3-Users] Virtual hosting problem

2006-08-30 Thread Martijn Pieters
in interaction.participations: if IHTTPRequest.providedBy(participant): return participant That way you can detect the start of a request (before traverse event on the root folder), grab the request, and manipulate it to suit your virtual host needs. -- Martijn Pieters

[Zope3-Users] z3wingdbg 0.2.0: Wing IDE debugger integration for Zope3

2006-09-01 Thread Martijn Pieters
, feature requests http://trac.zopatista.com/zopatista/ Martijn Pieters signature.asc Description: OpenPGP digital signature ___ Zope3-users mailing list Zope3-users@zope.org http://mail.zope.org/mailman/listinfo/zope3-users

Re: [Zope3-Users] How to make a new namespace for pagetemplates?

2006-09-08 Thread Martijn Pieters
on plone.org for a way to process all links in a page and process them. That product makes external links open in a new window, but the code should be easy to alter. -- Martijn Pieters ___ Zope3-users mailing list Zope3-users@zope.org http://mail.zope.org

Re: [Zope3-Users] Re: How to make a new namespace for pagetemplates?

2006-09-08 Thread Martijn Pieters
/publication.py?rev=69889view=auto and http://svn.zope.org/zc.resourcelibrary/trunk/src/zc/resourcelibrary/configure.zcml?rev=68929view=auto -- Martijn Pieters ___ Zope3-users mailing list Zope3-users@zope.org http://mail.zope.org/mailman/listinfo/zope3

Re: [Zope3-Users] NTLM credential plugin

2006-09-13 Thread Martijn Pieters
://svn.zope.org/zc.winauth/trunk/src/zc/winauth/ -- Martijn Pieters ___ Zope3-users mailing list Zope3-users@zope.org http://mail.zope.org/mailman/listinfo/zope3-users

Re: [Zope3-Users] Re: NTLM credential plugin

2006-09-13 Thread Martijn Pieters
NTLM somewhere (as in 'Firefox does NTLM too'), hence my misunderstanding. Mea Culpa! -- Martijn Pieters ___ Zope3-users mailing list Zope3-users@zope.org http://mail.zope.org/mailman/listinfo/zope3-users

Re: [Zope3-Users] Multiple actions per button in formlib forms?

2006-09-14 Thread Martijn Pieters
the first? formlib actions call one method, but nothing stops you from calling another method form the first. It's what I do all the time. -- Martijn Pieters ___ Zope3-users mailing list Zope3-users@zope.org http://mail.zope.org/mailman/listinfo/zope3-users

Re: [Zope3-Users] Multiple actions per button in formlib forms?

2006-09-14 Thread Martijn Pieters
complete tracebacks. Such an error is next to useless. Sorry, forgot to mention that before. Any ideas how to get things work? No idea what you pass into that method as 'data'. The action attr is ignored by that method. -- Martijn Pieters ___ Zope3-users

Re: [Zope3-Users] Re: Multiple actions per button in formlib forms?

2006-09-14 Thread Martijn Pieters
the decorator does is add an Action object to the class attribute 'actions' (which it creates if it doesn't yet exist). Without a proper traceback we're just guessing here. Somewhere something is trying to treat a Action instance as a callable. -- Martijn Pieters

Re: [Zope3-Users] Re: Multiple actions per button in formlib forms?

2006-09-15 Thread Martijn Pieters
) self.request.response.redirect(getAbsoluteURL( self.context.__parent__,self.request)) -- Martijn Pieters ___ Zope3-users mailing list Zope3-users@zope.org http://mail.zope.org/mailman/listinfo/zope3-users

Re: [Zope3-Users] Problem with containers

2006-09-15 Thread Martijn Pieters
for the Foster implementation that includes both IFosterSource and IFosterGroup. -- Martijn Pieters ___ Zope3-users mailing list Zope3-users@zope.org http://mail.zope.org/mailman/listinfo/zope3-users

Re: [Zope3-Users] Security in Zope 3

2006-09-19 Thread Martijn Pieters
places without problems just fine. Just be careful to clean up when the object gets deleted from it's canonical location (the __parent__ object). -- Martijn Pieters ___ Zope3-users mailing list Zope3-users@zope.org http://mail.zope.org/mailman/listinfo

Re: [Zope3-Users] Re: Conflicting configuration actions for protectName __setitem__

2006-09-21 Thread Martijn Pieters
IReadContainer and IWriteContainer. Beth IFosterRecord and IWriteContainer contain __setitem__. You are trying to set permissions for __setitem__ twice that way. -- Martijn Pieters ___ Zope3-users mailing list Zope3-users@zope.org http://mail.zope.org

Re: [Zope3-Users] Re: UnicodeEncodeErrors from zope/app/maildir.py

2006-11-29 Thread Martijn Pieters
. Perhaps because emails can only be transferred as ASCII? You need to encode the body of the email (and any headers) down to ASCII, see RFC 822 and friends. This is what mime encodings take care of, see the 'email' package in the python standard library. -- Martijn Pieters

Re: [Zope3-Users] Re: UnicodeEncodeErrors from zope/app/maildir.py

2006-11-29 Thread Martijn Pieters
, the MIME RFCs tell you how to encode your message in such a way that the message body, the characters that go across the wire, fall within the ASCII range. MIME uses a transfer encoding like quoted-printable to ensure this. -- Martijn Pieters ___ Zope3

Re: [Zope3-Users] Disable raw directive in restructured text

2007-03-16 Thread Martijn Pieters
an error message whereas it is completely swallowed when uncommenting the report_level. Note that you should really read the following: http://docutils.sourceforge.net/docs/howto/security.html You'll have to disable the include and csv-table directives as well. -- Martijn Pieters

Re: [Zope3-Users] Disable raw directive in restructured text

2007-03-16 Thread Martijn Pieters
is is completely removed from output. What I want is that it is treated just like any other text, appearing also in the output. Is that possible? You'll have to ask the docutils developers that, or preferably their mailinglist, if it exists. -- Martijn Pieters

Re: [Zope3-Users] mport Products.Archetypes

2007-03-19 Thread Martijn Pieters
for stitching multiple Product directories together; it is not a normal Python package. Eclipse will need to add specific support for that, like Wing IDE has done. -- Martijn Pieters ___ Zope3-users mailing list Zope3-users@zope.org http://mail.zope.org

Re: [Zope3-Users] Any Word On When Zope 3 Will Support Python 2.5

2007-03-26 Thread Martijn Pieters
covers making things compile and generally work. No security support for 2.5 is in the works at the moment, as far as I know. -- Martijn Pieters ___ Zope3-users mailing list Zope3-users@zope.org http://mail.zope.org/mailman/listinfo/zope3-users

Re: [Zope3-Users] Utility Local to an Annotation?

2007-04-27 Thread Martijn Pieters
of the feed UUID and the generic object UUID if you are generating UUID's based on the feed-specific UUID and a unique identifier for the object, you could just use the already present intid.. -- Martijn Pieters ___ Zope3-users mailing list Zope3-users@zope.org

[Zope3-Users] Re: [Zope3-dev] Re: z3c.form 1.0.0 released!

2007-05-25 Thread Martijn Pieters
, for various reasons. Some of these reasons lie in a difference of opinion on how an AJAX architecture should work. This is Paul Carduners GSOC project, BTW. -- Martijn Pieters ___ Zope3-users mailing list Zope3-users@zope.org http://mail.zope.org/mailman

Re: [Zope3-Users] Utility for removing unneeded import statements

2007-06-05 Thread Martijn Pieters
On 6/5/07, Doyon, Jean-Francois [EMAIL PROTECTED] wrote: You may want to look into PyLint: http://www.logilab.org/857 Or PyChecker: http://pychecker.sourceforge.net/ Or use PyFlakes: http://www.divmod.org/projects/pyflakes which doesn't execute code (like PyChecker does). -- Martijn

Re: [Zope3-Users] Zope3 freelance inquiry

2007-09-14 Thread Martijn Pieters
On 9/14/07, Stephan Richter [EMAIL PROTECTED] wrote: I have some availability. My rate is $150/hour. I guess I don't have to introduce myself? ;-) Open Source Open Community Open Rates ;-) -- Martijn Pieters ___ Zope3-users mailing list Zope3-users

Re: [Zope3-Users] Vocabulary, unicode

2008-01-07 Thread Martijn Pieters
represent. -- Martijn Pieters ___ Zope3-users mailing list Zope3-users@zope.org http://mail.zope.org/mailman/listinfo/zope3-users

Re: [Zope3-Users] z3c-form meta.zcml error

2008-01-23 Thread Martijn Pieters
. -- Martijn Pieters ___ Zope3-users mailing list Zope3-users@zope.org http://mail.zope.org/mailman/listinfo/zope3-users

Re: [Zope3-Users] z3c-form meta.zcml error

2008-01-23 Thread Martijn Pieters
*.zcml This'll include *all* text and zcml files recursively found from that directory. -- Martijn Pieters ___ Zope3-users mailing list Zope3-users@zope.org http://mail.zope.org/mailman/listinfo/zope3-users

Re: [Zope3-Users] z3c-form meta.zcml error

2008-01-23 Thread Martijn Pieters
the zip or tar.gz file. On my machine everyting is there and the eggs works like expected if the come form pypi ;-) Perhaps there is something different going on then; as I stated, I saw what appears to be the same problem and it was solved by including a MANIFEST.in. -- Martijn Pieters

Re: [Zope3-Users] z3c-form meta.zcml error

2008-01-23 Thread Martijn Pieters
actually a bad feature; it has caused quite some confusion for several developers, including myself. It means that setup.py silently works completely different when within or outside of a subversion working directory. -- Martijn Pieters ___ Zope3-users

Re: [Zope3-Users] z3c-form meta.zcml error

2008-01-24 Thread Martijn Pieters
---Lessons-learned-td14279963s6745.html Apparently that's fixed in Python 2.5, which is a fat lot of help to us stuck on 2.4. -- Martijn Pieters ___ Zope3-users mailing list Zope3-users@zope.org http://mail.zope.org/mailman/listinfo/zope3-users

Re: [Zope3-Users] z3c-form meta.zcml error

2008-01-24 Thread Martijn Pieters
this is the bug in question: http://bugs.python.org/issue1471427 with the patches for the problem in: http://bugs.python.org/issue1484695 -- Martijn Pieters ___ Zope3-users mailing list Zope3-users@zope.org http://mail.zope.org/mailman/listinfo/zope3