[Zope] pete...@gmx.at erwartet Ihre Antwort. Annehmen?

2015-07-06 Thread peter . z
Hallo, pete...@gmx.at möchte Ihnen folgen. ** Ist pete...@gmx.at Ihr Freund? ** Ja:

pete...@gmx.at möchte Ihnen folgen. Annehmen?

2015-07-03 Thread peter . z
Hallo, pete...@gmx.at möchte Ihnen folgen. ** Ist pete...@gmx.at Ihr Freund? ** Ja:

Re: [Zope] File upload again

2011-10-14 Thread Peter Bengtsson
) -- Peter Bengtsson, home www.peterbe.com fun kwissle.com work www.mozilla.com ___ Zope maillist - Zope@zope.org https://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - https://mail.zope.org/mailman

[Zope] 2.13 upgrade problems

2011-06-03 Thread Peter Bengtsson
/serialize.py, line 605, in getState return unpickler.load() TypeError: ('argument list must be a tuple', class 'Shared.DC.ZRDB.DA.SQL', None) -- Peter Bengtsson, home www.peterbe.com fun donecal.com work www.mozilla.com ___ Zope maillist - Zope@zope.org

Re: [Zope] MemoryError: out of memory

2011-01-27 Thread Peter Bengtsson
) -- Peter Bengtsson, work www.fry-it.com home www.peterbe.com hobby donecal.com ___ Zope maillist - Zope@zope.org https://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - https://mail.zope.org/mailman

[Zope] Peewee and Zope

2010-12-30 Thread Peter Bengtsson
better way to avoid re-inventing the wheel would be if there already was a package or some code I could try. Has anybody built anything like this they're willing to share? (nothing found by googling) [1] https://github.com/coleifer/peewee -- Peter Bengtsson, work www.fry-it.com home www.peterbe.com

Re: [Zope] Question about Upgrading Zope and OS X Server

2010-12-08 Thread Peter Bengtsson
maillist  -  z...@zope.org https://mail.zope.org/mailman/listinfo/zope **   No cross posts or HTML encoding!  ** (Related lists -  https://mail.zope.org/mailman/listinfo/zope-announce  https://mail.zope.org/mailman/listinfo/zope-dev ) -- Peter Bengtsson, work www.fry-it.com home

Re: [Zope] Persist password in CookieCrumbler

2010-10-22 Thread Peter Bengtsson
!  ** (Related lists -  https://mail.zope.org/mailman/listinfo/zope-announce  https://mail.zope.org/mailman/listinfo/zope-dev ) -- Peter Bengtsson, work www.fry-it.com home www.peterbe.com hobby www.issuetrackerproduct.com fun crosstips.org ___ Zope maillist

Re: [Zope] commit problems psycopg

2010-08-23 Thread Peter Bengtsson
://mail.zope.org/mailman/listinfo/zope-dev ) -- Peter Bengtsson, work www.fry-it.com home www.peterbe.com hobby www.issuetrackerproduct.com fun crosstips.org ___ Zope maillist - Zope@zope.org https://mail.zope.org/mailman/listinfo/zope ** No cross posts

Re: [Zope] zope timeouts

2010-07-20 Thread Peter Sabaini
? Are you maybe running on NFS or something like that? hth, peter. On Tue, 2010-07-20 at 17:00 +0200, Michele Marcionelli wrote: Ciao Jens thank you for your answer. Now since I'm new with gdb I have some questions. I did following. I created a file called gdb_batch with following content

Re: [Zope] [JOB][OT?] Position for a Python/Zope developer in Pula, Cagliari (CA), Italy

2010-07-13 Thread Peter Bengtsson
://mail.zope.org/mailman/listinfo/zope-announce  https://mail.zope.org/mailman/listinfo/zope-dev ) -- Peter Bengtsson, work www.fry-it.com home www.peterbe.com hobby www.issuetrackerproduct.com fun crosstips.org ___ Zope maillist - Zope@zope.org

Re: [Zope] Zope Catalog sorting

2010-05-29 Thread Peter Bengtsson
://mail.zope.org/mailman/listinfo/zope **   No cross posts or HTML encoding!  ** (Related lists -  https://mail.zope.org/mailman/listinfo/zope-announce  https://mail.zope.org/mailman/listinfo/zope-dev ) -- Peter Bengtsson, work www.fry-it.com home www.peterbe.com hobby

Re: [Zope-DB] Question Concerning Z SQL Method and Class Bindings

2010-05-25 Thread Peter Sabaini
how to invoke the debugger. See http://docs.python.org/library/pdb.html for pdb docs. hth, peter. Thanks! Mark ___ Zope-DB mailing list Zope-DB@zope.org https://mail.zope.org/mailman/listinfo/zope-db signature.asc Description

Re: [Zope-DB] Question Concerning Z SQL Method and Class Bindings

2010-05-25 Thread Peter Sabaini
On Tue, 2010-05-25 at 12:21 -0700, Mark Phillips wrote: Peter, I don't think I phrased my question very well. Also, I am coming from a Java background, so I am thinking about result sets, which may not be applicable to Python. If I have a Z SQL Method query that returns multiple rows

[Zope] Dependent ZCA utility registration ?

2010-05-12 Thread Peter Sabaini
Zope 2.10 doesnt send that event out of the box -- I send it in a monkey-patched Zope2.App.startup module. What is the canonical way to do this? Thanks, peter. ___ Zope maillist - Zope@zope.org https://mail.zope.org/mailman/listinfo/zope

[Zope] Zope 2.12 and ZPT

2010-05-01 Thread Peter Bengtsson
'? -- Peter Bengtsson, work www.fry-it.com home www.peterbe.com hobby www.issuetrackerproduct.com fun crosstips.org ___ Zope maillist - Zope@zope.org https://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists

Re: [Zope] Zope 2.12 and ZPT

2010-05-01 Thread Peter Bengtsson
On 1 May 2010 14:40, Andreas Jung li...@zopyx.com wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Peter Bengtsson wrote: I'm trying to get a product running in Zope 2.12 which I installed in a virtualenv with easy_install. It starts fine and all but when I try to render a piece of ZPT

Re: [Zope] Zope 2.12 and ZPT

2010-05-01 Thread Peter Bengtsson
On 1 May 2010 15:40, Andreas Jung li...@zopyx.com wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Peter Bengtsson wrote: the unicode conflict resolver? My app does not have any non-ascii characters until user input is added which it's programmed to work with. The problem

Re: [Zope] Prevent a logger from writing to event.log

2009-10-16 Thread Peter Bengtsson
___ Zope maillist  -  z...@zope.org https://mail.zope.org/mailman/listinfo/zope **   No cross posts or HTML encoding!  ** (Related lists -  https://mail.zope.org/mailman/listinfo/zope-announce  https://mail.zope.org/mailman/listinfo/zope-dev ) -- Peter Bengtsson, work

Re: [Zope] Problem with Zodb connections pool

2009-10-14 Thread Peter Bengtsson
lists -  https://mail.zope.org/mailman/listinfo/zope-announce  https://mail.zope.org/mailman/listinfo/zope-dev ) -- Peter Bengtsson, work www.fry-it.com home www.peterbe.com hobby www.issuetrackerproduct.com fun crosstips.org ___ Zope maillist

Re: [Zope] http return code of standard_error_message

2009-09-07 Thread Peter Bengtsson
/mailman/listinfo/zope-dev ) -- Peter Bengtsson, work www.fry-it.com home www.peterbe.com hobby www.issuetrackerproduct.com fun crosstips.org ___ Zope maillist - Zope@zope.org https://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML

Re: [Zope] strange database read conflict error

2009-08-28 Thread Peter Bengtsson
/listinfo/zope-dev ) -- Peter Bengtsson, work www.fry-it.com home www.peterbe.com hobby www.issuetrackerproduct.com fun crosstips.org ___ Zope maillist - Zope@zope.org https://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding

Re: [Zope] strange database read conflict error

2009-08-28 Thread Peter Bengtsson
2009/8/28 Dragos Chirila objectval...@gmail.com: Peter, Than you for your response. Please find below a few things: - I give up using sessions in the website's front and years ago :) There is only one page left that is using them, when u subscribe to our newsletter but I don't think

Re: [Zope] strange database read conflict error

2009-08-28 Thread Peter Bengtsson
before, I even erased the object from the Data.fs and then packed it. Conflicts stopped. After I have created a new object and rename it with the old id the conflicts showed up again... Thanks, Dragos On Fri, Aug 28, 2009 at 2:37 PM, Peter Bengtssonpete...@gmail.com wrote: 2009/8/28 Dragos

[Zope] acl_users and encrypted passwords

2009-08-07 Thread Peter Bengtsson
When you encrypt your passwords in an acl_users User Folder, is there a way to check that the old password is correct? I'm building an app that allows the user to change her password with the usual form of: Old: New: Confirm: -- Peter Bengtsson, work www.fry

Re: [Zope] acl_users and encrypted passwords

2009-08-07 Thread Peter Bengtsson
}dxZSdvO5CiaMbDuCC0mAreI0R6nqc5RyYFGo' self._encryptPassword('word')= '{SSHA}pup1PWzONwMnGXk/itXd6rhySF8MOuI57SO6' self._encryptPassword('word')= '{SSHA}HGRxMfi9J7uGK8tfHvuMWfIbNghvu+Z2hb7a' 2009/8/7 Andreas Jung li...@zopyx.com: On 07.08.09 16:26, Peter Bengtsson wrote: When you encrypt your passwords

Re: [Zope] acl_users and encrypted passwords

2009-08-07 Thread Peter Bengtsson
2009/8/7 Andreas Jung li...@zopyx.com: On 07.08.09 17:22, Andreas Jung wrote: On 07.08.09 17:10, Peter Bengtsson wrote: No, it's different every time. Using private methods is unlikely the road to success. There is some official method with *validate* or something similar.. In addition

Re: [Zope] Problem with POST and text/xml

2009-07-11 Thread Peter Bengtsson
**   No cross posts or HTML encoding!  ** (Related lists -  http://mail.zope.org/mailman/listinfo/zope-announce  http://mail.zope.org/mailman/listinfo/zope-dev ) -- Peter Bengtsson, work www.fry-it.com home www.peterbe.com hobby www.issuetrackerproduct.com fun crosstips.org

Re: [Zope] Request time grows with memory size

2009-04-27 Thread Peter Bengtsson
/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 ) -- Peter Bengtsson, work www.fry-it.com home www.peterbe.com hobby www.issuetrackerproduct.com

Re: [Zope] Building a fast, scalable yet small Zope application

2009-04-27 Thread Peter Bengtsson
/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 ) -- Peter Bengtsson, work www.fry-it.com home www.peterbe.com hobby www.issuetrackerproduct.com

Re: [Zope] Building a fast, scalable yet small Zope application

2009-04-27 Thread Peter Bengtsson
://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 ) -- Peter Bengtsson, work www.fry-it.com home www.peterbe.com hobby www.issuetrackerproduct.com

Re: [Zope-dev] Fwd: Zope 2.12.0a4 easy_installable - please test

2009-04-24 Thread Peter Koppatz
Hi Andreas, I tried it with virtualenv --no-site-packages foo and it works. Excuse the false alarm. Peter I just created a new Zope 2.12.0a4 that should easy_install nicely. Howto? virtualenv foo cd foo source bin/activate bin/easy_install -i http://download.zope.org/Zope2/index

Re: [Zope] [Zope-dev] Zope 4.0, maybe not such a bad idea...

2009-04-13 Thread Peter Bengtsson
://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 ) -- Peter Bengtsson, work www.fry-it.com home www.peterbe.com hobby www.issuetrackerproduct.com

Re: [Zope] Zope2 + Twisted

2009-03-05 Thread Peter Sabaini
of that -- no threaded ZServer, no problem. Except that doesn't seem to work as advertised, since the zope.app.twisted package is not present, and the one on PyPI seems to be geared towards Zope3, AFAICT. Is that so? Is there an alternative zope.app.twisted package for Zope2? thx, peter. On Thu

Re: [Zope] Zope2 + Twisted

2009-03-05 Thread Peter Sabaini
On Thursday 05 March 2009 23:33:40 you wrote: On Thu, Mar 5, 2009 at 18:59, Peter Sabaini pe...@sabaini.at wrote: So, I'd need the twisted reactor and libraries running in the Python VM that runs Zope. Which should be no problem except I suspect that I shouldn't be using the (threaded

Re: [Zope] problem with a form in IE 7

2008-12-15 Thread Peter Bengtsson
! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce http://mail.zope.org/mailman/listinfo/zope-dev ) -- Peter Bengtsson, work www.fry-it.com home www.peterbe.com hobby www.issuetrackerproduct.com ___ Zope maillist - Zope@zope.org

Re: [Zope] problem with a form in IE 7

2008-12-15 Thread Peter Bengtsson
2008/12/15 ga...@schoolteachers.co.uk: Quoting Peter Bengtsson pete...@gmail.com: Has nothing to do with Zope but... Use Firefox to debug it and you'll get to see the error. put method=post on form tag and the submission won't be visible in the URL. I've had this happen with method=get

Re: [Zope] single zsql on multiple tables or multiple zsql s

2008-12-13 Thread Peter Bengtsson
://mail.zope.org/mailman/listinfo/zope-dev ) -- Peter Bengtsson, work www.fry-it.com home www.peterbe.com hobby www.issuetrackerproduct.com ___ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding

Re: [Zope] The proxy server received an invalid response from an upstream server.

2008-12-12 Thread Peter Bengtsson
. ___ 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 ) -- Peter Bengtsson, work

Re: [Zope] sorting ids in python

2008-12-11 Thread Peter Bengtsson
.: objs.sort(lambda x,y: cmp(x.title_or_id().lower(), y.title_or_id().lower())) -- Peter Bengtsson, work www.fry-it.com home www.peterbe.com hobby www.issuetrackerproduct.com ___ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope

Re: [Zope] Learning to use a BTreeFolder2

2008-11-25 Thread Peter Bengtsson
___ 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 ) -- Peter Bengtsson, work www.fry-it.com home

Re: [Zope] How to find unused Images

2008-11-17 Thread Peter Bengtsson
-announce http://mail.zope.org/mailman/listinfo/zope-dev ) -- Peter Bengtsson, work www.fry-it.com home www.peterbe.com hobby www.issuetrackerproduct.com ___ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross posts

Re: [Zope] FunctionalTestCase commits transactions

2008-11-17 Thread Peter Bengtsson
2008/11/17 Dieter Maurer [EMAIL PROTECTED]: Peter Bengtsson wrote at 2008-11-5 15:14 +: ... When I wrote a functional test browser (years before zope3), I emulated the Zope publisher rather than calling it directly in order to have control how transactions are handled. Especially, I

[Zope] Call PageTemplateFile class instances

2008-11-13 Thread Peter Bengtsson
.. -- Peter Bengtsson, work www.fry-it.com home www.peterbe.com hobby www.issuetrackerproduct.com ___ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org

Re: [Zope] Call PageTemplateFile class instances

2008-11-13 Thread Peter Bengtsson
render_page(self): html = self.page(self.REQUEST) # ERROR!! I don't understand how it works and I wish there was a way to apply these settings from a function instead of having to copy and paste it into every instance creating class. 2008/11/13 Peter Bengtsson [EMAIL PROTECTED

Re: [Zope] Call PageTemplateFile class instances

2008-11-13 Thread Peter Bengtsson
2008/11/13 Andrew Milton [EMAIL PROTECTED]: +---[ Peter Bengtsson ]-- | I've kind of work it out. The trick is to write some boiler plate in | the class definition like this:: | | from zope import traversing, component, interface | from zope.interface import

Re: [Zope] Call PageTemplateFile class instances

2008-11-13 Thread Peter Bengtsson
2008/11/13 Andreas Jung [EMAIL PROTECTED]: On 13.11.2008 17:53 Uhr, Peter Bengtsson wrote: This used to work in zope 2.8 but not now in zope 2.10 (actually zope 2.10.7 to be exact) from Products.PageTemplates.PageTemplateFile import PageTemplateFile class MyProduct(Folder): meta_type

[Zope] AttributeError: __getitem__ when migrating zope from 2.6.1 to 2.10.5

2008-11-11 Thread peter pilsl
them to one of the mentioned Products-folder or register them somehow in Zope. thnx for any hints on how to procede. peter ___ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding

Re: [Zope] FunctionalTestCase commits transactions

2008-11-05 Thread Peter Bengtsson
test browser (years before zope3), I emulated the Zope publisher rather than calling it directly in order to have control how transactions are handled. Especially, I used subtransactions instead of top level transactions to avoid the bug reported by Peter. Uh? subtransactions? So how would you

[Zope] FunctionalTestCase commits transactions

2008-11-03 Thread Peter Bengtsson
. Although I'm not using it, function.Functional adds the nifty function publish() which I'm not using but it's not a transaction.commit() in it. Why?? And what does that decorator actually do? Peter class Functional(sandbox.Sandboxed): ... __implements__ = (interfaces.IFunctional

Re: [Zope] find zodb object sizes

2008-10-20 Thread Peter Bengtsson
://mail.zope.org/mailman/listinfo/zope-announce http://mail.zope.org/mailman/listinfo/zope-dev ) -- Peter Bengtsson, work www.fry-it.com home www.peterbe.com hobby www.issuetrackerproduct.com ___ Zope maillist - Zope@zope.org http://mail.zope.org

Re: [Zope] delete a variable from REQUEST

2008-09-30 Thread Peter Bengtsson
/listinfo/zope-announce http://mail.zope.org/mailman/listinfo/zope-dev ) -- Peter Bengtsson, work www.fry-it.com home www.peterbe.com hobby www.issuetrackerproduct.com ___ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope

Re: [Zope] Zope hangs

2008-09-30 Thread Peter Bengtsson
much time and it subsequently blocked the threads. Peter 2008/9/30 Nico Grubert [EMAIL PROTECTED]: Hi there in the last days my Zope server seems to hang and the CPU is almost every time at 100 %. I installed DeadlockDebugger and see a lot of these entries

Re: [Zope] Zope hangs

2008-09-30 Thread Peter Bengtsson
was super slow and thus each connection cost too much time and it subsequently blocked the threads. Hi Peter thanks for your reply. At Control_Panel/DebugInfo I see --- None (44921) Tue Sep 30 13:24:18 2008 (0.37s

Re: [Zope] How to access the content of a file in a test suite in a portable way

2008-09-17 Thread Peter Bengtsson
encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce http://mail.zope.org/mailman/listinfo/zope-dev ) -- Peter Bengtsson, work www.fry-it.com home www.peterbe.com hobby www.issuetrackerproduct.com ___ Zope maillist

Re: [Zope] iterating over result sets in python

2008-08-24 Thread Peter Bengtsson
://mail.zope.org/mailman/listinfo/zope-announce http://mail.zope.org/mailman/listinfo/zope-dev ) -- Peter Bengtsson, work www.fry-it.com home www.peterbe.com hobby www.issuetrackerproduct.com ___ Zope maillist - Zope@zope.org http://mail.zope.org

Re: [Zope] uncataloging

2008-08-14 Thread Peter Bengtsson
! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce http://mail.zope.org/mailman/listinfo/zope-dev ) -- Peter Bengtsson, work www.fry-it.com home www.peterbe.com hobby www.issuetrackerproduct.com ___ Zope maillist - Zope@zope.org

Re: [Zope] Asking recipe for caching objects

2008-08-01 Thread Peter Bengtsson
/mailman/listinfo/zope-dev ) -- Peter Bengtsson, work www.fry-it.com home www.peterbe.com hobby www.issuetrackerproduct.com ___ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related

Re: [Zope] MySQL reconnects on zope application level

2008-07-16 Thread Peter Bengtsson
** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce http://mail.zope.org/mailman/listinfo/zope-dev ) -- Peter Bengtsson, work www.fry-it.com home www.peterbe.com hobby www.issuetrackerproduct.com

[Zope] Annoying when objectValues() doesn't work

2008-07-03 Thread Peter Bengtsson
value return value I'm getting an AssertionError on this!!! After having used objectValues() for so many many years without much trouble my confidence in it just dropped. Anybody else seen something like this? -- Peter Bengtsson, work www.fry-it.com home www.peterbe.com hobby

Re: [Zope] Annoying when objectValues() doesn't work

2008-07-03 Thread Peter Bengtsson
2008/7/3 Andreas Jung [EMAIL PROTECTED]: --On 3. Juli 2008 15:41:52 +0100 Peter Bengtsson [EMAIL PROTECTED] wrote: I'm getting an AssertionError on this!!! After having used objectValues() for so many many years without much trouble my confidence in it just dropped. After years of Zope

Re: [Zope] Annoying when objectValues() doesn't work

2008-07-03 Thread Peter Bengtsson
2008/7/3 Andrew Milton [EMAIL PROTECTED]: +---[ Peter Bengtsson ]-- | 2008/7/3 Andreas Jung [EMAIL PROTECTED]: | | | --On 3. Juli 2008 15:41:52 +0100 Peter Bengtsson [EMAIL PROTECTED] wrote: | | I'm getting an AssertionError on this!!! | After having used

Re: [Zope] Annoying when objectValues() doesn't work

2008-07-03 Thread Peter Bengtsson
2008/7/3 Andrew Milton [EMAIL PROTECTED]: +---[ Peter Bengtsson ]-- | 2008/7/3 Andrew Milton [EMAIL PROTECTED]: | +---[ Peter Bengtsson ]-- | | 2008/7/3 Andreas Jung [EMAIL PROTECTED]: | | | | | | --On 3. Juli 2008 15:41:52 +0100 Peter

Re: [Zope] zope stops responding

2008-07-03 Thread Peter Bengtsson
of the dates in the first column in that table shows times longer than a second you have a problem with those requests. Peter 2008/7/3 Garry Saddington [EMAIL PROTECTED]: Following a hard disk crash 2 weeks ago we have installed Zope onto a new server and all was fine until yesterday morning

[Zope] Re: CMF security error in DCWorkflow that doesn't make sense

2008-07-02 Thread Peter Bengtsson
. This absolutely sucks. The DCWorkflow code is incredibly complicated and obscure and I hope it burns in hell. Having said that, I don't think I would do any better if I was to replicate what it can do :) 2008/7/1 Peter Bengtsson [EMAIL PROTECTED]: First of all, I'm not sure

Re: [Zope] unicode support

2008-06-26 Thread Peter Bengtsson
://mail.zope.org/mailman/listinfo/zope-dev ) -- Peter Bengtsson, work www.fry-it.com home www.peterbe.com hobby www.issuetrackerproduct.com ___ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML

Re: [Zope] unicode support

2008-06-26 Thread Peter Bengtsson
- http://mail.zope.org/mailman/listinfo/zope-announce http://mail.zope.org/mailman/listinfo/zope-dev ) -- Peter Bengtsson, work www.fry-it.com home www.peterbe.com hobby www.issuetrackerproduct.com ___ Zope maillist - Zope@zope.org http

[Zope] zopectlsock missing

2008-06-11 Thread Peter Bengtsson
script and rebooting of the server but I could be wrong. Cheers, Peter -- Peter Bengtsson, work www.fry-it.com home www.peterbe.com hobby www.issuetrackerproduct.com ___ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope

Re: [Zope] zopectlsock missing

2008-06-11 Thread Peter Bengtsson
2008/6/11 Martijn Pieters [EMAIL PROTECTED]: On Wed, Jun 11, 2008 at 3:28 PM, Peter Bengtsson [EMAIL PROTECTED] wrote: This happens from time to time and I've never really understood how it ends up like this. There's no zopeinstance/var/zopectlsock socket which means that zopectl stop|restart

[Zope] REMOTE_ADDR passed through when proxying

2008-06-11 Thread Peter Bengtsson
ProxyRequests On. Peter -- Peter Bengtsson, work www.fry-it.com home www.peterbe.com hobby www.issuetrackerproduct.com ___ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http

Re: [Zope] REMOTE_ADDR passed through when proxying

2008-06-11 Thread Peter Bengtsson
2008/6/11 Andreas Jung [EMAIL PROTECTED]: --On 11. Juni 2008 17:34:27 +0100 Peter Bengtsson [EMAIL PROTECTED] wrote: Since apache sits in front of Zope, the REMOTE_ADDR header always becomes '127.0.0.1' not the IP address of the actual client connecting. What do I need to do to get

Re: [Zope] display uploaded file

2008-06-06 Thread Peter Bengtsson
it. ___ 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 ) -- Peter

[Zope] zope-memory-readings

2008-05-30 Thread Peter Bengtsson
Check it out http://code.google.com/p/zope-memory-readings/ Perhaps useful -- Peter Bengtsson, work www.fry-it.com home www.peterbe.com hobby www.issuetrackerproduct.com ___ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope

Re: [Zope] saving PIL Images

2008-05-28 Thread Peter Bengtsson
! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce http://mail.zope.org/mailman/listinfo/zope-dev ) -- Peter Bengtsson, work www.fry-it.com home www.peterbe.com hobby www.issuetrackerproduct.com ___ Zope maillist - Zope

Re: [Zope] Multithreading sessions

2008-05-23 Thread Peter Sabaini
://www.upfrontsystems.co.za/Members/jean/zope-notes/debug-spinning-zope talks about that a bit Another option is to use the Deadlock Debugger product (I haven't used that personally though): http://www.zope.org/Members/nuxeo/Products/DeadlockDebugger hth, peter. I am running python 2.4.4. Is it possible

[Zope] Re: But I have python2.4-dev installed

2008-05-01 Thread Peter Bengtsson
Turns out that I was missing libc6-dev (I had libc6) 2008/4/28 Tres Seaver [EMAIL PROTECTED]: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Peter Bengtsson wrote: Searching the mailing list it seems that the uniform advice is to install python2.4-dev but I already have

[Zope] But I have python2.4-dev installed

2008-04-28 Thread Peter Bengtsson
Searching the mailing list it seems that the uniform advice is to install python2.4-dev but I already have that installed. I also installed the metapackage python-all-dev just to be safe. I'll paste the whole error of what happens when I try to make a configured Zope 2.10 or Zope 2.9.8. In the

Re: [Zope] Zope X Plone

2008-04-24 Thread Peter Bengtsson
-announce http://mail.zope.org/mailman/listinfo/zope-dev ) -- Peter Bengtsson, work www.fry-it.com home www.peterbe.com hobby www.issuetrackerproduct.com ___ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross

[Zope] Guarded __getitem__ with non-ascii unicode key

2008-04-20 Thread Peter Bengtsson
calling the __getitem__ from here in unrestricted python we can bypass this. return dictionary[item] Is my app unsafe now? Why is it not possible to get to __getitem__ if the key is non-ascii? -- Peter Bengtsson, work www.fry-it.com home www.peterbe.com hobby

Re: [Zope] anyone heard of Zamasing?

2008-04-16 Thread Peter Bengtsson
/listinfo/zope-announce http://mail.zope.org/mailman/listinfo/zope-dev ) -- Peter Bengtsson, work www.fry-it.com home www.peterbe.com hobby www.issuetrackerproduct.com ___ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope

Re: [Zope] Problem with DTML and JOINS(ZSQL)

2008-04-15 Thread Peter Bengtsson
or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce http://mail.zope.org/mailman/listinfo/zope-dev ) -- Peter Bengtsson, work www.fry-it.com home www.peterbe.com hobby www.issuetrackerproduct.com ___ Zope

Re: [Zope] Help writing test where bobobase_modification_time changes

2008-04-11 Thread Peter Bengtsson
, Chris Withers [EMAIL PROTECTED] wrote: Peter Bengtsson wrote: How can I solve this? Make one big transaction two without having to use transaction.get().commit() which I don't think I can use in unit tests as per Dieter's advice. I'd suggest monkeypatching bobobase_modification_time

[Zope] Help writing test where bobobase_modification_time changes

2008-04-08 Thread Peter Bengtsson
don't think I can use in unit tests as per Dieter's advice. Grateful for help. Peter -- Peter Bengtsson, work www.fry-it.com home www.peterbe.com hobby www.issuetrackerproduct.com ___ Zope maillist - Zope@zope.org http://mail.zope.org/mailman

[Zope] ZopeTestCase and Selenium RC? Anybody?

2008-03-20 Thread Peter Bengtsson
Has anybody managed to marry ZopeTestCase (and the ZopeLite running database) with Selenium RC? I like Selenium but it's a pain to have to manually create a fixture and tear it down again. Would it be possible to kick start Selenium RC from within the testrunner on zope2? -- Peter Bengtsson

Re: [Zope] ZopeTestCase and Selenium RC? Anybody?

2008-03-20 Thread Peter Bengtsson
Andreas Jung wrote: --On 20. März 2008 12:50:48 + Peter Bengtsson [EMAIL PROTECTED] wrote: Has anybody managed to marry ZopeTestCase (and the ZopeLite running database) with Selenium RC? I like Selenium but it's a pain to have to manually create a fixture and tear it down again. Would

Re: [Zope] ZopeTestCase and Selenium RC? Anybody?

2008-03-20 Thread Peter Bengtsson
Andreas Jung wrote: --On 20. März 2008 14:24:57 + Peter Bengtsson [EMAIL PROTECTED] wrote: Andreas Jung wrote: --On 20. März 2008 12:50:48 + Peter Bengtsson [EMAIL PROTECTED] wrote: Has anybody managed to marry ZopeTestCase (and the ZopeLite running database) with Selenium

Re: [Zope] Choosing printer in client computer

2008-03-19 Thread Peter Bengtsson
/listinfo/zope-dev ) -- Peter Bengtsson, work www.fry-it.com home www.peterbe.com hobby www.issuetrackerproduct.com ___ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists

Re: [Zope] Upgrading a Product from Zope 2.7 to Zope 2.10

2008-03-19 Thread Peter Bengtsson
___ 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 ) -- Peter Bengtsson, work www.fry

Re: [Zope] For the record

2008-03-19 Thread Peter Bengtsson
On 19/03/2008, Dieter Maurer [EMAIL PROTECTED] wrote: Peter Bengtsson wrote at 2008-3-18 17:38 +: I wanted to see how much faster brain.getObject() would be if the returned object was located in a BTreeFolder versus a normal folder so I wrote a benchmark that created about 10,000 light

[Zope] For the record

2008-03-18 Thread Peter Bengtsson
be some sort of getattr() on the container right? Is there something obvious I've missed? -- Peter Bengtsson, work www.fry-it.com home www.peterbe.com hobby www.issuetrackerproduct.com ___ Zope maillist - Zope@zope.org http://mail.zope.org/mailman

Re: [Zope] python script returning a 'rendered' zpt

2008-03-06 Thread Peter Bengtsson
or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce http://mail.zope.org/mailman/listinfo/zope-dev ) -- Peter Bengtsson, work www.fry-it.com home www.peterbe.com hobby www.issuetrackerproduct.com ___ Zope

Re: [Zope] define a class in a python script

2008-03-05 Thread Peter Sabaini
on how to do this. hth peter. So I've done: class Autore: classe per il catalogo def set_autore(self, autore=''): setta l'autore self.autore=autore def set_variante(self, variante=''): setta l'autore self.variante = variante def variante(self): ritorna

Re: [Zope] Managing Zope objects in Subversion

2008-03-02 Thread Peter Sabaini
as individual Zope objects in Subversion. If read-only access is enough, maybe this is for you: http://www.infrae.com/download/FileSystemSite hth, peter. In fact, maintaining the Zope objects in the file system would suffice, there is no need to edit them with external editors or to be able

Re: [Zope] Acquisition / proxying object

2008-02-26 Thread Peter Sabaini
now doing no security checks on traversal, probably thats why you don't get any Unauthorized exceptions :-) - peter. remote = acl.getUser(id) return Acquisition.ImplicitAcquisitionWrapper(aq_base(self), aq_base(remote).__of__(parent)) Now

Re: [Zope] Acquisition / proxying object

2008-02-26 Thread Peter Bengtsson
/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 ) -- Peter Bengtsson, work www.fry-it.com home www.peterbe.com hobby www.issuetrackerproduct.com

Re: [Zope] Acquisition / proxying object

2008-02-25 Thread Peter Sabaini
. This of course should only be done if you trust your users! hth peter. Cheers, Joerg 8 excerpt from code --- class LDAPProxy(Folder): meta_type='LDAPProxy' def __init__(self, id, remoteid,title='',REQUEST=None): self.id = id self.title

Re: [Zope] Acquisition / proxying object

2008-02-25 Thread Peter Sabaini
; pdb.set_trace()) at the place where the Unauthorized exception is raised and inspect the objects peter. Cheers, Joerg ___ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding

Re: [Zope] Acquisition / proxying object

2008-02-25 Thread Peter Sabaini
On Monday 25 February 2008 21:31:46 Joerg Baach wrote: Hi Peter, I'm not familiar with LDAPUserFolder (its not really a user object but a user container, isn't it?) but the error you're getting is a security error -- the Python Script checks for security attributes before it accesses

Re: [Zope] Acquisition / proxying object

2008-02-25 Thread Peter Sabaini
ps.: http://www.zope.org/Documentation/Books/ZDG/current/Security.stx has old but AFAIK still good info On Monday 25 February 2008 22:45:24 Joerg Baach wrote: I should have mentioned that in order for verbose-security to work you also need to switch to the python security implementation --

Re: [Zope] zope and postgresql

2008-02-22 Thread Peter Bengtsson
) -- Peter Bengtsson, work www.fry-it.com home www.peterbe.com hobby www.issuetrackerproduct.com ___ 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

  1   2   3   4   5   6   >