Re: [Zope3-Users] Pure python packages for zope.component and zope.interface

2008-04-19 Thread Adam GROSZER
Hello Darryl, I think zope.interface will work without the C stuff, those are just optimizations. Actually it should work with jython already. zope.proxy might not be so simple to get working without C. (Hopefully) there will be some GSoC projects that will bring the subject and your problem

Re: [Zope3-Users] Pure python packages for zope.component and zope.interface

2008-04-19 Thread Darryl Cousins
[Incorrect `from` header in initial] Hello Darryl, I think zope.interface will work without the C stuff, those are just optimizations. Actually it should work with jython already. zope.proxy might not be so simple to get working without C. Thanks. You are right. Silly of me not to try one or

Re: [Zope3-Users] Pure python packages for zope.component and zope.interface

2008-04-19 Thread Darryl Cousins
[incorrect from header in initial] Hi, The ZCA framework is developed as part of the Zope 3 project. As noted earlier, it is a pure Python framework, so it can be used in any kind of Python application. [1] I was hoping to try using ZCA for a googleappengine experiment. Using Ian Bickings

[Zope3-Users] raise Redir(newurl) not working - can someone confirm this?

2008-04-19 Thread Hermann Himmelbauer
Hi, In my application, namely for URL-Rewriting for session handling, I need to stop the current request and redirect to another url (including the session key). For that reason, I issue the following statement: from zope.publisher.interfaces import Redirect raise Redirect('http://my.new.url')

AW: [Zope3-Users] raise Redir(newurl) not working - can someoneconfirm this?

2008-04-19 Thread Roger Ineichen
Hi Hermann Betreff: [Zope3-Users] raise Redir(newurl) not working - can someoneconfirm this? Hi, In my application, namely for URL-Rewriting for session handling, I need to stop the current request and redirect to another url (including the session key). For that reason, I issue the

Re: [Zope3-Users] Pure python packages for zope.component and zope.interface

2008-04-19 Thread Jim Fulton
Here's a high-level response to this thread. As others have pointed out, zope.component and zope.interface should work fine without the C optimizations and I'm in favor of changing the setup to make them installable without the optimizations. zope.proxy is harder. :( What's especially

Re: [Zope3-Users] retrieving zope.conf parameters and paths of buildout dirs

2008-04-19 Thread Yuan HOng
One caveat, I you are using product-config directive to specify your application directory, please note that it can not be retrieved by zope.app.appsetup.getProductConfig if you are using zope.app.wsgi to start your zope3 application. In stead, a patch to zope.app.wsgi is needed. See my mail 2

Re: [Zope3-Users] raise Redir(newurl) not working - can someone confirm this?

2008-04-19 Thread Jim Fulton
On Apr 19, 2008, at 6:20 AM, Hermann Himmelbauer wrote: Hi, In my application, namely for URL-Rewriting for session handling, I need to stop the current request and redirect to another url (including the session key). For that reason, I issue the following statement: from

Re: AW: [Zope3-Users] raise Redir(newurl) not working - can someoneconfirm this?

2008-04-19 Thread Hermann Himmelbauer
Am Samstag, 19. April 2008 14:05 schrieb Roger Ineichen: Hi Hermann Betreff: [Zope3-Users] raise Redir(newurl) not working - can someoneconfirm this? Hi, In my application, namely for URL-Rewriting for session handling, I need to stop the current request and redirect to another url

Re: [Zope3-Users] raise Redir(newurl) not working - can someone confirm this?

2008-04-19 Thread Hermann Himmelbauer
Am Samstag, 19. April 2008 15:43 schrieb Jim Fulton: On Apr 19, 2008, at 6:20 AM, Hermann Himmelbauer wrote: To confirm this, I'd like to know if this scenario is only happening for me, so, can you please simply insert the above statement in some arbitrary view and tell me if it works?

Re: [Zope3-Users] raise Redir(newurl) not working - can someone confirm this?

2008-04-19 Thread Hermann Himmelbauer
Am Samstag, 19. April 2008 19:38 schrieb Hermann Himmelbauer: Am Samstag, 19. April 2008 15:43 schrieb Jim Fulton: On Apr 19, 2008, at 6:20 AM, Hermann Himmelbauer wrote: To confirm this, I'd like to know if this scenario is only happening for me, so, can you please simply insert the

Re: [Zope3-Users] Pure python packages for zope.component and zope.interface

2008-04-19 Thread Darryl Cousins
On Sat, 2008-04-19 at 09:30 -0400, Jim Fulton wrote: Here's a high-level response to this thread. As others have pointed out, zope.component and zope.interface should work fine without the C optimizations and I'm in favor of changing the setup to make them installable without the

Re: [Zope3-Users] Pure python packages for zope.component and zope.interface

2008-04-19 Thread Martijn Faassen
Hi there, Another high-level response. I actually *hope* that the port Zope packages to Jython project will be accepted for the Google Summer of Code. If it does, the python versions of this code will be given a good workout by the student, which should benefit other porting projects as well.

[Zope3-Users] error 500 on blob upload with testbrowser

2008-04-19 Thread Christophe Combelles
Hello, I can successfully upload a zope.app.file.File with testbrowser, but with zope.file.file.File (blob-based), I get this error 500: Exception raised: Traceback (most recent call last): File

Re: [Zope3-Users] error 500 on blob upload with testbrowser

2008-04-19 Thread Benji York
On Sat, Apr 19, 2008 at 9:00 PM, Christophe Combelles [EMAIL PROTECTED] wrote: Hello, I can successfully upload a zope.app.file.File with testbrowser, but with zope.file.file.File (blob-based), I get this error 500: add browser.handleErrors = False just before you make the call that raises

[Zope3-Users] What's wrong to this html block to testbrowser.Browser?

2008-04-19 Thread Fet Biz
If the retrieved Browser.contents contains the following block : select name=ldap.miCosdn_options option value=uid=MailUser,dc=totalbb,dc=net.dc=twuid=MailUser,dc=totalbb,dc=net.dc=tw/option option