[Zope-dev] Strange, Random Error

2000-05-23 Thread Chris Withers
Can anyone shed any light on the following? It's got me stumped... It has only happened from 1 request so far, although it triggered off the same error for all the images on the page... ?!? Chris > >Zope reported an error for: > > http://www.nipltd.net/www/niplogo.gif > >Error Type: Invali

[Zope-dev] exec in zope?

2000-05-23 Thread Andrew Edmondson
I'm trying to pass a keyword argument to a function (in this case Catalog), but to generate it from variables. The following doesn't work, but it illustrates my idea: The obvious way to do this in python would be to use the 'exec' command - but that doesn't seem to work in zope. Is th

[Zope-dev] ZODB3 - updated stored objects

2000-05-23 Thread Thomas Weholt
Hi, I read somewhere on www.zope.org that each time you update an object stored in ZODB3 a new record will be appended. Does this mean the entire object will be stored in a new location with the updated values? If so, isn`t that kinda dumb, at least if there`s no way to override this "feature"? A

Re: [Zope-dev] Create an empty DTML Method

2000-05-23 Thread Duncan Booth
> I want to write some dtml code that will add a DTML method that is > totally empty. The add_DTMLMethod method in Zope puts in the default > Zope content. How do I avoid that? > Try: manage_addDTMLMethod(id='test1', title='This is a test', file='') The file parameter can be a file like obj

[Zope-dev] ZCatalog and Huge Customized Objects in ZODB

2000-05-23 Thread Thomas Weholt
Is it possible to store lots of huge objects, like 2-3 MB in size each, in ZODB and catalog them for easy searching? Can I catalog special properties of custom objects and skip others? Are there any limitations to ZCatalog and the amount of stuff to index, before the speed is affected? If somebo

Re: [Zope-dev] how to download a entire ZWiki site?

2000-05-23 Thread Jephte CLAIN
Dieter Maurer a écrit : > > You may try the python tool program "websucker". It should > be in the tools directory of any Python installation. > It can download any pages below a side. I use wget but websuckers don't work well with dynamically generated pages like wikis. it download several times

Re: [Zope-dev] 2.2.0a1 won't work with query objects

2000-05-23 Thread Robin Becker
I have started with clean 2.2.0a1 and have then created an admin user. As this user I have imported my old 2.0 exported database. I have given anonymous rights to query Tinytables, but am still forced to attempt to login. Even when I have logged in as the admin user I get an error message I sup

[Zope-dev] Tree Tag

2000-05-23 Thread Andre Schubert
Hi, Does anybody know how i can disable the -> plus <- before each icon or od in the tree tag. mfg as ___ Zope-Dev maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML encoding! ** (Related lists

Re: [Zope-dev] 2.2.0a1 won't work with query objects

2000-05-23 Thread Robin Becker
In article , Robin Becker <[EMAIL PROTECTED]> writes >I have started with clean 2.2.0a1 and have then created an admin user. As this >user I have >imported my old 2.0 exported database. > >I have given anonymous rights to query Tinytables, but am still forced to >attem

RE: [Zope-dev] Minor "bug"

2000-05-23 Thread Brian Lloyd
> I've just noticed with 2.1.6, that after clicking > "Minimize" or "Full Sweep" on > /Control_Panel/Database/manage_cacheGC, the resulting > page is missing most Tabs and one has to click "Contents" to > get all tabs. Thanks - that'll be fixed for 2.2. Brian Lloyd[EMAIL PROTECTED] Sof

RE: [Zope-dev] zopectl (was: 2.2.0a1 Problems)

2000-05-23 Thread Brian Lloyd
> > We are going to move a better 'zopectl start', 'zopectl > stop' sort of > > setup, though its not there yet. This will make a number of things > > better. > > It's nice to hear that! Can you tell me who's working on > this, maybe we can > work together on finding a better solution than my

Re: [Zope-dev] exec in zope?

2000-05-23 Thread R. David Murray
On Tue, 23 May 2000, Andrew Edmondson wrote: > The following doesn't work, but it illustrates my idea: > > > The obvious way to do this in python would be to use the 'exec' command - but > that doesn't seem to work in zope. > > Is there any way to do this in zope? You will probably have

RE: [Zope-dev] ZODB3 - updated stored objects

2000-05-23 Thread Chris McDonough
> I read somewhere on www.zope.org that each time you update an > object stored > in ZODB3 a new record will be appended. Does this mean the > entire object > will be stored in a new location with the updated values? If > so, isn`t that > kinda dumb, at least if there`s no way to override this

[Zope-dev] [Fwd: ZCatalog.. Again.. I know..]

2000-05-23 Thread Chris Withers
Michel Pelletier wrote: [snip stuff on BTree, intSet and PersistentMapping] > Now you can add these to the InterfaceWiki. ;) Done... not sure if they're in the right place though... I'm having problems with ZCatalog. Would this bug: http://zope.nipltd.com/public/lists/dev-archive.nsf/ByKey/C1

Re: [Zope-dev] ZCatalog and Huge Customized Objects in ZODB

2000-05-23 Thread R. David Murray
On Tue, 23 May 2000, Thomas Weholt wrote: > Is it possible to store lots of huge objects, like 2-3 MB in size each, in > ZODB and catalog them for easy searching? Can I catalog special properties > of custom objects and skip others? Are there any limitations to ZCatalog and > the amount of stuff t

Re: [Zope-dev] exec in zope?

2000-05-23 Thread Jason Spisak
Andrew Edmondson writes: > > I'm trying to pass a keyword argument to a function (in this case Catalog), but > to generate it from variables. > Try: (untested) > The following doesn't work, but it illustrates my idea: > > > The obvious way to do this in python would be to use the 'ex

Re: [Zope-dev] ZODB3 - updated stored objects

2000-05-23 Thread Michel Pelletier
Thomas Weholt wrote: > > Hi, > > I read somewhere on www.zope.org that each time you update an object stored > in ZODB3 a new record will be appended. Does this mean the entire object > will be stored in a new location with the updated values? If so, isn`t that > kinda dumb, No. > at least i

Re: [Zope-dev] ZODB3 - updated stored objects

2000-05-23 Thread R. David Murray
On Tue, 23 May 2000, Thomas Weholt wrote: > will be stored in a new location with the updated values? If so, isn`t that > kinda dumb, at least if there`s no way to override this "feature"? Anyhow, I > want to store several big custom objects in ZODB. These objects can be > frequently updated, and

[Zope-dev] Session Objects?

2000-05-23 Thread Adam Pawliuk
Hi,   We currently have created a site which stores user information in a relational DB, using GUF hooks to manage the security from the users and roles in the DB.   Although there is several user characteristics that we would like to store in a session object cached in server RAM, such as t

Re: [Zope-dev] Strange, Random Error

2000-05-23 Thread R. David Murray
On Tue, 23 May 2000, Chris Withers wrote: > It has only happened from 1 request so far, although it triggered off > the same error for all the images on the page... > > >Error Type: Invalid Date-Time String > > > > > >Error Value: Mon, 03 Apr 2000 09:20:58 GMT, Mon, 03 Apr 2000 09:20:58 Are you

Re: [Zope-dev] [Fwd: ZCatalog.. Again.. I know..]

2000-05-23 Thread R. David Murray
On Tue, 23 May 2000, Chris Withers wrote: > Would this bug: > http://zope.nipltd.com/public/lists/dev-archive.nsf/ByKey/C15EB30D0FAF1057 > "[Zope-dev] The Mysterious Key Error and Unrelated Searc Result Bug" > > be the reason why I occasionally get incorrect search results (ie: an > object is re

Re: [Zope-dev] Strange, Random Error

2000-05-23 Thread Chris Withers
"R. David Murray" wrote: > Are you using Netscape by any chance? I saw something like this > with images that had a last mod date of Feb 29, 2000. It happened > only in Netscape, not IE, and I never did find out why because > changing the last mod date on the images fixed it. Possibly... I don

RE: [Zope-dev] zopectl (was: 2.2.0a1 Problems)

2000-05-23 Thread Pavlos Christoforou
On Tue, 23 May 2000, Brian Lloyd wrote: > > Well, no one here is actively working on it right now - we just know > we want it to happen :^) If you have something working, that would > seem to be a good baseline to build on and start discussing what > the zopectl script should do. I'd really li

[Zope-dev] "Memory, all alone in the cache..."

2000-05-23 Thread Jason Spisak
Shane, Well there is less blood on the floor today. It's not claiming memory as fast, but I've still had 400MB go in 3 hours. It's a slow steady decline. And the cache is slowly inclining. What is the next step? Is there a way to isolate this as a Python problem? A Zope problem? All my bes

[Zope-dev] DateTime objects's and ZCatalog

2000-05-23 Thread Jason Spisak
Shane, Actually, one big thing I did notice is that when I run the DTML that calls the ZCatalog search for the external method that is stored in a Field index called 'calendar_day', I get an instance of DateTime.DateTime.DateTime for ALL of the instances that use that external method. Shouldn't

Re: [Zope-dev] exec in zope?

2000-05-23 Thread Dan L. Pierson
R. David Murray writes: > On Tue, 23 May 2000, Andrew Edmondson wrote: > > The following doesn't work, but it illustrates my idea: > > ...snip... > On the other hand, if you call the catalog via just > > > > it will pull its search fields out of the REQUEST variable. If you > can

Re: [Zope-dev] [Fwd: ZCatalog.. Again.. I know..]

2000-05-23 Thread Chris Withers
"R. David Murray" wrote: > http://zope.nipltd.com/public/lists/dev-archive.nsf/ByKey/C15EB30D0FAF1057 > If you can't find > the message in the mailing list archives, I can probably did out > a copy I saved somewhere... The message is the one I linked :-) cheers, Chris

Re: [Zope-dev] ZODB now supports user-defined__get/set/delattr__ methods

2000-05-23 Thread Jim Fulton
"Phillip J. Eby" wrote: > > FYI, I have found a problem with the setattr/delattr implementation. I'm > not sure it's technically a bug, No, it's a missfeature. > but if I understand the code correctly, > setting or deleting a non _v_ attribute on a cPersistent will always cause > the object

RE: [Zope-dev] authorization and SQL-methods

2000-05-23 Thread Brian Lloyd
> I'm using the latest cvs-version of Zope and I seem to not be able to > acces ZSql-methods, I get the login-box, but I can't login as > anyone (I > have tried to login as superuser, myself (owner/manager) and > not at all, > but all I get is not authorized. The methods do work in > management

Re: [Zope-dev] ZODB now supports user-defined __get/set/delattr__methods

2000-05-23 Thread Jim Fulton
I haven't had time to look at this. Sorry. I'd like to look at it, but I just haven't hd time. Sorry. Please feel free to nag me periodically if you wish. :) Jim James Henstridge wrote: > > On Tue, 16 May 2000, Jim Fulton wrote: > > > > > I've just checked in some changes to ExtensionClass, >

RE: [Zope-dev] 2.2.0a1 won't work with query objects

2000-05-23 Thread Brian Lloyd
> Even when I have logged in as the admin user I get an error > message I suppose from the dtml fragment > > > > > > > > > > If I force validate to be None inside DT_In.py (renderwob) > then I can at > least get a dtml-in TinyTable to work. It seems as though the > tinytable > product

Re: [Zope-dev] [Fwd: ZCatalog.. Again.. I know..]

2000-05-23 Thread R. David Murray
On Tue, 23 May 2000, Chris Withers wrote: > The message is the one I linked :-) Ah, I'm used to the pipermail archive links, and didn't recognize it as a mailing list link. I should read more carefully! --RDM ___ Zope-Dev maillist - [EMAIL PROTECT

Re: [Zope-dev] Subclassing LoginManager

2000-05-23 Thread Dan L. Pierson
Phillip J. Eby writes: > At 04:37 PM 5/22/00 -0400, Dan L. Pierson wrote: > >Never mind. I found the bug of mine. > > What was it? I saw your question and this answer at the same time, and now > I'm curious. :) When I copied the code that canonicalizes user roles and domains from Generic

Re: [Zope-dev] Strange, Random Error

2000-05-23 Thread Dieter Maurer
Chris Withers writes: > Can anyone shed any light on the following? > > It's got me stumped... > > It has only happened from 1 request so far, although it triggered off > the same error for all the images on the page... > > ?!? > > Chris > > > >Zope reported an error for: > > >

[Zope-dev] Zope + Gadfly = Rapid Prototyping?!

2000-05-23 Thread Thomas Weholt
Hi, Now that I`ve a couple of SQL-methods working with Gadfly, I`m wondering if they will work without modification if I install a different SQL-database, like Postgres. Of course, that depends on SQL-syntax used and what part of SQL-standard the other database supports, but for rather simple

Re: [Zope-dev] Zope + Gadfly = Rapid Prototyping?!

2000-05-23 Thread Bill Anderson
Thomas Weholt wrote: > > Hi, > > Now that I`ve a couple of SQL-methods working with Gadfly, I`m wondering if they >will work without modification if I install a different SQL-database, like Postgres. >Of course, that depends on SQL-syntax used and what part of SQL-standard the other >database

[Zope-dev] Please Help!!! - HelpSys

2000-05-23 Thread IDEA WS
Hi, everybody! There's a folder in Zope :\lib\python\HelpSys with Zope help. If I am not mistaken it is available in every version of Zope and can be published this way: http://localhost:8080/HelpSys I have failed to figure out how its methods collect data to be published. It looks like they sear

[Zope-dev] Please Help!!! - HelpSys

2000-05-23 Thread Lena
Hi, everybody! There's a folder in Zope :\lib\python\HelpSys with Zope help. If I am not mistaken it is available in every version of Zope and can be published this way: http://localhost:8080/HelpSys I have failed to figure out how its methods collect data to be published. It looks like they sea

Re: [Zope-dev] Please Help!!! - HelpSys

2000-05-23 Thread Stephan Richter
At 08:48 AM 5/24/00 +0300, Lena wrote: >Hi, everybody! > >There's a folder in Zope :\lib\python\HelpSys with Zope help. >If I am not mistaken it is available in every version of Zope and can be >published this way: >http://localhost:8080/HelpSys >I have failed to figure out how its methods collec