[Zope] Letting a content manager add ZClass instances

2000-08-14 Thread Jean Jordaan
Hi Zopers .. I want content managers to be able to add and edit ZClass instances without having to negotiate the Zope management interface. So I want them to visit the Add and Edit forms, but to be redirected back to where they were browsing. The best I could do was: in 'ccDocClass_add', the

[Zope] Editing ZClasses properties as ContentManager

2000-08-14 Thread Jean Jordaan
Hi Zopers, In my ccDocClass / propertysheets / methods / edit_properties method, right after reindexing the changed instance like so: dtml-call "propertysheets.ccDocProperties.manage_changeProperties(REQUEST)" dtml-call reindex_object (from the How-To: Creating a CatalogAware ZClass

Re: [Zope] ANNOUNCE: Zope 2.2.1 beta 1 released

2000-08-14 Thread Aleksander Salwa
On Thu, 10 Aug 2000, Brian Lloyd wrote: Hi all - Zope 2.2.1 beta 1 has been released - you can download it from Zope.org: Is there corrected this bug, that some ZClasses (probably those derived only from ZObject (not from DTMLDocument, for example)), doesn't support basic

[Zope] Start-up log?

2000-08-14 Thread William BC Crandall
G'morning all. Simple question: Does Zope generate a log file noting each transaction, including start-up complaints? (I get error messages that scroll out of sight when I run START.BAT.) Thanks! ___ Zope maillist - [EMAIL PROTECTED]

RE: [Zope] application/octet-stream vs. application/msword

2000-08-14 Thread Jean Jordaan
Hi Dieter all The problem is, currently, not interesting enough for me to analyse is seriously. I can well understand, I wish I could forget about it :( If you know, that you add only "*.doc" files I add .doc, .zip, .exe (self-extracting zip), .pdf and .ppt ... so the quick and dirty

[Zope] ZSQL returning a trailing L

2000-08-14 Thread didier georgieff
Hello, I get a trailng "L" on smallint variables from ZSQL/MySQL on 2.1.4 (prod server) but not on 2.1.6 (developt server). I do remember a post some times ago about that, BUT i can't find it again on the archives despite my (weak ?) efforts.. Any info/tip would be great as the production 2.1.4

Re: [Zope] Simple DTML date-stamp

2000-08-14 Thread William BC Crandall
Holger, Peter, and Luis, Thanks for your emails. This: dtml-with "this" dtml-var bobobase_modification_time fmt=aCommonZ /dtml-with gave me what I was looking for. "http://www.zope.org/Members/AlexR/CustomDateFormats" Was also a good pointer. For those into historical trivia, what or who

Re: [Zope] zeo and rdb backend

2000-08-14 Thread Tino Wildenhain
"Bak @ kedai" wrote: "Bak @ kedai" wrote: BTW, site summary doesnot work with zeo. i can vview an instance fine on the machine that server Data.fs, but not on the other machine. what should we look out for when considering zeo? boy, am i talking to myself a lot. another

[Zope] (no subject)

2000-08-14 Thread Bill Welch
I'm having trouble with nested dtml-in. The outer ZSQL returns the coordinates of a zip code as zlat and zlong. The inner ZSQL takes zlat and zlong as well as Range and Otype as arguments. When I run it I get Error Type: Bad Request Error Value: ['zlat', 'zlong'] If I hardwire the inner

[Zope] (no subject)

2000-08-14 Thread Michel Houben
Hello, I have a problem; How can I fix the date in Dutch, for example Vrijdag 12 Augustus 2000 instead of Fruday 12 August 2000. I hope you can help me with this problem. Michel Houben ___ Zope maillist - [EMAIL PROTECTED]

[Zope] FTP and container type products

2000-08-14 Thread Petr Knapek
Hi Zopists, I have created new container product 'ISNG Folder' by modification of classical Folder object. Only some attributes are added to every instance of ISNG Folder and in future a more functionality. But when I try to put any object over ftp, an error occurs. I can't create any object

[Zope] Looking for different style

2000-08-14 Thread cuiod-tec Jens Gelhaar
I need a better way to render a DTMLDocument and store the result in variable than dtml-let variable="_['documentname']" but I do not like the style, it looks clumsy. Is there an another way? I would think something like documentname(...), but the acquisition does not work. Thanks Jens

Re: [Zope] tree plus/minus url

2000-08-14 Thread Tino Wildenhain
Ragnar Beer wrote: I found quite an easy solution for Zope 2.1.6: In lib/python/TreeDisplay/TreeTag.py you have to replace the "old code" with the "new code". (Blame me - I forgot to make a copy beforehands which keeps me from using diff.) The idea is to "export" the piece of code

[Zope] Difference between 2 permissions

2000-08-14 Thread Tom Deprez
Hi, What is the difference between Open/Close database connection and Open/Close database connections Thanks in advance, Tom. ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML

Re: [Zope] Help!! RE:mutilple select forms and ZSQL Method

2000-08-14 Thread Tino Wildenhain
Erik Lacson wrote: We are trying to insert an values from a multiple select form into an SQL Database. Does anyone know how to handle arguments of type 'list' inside an SQL Method ? You could use dtml-in over the argument or dtml-var "_.string.join(argument),' something between the

[Zope] zcatalog -- returning context of hits on fulltext

2000-08-14 Thread Jean Jordaan
Hi all I've got a lot of Word docs and Powerpoint presentations and PDFs etc in the ZOBD, stored with their full text in a property of the containing object, so that all those binary docs are searchable. This works great, but returns only the found objects and the cached properties specified

Re: [Zope] zcatalog -- returning context of hits on fulltext

2000-08-14 Thread Geir Bækholt
on Monday, August 14, 2000 Jean Jordaan wrote : JJ This works great, but returns only the JJ found objects and the cached properties specified in the JJ MetaDate Table. JJ Wouldn't it be great to be able to give just a line or two JJ of context from the full text, the way Google does? I

RE: [Zope] zcatalog -- returning context of hits on fulltext

2000-08-14 Thread Jean Jordaan
Hi Geir make a pythonmethod that returns the first 200 letters or something of the text , I've already got a pretty structured-text "Abstract" field that tells about the document, but I'd like to *see* the sentence on page 67 or wherever in a document where my term matches, so I know

RE: [Zope] zeo and rdb backend

2000-08-14 Thread bak @ kedai
I have to look further, but I think a good solution for local configuration issues would be a mountable database for specific sections (like products and some folders with database-connections and such) Imagine a situation where different instances of zope, connected via zeo have to use

[Zope] manage_upload not found?

2000-08-14 Thread Sean McGrath
I can call manage_addFile to add a new file to the ZODB. If I try and add a file with the same id as an existing object, I get an error from manage_addFile. Fair enough. I looked at the source of the management interface and say manage_upload used to change the contents of an existing object.

[Zope] ZMySQLDA on Win32

2000-08-14 Thread William BC Crandall
[Re-sending w/o attachments -- too big for mail servers.] William BC Crandall wrote: Chasing down MySQL question, I get here: (Besides having a strong urge to return to Linux ;) I now have three MySQL.pyd modules (attached for your inspection -- labeled 01,02,03). The oldest file (01)

[Zope] GUF

2000-08-14 Thread Mathias Bengtsson
I'm afraid that this will be a little newie question. How is the call to user_Authenticate used. Is it throgh a dtml-call or a dtml-var or dtml-in ? How am I supposed to pass the variables through to the function. How do I "collect" the return value? /Mathias

Re: [Zope] zcatalog -- returning context of hits on fulltext

2000-08-14 Thread Chris Withers
Jean Jordaan wrote: I've already got a pretty structured-text "Abstract" field that tells about the document, but I'd like to *see* the sentence on page 67 or wherever in a document where my term matches, so I know whether it's mentioned in passing or really important .. erk... that's a

Re: [Zope] manage_upload not found?

2000-08-14 Thread Phil Harris
Sean, I *think* you have to call manage_upload of the object itself. So if you have a DMTLMethod called doc then it would have to be: doc.manage_upload([file,REQUEST]) hth Phil [EMAIL PROTECTED] - Original Message - From: "Sean McGrath" [EMAIL PROTECTED] To: [EMAIL PROTECTED]

RE: [Zope] zcatalog -- returning context of hits on fulltext

2000-08-14 Thread Jean Jordaan
Dunno if Catalog can do it either .. not even if I do include the fulltext in the MetaData Table. 'Cause the hit will have come from the indexed text, so it has no way of knowing *which* hit in the original fulltext it was .. right? -- jean ___ Zope

Re: [Zope] About Squishdot and permissions

2000-08-14 Thread Chris Withers
Jean Jordaan wrote: Unauthorized You are not authorized to access leftbox_items. Either give the method making the call to leftbox_items the 'Manager' proxy role or add 'Query TinyTable Data' to the list of permissions that anonymous has. Is anyone maintaining TinyTables these days?

Re: [Zope] Squishdot upgrade HELP- screwy max posts behaviour

2000-08-14 Thread Chris Withers
albert boulanger wrote: It would be nice is that ratio is a property that can be set. Also for an application that I am working on if all the attachments for postings go to a central table that can be displayed. If you provide the patches, I'll be more than happy to include them ;-) cheers,

[Zope] problems connections to database

2000-08-14 Thread Tom Deprez
Hi, I get a strange error here. Suddenly the connection to my interbase db doens't works anymore. I get the following message : H2Zope Error/H2 PZope has encountered an error while publishing this resource. /P PSTRONGProducts.gvibDA.gvib.gvibExceptions.Error/STRONG/P Sorry, a Zope

Re: [Zope] ANNOUNCE: Zope 2.2.1 beta 1 released

2000-08-14 Thread Aleksander Salwa
On Mon, 14 Aug 2000, Aleksander Salwa wrote: Is there corrected this bug, that some ZClasses (probably those derived only from ZObject (not from DTMLDocument, for example)), doesn't support basic operations - 'paste', 'rename'... ? (Announced on this mailing list some time ago.) I can't

Re: [Zope] Removing tracebacks from error message

2000-08-14 Thread Chris Withers
Martijn Pieters wrote: On Thu, Aug 10, 2000 at 03:30:00PM -1000, David Trudgett wrote: I thought I solved this problem a while ago, but if so I can't remember how. I have a custom error page in Zope (2.1.6), but Zope wants to put the traceback information into an HTML comment at the foot

Re: [Zope] zcatalog -- returning context of hits on fulltext

2000-08-14 Thread Chris Withers
Jean Jordaan wrote: Dunno if Catalog can do it either .. not even if I do include the fulltext in the MetaData Table. 'Cause the hit will have come from the indexed text, so it has no way of knowing *which* hit in the original fulltext it was .. right? Yeah, but there may be some

Re: [Zope] zcatalog -- returning context of hits on fulltext

2000-08-14 Thread Toby Dickenson
On Mon, 14 Aug 2000 13:04:49 +0100, Chris Withers [EMAIL PROTECTED] wrote: Jean Jordaan wrote: I've already got a pretty structured-text "Abstract" field that tells about the document, but I'd like to *see* the sentence on page 67 or wherever in a document where my term matches, so I know

Re: [Zope] problems connections to database

2000-08-14 Thread Bob Tierney
Tom, Have you tried deleting the Interbase connection object, then restarting Zope and then adding the Interbase connection object back in. It may not help but it might provide more clues as to where the problem lies. Regards, Bob

RE: [Zope] zcatalog -- returning context of hits on fulltext

2000-08-14 Thread Jean Jordaan
Hi Toby If you really do have a 67 page document, For the sake of the argument, that was page 67 of a 149-page document .. it would be better to store each page in its own ZODB object, and index each page individually. Well, the number of pages depends on the formatting .. but it might

[Zope] Import broken by namespace conflict - fragile!

2000-08-14 Thread Jason CUNLIFFE [EMAIL PROTECTED]
Hello This is a repost of a serious message I posted on friday. [The threaded version of this list is corrupted - my message content has been automatically replaced by another person's message, athough strangely, the gzip archive is ok.]

Re: [Zope] Using Zope as App Server for non http-Protocols

2000-08-14 Thread Toby Dickenson
On Fri, 11 Aug 2000 23:30:43 +0200, "Philipp Auersperg" [EMAIL PROTECTED] wrote: We want to (mis)use zope as an application server servicing a proprietary non-http protocol for transmitting compressed data. Its easy to overlook http if your application is not a conventional 'web' application,

[Zope] Zope culture (Was: [Zope] Simple DTML date-stamp)

2000-08-14 Thread William BC Crandall
Hello Chris, Thanks for the historical pointer. Also explains why 'Add Z Gadfly Database Connection' pops up a strange sounding comment for new Zopers: Additional data sources may be created by making additional directories in the var/gadfly subdirectory of your

Re: [Zope] Zope culture (Was: [Zope] Simple DTML date-stamp)

2000-08-14 Thread Chris Withers
William BC Crandall wrote: Thanks for the historical pointer. Read the QuickStart if you really want to dig up some archane terms ;-) (Acquaduct, Bobo, Principia, etc) Another question of 'Zope Culture': Is the anti Win98 feeling I get an accurate assessment of the Zopista community? Not so

[Zope] Problem to access my DTML files

2000-08-14 Thread Jarkko Veijalainen
Hi! I developed my project on Zope 2.1.6 on NT environment. Last week i installed Zope 2.2.0 on Solaris 8. i transferred my project to 'new' Zope. But when i try to access my DTML document comes authentication window. I can't authenticate it in any of my usernames. Traceback (innermost last):

[Zope] Persistence.py does not define Persistent

2000-08-14 Thread Skip Montanaro
I'm trying to publish my own module with ZServer (from Zope 2.2.0). I get the following traceback: Traceback (most recent call last): File "z2.py", line 673, in ? from AccessControl.User import super File

Re: [Zope] zcatalog -- returning context of hits on fulltext

2000-08-14 Thread Jimmie Houchin
Hello, I may be clueless and out of my league here and I haven't read the sources so I don't know... Well enough of a disclaimer. :) Is there anything in there which can provide the seek or byte position of the hit within text object? If so, it shouldn't be too difficult to read X bytes before

Re: [Zope] Zope culture (Was: [Zope] Simple DTML date-stamp)

2000-08-14 Thread Peter Bengtsson
I currently function in two worlds, Win98 and Linux. Would I be right to say that 90% of Zopers live in world number two? I dunno. Lots of Linux yes, but a lot of other *nix too and at least a proportion of WinNT and 2K. Why not set up a Poll on zope.org to find out about these things.

Re: [Zope] zcatalog -- returning context of hits on fulltext

2000-08-14 Thread Jimmie Houchin
Hello, I may be clueless and out of my league here and I haven't read the sources so I don't know... Well enough of a disclaimer. :) Is there anything in there which can provide the seek or byte position of the hit within text object? If so, it shouldn't be too difficult to read X bytes before

[Zope] Problem with nested dtml-in

2000-08-14 Thread Bill Welch
I'm having trouble with nested dtml-in. The outer ZSQL returns the coordinates of a zip code as zlat and zlong. The inner ZSQL takes zlat and zlong as well as Range and Otype as arguments. When I run it I get: Error Type: Bad Request Error Value: ['zlat', 'zlong'] If I hardwire the inner

Re: [Zope] Zope culture (Was: [Zope] Simple DTML date-stamp)

2000-08-14 Thread Toby Dickenson
On Mon, 14 Aug 2000 15:43:25 +0200, William BC Crandall [EMAIL PROTECTED] wrote: Another question of 'Zope Culture': Is the anti Win98 feeling I get an accurate assessment of the Zopista community? Andy Dustman's documentation for what seems like a nice MySQL interface puts it clearly:

[Zope] Seeking Zope Volunteers

2000-08-14 Thread Lyno Sullivan, Candidate
Greetings, My name is Lyno Sullivan and I am the endorsed Independence Party (see www.eIndependence.org) candidate to the Minnesota State Senate from the Stillwater area, District 56, which is in Washington County and spans Stillwater Township south to Hastings and west to Mahtomedi and part of

[Zope] use properties to get an object with dtml-var

2000-08-14 Thread Gerard Metrailler Jr.
Hello, I am trying to get the following more generic. dtml-var "content.whos_who.gmetrail.real_name" In that case, content and whos_who are folder, gmetrail is a ZClass I created which derivates from Image and real_name is a property of that object. What I am trying to do is getting

Re: [Zope] ANNOUNCE: Xron alpha version 0.0.9

2000-08-14 Thread Loren Stafford
Shortly after posting this, I found a buglet that causes an error when you edit a Xron DTML Method that was created before version 0.0.9. I upload the fixed product without changing the version number. -- Loren - Original Message - From: "Loren Stafford" [EMAIL PROTECTED] To: [EMAIL

[Zope] on ZCatalog

2000-08-14 Thread tav
since ZCatalog refuses to work with SiteRoot (SiteAccess), i have thought of implementing a temporary solution of making a dtml method which: - deletes the SiteRoot object - traverses the site for ZWiki pages to add to the ZCatalog - adds the SiteRoot object back again i am lost as to

[Zope] Connection problem with database

2000-08-14 Thread Tom Deprez
Hi, If somebody had the same problem as I've now, please let me know something: At certain moments, Zope encounters problems connecting to my database (Interbase, don't know if it is solely Interbase related). When I then Close and reopen the connection, everything works fine again. Somebody

[Zope] Best way to subclass DTML Document and some other ZClasses questions

2000-08-14 Thread Marcin Kasperski
I decided to subclass DTML Document and (using ZClass) create my own document class (in fact I wanted all my documents to possess some standard properties and prompt for them on initialization and also to be CatalogAware). I succeeded (everything more-or-less works), but I still have some doubts:

Re: [Zope] UserDb, GUF, LoginManager, etc, which one?

2000-08-14 Thread Andrew Wilcox
At 05:58 PM 8/14/00 +0200, Martijn Faassen wrote: What I want is an acl_users equivalent that has an SQL database backend. I want an easy to understand, easy to install solution for this that has some kind of future in Zope land. Currently I'm deploying 2.1 but that should change into 2.2

[Zope] Create and start version?

2000-08-14 Thread Marcin Kasperski
Does there exist any simple method to add 'Create and Start Working In' button on 'Add Version' page? I still repeat simple mistake with adding version and forgetting to start working in it? -- Serwis nie tylko mieszkaniowy: http://www.mk.w.pl | | We want to know as early as possible whether or

Re: [Zope] accessing PARENTS from python???

2000-08-14 Thread Casey Duncan
Kevin Howe wrote: I am trying to access the PARENT of an object in a python class of mine. I want to use the absolute_url() of the parent in a variable. I though it could be done the following way, but got an error: parent=self.PARENTS[0] aurl = parent.absolute_url() I then

[Zope] Re: [Zope]compile ZPoPyDA product problem (the patch)

2000-08-14 Thread Stephen Nosal
Ed - Sorry, I guess it was just sent to me. Please enjoy, and good luck. - Steve --- Start of forwarded message --- Subject: Re: [Zope]compile ZPoPyDA product problem (continued) To: Stephen Nosal [EMAIL PROTECTED] From: [EMAIL PROTECTED] (Federico Di Gregorio) Date: Sat, 5 Aug

[Zope] Implementing a login form instead of BASIC authentication

2000-08-14 Thread Meeting Maker Webmaster
Hello, I am currently looking into implementing a login form to replace the standard BASIC authentication. I've looked into AccessControl/User.py and there seems to be a validate function that would enable me to do it. The only problem is that I am unable to figure out how to use it. The

RE: [Zope] dtml-with namespace conflict question needs explanation

2000-08-14 Thread Casey Duncan
Jason Cunliffe Wrote: Hello Please can someone help us understand how to avoid DTML method names conflicting with other zope objects with same name. ... 2. Below this my DTML file includes calls to this template like this: dtml-with Flash4 dtml-call "REQUEST.set('swf','login.swf')"

Re: [Zope] substring search on zcatalog textindex

2000-08-14 Thread R. David Murray
On Thu, 10 Aug 2000, Chris Withers wrote: Casey Duncan wrote: TextIndexes index individual words separately (using a vocabulary object to identify each word in the catalog). All non-alphanumeric characters (such as punctuation) are dropped so that excludes searching for "?" or "*" or any

[Zope] Xron not seeming to work

2000-08-14 Thread Bill Anderson
Ok, after downloading the new Xron (0-0-9), I seem to have a problem. This code: = dtml-with "PARENTS[-1].manage_addProduct['DinerItems']" dtml-call "DailyOrder_add(_.None, _)" /dtml-with dtml-with "PARENTS[-1]"dtml-sendmail mailhost=MailHost To: Portal Admin [EMAIL PROTECTED] From: Portal

RE: [Zope] substring search on zcatalog textindex

2000-08-14 Thread Casey Duncan
This is illuminating. I have a question maybe you (or somebody else) could answer: Searching TextIndexes you can use "and", "or" or "andnot" as query criteria. I also see support in the source code for near searches using "..." in the query string. I have not been able to get this to work

[Zope] Editing dtml using ftp, and errors.

2000-08-14 Thread rob
Hi If I try to save a dtml method in emacs which has errors, I get: 426 Error creating file. Is there any way of seeing more information about the error, like what the web interface provides? -- Rob Murray ___ Zope maillist - [EMAIL PROTECTED]

Re: [Zope] on ZCatalog

2000-08-14 Thread Andy McKay
You dont need to delete and then add back in the SiteRoot object, just alter the url that is passed to ZCatalog. -- Andy McKay, Developer, ActiveState http://www.ActiveState.com Programming for the People - Original Message - From: tav To: [EMAIL PROTECTED] Sent: Monday,

[Zope] restrict -tree tag global navigation- to subfolders

2000-08-14 Thread Marcus Schopen
Hi, I found this to create tree tag global navigation: http://lists.zope.org/pipermail/zope/1999-February/002164.html Is it possible (and how) to change the DTML method SideBar to list only subfolders of the directory where SiteBar itself has been created? Background: Under the Zope

[Zope] Re: Xron seems to not work

2000-08-14 Thread Loren Stafford
From: "Bill Anderson" [EMAIL PROTECTED] Bill, After the scheduled time, is there anything in the STUPID_LOG_FILE? What? -- 2000-08-14T21:15:04 PROBLEM(100) Products.Xron.Loggerr Trigger event: http://telescop:8100/MakeDailyOrder Trigger time: 2000/08/14 13:15:00 US/Mountain

[Zope] dtml-in and tuples

2000-08-14 Thread Chris Withers
Hi, Why and how are python tuples (like, this) handled differently (and not in a logical way I can see...) than python lists [like, this]? cheers, Chris ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No

[Zope] UserLDAP and DTML

2000-08-14 Thread Eric Shuman
I have just installed the recent product betas of ZopeLDAP and UserLDAP. Everything seems to be working except for one problem. DTML statements do not seem to be recognized by the LDAP queries. The "ldapUserQuery" under the properties of the "acl_users" folder created by the addition of a

Re: [Zope] Requested Zope feature

2000-08-14 Thread R. David Murray
On Wed, 9 Aug 2000, Martijn Pieters wrote: I am currently implementing Skinnable objects for Zope that'll allow you to easily define an alternative version of the management interface, and switch between these interfaces very easily. You could build your own version that doesn't use

Re: [Zope] dtml-in and tuples

2000-08-14 Thread Jonothan Farr
Well in Python a list is mutable and a tuple is not. --jfarr - Original Message - From: Chris Withers [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Monday, August 14, 2000 3:38 PM Subject: [Zope] dtml-in and tuples Hi, Why and how are python tuples (like, this) handled differently

Re: [Zope] Removing tracebacks from error message

2000-08-14 Thread David Trudgett
At 2000-08-14 13:33 +0100, Chris Withers [EMAIL PROTECTED] wrote: Martijn Pieters wrote: On Thu, Aug 10, 2000 at 03:30:00PM -1000, David Trudgett wrote: I thought I solved this problem a while ago, but if so I can't remember how. I have a custom error page in Zope (2.1.6), but Zope wants

Re: [Zope] zope.org down?

2000-08-14 Thread Nitin Borwankar
I haven't been able to connect for the last hour or so, either. Nitin ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists -

RE: [Zope] substring search on zcatalog textindex

2000-08-14 Thread pja
So the question is, does anyone know of a simple way to get the zcatalog to also find substring matches on a textindex? -- Peter Armstrong For Text Indexes you can use wildcards like * and ? in searches. So that searching for Foo* would find Foo, FooBar, fool, etc. I'm not sure if

Re: [Zope] zeo and rdb backend

2000-08-14 Thread Bill Anderson
"bak @ kedai" wrote: I have to look further, but I think a good solution for local configuration issues would be a mountable database for specific sections (like products and some folders with database-connections and such) Imagine a situation where different instances of zope,

Re: [Zope] Re: Xron seems to not work

2000-08-14 Thread Bill Anderson
Loren Stafford wrote: From: "Bill Anderson" [EMAIL PROTECTED] Bill, After the scheduled time, is there anything in the STUPID_LOG_FILE? What? -- 2000-08-14T21:15:04 PROBLEM(100) Products.Xron.Loggerr Trigger event: http://telescop:8100/MakeDailyOrder Trigger time:

RE: [Zope] substring search on zcatalog textindex

2000-08-14 Thread pja
I didn't setup Zope here, so I'm wondering if something could have been missed out then that could cause these things to not work? Or perhaps a version too old? Or could it be a problem with my dtml not talking to the Zcatalog in the correct manner? Ok, I typed to soon. Seems it

Re: [Zope] zcatalog -- returning context of hits on fulltext

2000-08-14 Thread R. David Murray
On Mon, 14 Aug 2000, Jimmie Houchin wrote: I may be clueless and out of my league here and I haven't read the sources so I don't know... Well enough of a disclaimer. :) I *have* read the ZCatalog/SearchIndex sources, but I don't understand this part of it yet (or really that much of it at

Re: [Zope] Re: Xron seems to not work

2000-08-14 Thread Loren Stafford
From: "Bill Anderson" [EMAIL PROTECTED] Loren Stafford wrote: From: "Bill Anderson" [EMAIL PROTECTED] Bill, After the scheduled time, is there anything in the STUPID_LOG_FILE? What? -- 2000-08-14T21:15:04 PROBLEM(100) Products.Xron.Loggerr Trigger event:

[Zope] speeding up dtml-tree

2000-08-14 Thread Clinton Roy
hello folks i'm using the dtml-tree tag and generating it's contents via external methods. Unfortunately child lookups are quite slow, as well as the icon choosing machinery; is there any way to cache the tree node objects that my external method creates? thanks for any help. -- Clinton Roy

Re: [Zope] Persistence.py does not define Persistent

2000-08-14 Thread R. David Murray
On Mon, 14 Aug 2000, Skip Montanaro wrote: I'm trying to publish my own module with ZServer (from Zope 2.2.0). I get the following traceback: from Persistence import Persistent ImportError: cannot import name Persistent When I look at lib/python/Persistence.py, all I see is a

RE: [Zope] substring search on zcatalog textindex

2000-08-14 Thread R. David Murray
On Mon, 14 Aug 2000, Casey Duncan wrote: Searching TextIndexes you can use "and", "or" or "andnot" as query criteria. I also see support in the source code for near searches using "..." in the query string. I have not been able to get this to work (although the first three work great for me),

Re: [Zope] Best way to subclass DTML Document and some other ZClassesquestions

2000-08-14 Thread R. David Murray
On Mon, 14 Aug 2000, Marcin Kasperski wrote: 1) How can I set standard DTML Document properties (title!) from my constructor? I created constructor form and constructor method, I succesfully prompt for and set all my properties but I do not know how to set properties belonging to DTML

Re: [Zope] Start-up log?

2000-08-14 Thread R. David Murray
On Mon, 14 Aug 2000, William BC Crandall wrote: Simple question: Does Zope generate a log file noting each transaction, including start-up complaints? (I get error messages that scroll out of sight when I run START.BAT.) If you define the enviroment variable STUPID_LOG_FILE to be the

RE: [Zope] Zope - long running process

2000-08-14 Thread R. David Murray
On Sat, 12 Aug 2000, bak @ kedai wrote: -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of J. Atwood There is a switch in z2.py that allows you to point to a PID file. It will automatically restart your Zope installation once it goes down (if).

Re: [Zope] problem running Zope

2000-08-14 Thread R. David Murray
On Fri, 11 Aug 2000 [EMAIL PROTECTED] wrote: trying to run 'python z2.py" I get an error message saying the executable is incompatible with the hardware (obviously!!). So I tried to recompile the python source on the new machine and everything seemed Note that you will also have to recompile

Re: [Zope-dev] Cache-bug in handling of files

2000-08-14 Thread Peter Arvidsson
So there is nothing else I can do but to make my files open in a new window then... But what I dont understand is why IE doesnt send any If-Modified-Since header? Shouldnt it always do that if the settings are not set to never update cached files? Peter Jim Sanford skrev: since all the

Re: [Zope-dev] Cache-bug in handling of files

2000-08-14 Thread Toby Dickenson
On Mon, 14 Aug 2000 10:01:03 +0200, Peter Arvidsson [EMAIL PROTECTED] wrote: So there is nothing else I can do but to make my files open in a new window then... But what I dont understand is why IE doesnt send any If-Modified-Since header? Shouldnt it always do that if the settings are not set

[Zope-dev] ZPatterns, Transactions, _register/_unregister

2000-08-14 Thread Bob Pepin
Hi, I've encountered some weird behaviour in the ZPatterns Transactional class when I was trying to write a User Source for the Login Manager Product. I'm using Zope 2.2.0 with LoginManager 0.8.7a1 and ZPatterns 0.4.1snap1 The problem is that _unregister seems to be trying to delete the

Re: [Zope-dev] Acquisition Confusion :S

2000-08-14 Thread Chris Withers
Steve Alexander wrote: That makes for a lot of security checks. There are possible optimisations, though. But this starts to get even more complicated. Does that mean it won't work, would be very slow, or both? ;-) cheers for looking though... Chris

Re: [Zope-dev] Acquisition Confusion :S

2000-08-14 Thread Chris Withers
Michel Pelletier wrote: A.B.C.D Look for D in C, if it's not there, look in B if it's not there, look in A Someone correct me if I'm wrong here, but... This is a linear search, which is the way acquisition *used* to work. Which Zope version? ;-) Consider: A / B/ C/

Re: [Zope-dev] Acquisition Confusion :S

2000-08-14 Thread Steve Alexander
Chris Withers wrote: Steve Alexander wrote: That makes for a lot of security checks. There are possible optimisations, though. But this starts to get even more complicated. Does that mean it won't work, would be very slow, or both? ;-) It will work. It will be slower. I think Evan

[Zope-dev] hmmm.. wierd permission issues with getPersistentItemIDs()...

2000-08-14 Thread Steve Spicklemire
Hi ZPatterns folks... ZPatterns-0.4.1snap1 Zope2.2.0-src I have a specialist with a defaultRack storing DataSkin subclassed ZClass instances with only persistent attribute providers. dtml-var "defaultRack.getPersistentItemIDs()" or dtml-in "defaultRack.getPersistentItemIDs()" ... /dtml-in

Re: [Zope-dev] Acquisition Confusion :S

2000-08-14 Thread Chris Withers
Evan Simpson wrote: I haven't got the whole reason, but here are some of the pieces: - never expose a "bare" object, or even one with an incomplete context Why? You can get at it through aq_base anyway, surely? Also, Jim Fulton wrote a while back: Sure. There is no guarentee that all

Re: [Zope-dev] ZCatalog brains

2000-08-14 Thread Chris Withers
Steve Alexander wrote: Although there are ways to do this now, I guess I was wondering about making it a standard part of catalogs. I'm sure code will be greatfully recieved ;-) Thinking further though, if it is as easy as adding "url" to the catalog's metadata, why bother? Hmm, how about

Re: [Zope-dev] hmmm.. wierd permission issues with getPersistentItemIDs()...

2000-08-14 Thread Steve Alexander
Steve Spicklemire wrote: Hi ZPatterns folks... ZPatterns-0.4.1snap1 Zope2.2.0-src I have a specialist with a defaultRack storing DataSkin subclassed ZClass instances with only persistent attribute providers. dtml-var "defaultRack.getPersistentItemIDs()" When I call that, I get

[Zope-dev] Re: Zope security alert and hotfix product...

2000-08-14 Thread Brian Lloyd
The issue involves the fact that the getRoles method of user objects contained in the default UserFolder implementation returns a mutable Python type. Because the mutable object is still associated with the persistent User object, users with the ability to edit DTML could

Re: [Zope-dev] Acquisition Confusion :S

2000-08-14 Thread Evan Simpson
From: Chris Withers [EMAIL PROTECTED] - never expose a "bare" object, or even one with an incomplete context Why? You can get at it through aq_base anyway, surely? Only from unrestricted code. DTML and (CVS) Python Methods only let you access aq_parent. This only applies to objects that

Re: [Zope-dev] Re: Zope security alert and hotfix product...

2000-08-14 Thread Andrew Wilcox
Now - should methods of mutable types be off-limits in the future? [...] I don't think it would be acceptable for 'append' to be off-limits in this case, so the alternative is that the security machinery would somehow have to be able to distinguish mutables created by the user from those

RE: [Zope-dev] zope221b1 - zclass zexp import into clean database error

2000-08-14 Thread Brian Lloyd
Shane has tracked this down to a mis-bugfix in the beta - the fix will be in the 2.2.1 final. Brian Lloyd[EMAIL PROTECTED] Software Engineer 540.371.6909 Digital Creations http://www.digicool.com -Original Message- From: Dr. Ross Lazarus [mailto:[EMAIL