Re: [Zope] Frustrated with Python and Frameworks. Zope, Grok, , Django, CherryPy

2007-11-27 Thread Martijn Jacobs
-walkthrough, for example (Phillip has some nice tutorials as well) it would feel so much better for all the Zope 2 developers who are still out there, and for the new developers who want to use it, but now have the feeling that Zope 2 is a dead end. -- Martijn Jacobs Four Digits, Internet

Re: [Zope] Frustrated with Python and Frameworks. Zope, Grok, , Django, CherryPy

2007-11-27 Thread Martijn Jacobs
We could also consider putting them in some kind of collective-like SVN repository so that people can make changes when they need to. I think this is a great idea as it works with the Plone collective this way as well. -- Martijn Jacobs Four Digits, Internet Solutions a: Willemsplein 15

Re: [Zope] AssertionError

2007-11-28 Thread Martijn Jacobs
/listinfo/zope-announce http://mail.zope.org/mailman/listinfo/zope-dev ) -- Martijn Jacobs Four Digits, Internet Solutions a: Willemsplein 15-1 6811 KB Arnhem NL kvk: 09162137 | btw: 8161.22.234.B01 e-mail: [EMAIL PROTECTED] | web: http://www.fourdigits.nl tel: +31 (0)26 44 22 700

Re: [Zope] Frustrated with Python and Frameworks. Zope, Grok, , Django, CherryPy

2007-11-28 Thread Martijn Jacobs
on this one later. Martijn. -- Martijn Jacobs Four Digits, Internet Solutions a: Willemsplein 15-1 6811 KB Arnhem NL kvk: 09162137 | btw: 8161.22.234.B01 e-mail: [EMAIL PROTECTED] | web: http://www.fourdigits.nl tel: +31 (0)26 44 22 700 | fax: +31 (0)84 22 06 117

Re: [Zope] You are not allowed to access 'a particular str' in this context

2008-01-24 Thread Martijn Jacobs
___ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce http://mail.zope.org/mailman/listinfo/zope-dev ) -- Martijn Jacobs Four Digits, Internet

Re: [Zope] Managing Zope objects in Subversion

2008-03-02 Thread Martijn Jacobs
it via your favorite search engine. -- Martijn Jacobs Four Digits, Internet Solutions a: Willemsplein 15-1 6811 KB Arnhem NL kvk: 09162137 | btw: 8161.22.234.B01 e-mail: [EMAIL PROTECTED] | web: http://www.fourdigits.nl tel: +31 (0)26 44 22 700 | fax: +31 (0)84 22 06 117

Re: [Zope] Question about dot in method name

2008-03-25 Thread Martijn Jacobs
/listinfo/zope-dev ) -- Martijn Jacobs Four Digits, Internet Solutions a: Willemsplein 15-1 6811 KB Arnhem NL kvk: 09162137 | btw: 8161.22.234.B01 e-mail: [EMAIL PROTECTED] | web: http://www.fourdigits.nl tel: +31 (0)26 44 22 700 | fax: +31 (0)84 22 06 117

Re: [Zope] Re: Question about dot in method name

2008-03-26 Thread Martijn Jacobs
]: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Martijn Jacobs wrote: Maybe a simple solution : Do you use apache as a frontend for your zope? If you do you can rewrite the incoming url's for example like this : RewriteEngine On RewriteRule ^/folder

Re: [Zope] Re: Question about dot in method name

2008-03-26 Thread Martijn Jacobs
? 2008/3/26, Martijn Jacobs [EMAIL PROTECTED] mailto:[EMAIL PROTECTED]: If you have a zope product you can do something like this indeed : class MyContainer(Folder): My Folderish Product def mydoc_xls(self, REQUEST=None): My new xls method return My

Re: [Zope] Re: Question about dot in method name

2008-03-27 Thread Martijn Jacobs
(ObjectManager, BTreeFolder2, PropertyManager): I test : **(ObjectManager, Folder PropertyManager):* **and got the same exception the method of Sascha is working (This is a satisfaction). but i'm very interesting to understand the method proposed by Martijn. Martijn Jacobs a écrit : Hi

Re: [Zope] worldcookery.com five tutorial ploneconf05 - AttributeError: DateTime instance has no __call__ method...

2008-04-01 Thread Martijn Jacobs
, in ? AttributeError: DateTime instance has no __call__ method -- Martijn Jacobs Four Digits, Internet Solutions a: Willemsplein 15-1 6811 KB Arnhem NL kvk: 09162137 | btw: 8161.22.234.B01 e-mail: [EMAIL PROTECTED] | web: http://www.fourdigits.nl tel: +31 (0)26 44 22 700 | fax: +31 (0)84 22

Re: [Zope] ExternalMethod - add new parameter

2008-04-07 Thread Martijn Jacobs
user which does the things you want (you could do that in python as well). Martijn. -- Martijn Jacobs Four Digits, Internet Solutions a: Willemsplein 15-1 6811 KB Arnhem NL kvk: 09162137 | btw: 8161.22.234.B01 e-mail: [EMAIL PROTECTED] | web: http://www.fourdigits.nl tel: +31 (0)26 44

Re: [Zope] Zope under vmware is too slow

2008-04-07 Thread Martijn Jacobs
memory, is it swapping to disk often, etc? Martijn. -- Martijn Jacobs Four Digits, Internet Solutions a: Willemsplein 15-1 6811 KB Arnhem NL kvk: 09162137 | btw: 8161.22.234.B01 e-mail: [EMAIL PROTECTED] | web: http://www.fourdigits.nl tel: +31 (0)26 44 22 700 | fax: +31 (0)84 22 06 117

Re: [Zope] default-zpublisher-encoding and zpt encoding

2008-04-08 Thread Martijn Jacobs
Hi Yuri. Strange, but using a different apache it has worked as expected, the encoding is sent now, FYI :) Just out of curiosity : which version of apache did you have and which do you use now? Martijn. -- Martijn Jacobs Four Digits, Internet Solutions a: Willemsplein 15-1 6811 KB Arnhem

Re: [Zope] ExternalMethod - add new parameter

2008-04-08 Thread Martijn Jacobs
and risky task to do and is probably not needed your your project. Can you explain what you're trying to do in those External methods? Maybe we can help you to find a more elegant, simple solution. Martijn. -- Martijn Jacobs Four Digits, Internet Solutions a: Willemsplein 15-1 6811 KB Arnhem NL

Re: [Zope] Upgrade to 2.7.2 results in all content unavailable

2008-04-11 Thread Martijn Jacobs
- Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce http://mail.zope.org/mailman/listinfo/zope-dev ) -- Martijn Jacobs Four Digits, Internet Solutions a: Willemsplein 15-1 6811 KB

Re: [Zope] Data.fs Recovery

2008-04-15 Thread Martijn Jacobs
@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce http://mail.zope.org/mailman/listinfo/zope-dev ) -- Martijn Jacobs Four Digits, Internet Solutions a: Willemsplein 15-1 6811 KB Arnhem

Re: [Zope] Data.fs Recovery

2008-04-15 Thread Martijn Jacobs
:) The ldap module you mention is probably a python module, so try if you can have this one working (or google for another version for python 2.4 on windows) http://www.agescibs.org/mauro/ Good luck. -- Martijn Jacobs Four Digits, Internet Solutions a: Willemsplein 15-1 6811 KB Arnhem NL kvk

Re: [Zope] Re: authentication with python program

2008-04-18 Thread Martijn Jacobs
/mailman/listinfo/zope-announce http://mail.zope.org/mailman/listinfo/zope-dev ) -- Martijn Jacobs Four Digits, Internet Solutions a: Willemsplein 15-1 6811 KB Arnhem NL kvk: 09162137 | btw: 8161.22.234.B01 e-mail: [EMAIL PROTECTED] | web: http://www.fourdigits.nl tel: +31 (0)26 44 22 700

Re: [Zope] Re: authentication with python program

2008-04-18 Thread Martijn Jacobs
Miguel Beltran R. wrote: #Martijn Yes, have role manager What if you login with the user with your webbrowser instead of your python program? -- Martijn Jacobs Four Digits, Internet Solutions a: Willemsplein 15-1 6811 KB Arnhem NL kvk: 09162137 | btw: 8161.22.234.B01 e-mail

Re: [Zope] Re: authentication with python program

2008-04-18 Thread Martijn Jacobs
, Martijn Jacobs [EMAIL PROTECTED]: Miguel Beltran R. wrote: #Martijn Yes, have role manager What if you login with the user with your webbrowser instead of your python program? -- Martijn Jacobs Four Digits, Internet Solutions a: Willemsplein 15-1 6811 KB Arnhem NL kvk

Re: [Zope] Re: authentication with python program

2008-04-18 Thread Martijn Jacobs
(Authorization, Basic %s % base64string) handle = urllib2.urlopen(req) print handle.read() -- Martijn Jacobs Four Digits, Internet Solutions a: Willemsplein 15-1 6811 KB Arnhem NL kvk: 09162137 | btw: 8161.22.234.B01 e-mail: [EMAIL PROTECTED] | web: http://www.fourdigits.nl tel: +31 (0)26 44 22

[Zope] Question about adapters

2008-05-09 Thread Martijn Jacobs
the order of adapter lookup? I'm feeling there should be a simple solution for this (applying a marker interface to folderish objects?), so I hope someone can point me in the right direction. Kind regards, Martijn. -- Martijn Jacobs Four Digits, Internet Solutions a: Willemsplein 15-1 6811 KB

Re: [Zope] acl_users folder 25000

2008-06-03 Thread Martijn Jacobs
source it's not difficult to write your own authentication plugin. Where and how are these accounts stored now? LDAD/ADS or something else? Martijn. -- Martijn Jacobs Four Digits, Internet Solutions a: Willemsplein 15-1 6811 KB Arnhem NL kvk: 09162137 | btw: 8161.22.234.B01 e-mail: [EMAIL

Re: [Zope] acl_users folder 25000

2008-06-03 Thread Martijn Jacobs
a pretty nice example how to write a plugin yourself. You can also take a look at https://svn.plone.org/svn/collective/PASPlugins/ Martijn -- Martijn Jacobs Four Digits, Internet Solutions a: Willemsplein 15-1 6811 KB Arnhem NL kvk: 09162137 | btw: 8161.22.234.B01 e-mail: [EMAIL PROTECTED

Re: [Zope] acl_users folder 25000

2008-06-05 Thread Martijn Jacobs
://www.simplistix.co.uk/software/zope/simpleuserfolder. You could easily write a ZSQL method for authentication for this (it's easier than writing a PAS plugin). If you have time or resources to write a PAS plugin I suggest to invest some time for that. Martijn. -- Martijn Jacobs Four Digits, Internet

Re: [Zope] acl_users folder 25000

2008-06-05 Thread Martijn Jacobs
/Plone-3.0.6/lib/python Any Suggestions? Thanks in advance. -Tim www.medicinebrain.com On 6/3/08, Martijn Jacobs [EMAIL PROTECTED] wrote: Kees de Brabander wrote: I have no idea. I have been looking at the PAS, but did not find to much documentation on it. Would it be possible to use

Re: [Zope] how to unindex an non existing (deleted)object

2008-06-24 Thread Martijn Jacobs
, as something went wrong while (un)indexing these objects. Martijn. -- Martijn Jacobs Four Digits, Internet Solutions a: Willemsplein 15-1 6811 KB Arnhem NL kvk: 09162137 | btw: 8161.22.234.B01 e-mail: [EMAIL PROTECTED] | web: http://www.fourdigits.nl tel: +31 (0)26 44 22 700 | fax: +31 (0)84 22

Re: [Zope] TALES expression

2008-07-16 Thread Martijn Jacobs
it? Then with it renders div class=DataPrevista / ? Thanks! I don't understand what you are asking. Could you describe your question more clear please. Martijn. -- Martijn Jacobs Four Digits, Internet Solutions a: Willemsplein 15-1 6811 KB Arnhem NL kvk: 09162137 | btw: 8161.22.234.B01 e-mail

Re: [Zope] Script (Python) insecure ?

2008-08-13 Thread Martijn Jacobs
___ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce http://mail.zope.org/mailman/listinfo/zope-dev ) -- Martijn Jacobs Four Digits, Internet Solutions

Re: [Zope-dev] RAMCacheManager and gzip

2001-12-10 Thread Martijn Jacobs
There is zlib support in Python, and it is used in Medusa already. ZServer does not call it, but the compression stuff is there. There is one good reason not to use zlib though, Micro$oft Internet Distorter does not support content-encoding: gzip and for content-encoding: compress it

[Zope-dev] Re: more on the segfault saga

2002-03-13 Thread Martijn Jacobs
, Martijn Jacobs East Site [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

Re: [Zope-dev] Re: more on the segfault saga

2002-03-13 Thread Martijn Jacobs
it!) It's very nice to hear that you people are trying to solve the problem, also thanks to the guys from Zope Corp. who are spending there time for it! Hope the bug will be resolved soon. kind regards, martijn jacobs ___ Zope-Dev maillist

Re: [Zope-dev] Re: more on the segfault saga

2002-03-14 Thread Martijn Jacobs
Hello again, I have a little bit more information about our specific crash environment. First of all, I looked in the Big M Log at the time of the crashes, but couldn't find anything interesting : 8 of the 10 times it was a dtml document containing plain stylesheet data :( I don't think there's

  Re: [Zope-dev] Re: more on the segfault saga

2002-03-14 Thread Martijn Jacobs
Sorry, the correct URL is http://www.coherence.nl/crash.txt (without the dot) martijn. ___ Zope-Dev maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML encoding! ** (Related lists -

[Fwd: [Zope-dev] Re: more on the segfault saga]

2002-03-26 Thread Martijn Jacobs
efforts! Martijn Jacobs East Site ___ 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

Re: [Fwd: [Zope-dev] Re: more on the segfault saga]

2002-03-27 Thread Martijn Jacobs
Hello Leo! Tell us if your segfaults go away and whether Zope performance is impacted by it. The segfault is AWAY! I have an uptime of 2 hours now, it has never been so long since it's in use! I don't notice any performance differences, but I also have to say that I can't measure it really.

re: [Zope-dev] Crashing problem? Python workaround?!

2002-03-27 Thread Martijn Jacobs
build a zope for on a particular environment, but it would be alot easier to upgrade all customers with the new binary release. Anyway : In other words : if this is added in the official Python release, the bug is cleanly resolved? -- martijn jacobs east site

[Zope-dev] Re: ZMI / JavaScript brainstorm

2002-04-08 Thread Martijn Jacobs
What is wrong with editing the files trough FTP / WebDAV? I've mounted a complete zopedatabase on a directory, and you can edit all files with your favorite editor. Why wanting such editing posibilities in a easy to use , in everybrowser working interface like the ZMI?

[Zope-dev] Re: ZClasses useful! [Was: ZMI / JavaScript brainstorm]

2002-04-09 Thread Martijn Jacobs
I will not stop dissing them until people stop using them and then complaining when they break, don't do what they want or behave unexpectedly. What's your efford on this task? If people like to use them, let them! It's not up to you to decide for THEM what's best or not. The choice for

Re: [Zope-dev] Slow zope on windows 2000?

2002-08-29 Thread Martijn Jacobs
Hello Casey, One thing to remember is that running multi-treaded Python apps on a multi-processor box is suboptimal unless you can bind all the threads to a single processor, due to the Python GIL. IOW : Buying a dual processor computer is not so usefull if the computer is dedicated

[Zope-dev] Overriding Products

2005-03-15 Thread Martijn Jacobs
folder for further development and that the other instances of zope still uses the base version of the subproduct. I hope you can help, thanks in advance for your time. Kind regards, -- Martijn Jacobs East Site | Postbus 642 | 6800 AP Arnhem t: +31 (0) 26 35 14 295 | f: +31 (0) 26 44 20 432

[Zope-dev] Folderish or SimpleItem object types for structural content

2005-11-28 Thread Martijn Jacobs
it with Folders makes it more easily, but then you have an explosion of objects in the ZODB. I would like to have some fresh thoughts about this, so maybe you can help. Thank you in advance, kind regards, Martijn. -- Martijn Jacobs Four Digits, internet solutions e-mail: [EMAIL PROTECTED] | web

Re: [Zope-dev] Folderish or SimpleItem object types for structural content

2005-11-29 Thread Martijn Jacobs
asking this, but as your answer suggests it's still the preferred way. Thanks for the comments! -- Martijn Jacobs Four Digits, internet solutions e-mail: [EMAIL PROTECTED] | web: http://www.fourdigits.nl tel: +31 (0)26 44 22 700 | fax: +31 (0)84 22 06 117

Re: [Zope-dev] Folderish or SimpleItem object types for structural content

2005-11-30 Thread Martijn Jacobs
thoughts, it helps in breaking patterns I'm used too, let's reconsider it using some external input :) Kind regards, Martijn. -- Martijn Jacobs Four Digits, internet solutions e-mail: [EMAIL PROTECTED] | web: http://www.fourdigits.nl tel: +31 (0)26 44 22 700 | fax: +31 (0)84 22 06 117

Re: [Zope-dev] Please help the zope.org improvement efforts

2008-06-30 Thread Martijn Jacobs
2. People to step up and own pages or sections. This means contributing content! I've volunteered a while ago but haven't found the time to do what I wanted to do. I will make time for this the following two / three weeks and write some content. Martijn. -- Martijn Jacobs Four Digits

[Zope-dev] ZCatalog sorting issue

2008-07-10 Thread Martijn Jacobs
somewhere else? Somebody has some thoughts? Regards, Martijn -- Martijn Jacobs Four Digits, Internet Solutions a: Willemsplein 15-1 6811 KB Arnhem NL kvk: 09162137 | btw: 8161.22.234.B01 e-mail: [EMAIL PROTECTED] | web: http://www.fourdigits.nl tel: +31 (0)26 44 22 700 | fax: +31 (0)84 22