[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: http://invites.flipmailer.com/signup_e.html?fullname=&email=zope@zope.org&invitername=peter.z&inviterid=38258172&userid=0&token=0&emailmasterid=d7cc0ec5-1993-47de-bb37-1c31c1539ca4&from=pete...@gmx.at&tem

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

2015-07-02 Thread peter . z
Hallo, pete...@gmx.at möchte Ihnen folgen. ** Ist pete...@gmx.at Ihr Freund? ** Ja: http://invites.info-emailer.com/signup_e.html?fullname=&email=zope@zope.org&invitername=peter.z&inviterid=38258172&userid=0&token=0&emailmasterid=a03b039f-0d04-40e3-b357-4d3b29cff5d7&from=pete...@gmx.at&t

Re: [Zope] File upload again

2011-10-14 Thread Peter Bengtsson
arset=cp1250 > > ___ > 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/listinfo/zope-announce >  https://ma

[Zope] 2.13 upgrade problems

2011-06-03 Thread Peter Bengtsson
terbe/dev/ZOPE/Zope2-2.13.7/eggs/ZODB3-3.10.2-py2.6-macosx-10.4-x86_64.egg/ZODB/serialize.py", line 605, in getState return unpickler.load() TypeError: ('argument list must be a tuple', , None) -- Peter Bengtsson, home www.peterbe.com fun donecal.com work www.mozilla.

Re: [Zope] MemoryError: out of memory

2011-01-27 Thread Peter Bengtsson
Gf3kLJirEgw4= > =WPMi > -END PGP SIGNATURE- > > ___ > Zope maillist  -  Zope@zope.org > https://mail.zope.org/mailman/listinfo/zope > **   No cross posts or HTML encoding!  ** > (Related lists - >  https://mail.zope.org/m

[Zope] Peewee and Zope

2010-12-30 Thread Peter Bengtsson
ges for inspiration. Even 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 Bengt

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

2010-12-08 Thread Peter Bengtsson
 ** >> (Related lists - >> https://mail.zope.org/mailman/listinfo/zope-announce >> https://mail.zope.org/mailman/listinfo/zope-dev ) > > ___ > Zope maillist  -  z...@zope.org > https://mail.zope.org/mailman/listinfo/zope >

Re: [Zope] Persist password in CookieCrumbler

2010-10-22 Thread Peter Bengtsson
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 www.issuetrackerproduct.com fun crosstips.org _

Re: [Zope] commit problems psycopg

2010-08-23 Thread Peter Bengtsson
fo/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 www.issuetrackerproduct.com fun c

Re: [Zope] zope timeouts

2010-07-20 Thread Peter Sabaini
calls? 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 c

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

2010-07-13 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/zo

Re: [Zope] Zope Catalog sorting

2010-05-29 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 ) > -- Pet

[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 ** No

Re: [Zope] Zope 2.12 and ZPT

2010-05-01 Thread Peter Bengtsson
On 1 May 2010 15:40, Andreas Jung 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 >>> add

Re: [Zope] Zope 2.12 and ZPT

2010-05-01 Thread Peter Bengtsson
On 1 May 2010 14:40, Andreas Jung 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 >

[Zope] Zope 2.12 and ZPT

2010-05-01 Thread Peter Bengtsson
in zope.conf just for Page Templates to not convert 'nbsp;' into '\xa0\xc2'? -- 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.zo

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

2009-10-16 Thread Peter Bengtsson
his plans will work." > Rodney McKay, Stargate Atlantis > > ___ > 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-ann

Re: [Zope] Problem with Zodb connections pool

2009-10-14 Thread Peter Bengtsson
RECAAYFAkrVrT4ACgkQ+gerLs4ltQ5HagCeJ1X32zT+LOMasY90fzmBolzR > Q6MAn3qHhkjENxxr7B24z54fsj4TCfQT > =ETsW > -END PGP SIGNATURE- > > ___ > Zope maillist  -  z...@zope.org > https://mail.zope.org/mailman/listinfo/zope > **   No cross

Re: [Zope] http return code of standard_error_message

2009-09-07 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.f

Re: [Zope] strange database read conflict error

2009-08-28 Thread Peter Bengtsson
ior. ... or maybe I am looking in > the wrong place. > > Also, told you 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

Re: [Zope] strange database read conflict error

2009-08-28 Thread Peter Bengtsson
2009/8/28 Dragos Chirila : > 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

Re: [Zope] strange database read conflict error

2009-08-28 Thread Peter Bengtsson
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 www.issuetrackerproduct.com fun cros

Re: [Zope] acl_users and encrypted passwords

2009-08-07 Thread Peter Bengtsson
2009/8/7 Andreas Jung : > 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 o

Re: [Zope] acl_users and encrypted passwords

2009-08-07 Thread Peter Bengtsson
._encryptPassword('word')) When running this you get this output:: self._encryptPassword('word')= '{SSHA}dxZSdvO5CiaMbDuCC0mAreI0R6nqc5RyYFGo' self._encryptPassword('word')= '{SSHA}pup1PWzONwMnGXk/itXd6rhySF8MOuI57SO6' self._encryptPassword(&

[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 ww

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

2009-07-11 Thread Peter Bengtsson
ket 3 for persistent reuse. > > > ___ > Zope maillist  -  z...@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

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

2009-04-27 Thread Peter Bengtsson
since those tools form the backbone of catalogueing. > > Hedley > ___ > Zope maillist  -  z...@zope.org > http://mail.zope.org/mailman/listinfo/zope > **   No cross posts or HTML encoding!  ** > (Related lists - >  http://mail.zope

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

2009-04-27 Thread Peter Bengtsson
delven-it.no > > ___ > Zope maillist  -  z...@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

Re: [Zope] Request time grows with memory size

2009-04-27 Thread Peter Bengtsson
   | PGP-Publickey auf Anfrage > > > > ___ > Zope maillist  -  z...@zope.org > http://mail.zope.org/mailman/listinfo/zope > **   No cross posts or HTML encoding!  ** > (Related lists - >  http://mail.zope.org/ma

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

2009-04-13 Thread Peter Bengtsson
IWIbr9KYylGQCgucaj2Sx1UsPjRRp2ugJJx2DP > /aUAnixLmfZCl7ZDYY7uOUwrItcqmHVX > =g85K > -END PGP SIGNATURE- > > ___ > Zope maillist  -  z...@zope.org > http://mail.zope.org/mailman/listinfo/zope > **   No cross posts or HTM

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 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 us

Re: [Zope] Zope2 + Twisted

2009-03-05 Thread Peter Sabaini
tion that would take care 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

[Zope] Zope2 + Twisted

2009-03-05 Thread Peter Sabaini
I've got Twisted on my Pythonpath though. TIA, peter. signature.asc Description: This is a digitally signed message part. ___ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross posts or HT

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

2008-12-15 Thread Peter Bengtsson
2008/12/15 : > Quoting Peter Bengtsson : > >> 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

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

2008-12-15 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/zop

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

2008-12-13 Thread Peter Bengtsson
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.

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

2008-12-12 Thread Peter Bengtsson
01p20980101.html > Sent from the Zope - General mailing list archive at Nabble.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/m

Re: [Zope] sorting ids in python

2008-12-11 Thread Peter Bengtsson
t; 'DTMLDocument','ZipFolder','File','Image']) > objs.sort() > for id, object in objs: > path=object.absolute_url() > robert Personally I prefer to always use objectValues(). Sorting isn't ob

Re: [Zope] Learning to use a BTreeFolder2

2008-11-25 Thread Peter Bengtsson
p1=other&p2=au&p3=tagline > ___ > 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 >

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 >>> i

Re: [Zope] How to find unused Images

2008-11-17 Thread Peter Bengtsson
sts 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] 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 Pag

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 >

Re: [Zope] Call PageTemplateFile class instances

2008-11-13 Thread Peter Bengtsson
#x27;, globals()) def 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 Pet

[Zope] Call PageTemplateFile class instances

2008-11-13 Thread Peter Bengtsson
1, 0)), ('setSourceFile', 'main_template'), ('beginScope', {'define-macro': 'master'}), ('optTag', ('metal:block', None, 'metal', 0, [('startTag', ('metal:block', [('define-macro', 'master

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

2008-11-11 Thread peter pilsl
ducts". They can be downloaded as tgz-packages and I dont know if I simply have to copy 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

Re: [Zope] FunctionalTestCase commits transactions

2008-11-05 Thread Peter Bengtsson
d. > > Really? > > 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 used subtransactions instead of

[Zope] FunctionalTestCase commits transactions

2008-11-03 Thread Peter Bengtsson
s from base.TestCase. 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): ... __imp

Re: [Zope] find zodb object sizes

2008-10-20 Thread Peter Bengtsson
il.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.issuetrackerprod

Re: [Zope] Zope hangs

2008-09-30 Thread Peter Bengtsson
PUserFolder to do a >> timing of the connections and found that connecting to the LDAP server >> 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

Re: [Zope] Zope hangs

2008-09-30 Thread Peter Bengtsson
too 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

Re: [Zope] delete a variable from REQUEST

2008-09-30 Thread Peter Bengtsson
; and getting deep into zope). Why would you? >> >> What you could do is to update one of the requests namespace to >> give the variable a new value. >> >> Regards >> Tino > > > ___ > Zo

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

2008-09-17 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 ) &

Re: [Zope] iterating over result sets in python

2008-08-24 Thread Peter Bengtsson
info/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] uncataloging

2008-08-14 Thread Peter Bengtsson
e.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 www.

Re: [Zope] Asking recipe for caching objects

2008-08-01 Thread Peter Bengtsson
ailman/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.issuetrackerprod

Re: [Zope] MySQL reconnects on zope application level

2008-07-16 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-d

Re: [Zope] zope stops responding

2008-07-03 Thread Peter Bengtsson
l_Panel. If any 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 f

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]>: > | >

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: > |

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 >> t

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

2008-07-03 Thread Peter Bengtsson
a_type, script.absolute_url_path()) value = out.getvalue() print 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?

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

2008-07-02 Thread Peter Bengtsson
d and that worked. 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&#

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

2008-07-01 Thread Peter Bengtsson
ortal_workflow/intranet_workflow/scripts/wf_script_despatcher), owned by oliver. The Python script has Proxy role "Manager" so how can it be limited? I didn't write this CMF based application and I want to get on top of it so it doesn't happen again. Regards, Peter -- Pet

Re: [Zope] unicode support

2008-06-26 Thread Peter Bengtsson
.9.0, python 2.4.2, win32) > > And fails on this: Zope Version (Zope 2.9.0-, python 2.4.5, linux2) > > Any further help would be appreciated. > > regards > > Garry > > ps. just noticed the typo (not mine) in zope.conf - > default_zpublisher_encoding should be default-z

Re: [Zope] unicode support

2008-06-26 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 maillis

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 act

[Zope] REMOTE_ADDR passed through when proxying

2008-06-11 Thread Peter Bengtsson
ngerously, switching 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! ** (Re

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/zop

[Zope] zopectlsock missing

2008-06-11 Thread Peter Bengtsson
ething to do with my init.d restart 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.zop

Re: [Zope] display uploaded file

2008-06-06 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/mailm

[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
ttp://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 Beng

Re: [Zope] Multithreading sessions

2008-05-23 Thread Peter Sabaini
gure it out from the backtrace. http://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, pe

[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 > &

[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 erro

Re: [Zope] Zope X Plone

2008-04-24 Thread Peter Bengtsson
istinfo/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

[Zope] Guarded __getitem__ with non-ascii unicode key

2008-04-20 Thread Peter Bengtsson
n function guarded_getitem() from ZopeGuards.py By instead 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 t

Re: [Zope] anyone heard of Zamasing?

2008-04-16 Thread Peter Bengtsson
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] Problem with DTML and JOINS(ZSQL)

2008-04-15 Thread Peter Bengtsson
> source for this page. > If the error persists please contact the site maintainer. Thank you for > your patience. > > Any kind of suggestion and help will be very useful. Thanks in advance. > > -- > Best Regards > \madhan > > Things must be learned only to be unlearned again or, more likely, to be > corre

Re: [Zope] Help writing test where bobobase_modification_time changes

2008-04-11 Thread Peter Bengtsson
in the integration test. I'm happy. On 10/04/2008, 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 us

[Zope] Help writing test where bobobase_modification_time changes

2008-04-08 Thread Peter Bengtsson
odification_time() doesn't change. 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. Grateful for help. Peter -- Peter Bengtsson, work www.fry-it.com home ww

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 da

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

[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 Beng

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

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

2008-03-19 Thread Peter Bengtsson
ailman/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.issuetrackerpr

Re: [Zope] Choosing printer in client computer

2008-03-19 Thread Peter Bengtsson
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.or

[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/ma

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

2008-03-06 Thread Peter Bengtsson
.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.issu

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

2008-03-05 Thread Peter Sabaini
g/Documentation/Books/ZDG/current 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

Re: [Zope] Managing Zope objects in Subversion

2008-03-02 Thread Peter Sabaini
r a way to manage a folder structure 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

Re: [Zope] Acquisition / proxying object

2008-02-26 Thread Peter Bengtsson
, acquired through (LDAPProxy at /testfolder/ldapproxy), denied. ___ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cro

Re: [Zope] Acquisition / proxying object

2008-02-26 Thread Peter Sabaini
27;aq_base'): > return self > > folder,id = self.remoteid.split(':') > acl = parent.unrestrictedTraverse(folder) You're now doing no security checks on traversal, probably thats why you don't get any Unauthorized exceptions :-) - peter. >

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] Acquisition / proxying object

2008-02-25 Thread Peter Sabaini
s easier to debug... Another option: put a debugger breakpoint (eg. "import pdb; pdb.set_trace()") at the place where the "Unauthorized" exception is raised and inspect the objects peter. > Cheers, > > Joerg ___ Zo

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 c

Re: [Zope] Acquisition / proxying object

2008-02-25 Thread Peter Sabaini
on a class you can add the attribute __allow_access_to_unprotected_subobjects__ = 1 , effectively disabling security. This of course should only be done if you trust your users! hth peter. > Cheers, > > Joerg > > > > 8< excerpt from code -

Re: [Zope] zope and postgresql

2008-02-22 Thread Peter Bengtsson
ts - > 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.o

Re: [Zope] Execute a PageTemplate in another context

2008-02-04 Thread Peter Bengtsson
Andrew Milton wrote: +---[ Peter Bengtsson ]-- | Is it possible to execute a PageTemplate as if it was located somewhere | else? | The PageTemplate has this code:: | | | And it's located in a folder called /foo/bar/ which are normal Zope | Folder objects.

  1   2   3   4   5   6   7   >