[Zope-dev] Broadtree Catalog?

2000-09-25 Thread Chris Withers
Chris McDonough wrote: changed on the write. This will be solved by updates to the catalog which use a new "broadtree" BTree implementation. Any idea when this will land? We'ev had to give up on the Catalog for the mailing list archives and go with MySQL's full text indexing :-( cheers,

[Zope-dev] How is 'retrieveItem intended to work with TTW Specialists?

2000-09-25 Thread Steve Spicklemire
Hello ZPatterns Folk. I'm trying to implement 'delagation' with a custom Specialist. The idea, (I think this is one of the goals of ZPatterns... to allow delegation of responsibility after the Framework is built...) I have: a) MarketItemManager (Python subclass of Specialist) Some of

[Zope-dev] ZCatalog : UTF-8 Chinese

2000-09-25 Thread Sin Hang Kin
HI, I have a project which need search with Chinese. I think I can make Zcatalog to search Chinese in utf8. So I change Voodoo Kludge Splitter.py to convert the input string to unicode (assume it is utf8) and make a version of split of my own (see the attached splitter.py). I borrow (stolen)

Re: [Zope-dev] ZCatalog : UTF-8 Chinese

2000-09-25 Thread Zope mailing lists
On Mon, 25 Sep 2000, Sin Hang Kin wrote: I generate the search interface, and test it. However, the search of the index terms return nothings. I search most entries found in the vocubalury but none works, those work will return many unwanted results also. What is causing this failure? What

[Zope-dev] questions on ZPatterns plugin code

2000-09-25 Thread Andrew Wilcox
I've started browsing the ZPatterns code, and here are the questions that came up for me while reading PlugsIns.py... Is zope-dev a good place for this? Would somewhere in the ZPatterns wiki be better? The PlugInBase.manage_afterAdd() and manage_beforeDelete() methods dynamically checks if

[Zope-dev] RE: [Zope-ZEO] Advice

2000-09-25 Thread Toby Dickenson
But there are really two ways to do this, either of which is viable. 1. the right way ;-) 2. Code all of your logic using TTW stuff and Zope components. Use the Publisher.Test.test method to call methods of your Zope components in unit tests. Do you really

Re: [Zope-dev] RE: [Zope-ZEO] Advice

2000-09-25 Thread Chris McDonough
(I took the ZEO mail list out of the loop)... [Agreed. Ill CC zope-dev and I suggest we continue there.] Sorry, I phrased my question ambiguously. I meant, do you think a TTW development approach is viable for applications with a non-trivial amount of logic? Perhaps not. Not yet.

[Zope-dev] ZPatterns bug: wrong version.txt

2000-09-25 Thread Steve Alexander
ZPatterns ZPatterns-0-4-2a3 version.txt still reads as ZPatterns-0-4-2a2 -- Steve Alexander Software Engineer Cat-Box limited http://www.cat-box.net ___ Zope-Dev maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope-dev ** No

[Zope-dev] Testing Zope applications (was Re: [Zope-ZEO] Advice)

2000-09-25 Thread Jim Fulton
Note that this conversation hasn't had anything to do with ZEO for some time, so I'm moving it over to zope-dev. Toby Dickenson wrote: (snip) I think it is really much easier to use ZPublisher/Test (which is also available as Zope.debug: import Zope Zope.debug(url) This provides

[Zope-dev] trapping undo

2000-09-25 Thread Robin Becker
Is there any way in python to trap the undo event on a document? -- Robin Becker ___ Zope-Dev maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML encoding! ** (Related lists -

[Zope-dev] Suggestion for better Zope error response

2000-09-25 Thread Skip Montanaro
Suppose you have a simple form like: html form action="http://www.musi-cal.com/search" method="post" City: input name="performers" type="text" Radius: input name="radius:int" type="text" input type="submit" name="submit" value="Search" /form /html and the user

Re: [Zope-dev] I feel your Wiki Pain ;-)

2000-09-25 Thread Rik Hoekstra
Do you feel that weblogs are bad models for debates? I think they're pretty good least-common-denominators. I would probably prefer the kind of annotation-based thing i described in my last message (and began to sketch in the WikiNG proposal) for collaborative generation of documents, but

Re: [Zope-dev] How is 'retrieveItem intended to work with TTW Specialists?

2000-09-25 Thread Phillip J. Eby
At 08:00 AM 9/25/00 -0500, Steve Spicklemire wrote: So my retrieve item gets called. *unfortunately* it gets called without any namespace parameter... so my retrieveItem DTML method has no way to acquire a namespace so that it can delagate to something else! So... here is what I did... I

[Zope] Single html checkbox as list?

2000-09-25 Thread clamor
Hi, since I didn't find anything on that topic, the solution might be obvious but I ran into the following problem: I have a html form with several checkboxes. If one checkbox is selected, the variable containing the result is represented by a string, if two or more checkboxes are selected the

Re: [Zope] Single html checkbox as list?

2000-09-25 Thread Andrew Kenneth Milton
+---[ [EMAIL PROTECTED] ]-- | Hi, ... | Is there a way to force the variable to be a list, even if only one | checkbox is selected? | name="foo:list" will force it to be a list. -- Totally Holistic Enterprises Internet| P:+61 7 3870 0066 | Andrew Milton The

Re: [Zope] Single html checkbox as list?

2000-09-25 Thread Jerome Alet
just do something like: input type="checkbox" name="yourname:list" good luck Jerome ALET - [EMAIL PROTECTED] - http://cortex.unice.fr/~jerome Faculte de Medecine de Nice - http://noe.unice.fr - Tel: 04 93 37 76 30 28 Avenue de Valombrose - 06107 NICE Cedex 2 - FRANCE On Mon, 25 Sep 2000

Re: [Zope] Use of the :records variable type and ZSQL methods

2000-09-25 Thread Rik Hoekstra
Error Type: Bad Request Error Value: ['Field1', 'Field2'] Here is the code I used and sqlTest is the ZSQL Method that just inserts the two fields into a test DB: dtml-in testlist dtml-call sqlTest /dtml-in What am I doing wrong? you'll have to feed a named argument to your Zsql

[Zope] Data.fs problem!!!

2000-09-25 Thread Tom Deprez
Hi, I've some problems with my Zope database! I don't know what I've done wrong, but the only thing I did was installing the beta of MP. After the installation everything was still normal. Then I wanted to shutdown Zope and restard it in debug mode. Restarting in debug gave an error, but zope

Re: [Zope] What options exist for dealing with tracebacks?

2000-09-25 Thread John Chandler
I would love it if I could set some debug environment variable, run with -D="[EMAIL PROTECTED]" or subclass some Error class and have tracebacks mailed to me. I wouldn't even care about the flood of email. At least I'd have all the inputs. Although Didier Georgieff has given a thorough

[Zope] Can't export only an ObjectManager

2000-09-25 Thread Chris Withers
Andy McKay wrote: How do I export a folder using the Import/Export tab with exporting all the subobjects? You do mean 'wihout', don't you? (Stupidest suggestion so far: delete all subjects, export, undelete) That's the only way I can think of... A patch that added a checkbox and a little

Re: [Zope] HTML Widgets, In-place editing in Zope

2000-09-25 Thread Chris Withers
Phill Hugo wrote: www.opencookie.org/widgets/index_html www.opencookie.org/widgets/index_html?editmode=1 Cool :-) widgets is an external method which will be on Zope.org next week if all goes well. Looking forward to it... cheers, Chris ___

[Zope] Error shouldn't be appended :-S

2000-09-25 Thread Chris Withers
Skip Montanaro wrote: Having only recently upgraded from Zope 2.0 to 2.2.1 I see that the default behavior for traceback reporting is still to embed them in an HTML comment (or display them when debugging). Yeah, and in production mode it sticks it after the end of your /html ...which

[Zope] Not Patch to let Authorized Exceptions use standard_error_message ;-)

2000-09-25 Thread Chris Withers
Andy McKay wrote: Well theres the thing, its not really a patch. I doesnt allow Authorized Exceptions to use standard_error_message, thats a whole different kettle of fish. /lib/python/ZPublishers/HTTPResponse.py line 482 to 523 contains HTML text for the error message. So you can

[Zope] How to apply arbitrary methods to objects?

2000-09-25 Thread seb
Hi, I'm trying to create an inline interface to manage_edit. If a user is authenticated, instead of seeing the default views of each snippet of content, they get a textarea with a submit button for each snippet. I'm still new to all this, so I'm not sure how I should be going about it: a

[Zope] Help: Zope2 all threads frozen...

2000-09-25 Thread Gilles Lavaux
Hello, I have zope2.2 with whats look like all thread frozen(on linux, using zserver). Netstat reports a lot of connections ESTABLISHED or CLOSE_WAIT to the zope port. Of course zope is not responding. Who to solve this (of course I can kill+restart), is it possible to set a connection timeout

[Zope] Fulltext Searching? Newbies Problems with ZCatalog...

2000-09-25 Thread Dicken, Peer
Hi, well, I have added a ZCatalog and ZSearch Interface, searching for id,title etc. works perfect, but - how can I do fulltext-searches with ZCatalog? MfG / best regards, Peer Dicken IMD GmbH Softwareentwicklung Unternehmensberatung Edisonstr. 1 59199 Bönen Tel.: +49 23 83 -

[Zope] Guess Who . . .

2000-09-25 Thread Spicklemire, Jerry
. . . has a opening posted on their Web Site for a C/C++ programmer with Zope / Python experience? http://www-3.ibm.com/employment/us/empl/jofK23137.html Email Software Engineer (CA-K23137) Category: Software Location: CA Division: Other Divisions Work as a part of a small team

Re: [Zope] What options exist for dealing with tracebacks?

2000-09-25 Thread Skip Montanaro
John Although Didier Georgieff has given a thorough reply, I couldn't John resist a quick plug... ;-) John http://www.zope.org/Members/JohnC/StandardErrorMessage John which has info on using and customising error pages, including John e-mailing of errors. Thanks,

[Zope] Why no full Zope?

2000-09-25 Thread Chris Withers
Skip Montanaro wrote: Thanks, interesting, but in my case, probably not immediately useful. It slipped my mind when posting that I need to qualify all my zope posts with, "I'm not using full-blown Zope. I only use ZServer + DocumentTemplates." Still, knowing that there is some mechanism for

[Zope] ImportExportFavorites

2000-09-25 Thread rishi
Hi guys i've got a small prob. I have the ImportExportFavorites util from microsoft. If that util post the bookmarks of an user then it sends with http_user_agent "FAVORITES" and file name "img.fav" Is there a way that zope get this file so I can save it in the ZODB. The source for

[Zope] Help - Weird stuff.

2000-09-25 Thread Phil Harris
Hi all, Sorry for the subject but I don't really know how to describe this. I have a folder 'hp' which has loads of stuff in it, if I try to copy and paste into it though I get this error: 'The object index_html does not support this operation ' with this traceback: Traceback (innermost

[Zope] ZWiki RecentChanges don't work in Zope 2.2.x

2000-09-25 Thread Chris Withers
...you get an authorization error :-( This is because this Wiki isn't (and shouldn't) be publicly viewable or editable. So, Anonymous doesn't have 'View' permission on the folder. I've given Anonymous 'Access Contents Information', the usual nasty hack I had to do before, but now that just

[Zope] personal portal and Palm syncronization

2000-09-25 Thread Brian . Burton
I was building a personal site to weblog my engineering and personal stuff (based on Squishdot and Event Folder), and the thought occurred to me that it would be really neat if I could syncronize my Palm to this personal site. Using the Event Folder, I have a calendar, Squishdot provides the

[Zope] Re: Why no full Zope?

2000-09-25 Thread Skip Montanaro
Chris Why not just use all of Zope and be done with it? That's *much* easier said than done as far as I can tell. I am maintaining long-lived web site ( five years old), which is a mixture of flat html files, CGI scripts, ZServer-published methods and XML-RPC. On the middle end, we use an

[Zope] WorldPilot has the bits...

2000-09-25 Thread Chris Withers
[EMAIL PROTECTED] wrote: Any ideas how the sync would be done? WorldPilot has the ability to do this, allegedly. Might be a good starting point... cheers, Chris ___ Zope maillist - [EMAIL PROTECTED]

re: [Zope] FYI: Python product tutorial updated

2000-09-25 Thread Darcy Clark
This tutorial looks great...it explained a lot of things to me that I wasn't able to put together before. But...on looking at it, a nagging thought keep recurring...this is a really quite long and complicated process for a Poll product. As much as I like Zope and thing it is a great platform on

Re: [Zope] ZWiki RecentChanges don't work in Zope 2.2.x

2000-09-25 Thread Martijn Pieters
On Mon, Sep 25, 2000 at 04:14:03PM +0100, Chris Withers wrote: ...you get an authorization error :-( This is because this Wiki isn't (and shouldn't) be publicly viewable or editable. So, Anonymous doesn't have 'View' permission on the folder. I've given Anonymous 'Access Contents

Re: [Zope] personal portal and Palm syncronization

2000-09-25 Thread seb bacon
Yes, this has been on my wish list for some time, but there's no way I'm going to get round to it right now... Take a look at pilot-link (http://sourceforge.net/projects/pilot-link) for interfaces to the mail, todo, etc software on your palm. This will only really deal with workstation - palm

Re: [Zope] Cookie pointer.

2000-09-25 Thread TMGB
Since cookies have been brought up, I tried the following code (Using Steve's example): dtml-if expr="RESPONSE.setCookie('name', 'value', path='/', expires=( ZopeTime() + (1.0/102.0) )" "You have cookies enabled" dtml-else "Your browser does not support cookies" /dtml-if The cookie

[Zope] Newbie Tree Tag Help

2000-09-25 Thread chip johansen
I am trying to implement a dtml-tree setup that will read from a set of folders that I have placed a the top level of my portal folder structure. I want to be able to call this method from other branches in the portal and have it always display the tree using the set of folders I have set up

[Zope] Re: Can't export only an ObjectManager

2000-09-25 Thread Andy McKay
Yes sorry I mean without (Friday afternoon y'know) A hack is my best bet. Sigh. - Original Message - From: "Chris Withers" [EMAIL PROTECTED] To: "Andy McKay" [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Sent: Monday, September 25, 2000 2:42 AM Subject: Can't export only an ObjectManager

Re: [Zope] ZWiki RecentChanges don't work in Zope 2.2.x

2000-09-25 Thread Simon Michael
what Martijn said (thanks Martijn). Another quick workaround mentioned on ZWikiProblems: you could remove the calls to getSize and similar attributes from your recentchanges page. Then Access Contents Information should be sufficient. -Simon ___

[Zope] Redirect FTP access on a role basis

2000-09-25 Thread Danny William Adair
Is it possible to redirect FTP access to subfolders depending on user's role? If yes, how can I do that? I would like to have ftp://www.mysite.com connect to the graphics folder "/gfx", if an account with a "Designer role" connects to the server in order to upload/exchange graphics. His account

[Zope] still problems w/ SiteAccess 2.0.0b3

2000-09-25 Thread Mario Olimpio de Menezes
Hi, After struggling with Zope 2.2.1 + SiteAccess 2.0.0b3 upgraded from Zope 2.1.6, I gave up: I purged the previous installation and started from scratch. Now I have a strange scenario: SiteAccess is installed and I can see SiteRoot and Set Access Rule in the popup menu but

[Zope] RE: Stability problems using ZOracleDA

2000-09-25 Thread Andy Pahne
hi, we were suffering from the same problem, but now it works. when you use ZOracleDA, be sure not to use DCOracle, which ships with it. There's a newer version on the Zope site. Use the new one instead and everything will be fine. Our systems admin told me that he also modified either

Re: [Zope] Authentication problem when accessing ZSQL method

2000-09-25 Thread Dieter Maurer
steve smith writes: I am experiencing great frustration when trying to implement a drop-down list based upon one of the how-tos I found on the Zope site. Whenever I try to 'view' the DTML method which references the ZSQL method, I am prompted to authenticate by my browser. I can't see

Re: [Zope] Set access rule

2000-09-25 Thread Martijn Pieters
On Mon, Sep 25, 2000 at 01:52:26PM -0300, Mario Olimpio de Menezes wrote: I did an upgrade last week, from zope 2.1.6 to 2.2.1, using Debian packages. Almost everything was correct, but site access no longer works. Zope 2.2 requires SiteAccess 2 to work. SiteAccess 1 will not

Re: [Zope] Nasty subtle security bug - Me Too

2000-09-25 Thread Brad Clements
On 25 Sep 2000, at 21:01, Martijn Faassen wrote: In Zope 2.2.2, the user cannot execute the external method E either. Instead, the calling DTML code raises a NameError, basically saying our external method does not exist. I'll also dump this description into the collector, but posted to the

[Zope] Nasty subtle security bug

2000-09-25 Thread Martijn Faassen
Hi there, I'm about to describe a very nasty bug that appears to exist in different guises in at least Zope 2.1.6 and Zope 2.2.2. The bug is nasty because it occurs under rather restricted circumstances, so nobody else noticed it yet, but it keeps biting _me_. The circumstances: * we have

Re: [Zope] Nasty subtle security bug - Me Too

2000-09-25 Thread Martijn Faassen
Brad Clements wrote: On 25 Sep 2000, at 21:01, Martijn Faassen wrote: In Zope 2.2.2, the user cannot execute the external method E either. Instead, the calling DTML code raises a NameError, basically saying our external method does not exist. I'll also dump this description into the

Re: [Zope] Authentication problem when accessing ZSQL method

2000-09-25 Thread César A. K. Grossmann
Dieter Maurer wrote: authenticate by my browser. I can't see anything in the security attributes for the SQL method which requires authentication, and I can 'test' the ZSQL method succesfully without requiring authentication. You must grant the "use database methods" to "Annonymous".

[Zope] Zope.org FYI

2000-09-25 Thread Shane Hathaway
Zope.org has been having some problems with memory leaks and "ghosts". Please excuse the occasional interruption. Also, /Members is now a new kind of BTreeFolder. An update to the BTreeFolder product will soon be released. With this change, some DTML installed on zope.org may have problems if

Re: [Zope] Nasty subtle security bug - Me Too

2000-09-25 Thread Shane Hathaway
Martijn Faassen wrote: General problem description: For a ZClass instance/external methods that is only viewable by users with a particular role, the view operation fails if that role is only added to a user in a place deeper in the folder tree than the folder where the External

[Zope] Re: Download Problem

2000-09-25 Thread Shane Hathaway
Suzette Ramsden wrote: I have had this same problem downloading squishdot zip files and I don't know if it is something I am doing. When I attempt to unzip the file, I keep getting: "error reading header after processing 0 entries" What archiver are you using? I'm guessing you're talking

Re: [Zope] multiple ZOPE ...

2000-09-25 Thread Terry Kerr
We host zope using mutliple installations of zope. It is better this way because then the clients can control which products they have installed, they can tweak their products without bothering anyone else, they can stop and restart zope whenever they please...the basically have full control.

[Zope] displaying based on date

2000-09-25 Thread Timothy Wilson
Hi everyone, I've created a ZClass and I'm using an HTML table to display certain properties of the class. One of the properties is a date, and I want to display in the table only those instances of the ZClass for which this certain date property is in the future. (It's a job posting ZClass, and

Re: [Zope] Cookie pointer.

2000-09-25 Thread Cesar A. K. Grossmann
TMGB wrote: Since cookies have been brought up, I tried the following code (Using Steve's example): I cannot use this code in a GUF/docLogin. I get the error: "Unauthorized You are not authorized to access ZopeTime. " What can I do to this code works? []s -- César A. K. Grossmann [EMAIL

RE: [Zope] Cookie pointer.

2000-09-25 Thread Steve Drees
-Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Cesar A. K. Grossmann Sent: Monday, September 25, 2000 5:06 PM To: TMGB Cc: Zope@Zope. Org Subject: Re: [Zope] Cookie pointer. TMGB wrote: Since cookies have been brought up, I tried the

Re: [Zope] displaying based on date

2000-09-25 Thread Marco Mariani
On Mon, Sep 25, 2000 at 05:00:47PM -0500, Timothy Wilson wrote: I've created a ZClass and I'm using an HTML table to display certain properties of the class. One of the properties is a date, and I want to display in the table only those instances of the ZClass for which this certain date

Re: [Zope] Cookie pointer.

2000-09-25 Thread Cesar A. K. Grossmann
Steve Drees wrote: What can I do to this code works? Can you cut and paste the offending code? Exactly the same of the message of Thomas: dtml-if expr="RESPONSE.setCookie('name', 'value', path='/', expires=(ZopeTime() + (1.0/102.0))" "You have cookies enabled" dtml-else "Your

[Zope] How to automatically document a Zope site?

2000-09-25 Thread Brad Clements
I'm looking for a product, how-to or suggestions on how to document a zope site. Basically I just want to walk the tree of objects and output a nicely formatted series of pages that list the object, type, title, modification time, etc.. Anyone got something ready made? Brad Clements,

Re: [Zope] How to automatically document a Zope site?

2000-09-25 Thread Chris McDonough
No, although if you take a look at the way SQL Methods generate the dropdown "connection list", you'll get a good understanding of how to walk a tree of objectmanagers... Brad Clements wrote: I'm looking for a product, how-to or suggestions on how to document a zope site. Basically I just

[Zope] RedHat site mentions Zope

2000-09-25 Thread Stephan Richter
Hello everyone, I just saw on www.redhat.com the following: Features for the developer: ... "Popular web application development tools like PHP and Zope" Link: http://www.redhat.com/products/software/linux/rhl7_standard.html Wow, pretty cool. It is only a five bullet list! I guess Zope is

[Zope] cannot run without -D on win2000 ?

2000-09-25 Thread Gijs Reulen
Hi I tried to run Zope without the -D option but it will hang after the initial: C:\Program Files\Zope_220\bin\python.exe" "C:\Program Files\Zope_220\z2.py I tried both the 2.1.6 and 2.2.0 versions. Does anybody else have this same problem ? With the -D option Zope runs ok, but I would like to

Re: [Zope] How to automatically document a Zope site?

2000-09-25 Thread Brad Clements
Here's what I just whipped up in 5 minutes.. should think before posting I guess. Create Method /Document dtml-var standard_html_header dtml-var "DocumentRecurse(_.None,_,parent=Strader,indent=0)" dtml-var standard_html_footer Strader is the top Folder I want to document Then Create Method

Re: [Zope] cannot run without -D on win2000 ?

2000-09-25 Thread Phil Harris
Gijs, I'm running Zope 2.2.2 on Windows 2000 Advanced Server at home wih -D with no problems. Here's the registry entry for it: "D:\zope221\bin\python.exe" "D:\zope221\z2.py" -S hth Phil [EMAIL PROTECTED] - Original Message - From: "Gijs Reulen" [EMAIL PROTECTED] To: "Mailinglist

[Zope] Favorites

2000-09-25 Thread rishi
Hi guys I've got a reply that my explaination was not good, let me try again; I have a website running on zope with apache. The users of my site can store memo's and bookmarks there. The following tihng is going on; they are uploading the bookmark file manualy, by exporting from IE or NS.