[Zope] How to call ancestral method in ZClass method?

2001-01-04 Thread Dirksen
I have a ZClass 'stuff' which is a subclass of DataSkin. 'stuff' overrides 'manage_delete' method, so as to do some extra clean-up jobs. After that, it will call its ancestor's 'manage_delete' method to wipe itself off. In java, you can do this by calling 'super.manage_delete()', but how to do it

Re: [Zope] case insensitive search?

2001-01-04 Thread Robin Becker
In article <00c601c0766e$c8280540$ae03a8c0@fork>, Andy McKay <[EMAIL PROTECTED]> writes >No im being stupid and did a replace of sort for search in my caffeine >deprived brain. >-- > Andy McKay, Developer. > ActiveState. > > ... nevEr miNd we're all a BIt dUMb nOW and THEn :) -- Robin Becker _

Re: [Zope] Core Session Tracking kudos & namespaces

2001-01-04 Thread Bob Sidebotham
--- Chris McDonough <[EMAIL PROTECTED]> wrote: > I sympathize with the need to convert all your scripts over to use > sessioning from hidden form-field encoding and the like... I'd really > appreciate some input as to what kinds of problems you're trying to > solve with sessioning. I don't have a

Re: [Zope] Core Session Tracking kudos & namespaces

2001-01-04 Thread Bob Sidebotham
--- Somebody wrote: > > Of course, the best solution would be for the 'magic' lookup to be > > optional... Alright, I've not a zope master, but isn't this already provided generically with: All these arguments leave me a little confused: As a newbie, I read the zope book, and it tells

Re: [Zope] Industry customer lists

2001-01-04 Thread Lalo Martins
In the future, if you choose to respond to spam, don't CC the list, please. []s, |alo + -- Hack and Roll ( http://www.hackandroll.org ) The biggest site for whatever-it-is-that-we-a

RE: [Zope] Industry customer lists

2001-01-04 Thread George Milliken
farm9 is a California corporation whose mission is to provide managed security services, software and training to protect critical end-user computing infrastructure. farm9 is a pioneer in the field of remote Internet security vulnerability detection, analysis and response.  farm9 utilize

Re: [Zope] Zope eating CPU/RAM - how do I find the culprit?

2001-01-04 Thread Oliver Bleutgen
> Oliver Bleutgen writes: > > Shouldn't tags for creating sql-statements in ZSQL > > (like dtml-sqltest) quote the variables by default in order > > to prevent unexpected conversions by the database? > Did you check, that standard SQL supports quoted > names? First, I meant double quotes (") n

Re: [Zope] Adding many users

2001-01-04 Thread Dieter Maurer
Ragnar Beer writes: > I need to add about 150 users to an acl_users folder and I wouldn't > like to do it manually since the data already exists in a python > list. What would be an elegant way to add them all with a python > script? An external Python method or an external automation based

Re: [Zope] Core Session Tracking kudos & namespaces

2001-01-04 Thread Dieter Maurer
Chris McDonough writes: > So the question becomes: do we want DTML namespace lookup magic or no DTML > namespace lookup magic for names that we attempt to look up in a session > data object? Maybe, we do not want the magic automatically but have a simple way to call for it, when we like.

Re: [Zope] Question: How to generate a core file in Solaris 2.6

2001-01-04 Thread Dieter Maurer
Michael Best writes: > ... core generation under Solaris ... I have seen Zope cores under Solaris 2.6. This means, * either the problem you see does not result in a situation that usually causes a core dump or * your configuration prevents cores from being generated. I expect the latte

Re: [Zope] Deleting Connection that hangs Zope

2001-01-04 Thread Dieter Maurer
Spicklemire, Jerry writes: > Has anyone found a good way to delete a Database Connection that hangs Zope > at startup? The connection seems to be waiting "forever", and so there is no > access to the Zope interface, so of course I can't delete, or disable the > offending object. You may try to

[Zope] SQL query from "Multiple Selection Field"(was: [Zope] [Newbie] ZSQL problem) (was: [Zope] [Newbie] ZSQL problem)

2001-01-04 Thread Dieter Maurer
Hi Michal, Michal Seta writes: > ... query >"select ... where col = " > works for single value but not for multiple selection ... This is difficult indeed, as you have to fight various strange behaviours. First, it is easy to explain, why your query does not work: When you select more

Re: [Zope] EVAL DTML?

2001-01-04 Thread Dieter Maurer
Brian Withun writes: > Is it possible to, say, retrieve DTML code from an external database (such > as Sybase) and then have that DTML code render itself? As I recall there is > a security issue with Zope allowing Python to EVAL dtml.. You can't do it in DTML, but you can in an External Python

Re: [Zope] Zope eating CPU/RAM - how do I find the culprit?

2001-01-04 Thread Dieter Maurer
Oliver Bleutgen writes: > Shouldn't tags for creating sql-statements in ZSQL > (like dtml-sqltest) quote the variables by default in order > to prevent unexpected conversions by the database? Did you check, that standard SQL supports quoted names? Even if it does, the proposed change will prob

[Zope] BUG: subtransaction not handled correctly in "manage_addFile"(was: [Zope] Re: manage_addFile problem) (was: [Zope] Re: manage_addFile problem)

2001-01-04 Thread Dieter Maurer
Ian Sealy writes: > I sent the following message to the list just before Christmas, but > didn't get any replies. You probably did not get an answer because it is extremely difficult to see the problem cause. Apparently, the upload was successful and resulted in some subtransaction (because you

[Zope] Python Scripts update

2001-01-04 Thread Evan Simpson
Python Scripts have gone through a fair number of changes and bugfixes recently. They should now work properly as methods of ZClasses. When you download the source of a Python Script, the title, parameter list, and bindings are added to the source in the form of specially formatted comments. If

RE: [Zope] Deleting Connection that hangs Zope

2001-01-04 Thread Spicklemire, Jerry
Steve suggested: > You could remove the adaptor Product from Zope the Zope Products > folder and restart, the object will be broken, but deletable, then > restore the Product and restart Zope. Good Idea! That's about as simple as this sort of thing can get, I suspect. >> Has anyone found a goo

Re: [Zope] Login dialog - another newbie question

2001-01-04 Thread Chris McDonough
Mohan, The standard Zope user folder handles only basic authentication which generally needs to be done via a popup dialog on your browser. At some point, a user needs to type his authentication credentials into the dialog. The Zope security machinery handles this in the background. To force a

Re: [Zope] Deleting Connection that hangs Zope

2001-01-04 Thread Steve Spicklemire
Hi Jerry, You could remove the adaptor Product from Zope the Zope Products folder and restart, the object will be broken, but deletable, then restore the Product and restart Zope. -steve > "Spicklemire," == Spicklemire, Jerry <[EMAIL PROTECTED]> writes: Spicklemire,> Hi Zope Fans,

RE: [Zope] Login dialog - another newbie question

2001-01-04 Thread Mohan Baro
Hi there, I have been trying to do the same. i.e. create a logon form, what I have been told so far is that: 1) I have to use the method user.authenticate(,) 2) however I have found no documentation for user.authenticate() anywhere 3) others have suggested that I read the source: ZOPE_DIR

[Zope] LinuxWorld Expo Exhibits pass from Digital Creations and Zope.org

2001-01-04 Thread Gary Graham
Come join Digital Creations, publishers of Zope, as our guest at the Linux World Conference & Expo exhibits! The show is January 31-February 2 at the Jacob K. Javits Convention Center in New York, NY. We will be debuting our new booth and sharing some exciting information about Zope and Digit

Re: [Zope] Zope eating CPU/RAM - how do I find the culprit?

2001-01-04 Thread Oliver Bleutgen
> Some databases convert them to uppercase! > Oracle is a prominent example! > It took me once some ours to locate a bug resulting > from this "feature". This reminds me of another post I did some time before, but where nobody replied. Shouldn't tags for creating sql-sta

Re: [Zope] ZDP:Search is bringing up DISNEY.GO.COM !!!Hacked??

2001-01-04 Thread Maik Röder
Hi ! Sven Hohage wrote: > > Hello, > is the portal being hacked?? > When you search on zdp.zope.org you are led to . > > > http://disney.go.com/park/homepage/today/flash/index.html?clk=1004398 > > ...hmmh..better than PLAYBOY.COM Mmmh well, now everyone stays on the ZDP site

[Zope] Re: Zope.org feedback

2001-01-04 Thread Dan L. Pierson
Zachery Bir <[EMAIL PROTECTED]> writes: > URL: http://www.zope.org/Members/dlpierson/sqlLogin > Read through and completed the HOWTO for LoginManager with > SQL and SkinScript. I have one question: Is there a missing > step between creating the ZClass and somehow accessing it > in the test fol

Re: [Zope] Python script / python method problem

2001-01-04 Thread Evan Simpson
From: Lothar T.E.L. <[EMAIL PROTECTED]> > I am having a problem with one of the examples in Chapter 12 of the Zope > book. I am creating a new product called "Zoo Exhibit" comprising of a DTML > method, a Python script and, of course, a factory. The Zope book examples are based on Zope 2.3, which

Re: [Zope] case insensitive search?

2001-01-04 Thread Andy McKay
No im being stupid and did a replace of sort for search in my caffeine deprived brain. -- Andy McKay, Developer. ActiveState. - Original Message - From: "Chris Withers" <[EMAIL PROTECTED]> To: "Andy McKay" <[EMAIL PROTECTED]> Cc: "Aleksander Salwa" <[EMAIL PROTECTED]>; <[EMAIL PROTEC

Re: [Zope] Problem with SiteAccess

2001-01-04 Thread The Doctor What
* Leonardo Graf ([EMAIL PROTECTED]) [010104 06:42]: > By the way, I probably want to serve multiple hosts from one later on, so > it would be nice to have an example of a SiteAccess rule. Here is a messy one. There is another with the SiteAccess2 documentation someplace... http://docwhat.gerf.

[Zope] Zope redirecting manage_workspace?!

2001-01-04 Thread Edmund Goppelt
I've created a simple news item ZClass. When I attempt to manage a News Item instance, I get the default view (or whatever happens to be the first method listed in the ZClass 'Views' tab) instead of the usual management interface with properties, undo, view etc. Sniffing the http conversation

Re: [Zope] WIN2k batch problem

2001-01-04 Thread Robin Becker
In article <002b01c0765d$cc54cec0$[EMAIL PROTECTED]>, Phil Harris <[EMAIL PROTECTED]> writes >The only thing I could think of is that the output is getting piped to more >or similar!? > >Phil > ... seems like it's only with .bat, I turned it into a .cmd and it's ok now. -- Robin Becker _

[Zope] Python script / python method problem

2001-01-04 Thread Lothar T.E.L.
Hello! I am having a problem with one of the examples in Chapter 12 of the Zope book. I am creating a new product called "Zoo Exhibit" comprising of a DTML method, a Python script and, of course, a factory. http://www.zope.org/Members/michel/ZB/CustomZopeObjects.html < just under Fig 12.2 det

Re: [Zope] Why pythonMethod forbids me cutting list?

2001-01-04 Thread Evan Simpson
From: Dirksen <[EMAIL PROTECTED]> > These statements in python method: > > stock=[3,4] > del stock[1] > > will cause this error: > > Error Type: Python Method Error > Error Value: Forbidden operation DELETE_SUBSCR at line 2 > > How is that? Python Methods aren't smart enough to know that you crea

[Zope] Is it possible to install the Bug Collector Product in my Zope ???

2001-01-04 Thread Frederic Quin
Hi all, I can't find the bug collector product to install it in my zope. Maybe it's not possible... If it is, please tell me where to download it. Frederic ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No

[Zope] Deleting Connection that hangs Zope

2001-01-04 Thread Spicklemire, Jerry
Hi Zope Fans, Has anyone found a good way to delete a Database Connection that hangs Zope at startup? The connection seems to be waiting "forever", and so there is no access to the Zope interface, so of course I can't delete, or disable the offending object. If there were just a way to set it to

[Zope] Re: manage_addFile problem

2001-01-04 Thread Ian Sealy
Dear all, I sent the following message to the list just before Christmas, but didn't get any replies. I've tried changing the admin_addfiles method to: but I still get the same error. Has anyone got any advice? I can't see how this is different from adding a file using the man

Re: [Zope] Using a multiple_selection property in a product

2001-01-04 Thread Ronald L. Roeber
Randall, Thank you very much. Exactly right.!Thanks for taking the time to help. "Randall F. Kern" wrote: > Try this: > > _properties = ( > {'id':'classdays', 'type':'multiple selection','mode':'w', > 'select_variable': 'days'}, > ...) > > days = ( > 'Monday', > 'Tue

Re: [Zope] WIN2k batch problem

2001-01-04 Thread Phil Harris
The only thing I could think of is that the output is getting piped to more or similar!? Phil - Original Message - From: "Robin Becker" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Thursday, January 04, 2001 12:54 PM Subject: [Zope] WIN2k batch problem > I'm trying to run Zope 2.2

[Zope] ZDP:Search is bringing up DISNEY.GO.COM !!!Hacked??

2001-01-04 Thread Sven Hohage
Hello, is the portal being hacked?? When you search on zdp.zope.org you are led to . http://disney.go.com/park/homepage/today/flash/index.html?clk=1004398 ...hmmh..better than PLAYBOY.COM ___ Zope maillist - [EMAIL PROTECTED]

[Zope] Adding many users

2001-01-04 Thread Ragnar Beer
Howdy Zopistas and happy new year! I need to add about 150 users to an acl_users folder and I wouldn't like to do it manually since the data already exists in a python list. What would be an elegant way to add them all with a python script? Ragnar

Re: [Zope] Zope Projects in NL/Europe?

2001-01-04 Thread Cees de Groot
Jonathan <[EMAIL PROTECTED]> said: >Just wondering: are there any Zope projects are available in the >Netherlands/Benelux/Europe? We did one last year but they seem hard to >find. Are there commercial projects available or is Zope mostly used on >internal projects? Is there any demand for Zope exp

Re: [Zope] Question on __roles__

2001-01-04 Thread Cees de Groot
Chris Withers <[EMAIL PROTECTED]> said: >> As this is such a core piece of Zope, it seems quite unlikely to me >> that I found a bug here (although an older version of ZPublisher does >> check object instead of subobject). The only thing I can think of is >> that Acquisition should work for the ge

Re: [Zope] ZBabel translation to Postgres

2001-01-04 Thread Olaf Zanger
hi Phil, > The left join is a notation that says to get all records from the left hand > side of the join and only those records where the criteria matches from the > right hand side. > > It is btw a part of most RDBMS engines I've ever used, so it's not that > unusual a syntax. > > You can als

Re: [ZOPE] ZBabel translation to Postgres

2001-01-04 Thread Olaf Zanger
hi andrew, thanks for the description. i figured it as far as that: you need in postgresql (this is tested only from zope with zsql method, since some other things don't work in the ZBabel Produkt with postgresql): sqlGetPhrasesToUpdate: select distinct Phrases.* WHERE md5Hash not in ( sel

RE: [Zope] Advice on searching/indexing Word documents?

2001-01-04 Thread Tres Seaver
[EMAIL PROTECTED] wrote: > > I really like the idea of extending OFS:File to support different file > types, but what I would like to see is something that is > format/filter/library agnostic. Please have a look at the "Hookable PUT" proposal (which has already been implemented for 2.3): http

[Zope] WIN2k batch problem

2001-01-04 Thread Robin Becker
I'm trying to run Zope 2.2.2 under win2000 in a batch file. I'm just watching error messages and prints. I find that when zope has written a page to the cmd.exe window it locks further prints from python until I hit a key in the window and then it releases another page full. Is there a Win NT/2K g

Re: [Zope] Problem with SiteAccess

2001-01-04 Thread Leonardo Graf
At 13:13 03.01.01 -0600, you wrote: >* Leonardo Graf ([EMAIL PROTECTED]) [010103 09:16]: > > Hello, > > > > I'm trying to use the SiteAccess Product as discribed in the HowTo: Using > > Apache with ZServer (NOT Zope.cgi). Unforunately things don't work as > > described. > > > > My ZServer is liste

Re: [Zope] Problem with SiteAccess

2001-01-04 Thread Leonardo Graf
>It sounds like your SiteRoot object doesn't have "Base" (aka the >Base URL) set correctly. > >It should be set to: >http://www.somesite.com > >The SiteAccess Rule is only needed if you have *multiple* hosts >served out from one host. You sound like you only have one. > >Ciao! > >-- >There is no

[Zope] Why pythonMethod forbids me cutting list?

2001-01-04 Thread Dirksen
These statements in python method: stock=[3,4] del stock[1] will cause this error: Error Type: Python Method Error Error Value: Forbidden operation DELETE_SUBSCR at line 2 How is that? Dirksen __ Do You Yahoo!? Yahoo! Photos - Share your holi

RE: [Zope] Re: ZBabel translation to Postgres

2001-01-04 Thread Albert Langer
The following references from search of huge numbers for "left join" at www.postgresql.org may be helpful: http://www.postgresql.org/mhonarc/pgsql-sql/2000-03/msg00023.html http://www.postgresql.org/mhonarc/pgsql-hackers/2000-12/msg00634.html http://www.postgresql.org/mhonarc/pgsql-hackers/2000

[Zope] sqlgroup problems

2001-01-04 Thread Dario Lopez-Kästen
Hello! I need help with the following SQL-method, which I don't know if it is a bug, or if it is my mistake. I am building a search interface to a database (Zope 2.2.4 w all HF's, Oracle 8.1.7, Solaris), and I want to use the following sqlmethod, to let the user enter any combination of search p

Re: [Zope] Re: ZBabel translation to Postgres

2001-01-04 Thread Oleg Broytmann
Hi! On Thu, 4 Jan 2001, Andrew Kenneth Milton wrote: > I do recall however, that postgres only implements INNER and OUTER joins > although I don't know the status of the JOIN stuff in postgres at this time. AFAIR they (especially Bruce Momjian) always suggested ti emulate LEFT JOIN with UNION

[Zope] Re: ZBabel translation to Postgres

2001-01-04 Thread Andrew Kenneth Milton
+---[ Olaf Zanger ]-- | Hi there, ... | What does the whole thing do anyway? Finds all the phrases that don't have a translation for the language selected. It's hard to find things that don't exist in databases without nested selects which MySQL did not have at the time.

Re: [Zope] ZBabel translation to Postgres

2001-01-04 Thread Phil Harris
Olaf, The left join is a notation that says to get all records from the left hand side of the join and only those records where the criteria matches from the right hand side. It is btw a part of most RDBMS engines I've ever used, so it's not that unusual a syntax. You can also do something simi

Re: [Zope] Core Session Tracking kudos & namespaces

2001-01-04 Thread Phil Harris
- Original Message - From: "Chris Withers" <[EMAIL PROTECTED]> To: "Chris McDonough" <[EMAIL PROTECTED]> Cc: "Dieter Maurer" <[EMAIL PROTECTED]>; "Bob Sidebotham" <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]> Sent: Thursday, January 04, 2001 9:57 AM Subject: Re: [Zope] Core Session Tracking kud

Re: [Zope] case insensitive search?

2001-01-04 Thread Chris Withers
Andy McKay wrote: > > The checkbox is good, but surely the patch should be in presentation layer > (dtml-in) and not just in Find Support. My patch fixes it throughout Zope... Hangon... I think this is case insensitive search, not sort ;-) eg: when searching for 'fIsh', that would return object

Re: [Zope] Core Session Tracking kudos & namespaces

2001-01-04 Thread Chris Withers
Chris McDonough wrote: > > So the question becomes: do we want DTML namespace lookup magic or no DTML > namespace lookup magic for names that we attempt to look up in a session > data object? I don't know the answer. I'm so sick of magic at this point > that I'm apt to vote "no", but if it affo

[Zope] ZBabel translation to Postgres

2001-01-04 Thread Olaf Zanger
Hi there, i'm using ZPyGreSQL successfully for my database. To keep it simple i don't want to use MySQL for ZBabel. ZBabel though uses some MySQL specific syntax which i am unsuccessfully translating to PostgreSQL syntax: Description "md5Hash" are the same fore entries with different "lang" fie

RE: [Zope] Non-ASCII-form-input -> HTML-entities?

2001-01-04 Thread Markus Kemmerling
Thanks for your answers! I am looking forward for Unicode-Zope, but for now the solution proposed by D. Maurer is sufficient for me. (I suppose it is equally good to insert a Content-Type meta-tag in the standard_html_header?) This one line doesn't hurt, although W. Strobl seems to be right, es

[Zope] Login dialog - another newbie question

2001-01-04 Thread Michal Krejza
Hi Zopitas, I have problem with authentication in Zope. I made small site in our company, and some informations are visible for anonymous user and some for managers. So I need to authorize users before they connect to restricted area. It's late for me, becose access to restricted methods is able t