Re: [Zope] problem with the shapelib module.. help

2006-12-22 Thread Dieter Maurer
Allen Huang wrote at 2006-12-21 23:23 -0800: >I want to do some mapping application with zope.. but I have run into this >problem over and over.. > >in "Run Zope in Console" >Exception exceptions.AttributeError:"ShapeFile instance has no attribute >'thisown'" in ignored Hmm. I doubt that you

Re: [Zope] Re: Too many ZODB object loads...

2006-12-22 Thread Dieter Maurer
Suresh V wrote at 2006-12-22 03:02 +0530: > ... >We hiked it up to 60K per thread because we have lots of memory and >wanted to make Zope perform better. Is there a disadvantage to this? Not, if you have enough RAM. Note that each connection has its own cache and that you control the cache size

Re: [Zope] set HTTP response in a python script

2006-12-22 Thread Andreas Jung
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 - --On 22. Dezember 2006 13:46:52 +0100 Daniel de la Cuesta <[EMAIL PROTECTED]> wrote: > Hello, > > How can I set a valid http response inside a python script? > - -> Manu

[Zope] set HTTP response in a python script

2006-12-22 Thread Daniel de la Cuesta
Hello, How can I set a valid http response inside a python script? Thank you! Daniel de la Cuesta Navarrete Técnico de Desarrollo FUNDACIÓN IAVANTE [EMAIL PROTECTED] Tel. 951 015 300 Este correo electrónico y, en su caso, cualquier fichero anexo, contiene información confidencia

Re: [Zope] problem with the shapelib module.. help

2006-12-22 Thread Maciej Wisniowski
> I change some setting to my runzope.bat because I want zope to use > python2.4.4 instead of the build 2.3.5 Don't do that. If you need python2.4 then use newer Zope version that uses 2.4 eg. Zope2.9, Zope2.10. > import shapelib, dbflib > def testShapeLib(self): > f1 = shapelib.ShapeFile('