Re: [Zope] ZCatalog and foreign characters

2000-08-29 Thread Radim Gelner
On Tue, Aug 29, 2000 at 11:57:08PM +0200, Dieter Maurer wrote: > > If you work with a fixed locale, you can use the "-L" switch > to inform Zope about your locale. Then the splitter should > work correctly (for your locale). Yes, that helped. I've called Zope with -L cs_CZ switch, rebuilt the ca

Re: [Zope] getting parent document

2000-08-29 Thread Anders Holmbech Nielsen
Thanks for your answer. This would do too, but Stephan Richter gave me a nice way to do it. A dtml-method with the following: Because of acquisition this will result in the "document" being included in its whole. His suggestions: 1. html: contains the HTML code viewMethod: called like: vie

Re: [Zope] Generic Workflow Products?

2000-08-29 Thread Kapil Thangavelu
albert boulanger wrote: > > Kapil Thangavelu <[EMAIL PROTECTED]> wrote: > >The PTK has been undergoing radical changes as of late. Its worth taking >another look at as the current design is much more supportive of >alternative workflow designs. > > Disclamer: This is my gleaming --

Re: [Zope] Logfile analyzer

2000-08-29 Thread Kapil Thangavelu
Ian Bicking wrote: > > I've been making some log analysis code on my site, and have realized > that a lot of other analyzers aren't that great -- or, at least, that > it's nice to have the control that editting the actual code can give. > (for instance, I ignore all requests that come from my ISP

Re: [Zope] "Automatic" creation of searchable documents from Oracle DB tables

2000-08-29 Thread Kapil Thangavelu
Chris Beaumont wrote: > >Part 1.1Type: Plain Text (text/plain) Hi Kapil, (and fellow Zopatistas) Well, it's been difficult, but I finally feel as if I'm on the verge or understanding this a bit better.. Thank you for taking the time to explain this. I would think, it's a fairly simple thin

RE: [Zope] how to keep stuff out of undo

2000-08-29 Thread Chris McDonough
Oo. That's bad. There is no way to selectively make something persistent but non-historying using FileStorage. I would suggest possibly using dbmStorage (or its brother BerkeleyStorage) to store this big data structure, as it does not perform undo. You might be successful using these storages

Re: [Zope] how to keep stuff out of undo

2000-08-29 Thread Kapil Thangavelu
Roman Milner wrote: > > Hi. We have a product (an mp3 jukebox) that uses the ZODB to store a large > data structure of all the albums and track names. Many people are > allowed to add/remove albums from the database. The problem is, when > they do this the entire data structure is backed up for

[Zope] how to keep stuff out of undo

2000-08-29 Thread Roman Milner
Hi. We have a product (an mp3 jukebox) that uses the ZODB to store a large data structure of all the albums and track names. Many people are allowed to add/remove albums from the database. The problem is, when they do this the entire data structure is backed up for undo. So, by the end of each

Re: [Zope] ZCatalog in 2.2.x

2000-08-29 Thread pja
Terry Kerr <[EMAIL PROTECTED]> said: > Hi, > > I have a python product which uses a ZCatalog and CatalogAware > products. The catalog has a number of Field and TextIndex indexes. > Search the ZCatalog has worked fine when my product is instantiated in > 2.1.6. But now when I instantiate my pr

Re: [Zope] How to get PARENTS[-1] from within a Python Product

2000-08-29 Thread Ira Hochman
Thanks! It turns out the expression is self.REQUEST.PARENTS[-1].absolute_url() I'll see if I can put this into a useful tip. -- Ira Hochman [EMAIL PROTECTED] - email (617) 598-1014 x5511 - voicemail/fax Dieter Maurer <[EMAIL PROTECTED]> wrote: > Ira Hochman writes: > > How does one

RE: [Zope] help

2000-08-29 Thread Chris McDonough
This is a normal message, please ignore it.. > -Original Message- > From: duc huynh [mailto:[EMAIL PROTECTED]] > Sent: Tuesday, August 29, 2000 1:26 AM > To: [EMAIL PROTECTED] > Subject: [Zope] help > > > hi! > > I am a new user. I just download the new version of zope > 2.2.0. Afte

[Zope] ZCatalog in 2.2.x

2000-08-29 Thread Terry Kerr
Hi, I have a python product which uses a ZCatalog and CatalogAware products. The catalog has a number of Field and TextIndex indexes. Search the ZCatalog has worked fine when my product is instantiated in 2.1.6. But now when I instantiate my product in 2.2.0 or 2.2.1, searching only works when

Re: [Zope] updating only zCatalog ?

2000-08-29 Thread Dieter Maurer
Philipp Dunkel writes: > I'd like to use it for my Products, but I don't have the time now to port > everything to the new zope version. > Is it possible to only use the new catalog and which files do I have to > change/update ? It is possible. You would use the folder "SearchIndex" from Zope

Re: [Zope] How to Delete ZClass Instances programmatically??

2000-08-29 Thread Dieter Maurer
Jean Jordaan writes: > I've found the "How-To: Adding ZClass Instances Programmatically", > but now I'm looking for the *Deleting ZClass Instances* one! > > I'm trying this as a beginning (hacked from the Zope management > interface):: > > > > > > > Probl

[Zope] Logfile analyzer

2000-08-29 Thread Ian Bicking
I've been making some log analysis code on my site, and have realized that a lot of other analyzers aren't that great -- or, at least, that it's nice to have the control that editting the actual code can give. (for instance, I ignore all requests that come from my ISP, since I don't need to know w

[Zope] help

2000-08-29 Thread duc huynh
hi! I am a new user. I just download the new version of zope 2.2.0. After i finish install it on my computer. I ran the "start.bat" in the website folder but i get the error. The error is : " pROBLEM(100) zSERVER COMPUTING DEFAULT HOSTNAME" Would you please tell me what is the problem with

Re: [Zope] Nested dtml???

2000-08-29 Thread Tim Hicks
- Original Message - From: "Curtis Maloney" <[EMAIL PROTECTED]> To: "Tim Hicks" <[EMAIL PROTECTED]>; "zope" <[EMAIL PROTECTED]> Sent: Wednesday, August 30, 2000 12:24 AM Subject: Re: [Zope] Nested dtml??? > On Tue, 29 Aug 2000, Tim Hicks wrote: > > I am trying to work my way up through f

Re: [Zope] Nested dtml???

2000-08-29 Thread Tim Hicks
- Original Message - From: "Dieter Maurer" <[EMAIL PROTECTED]> To: "Tim Hicks" <[EMAIL PROTECTED]> Cc: "zope" <[EMAIL PROTECTED]> Sent: Tuesday, August 29, 2000 11:10 PM Subject: Re: [Zope] Nested dtml??? > Tim Hicks writes: > > I am trying to work my way up through folders, checking wh

Re: [Zope] dtml-tree question

2000-08-29 Thread Dieter Maurer
Hugo Ramos writes: > Is there a way to use my own self made '+' icon in a tree tag? > I'dd like to use my own icon only IF i want to... and not change the python > source to use my own icon all the time! The code is partially there, but incomplete and commented out. If you do not mind other ex

Re: [Zope] symbolic links or invisible objects..?

2000-08-29 Thread R. David Murray
On Tue, 29 Aug 2000, Geoffrey L. Wright wrote: > Aparently the fact that a number of other non-content objects are visible > at the same level of heirarchy in the site is a problem. So my question > is this: > > Is there any way to make zope understand something like a UNIX symbolic > link? I

Re: [Zope] Re: ZOPE Python edit debug cycle

2000-08-29 Thread Loren Stafford
From: "Karl Anderson" <[EMAIL PROTECTED]> > "Chui Tey" <[EMAIL PROTECTED]> writes: > > [quoting someone] > > > > Then I tried to edit a py file and see the new output. I had to use > > > this sequence to see my tiny change: > > > > > > make the change > > > save the change > > > Stop

Re: [Zope] SSL and PGP

2000-08-29 Thread R. David Murray
On Tue, 29 Aug 2000, Diego Rodrigo Neufert wrote: > Anyone know how to send a pgp cryped email in zope? (using or > anything else) > > and > > How to run a SSL server with ZServer? Search for M2Crypto on zope.org. It does both. --RDM ___ Zope mai

[Zope] symbolic links or invisible objects..?

2000-08-29 Thread Geoffrey L. Wright
Zopistas: Am working on a simple content management system for about 6 sites, and so far, so good. It's my first medium-sized Zope project and Zope has been wonderful to work with so far. However, I've been tasked with the project of creating the simplest possible interface for some very non-

Re: [Zope] Nested dtml???

2000-08-29 Thread Curtis Maloney
On Tue, 29 Aug 2000, Tim Hicks wrote: > I am trying to work my way up through folders, checking whether each > folder has a property named 'site_root_folder'. Logically (in *my* > head anyway), what I have written below is what I want to do, but I'm > not sure that I'm really writing this the wri

Re: [Zope] FSSession problems...

2000-08-29 Thread Curtis Maloney
On Tue, 29 Aug 2000, Pavlos Christoforou wrote: > On Mon, 28 Aug 2000, Curtis Maloney wrote: > > > > > > This was aparently working fine for quite some time (about a month of > > public usage), until last week. We have examined logs, and seen that one > > person accidentaly used the system under

Re: [Zope] Question relating to a zope product 'Tracker': emailproblems

2000-08-29 Thread R. David Murray
On Tue, 29 Aug 2000, Julian Harris wrote: > PS if I wanted to make a change to the source on my machine, do I have to > compile it? I see these PYC files everywhere but I thought Python was an > interpreted language? How would I make a change if I found that I had to > tweak the code a little? If

Re: [Zope] Re: ZOPE Python edit debug cycle

2000-08-29 Thread Karl Anderson
"Chui Tey" <[EMAIL PROTECTED]> writes: [quoting someone] > > Then I tried to edit a py file and see the new output. I had to use > > this sequence to see my tiny change: > > > > make the change > > save the change > > Stop the ZOPE service > > Start the ZOPE service > > Refre

[Zope] How to logout users when using LoginManager?

2000-08-29 Thread Brad Clements
I've searched the zope website for tips on how to truly logout users, but I can't find any information. I'm using LoginManager, with GenericUserFolder. I see mention of cookie auth methods, but I have no idea how to use this. So, I'm using basic auth (I assume). Can anyone share some tips on

Re: [Zope] ZClass <--> Product

2000-08-29 Thread Karl Anderson
Chris Withers <[EMAIL PROTECTED]> writes: > "Nestor A. Diaz L." wrote: > > I want to know if there is any utility that let translate a ZClass to a > > Product, i'm worry using the frames based interface, so i'm considering to > > switch to a Product a utility that let that would be usefull howeve

[Zope] FTP crashing Zope?

2000-08-29 Thread Dario Lopez-Kästen
Hello! I have latest Zope, buitl from source on a RedHat 6.2 machine. Using FTP Explorer I crashed (killed) my Zope instance while ftping in to port 8021. This was achieved by not setting FTP Explorer to use PASSIVe connections. Using Passive it works like a charm. Is this a bug in latest Zope

Re: [Zope] CatalogAware

2000-08-29 Thread Dieter Maurer
Yapo =?ISO-8859-1?Q?S=E9bastien?= writes: > I use objects from a class which inherits from CatalogAware. > The objects index themselves into the ZCatalog but I get strange results = > when I try to search in this ZCatalog... The problem is solved after = > reindexing the object via the reindex

Re: [Zope] SQL question...I think

2000-08-29 Thread Dieter Maurer
George writes: > > I know how to insert data in to the table, > search and such. I can not find any info on how to embed the data in my > dtml-html code to show it to the world. Because, you can already search, you do already embed data in dtml-html to show it to the world. You just d

Re: [Zope] ZCatalog and foreign characters

2000-08-29 Thread Dieter Maurer
Radim Gelner writes: > is it possible to make ZCatalog work correctly with words containing > characters other then those given in ISO-8859-1. > > Now, it reports "no found" for all such queries even when these words > are present inside the documents on site. I have made a very crude patch

Re: [Zope] REQUEST.form.set ???

2000-08-29 Thread Dieter Maurer
Brian Withun writes: > Is it possible for DTML to create or modify a form value? It is possible to extend any dictionary, especially "REQUEST.form". You use the dictionary "update" method as in It will, however, not work as you might expect. This is because the DTML namespace *does not

Re: [Zope] Nested dtml???

2000-08-29 Thread Dieter Maurer
Tim Hicks writes: > I am trying to work my way up through folders, checking whether each > folder has a property named 'site_root_folder'. Logically (in *my* > head anyway), what I have written below is what I want to do, but I'm > not sure that I'm really writing this the write way. I vague

[Zope] [ANN] FSSession-0-4-2

2000-08-29 Thread Pavlos Christoforou
Hello Zopistas FSSession 0-4-2 is available at: http://www.zope.org/Members/gaaros/FSSession FSSession 0-4-2 corrects a bug on Windows platforms where os.rename fails if the renamed file already exists. This version has also been tested under many "unusual" situations (calling FSSession twice,

Re: [Zope] SSL and PGP

2000-08-29 Thread Terry Kerr
We have done this in our Etailer product...grab the source and take a look... http://e-tailer.adroit.net/. Basically we just pipe the string to be encrypted to the gnu pgp program on a linux box. Take a look at http://www.pgpi.org/products/gnu/gpg/. terry Diego Rodrigo Neufert wrote: > Hi...

Re: [Zope] Advice for new zope installation

2000-08-29 Thread Dieter Maurer
Henk Schets writes: > After reading all the info about zope, I am very impressed with the > possibilities it can deliver. However, before I migrate our existing site, > I need to be certain about certain topics : > - how easy and reliably can I manage my virtual hosts (about 8 sites > ri

Re: [Zope] Problem with SiteAccess 1.0.1

2000-08-29 Thread Dieter Maurer
William JOYE writes: > I have some minor problems with SiteAccess 1.0.1 and Zope 2.1.6 + hotfix. > > 1. When click on the folder that contain SiteRoot, I need to enter again > login and password. Why ? > 2. When I delete an object, I have always an script error message. Why ? We use SiteAcc

Re: [Zope] unauthorized when accessing /manage in zope 2.2.1

2000-08-29 Thread Dieter Maurer
Philipp Dunkel writes: > I have a Zope Product that makes use of different nested classes. > When I create an instance of this product I always get an > "unauthorized" error when clicking the instance in the management interface > (=accessing /manage) > even if I am logged in as a manager or

Re: [Zope] dedicated folder for each user

2000-08-29 Thread Dieter Maurer
Vincent writes: > is it possible to creat automatically a folder with the name of the logged > user ? Yes! In general, you can do anything programmatically that you can do with the management interface. Because Zope is open source, you can learn from the management interface, how to do it. Yo

Re: [Zope] How to get URL of folder (name unknown) with a certain property?

2000-08-29 Thread Dieter Maurer
Tim Hicks writes: > I am trying to figure out how to get hold of the URL (using > absolute_url I presume) of a folder with a property called > "sehs_root_folder" set to "yes". Have a look at "ZopeFind" (it is the function implementing Zope's "find" tab). It is documented in the Object Reference

Re: [Zope] Showing the name of a file-type form variable

2000-08-29 Thread Dieter Maurer
Jean Jordaan writes: > name="file" > value="" > > > > Which returns:: > > This is a perfect receipt where you should look for information: [/lib/python/]ZPublisher/HTTPRequest.FileUpload You will find there: File upload object

Re: [Zope] ZServer stepping on Content-Type and Content-Length?

2000-08-29 Thread Dieter Maurer
Jeff Hoffman writes: > > In the index_html method, I have: > > RESPONSE.setHeader('Content-Type', 'video/foo') > RESPONSE.setHeader('Content-Length', 1212) > > However, when I telnet to my web port and do: > > HEAD /path/to/myfile.mpg HTTP/1.0 > > I get: > > Cont

[Zope] Re: ZOPE Python edit debug cycle

2000-08-29 Thread Chui Tey
"Phlip" <[EMAIL PROTECTED]> wrote in message news:8oefpc$ve8$[EMAIL PROTECTED]... > Newsgroupies. > > I installed ZOPE on Win32, and noticed it came with a bunch of > "Products"; each a kind of "soft driver" written in some language > (typically Python) to drive the ZObject space & build Web page

[Zope] SSL and PGP

2000-08-29 Thread Diego Rodrigo Neufert
Hi... Anyone know how to send a pgp cryped email in zope? (using or anything else) and How to run a SSL server with ZServer? Thanks... -- --- Diego Rodrigo Neufert -webmaster --- (Magic Web Design) (email) ([EMAIL PROTECTED]) (curitiba) (pr)

Re: [Zope] ZCatalog and foreign characters

2000-08-29 Thread Aleksander Salwa
On Tue, 29 Aug 2000, Radim Gelner wrote: > is it possible to make ZCatalog work correctly with words containing > characters other then those given in ISO-8859-1. > Yes, I did it very simply. You have to patch file lib/python/SearchIndex/Splitter.c very slightly. Just add line: #include some

[Zope] Announce: Squishdot 0.7.0 now available!

2000-08-29 Thread Chris Withers
Squishdot 0.7.0 is now available from http://www.zope.org/Members/chrisw/Squishdot/ http://www.squishdot.org/Download/Squishdot The following changes were made: - Changes to the Demo Sites and Squishdot core to make them Zope 2.2 compatible. - Updated Cataloging to use the Traversal Inte

[Zope] SQL question...I think

2000-08-29 Thread George
I know nothing about sql so forgive me this idiotic question:-) All I know so far I had learnt from ZOPE tutorials and HOW-TO's. Here is the question: I have a database connection working. I created a couple of tables and filled them up with stuff. I know how to insert data in to the table, search

Re: [Zope] REQUEST.form.set ???

2000-08-29 Thread Daren Lunsford
maybe this will help: > From: "Brian Withun" <[EMAIL PROTECTED]> > Date: Tue, 29 Aug 2000 12:02:42 -0400 > To: "Zope mailing list" <[EMAIL PROTECTED]> > Subject: [Zope] REQUEST.form.set ??? > > > Is it possible for DTML to create or modify a form value? > > I understand that REQUEST.form is

Re: [Zope] CatalogAware Problems?

2000-08-29 Thread Bill Anderson
Chris Withers wrote: > > > Yapo Sébastien wrote: > > Is there a bug I should be 'awared' to or am I doing something the > > wrong way ? > > Maybe if you said what the bug was and included a traceback, more people > would be able to help? > > Also, posting in HTML means a lot of people can't rea

RE: [Zope] Wanted: Procedure to produce binary release from source release

2000-08-29 Thread Brian Lloyd
We use a script that basically pulls binary files out of our CVS repository - I dont think that would be very useful to you :( This should be pretty easy though - I would suggest making a little python script that makes use of the install machinery that's already there in Zope (w_pcgi and wo_

[Zope] CatalogAware Problems?

2000-08-29 Thread Chris Withers
> Yapo Sébastien wrote: > Is there a bug I should be 'awared' to or am I doing something the > wrong way ? Maybe if you said what the bug was and included a traceback, more people would be able to help? Also, posting in HTML means a lot of people can't read what you post... cheers, Chris

Re: [Zope] ZClass <--> Product

2000-08-29 Thread Chris Withers
"Nestor A. Diaz L." wrote: > I want to know if there is any utility that let translate a ZClass to a > Product, i'm worry using the frames based interface, so i'm considering to > switch to a Product a utility that let that would be usefull howevere a > HOWTO on doing this would be fine. Not sure

Re: [Zope] Re. Advice for new zope installation

2000-08-29 Thread Chris Withers
"Spicklemire, Jerry" wrote: > Zope does do some logging, but I don't know much about that. > Maybe someone could answer? > > >- any advice about migrating an existing site ? Well Zope produces logs, which are in a standard format apparently. Also, if you run Zope behind Apache using ProxyPas

[Zope] ZCatalog: Time for a new look?

2000-08-29 Thread Chris Withers
Radim Gelner wrote: > is it possible to make ZCatalog work correctly with words containing > characters other then those given in ISO-8859-1. With some hacking, maybe :S Is it just me or is the Catalog and the BTree implementation gettign a little long in the tooth? cheers, Chris

[Zope] REQUEST.form.set ???

2000-08-29 Thread Brian Withun
Is it possible for DTML to create or modify a form value? I understand that REQUEST.form is a dictionary, but I cannot seem to add dictionary elements. I've tried but none of them work. What am I doing wrong here? Brian Withun ___

Re: [Zope] Where is news section how-to?

2000-08-29 Thread J. Atwood
It is also in the Tutorial. Enjoy, J > From: Kapil Thangavelu <[EMAIL PROTECTED]> > Date: Mon, 28 Aug 2000 20:55:34 -0700 > To: Radim Gelner <[EMAIL PROTECTED]> > Cc: [EMAIL PROTECTED] > Subject: Re: [Zope] Where is news section how-to? > > Radim Gelner wrote: >> >> Hello, >> >> few weeks ago

Re: [Zope] Patch for Netscape 'tree' bug?

2000-08-29 Thread Tony McDonald
At 10:09 am +0200 18/8/00, Pierre-Julien Grizel wrote: >** Reply to message from [EMAIL PROTECTED] on Fri, 18 Aug 2000 >04:36:34 +0100 (BST) > >[Hoping you didn't receive my previous message.] > >If you talk about the www.xlogx.org patch, I've made the site available again, >you can find it at

[Zope] CatalogAware

2000-08-29 Thread Yapo Sébastien
Hi !   I use objects from a class which inherits from CatalogAware. The objects index themselves into the ZCatalog but I get strange results when I try to search in this ZCatalog... The problem is solved after reindexing the object via the reindex_object() method but this works only for mana

[Zope] ZCatalog and foreign characters

2000-08-29 Thread Radim Gelner
Hello, is it possible to make ZCatalog work correctly with words containing characters other then those given in ISO-8859-1. Now, it reports "no found" for all such queries even when these words are present inside the documents on site. Thank you, Radim _

RE: [Zope] Problem with SiteAccess 1.0.1

2000-08-29 Thread William JOYE
> From: William JOYE <[EMAIL PROTECTED]> > > I have some minor problems with SiteAccess 1.0.1 and Zope > 2.1.6 + hotfix. > > > > 1. When click on the folder that contain SiteRoot, I need > to enter again > > login and password. Why ? > > Most likely, because you have a Base set in your SiteRoot

[Zope] Question relating to a zope product 'Tracker': email problems

2000-08-29 Thread Julian Harris
Hi all I'm having fun with Tracker (a Zope product) -- certainly it's looking to be a very useful tool for us. But I'm having a problem submitting issues. I get this error when trying to submit an issue: Error Type: SMTPSenderRefused Error Value: (555, 'syntax error (#5.5.4)', '[EMAIL PROTECTED

[Zope] Help: mod_python+ZPublisher and authentication

2000-08-29 Thread Gilles Lavaux
Hello, This is not exactly a Zope question, but I hope that some of you will be able to help me: I am using mod_python + ZPublisher + Ztemplate on a apache server and now I would like to restrict the access of some pages served by the ZHandler.py. How to do it?? Do I have to put a rewrite rul

Re: [Zope] List of object's name in a ZClass

2000-08-29 Thread Kapil Thangavelu
Vincent wrote: > >Part 1.1Type: Plain Text (text/plain) >Encoding: 7bit from your heirarchy ZClass B is contained in zclass A. and you're looking for contained instances which is easy. the dtml method in a (assuming a inherits from objectmanager) _

Re: [Zope] Where is news section how-to?

2000-08-29 Thread Kapil Thangavelu
Radim Gelner wrote: > > Hello, > > few weeks ago, on Zope site I came across a document describing how to > build news section with features like displaying with five most recent > items from a folder, etc. > > But now I can't recall, where it was. Can someone point me in a right > direction.

[Zope] Wanted: Procedure to produce binary release from source release

2000-08-29 Thread Soren Roug
I support a couple of UNIX platforms, that are DC doesn't provide binary releases for. So what I would like to do is roll my own binary release and then send it to my system administrators. However, trying to do this from the source release is no easy task, so I would like to know if DC has a scr