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

[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
/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 -- Dragos Chirila objectval...@gmail.com (+4) 0722 395375

Re: [Zope] strange database read conflict error

2009-08-28 Thread Peter Bengtsson
/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 -- Dragos Chirila objectval...@gmail.com (+4) 0722 395375

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

Re: [Zope] FunctionalTestCase commits transactions

2008-11-05 Thread Peter Bengtsson
) similar to how doctests are done where you have blocks of shell code split between text. If this is the way it has to be to test with zope.testbrowser in zope 2 then I'll let it be so. -- Peter Bengtsson, work www.fry-it.com home www.peterbe.com hobby www.issuetrackerproduct.com

[Zope] FunctionalTestCase commits transactions

2008-11-03 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

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
** 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] Zope hangs

2008-09-30 Thread Peter Bengtsson
@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 www.peterbe.com hobby

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

[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

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

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:: | htmlbr tal:replace=here/absolute_url_path//html | | And it's located in a folder called /foo/bar

[Zope] Installing TextIndexNG3 in ZopeTestCase (long story short)

2008-02-04 Thread Peter Bengtsson
. * Don't give up PS. I've never touched or written an ZCML files in this environment. -- 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] Execute a PageTemplate in another context

2008-02-04 Thread Peter Bengtsson
(not from URL travsersal) and the rendered result is: html/foo/bar/html But what if I want to execute it as if it existed in another context, e.g. /barfoo Is that possible? I can imagine a some convoluted solutions but was hoping for something easy and obvious that I've missed. -- Peter

[Zope] [OT] -C

2008-01-31 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

Re: [Zope] zope 2.9.6 stops servicing requests

2008-01-28 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] Counting threads

2008-01-23 Thread Peter Bengtsson
the right tool for me. -- 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

[Zope] Counting threads

2008-01-22 Thread Peter Bengtsson
? Is there a simple tool to just get a simple readout of how many threads are busy? -- 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] Counting threads

2008-01-22 Thread Peter Bengtsson
On 22/01/2008, Dieter Maurer [EMAIL PROTECTED] wrote: Peter Bengtsson wrote at 2008-1-22 15:23 +: Perhaps I'm wrong but I suspect that a Zope I'm running is dying because of running out of threads. This is very unlikely. It may no longer respond when all its threads are working

Re: [Zope] Zope ZMI Templates

2008-01-15 Thread Peter Bengtsson
that can also be used with Zope 3? -- 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] can't pickle instancemethod objects in testcase

2008-01-13 Thread Peter Bengtsson
. The reason for the transaction.get().commit() is to not cancel everything when a ConflicrError happens during a very long-lasting file upload. Again, thanks. PS. Andreas, I did use your set_trace() tip on the ZODB code. Isn't Python great! On 08/01/2008, Dieter Maurer [EMAIL PROTECTED] wrote: Peter

[Zope] can't pickle instancemethod objects in testcase

2008-01-07 Thread Peter Bengtsson
pickle instancemethod objects -- -- 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] can't pickle instancemethod objects in testcase

2008-01-07 Thread Peter Bengtsson
Andreas Jung wrote: --On 7. Januar 2008 18:29:50 + Peter Bengtsson [EMAIL PROTECTED] wrote: My code works fine in normal running zope but not when run as a testcase (I'm not using bin/zopectl test if that matters) I get the following error. I feel guilty since I've got this line

[Zope] Using zoperoot.misc_.MyProduct

2007-12-14 Thread Peter Bengtsson
bugs in objects in there and, more commonly, NotFound errors. Is there anything I can do about that or should I not expect so much and instead use the instance? -- Peter Bengtsson, work www.fry-it.com home www.peterbe.com hobby www.issuetrackerproduct.com

Re: [Zope] why zope is rendering apostrophe as a small square box

2007-10-16 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] How can I get graph statistics

2007-10-11 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] Weird hangs on zope/plone.

2007-10-09 Thread Peter Bengtsson
/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/mailman/listinfo

Re: [Zope] Re: How to know what are zope doing now?

2007-09-23 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/mailman

Re: [Zope] Limit Zope only from Pound

2007-09-10 Thread Peter Bengtsson
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.peterbe.com hobby www.issuetrackerproduct.com

  1   2   3   4   5   >