Re: [Zope-dev] Fw: 2gb file size

2000-11-03 Thread Andy McKay
Ive tried truncating the file and then running fsrecover.py, but get: File "ZODB\FileStorage.py", line 1530, in read_index if read(4) != packed_version: raise FileStorageFormatError, name FileStorage.FileStorageFormatError: q:\var\Data.fs As a desperation I commented out line 1530 and rera

Re: [Zope-dev] python memory error on Windows NT

2000-11-03 Thread Phil Harris
Me too, I've seen memory problems with ODBC to Access. - Original Message - From: "Toby Dickenson" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Cc: <[EMAIL PROTECTED]> Sent: Friday, November 03, 2000 4:13 PM Subject: RE: [Zope-dev] python memory error on Windows NT | > > That sounds lik

[Zope-dev] Fw: 2gb file size

2000-11-03 Thread Andy McKay
Hmmm ive looked at fsrecover.py and its not happy either. Anyone else solved this problem? Im on Win2k BTW. -- Andy McKay, Developer. ActiveState. - Original Message - From: "Andy McKay" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Friday, November 03, 2000 1:04 PM Subject: 2gb f

[Zope-dev] 2gb file size

2000-11-03 Thread Andy McKay
My database has suddenly ballooned to 2 gig's stopping my Zope from running. Are there any utils to delete the last transaction or so? This is kinda urgent... :( Thanks. -- Andy McKay, Developer. ActiveState. ___ Zope-Dev maillist - [EMAIL PR

[Zope-dev] Store values thread-wide ?

2000-11-03 Thread Martin Grönemeyer
Hello everyone, I'm playing around with Zope-Objects and find out, that the SecurityManager holds it's informations only for one request. If the Zope-Publishing starts, an existing SecurityManager gets destroyed via __bobo_before__ (am i right ?). In the next step, a SecurityManager-Object is ins

[Zope-dev] New proposal - WikiForNow

2000-11-03 Thread Ken Manheimer
A week or so ago i threatened to post a proposal for near-term fixes of wikis on zope.org to alleviate some of the glaring fishbowl pain (looking to collect preliminary suggestions) - well, it's here: http://dev.zope.org/Wikis/DevSite/Proposals/WikiForNow >From the problem statement: While w

Re: [Zope-dev] cPickle.c

2000-11-03 Thread Robin Becker
In article <[EMAIL PROTECTED]>, Toby Dickenson <[EMAIL PROTECTED]> writes >On Fri, 3 Nov 2000 13:03:50 +, Robin Becker ><[EMAIL PROTECTED]> wrote: > >>I see a reference to mymath.h in in cPickle.c is that intentional? > >With python 2.0 you dont need (and shouldnt use) the cPickle or >cStringI

[Zope-dev] RE: [Support] Sybase 11.9.2 with Zope 2.2.0

2000-11-03 Thread Brian Lloyd
> Error Type: AttributeError > Error Value: 'string' object has no attribute 'server' > > The error is raised because in the Sybase Adapter an attribute 'server' of > connection_string is accessed. > Looking at the 2.1.6 code of Connection.py I found two new lines, > which convert > c

RE: [Zope-dev] python memory error on Windows NT

2000-11-03 Thread Toby Dickenson
> > That sounds like a bug in an extension module > The installed packages on the site are (all the Zope 2.2.2 > released with > and): >ZODBCDA (Installed product ZODBCDA) > we use 2 ODBC connection on 2 MSAccess MDB and no python > extension. > I do not know where and when the pro

Re: [Zope-dev] python memory error on Windows NT

2000-11-03 Thread Coi Giovanni
In data 3 Nov 2000, alle ore 11:22, Toby Dickenson ha scritto: > >someone has never seen this kind of error on Windows NT > >4.0 (last patch update) while executing IIS 4.0 + Zope 2.2.2? > >The panel say: > > > >python.exe > >The instruction at "0x1b271a1f" > >referenced memory at "0x" >

RE: [Zope-dev] BASEPATH

2000-11-03 Thread Brian Lloyd
uh - yes, what Evan said. :^) Brian Lloyd[EMAIL PROTECTED] Software Engineer 540.371.6909 Digital Creations http://www.digicool.com > -Original Message- > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf > Of Evan Simpson > Sent: Friday, November 0

Re: [Zope-dev] BASEPATH

2000-11-03 Thread Evan Simpson
From: Brian Lloyd <[EMAIL PROTECTED]> > BASEPATHx (and its converse URLPATHx) are analogous to the > current BASEx and URLx variables of the REQUEST object, > except that they take any fiddling of the path (such as > that done by SiteAccess) into account. They will be > introduced in the next feat

[Zope-dev] Needed: tip iterative search of catalog indexes

2000-11-03 Thread Joseph Schlesinger
Can anyone provide advice for iterating a search through all indexes in a catalog.  E.g., determining whether 'foo' appears in any field of any of the indexed items. The python method reproduced below does the job, but it seems rather cumbersome.  Is there a better way to do it in DTML? Than

[Zope-dev] Sybase 11.9.2 with Zope 2.2.0

2000-11-03 Thread Ralph Heinkel
Hi, I'm trying to run Sybase 11.9.2 with Zope 2.2.0. using SybaseDA2.0b2 Everything was fine with Zope 2.1.6 so far. But with this new version of Zope I get an error like (having commented out the try/except clause to catch it - traceback appended to this mail): Error Type: AttributeError

RE: [Zope-dev] BASEPATH

2000-11-03 Thread Brian Lloyd
> Can someone explain to me why the CVS version of Zope2 contains > references to BASEPATH and the recently released 2.2.2 doesn't? Is this > a new feature? > -- > Robin Becker BASEPATHx (and its converse URLPATHx) are analogous to the current BASEx and URLx variables of the REQUEST object, ex

Re: [Zope-dev] cPickle.c

2000-11-03 Thread Toby Dickenson
On Fri, 3 Nov 2000 13:03:50 +, Robin Becker <[EMAIL PROTECTED]> wrote: >I see a reference to mymath.h in in cPickle.c is that intentional? With python 2.0 you dont need (and shouldnt use) the cPickle or cStringIO that comes with Zope Toby Dickenson [EMAIL PROTECTED] ___

[Zope-dev] cPickle.c

2000-11-03 Thread Robin Becker
I see a reference to mymath.h in in cPickle.c is that intentional? -- Robin Becker ___ Zope-Dev maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope

[Zope-dev] BASEPATH

2000-11-03 Thread Robin Becker
Can someone explain to me why the CVS version of Zope2 contains references to BASEPATH and the recently released 2.2.2 doesn't? Is this a new feature? -- Robin Becker ___ Zope-Dev maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zo

Re: [Zope-dev] Question: How can instatiate a Zclass from python.

2000-11-03 Thread Martin Grönemeyer
At 13:30 02.11.00 +0200, you wrote: >I am creating an external method in python and I want to add a product (in >that method) which is a Zclass (only, it doesn't exists in the >lib/python/Products directory). How can I instatiate this object and how >can I overide the name error that will occur (b

Re: [Zope-dev] python memory error on Windows NT

2000-11-03 Thread Toby Dickenson
On Fri, 3 Nov 2000 09:44:42 +0100, "Coi Giovanni" <[EMAIL PROTECTED]> wrote: >someone has never seen this kind of error on Windows NT >4.0 (last patch update) while executing IIS 4.0 + Zope 2.2.2? >The panel say: > >python.exe >The instruction at "0x1b271a1f" >referenced memory at "0x" >T

[Zope-dev] pluggable brains - namespace blues

2000-11-03 Thread Philipp Auersperg
I have a problem with pluggable brains:   1. Given is a ZClass named 'Merchant' that maps to a SQL table 'Merchant' with the columns 'ID' and 'name'.   2. I the ZClass I defined a Python method 'getName' with the body:    return self.name   3. I have a SQL Method with "select * from merchant" t

[Zope-dev] ZCLass help

2000-11-03 Thread Veiko Schnabel
problem: i created a new Product calles book with propertys writer(string), pages(int) and a standart method called index_html to output all these probertys no problem until that next i created in a subfolder an instance of my book-product calles my_book to get all propertys og my_book i used ht

[Zope-dev] python memory error on Windows NT

2000-11-03 Thread Coi Giovanni
Hi, someone has never seen this kind of error on Windows NT 4.0 (last patch update) while executing IIS 4.0 + Zope 2.2.2? The panel say: python.exe The instruction at "0x1b271a1f" referenced memory at "0x" The memory could not be "read" it hang python (and so Zope) until someone, lookin