[Zope] Is this a bug? Posting data to another DTML document

2000-08-15 Thread Jarkko Veijalainen
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): File /

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

2000-08-15 Thread Bak @ kedai
On Mon, 14 Aug 2000, Martijn Faassen wrote: > Hi there, > > 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 i

Re: [Zope] DTML: fetch an object by its url?

2000-08-15 Thread R. David Murray
On Wed, 16 Aug 2000, Scott Shepherd wrote: > In DTML is it possible to get an object using its url? Something like > > ... Something like. I asked this question a long time ago, and refound the answer by searching the zope.nipltd.com mailing list archives using the search terms 'resolve and

Re: [Zope] String Module ??? newbie question

2000-08-15 Thread R. David Murray
On Wed, 16 Aug 2000, Indra Gunawan wrote: > my installation is Zope 2.2.0 on W2K. > I try to use the find method as follow, why can't it runs? > > it said Attribute error: find _.string.find --RDM ___ Zope maillist - [EMAIL PROTECTED] http://lists

Re: [Zope] How to use RESPONSE.redirect ?

2000-08-15 Thread R. David Murray
On Tue, 15 Aug 2000, Kapil Thangavelu wrote: > #example call to above > # If your original form submits using the GET method, then QUERY_STRING will contain the already URL encoded parameters that the browser sent originally. DTML also has a url_encode format you can use to cause a string to be

[Zope] String Module ??? newbie question

2000-08-15 Thread Indra Gunawan
Hello, my installation is Zope 2.2.0 on W2K. I try to use the find method as follow, why can't it runs? it said Attribute error: find -IGUN- ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTM

Re: [Zope] How to use RESPONSE.redirect ?

2000-08-15 Thread Kapil Thangavelu
Stuart Foster Wrote: > I want to use redirect to call another form passing the current form, how > can I do that. > > > Hi Stuart, i ran into the same problem a little while ago. i was trying to pass the user around to the proper display&process page(with inputs inplace) after a logic page th

[Zope] DTML: fetch an object by its url?

2000-08-15 Thread Scott Shepherd
In DTML is it possible to get an object using its url? Something like ... Similar to ... but what I have is the object's zserver url, not its name in the current namespace. TIA, Scott ___ Zope maillist - [EMAIL PROTECTED] http://lists.zo

[Zope] OT: UTC

2000-08-15 Thread David Trudgett
At 2000-08-16 01:54 +, Curtis Maloney <[EMAIL PROTECTED]> wrote: >So, when are you joining me in working in UTC? I mean, really. We deal with >people globally on a daily basis. Why bother with all this timezone nonsens? > So I get up and out of bed at 2100, get to work at a fresh and earl

Re: [Zope] Hotfixes: serious suggestion

2000-08-15 Thread Curtis Maloney
On Wed, 16 Aug 2000, David Trudgett wrote: > At 2000-08-15 10:18 +0200, "Frank Tegtmeyer" <[EMAIL PROTECTED]> wrote: > >The current format is Hotfix_08_09_2000, my proposed format is > > Hotfix_2000-08-09. > >This is the ISO 8601 format (abbreviated form). > > > >Reasoning: > > > >First of all Zo

Re: [Zope] Zope bug or my stupidity?

2000-08-15 Thread Jonothan Farr
Once again I'll point out that I have a patch that allows sequence_item. I've submitted it to the collector but it was rejected because of the AFAIK not-yet-scheduled "named dtml-in" feature. http://www.zope.org/Members/jfarr/Patches/dtml-in-sv/ --jfarr Hardware, n.: The parts of a comp

Re: [Zope] How to use RESPONSE.redirect ?

2000-08-15 Thread Curtis Maloney
On Wed, 16 Aug 2000, Stuart Foster wrote: > I want to use redirect to call another form passing the current form, how > can I do that. > > > > If I do > > The current form isn't being passed ? > If you want to pass the form variables, you're in for a fight. (o8 otherwise, you could simply try :

Re: [Zope] Using ZCatalog with SiteAccess in Zope 2.2

2000-08-15 Thread Christian Scholz
Hi! > ZCatalog does not seem to like Site Access2 > > i applied the patch from http://www.zope.org/Members/4am//SiteAccess/patch > > and then updated Zope with all the patches from CVS > > and it still gives me: > > > Error Type: IndexError > Error Value: list index out of range

Re: [Zope] copy / paste support

2000-08-15 Thread Andy McKay
Thanks! Tried copying and pasting newly created 2.2 objects and still have the same problems hmmm -- Andy McKay, Developer, ActiveState http://www.ActiveState.com Programming for the People - Original Message - From: "Terry Kerr" <[EMAIL PROTECTED]> To: "Andy McKay" <

Re: [Zope] Zope bug or my stupidity?

2000-08-15 Thread Curtis Maloney
On Wed, 16 Aug 2000, Peter Hernberg wrote: > --- Chris Withers <[EMAIL PROTECTED]> wrote: > > Peter Hernberg wrote: > > > Here's the method that calls that method: > > > > > > > Why the quotes? > > > > try instead > > But then I get the following weird error: > Traceback (innermost last)

Re: [Zope] copy / paste support

2000-08-15 Thread Terry Kerr
i had horrible cut and paste problems with my python product in 2.1.6. Then when I imported instantiations of my product into a fresh install of 2.2, I still am having problems. However, if I create a new instance of the product in 2.2, it all seems to work fine. Andy McKay wrote: > Sorry forg

Re: [Zope] how to generate a Vcard ?

2000-08-15 Thread Tino Wildenhain
Hi, Didier Georgieff wrote: > > HEllo, > > I'm looking for providing a way to generate a vcard for desktop > adressbooks. > I guess someone already thought about that but i can't find > anything on zope.org or mail archive. > > Any tip out there ? Just send your self a vcard and look at the t

Re: [Zope] [Ann] Another Zope Book

2000-08-15 Thread Bill Anderson
Dieter Maurer wrote: > > Dear Zopistas, > > I plan to write another book about Zope: "Building Dynamic WebSites > with Zope". > > The book idea: > > Realize a demanding dynamic WebSite with Zope. > Describe everything that is necessary for this purpose. > > This will contain: > Concepts

Re: [Zope] PROBLEM(100) ZServer Computing default hostname

2000-08-15 Thread Bill Anderson
Chris Withers wrote: > > George Osvald wrote: > > 2000-08-15T17:35:20 PROBLEM(100) ZServer Computing default hostname > > > > ZOPE is running OK though. Is there a problem I do not see? > > Nah, you're just running in debug mode... But, why is it a 'PROBLEM', why not 'INFO' ? -- Do not meddle

Re: [Zope] Hotfixes: serious suggestion

2000-08-15 Thread David Trudgett
At 2000-08-15 10:18 +0200, "Frank Tegtmeyer" <[EMAIL PROTECTED]> wrote: >The current format is Hotfix_08_09_2000, my proposed format is > Hotfix_2000-08-09. >This is the ISO 8601 format (abbreviated form). > >Reasoning: > >First of all Zope is a product of a north american company but is used >

Re: [Zope] copy / paste support

2000-08-15 Thread Andy McKay
Sorry forgot to say Im in 2.2 before latest hotfix. I had a different problem prior to my 2.2 upgrade. -- Andy McKay, Developer, ActiveState http://www.ActiveState.com Programming for the People - Original Message - From: "Terry Kerr" <[EMAIL PROTECTED]> To: "Andy McKay"

Re: [Zope] copy / paste support

2000-08-15 Thread Terry Kerr
cut and paste of catalog aware products is broken pre 2.2. i think it is all fixed in 2.2+ ? Andy McKay wrote: > When trying to copy an item I get the following item on paste: > > One or more items referred to in the clipboard data was not found. The item > may have been moved or deleted after

[Zope] how to generate a Vcard ?

2000-08-15 Thread Didier Georgieff
HEllo, I'm looking for providing a way to generate a vcard for desktop adressbooks. I guess someone already thought about that but i can't find anything on zope.org or mail archive. Any tip out there ? Didier. ___ Zope maillist - [EMAIL PROTECTED

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

2000-08-15 Thread Marcus Schopen
Hi, the answer to my post [Zope] restrict -tree tag global navigation- to subfolders Marcus Schopen [EMAIL PROTECTED] Tue, 15 Aug 2000 00:00:42 +0100 seems to be . Right? Bye Marcus __ (0> Marcus Schopen //\ Bielefeld, Germany V_/_ ___

[Zope] Managing subobjects

2000-08-15 Thread Menard . Jean-Francois
(I speak frech, sorry for my english!) I created a ZClass, zRow. This class can contain other ZClass: zField_Text, zField_Date, etc. This let me define the columns contained in a zRow. I then defined a Class zTable, wich contains zRows. Question: - In my manage tabs, I needed a have a

RE: [Zope] copy / paste support

2000-08-15 Thread Brian Lloyd
> Nope, using cookies for authentication actually. Curious what > the cookies > are used for now.. They are used to carry around a marshalled list of object ids that identify the items to cut/copied. Brian Lloyd[EMAIL PROTECTED] Software Engineer 540.371.6909 Digital Cr

Re: [Zope] Seeking Zope Volunteers

2000-08-15 Thread Lyn A Headley
Andrew> campaign cannot accept | contributions from corporations, Andrew> PACs or special interest organizations so | we rely on Andrew> contributions from individuals like you. Andrew> And you are now Lyno Sullivan, Spammer and in violation of Andrew> your own laws. What is

Re: [Zope] Another Product question

2000-08-15 Thread Loren Stafford
All modules published by Zope must have a "doc string" i.e. a Python comment defining the content before any other Python code. For example: """ Doc string for Frame Work Doc product """ import string # etc -- Loren - Original Message - From: "Daniel Rusch" <[EMAIL PROTECTED]> To: "Lo

Re: [Zope] Another Product question

2000-08-15 Thread Andy McKay
You will probably find you are missing a doc string. After your method declaration you must have a string enclosed with 3 single quotes (''') so: def manage_addFrameWorkDoc: ''' this is the doc string you must have ''' -- Andy McKay, Developer, ActiveState http://www.Activ

Re: [Zope] copy / paste support

2000-08-15 Thread Andy McKay
Nope, using cookies for authentication actually. Curious what the cookies are used for now.. -- Andy McKay, Developer, ActiveState http://www.ActiveState.com Programming for the People - Original Message - From: "Brian Lloyd" <[EMAIL PROTECTED]> To: "'Andy McKay'" <[EMAIL

[Zope] Another Product question

2000-08-15 Thread Daniel Rusch
Thanks, I had made a small misspelling which did not generate any errors but which hosed the Product. New problem, My product appears on the Product Management at /Control_Panel / Products page and in the drop down of Available Objects. I select my Product from the drop down and I get my add pr

Re: [Zope] How to use RESPONSE.redirect ?

2000-08-15 Thread Peter Bengtsson
Should do it! or maybe > > > If I do > > The current form isn't being passed ? > > Any ideas.. > > TIA > Stuart > > > ___ > Zope maillist - [EMAIL PROTECTED] > http://lists.zope.org/mailman/listinfo/zope > ** No cross posts or HTML encodin

Re: [Zope] Product question

2000-08-15 Thread Loren Stafford
From: "Daniel Rusch" <[EMAIL PROTECTED]> > I've created a product, installed it and it appears on the Product > Management at /Control_Panel / Products list. > > The question is how do I get it to appear in the drop down of Available > Objects? > You have to register the class it defines. If yo

Re: [Zope] dtml-in and tuples

2000-08-15 Thread Dieter Maurer
Chris Withers writes: > Why and how are python tuples (like, this) handled differently (and not > in a logical way I can see...) than python lists [like, this]? The "how" has been explained already. The "why" is only my guess: support for the widespread idiom ".items()", "objectItems" etc. Fo

Re: [Zope] Struggling with Permissions

2000-08-15 Thread Dieter Maurer
Jean Jordaan writes: > ... anonymous user despite authentication > (this is from ccDocClass_add). When I arrive I *still* see: I may be a cache issue as suggested earlier in the list. However, I may also be a Zope feature. When you access an unprotected object, Zope may not determine

Re: [Zope] Structured Text Rendering

2000-08-15 Thread Dieter Maurer
Chris Withers writes: > I have a list of string.strip'ped strings which I'd like to render using > structured text. > > Input: > """ > sdfsdf > > - sdfsdf > > - sdfsdf > > - sdfsdf > """ > Structured text output: > """ > p>sdfsdf >

Re: [Zope] Looking up other row records in an SQLMethod?

2000-08-15 Thread Dieter Maurer
Theodore Patrick writes: > Is it possible to look up other SQL record values while iterating through a > ? I did not understand your requirements. But the answer is yes: ... Dieter _

Re: [Zope] speeding up dtml-tree

2000-08-15 Thread Dieter Maurer
Clinton Roy writes: > 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? The tree tag itself do

RE: [Zope] copy / paste support

2000-08-15 Thread Brian Lloyd
> When trying to copy an item I get the following item on paste: > > One or more items referred to in the clipboard data was not > found. The item > may have been moved or deleted after you copied it. > > This is a custom python class which is catalogued. Ive no > idea why this is > happening.

Re: [Zope] Product question

2000-08-15 Thread Daniel Rusch
Not to sound like a completely blithering idiot, but how does one go about setting the permissions to allow it to be created. I'd assume in the __ac_permissions class attribute. What the specific permission is escapes me. DR Andy McKay wrote: > Make sure you have the permissions set correctly

[Zope] copy / paste support

2000-08-15 Thread Andy McKay
When trying to copy an item I get the following item on paste: One or more items referred to in the clipboard data was not found. The item may have been moved or deleted after you copied it. This is a custom python class which is catalogued. Ive no idea why this is happening. Any ideas? --

Re: [Zope] PROBLEM(100) ZServer Computing default hostname

2000-08-15 Thread Chris Withers
George Osvald wrote: > 2000-08-15T17:35:20 PROBLEM(100) ZServer Computing default hostname > > ZOPE is running OK though. Is there a problem I do not see? Nah, you're just running in debug mode... cheers. Chris ___ Zope maillist - [EMAIL PROTECTED

Re: [Zope] How to use RESPONSE.redirect ?

2000-08-15 Thread Jonothan Farr
HTTP is stateless. You'll have to build the entire query string and put it into your redirect URL. --jfarr - Original Message - From: Stuart Foster <[EMAIL PROTECTED]> To: Zope List <[EMAIL PROTECTED]> Sent: Tuesday, August 15, 2000 10:19 AM Subject: [Zope] How to use RESPONSE.redirect ?

[Zope] PROBLEM(100) ZServer Computing default hostname

2000-08-15 Thread George Osvald
I'm getting this when starting ZOPE: 2000-08-15T17:35:20 PROBLEM(100) ZServer Computing default hostname ZOPE is running OK though. Is there a problem I do not see? George ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinf

Re: [Zope] ProxyPass - where ???

2000-08-15 Thread Stephen Harrison
NameVirtualHost 123.45.678.9 ServerName www.mydomaine.com.au ProxyPass / http://demon.server.com.au:8080/okstudio/ ProxyPassReverse / http://demon.server.com.au:8080/okstudio/ This is the setup you want. Note the trailing /'s. It means that anything sent to the root of www.mydomain.com.au wi

[Zope] How to use RESPONSE.redirect ?

2000-08-15 Thread Stuart Foster
I want to use redirect to call another form passing the current form, how can I do that. If I do The current form isn't being passed ? Any ideas.. TIA Stuart ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope **

Re: [Zope] Getting a document's contents

2000-08-15 Thread R. David Murray
On Tue, 15 Aug 2000, Joshua Brauer wrote: > I have a folder (Parts) that contains dtml documents that are snippets of code. I >want to include some of them which I have listed in a variable (select). > > So I use code like this: > > > > > > Right idea, but not quite there. Your 'select'

RE: [Zope]

2000-08-15 Thread T.J. Mannos
? -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Chris Withers Sent: Tuesday, August 15, 2000 9:02 AM To: [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Subject: [Zope] Always bear in mind that anything inside double quotes gets executed as python. Therefo

Re: [Zope] speeding up dtml-tree

2000-08-15 Thread Andy McKay
A real crude way to hack the dtml-tree tag is to make it always assume there are child nodes. This prevents the look up and is a lot faster. Think of Windows Explorer style tag. -- Andy McKay, Developer, ActiveState http://www.ActiveState.com Programming for the People - Orig

Re: [Zope] Implementing a login form instead of BASIC authentication

2000-08-15 Thread Andy McKay
> ...that, and getting your CSS to eb compatible with all the major > browsers ;-) :) hear, hear -- Andy McKay, Developer, ActiveState http://www.ActiveState.com Programming for the People ___ Zope maillist - [EMAIL PROTECTED] http:/

Re: [Zope] Product question

2000-08-15 Thread Andy McKay
Make sure you have the permissions set correctly for that product, so that you are allowed to create it. -- Andy McKay, Developer, ActiveState http://www.ActiveState.com Programming for the People - Original Message - From: "Daniel Rusch" <[EMAIL PROTECTED]> To: <[EMAIL P

Re: [Zope] [Ann] Another Zope Book

2000-08-15 Thread Andy McKay
Great, idea! Lets face it this is what the majority of users will be using Zope for. IHMO you cannot have too many books on Zope. One thing I would like to see is comparisons of how you would do something in other systems... for example I used to start thinking when I used Perl or ASP I used to do

[Zope] ProxyPass - where ???

2000-08-15 Thread George Osvald
I'm having trouble configuring ProxyPass on my ISP's server. I tried to follow the instructions in the appropriate HOW-TO's without a success. I think they all assume that the user would have root access. I don't. I have built ZOPE in my user directory. Anyway ProxyPass takes two arguments, a virt

[Zope] Getting a document's contents

2000-08-15 Thread Joshua Brauer
There is probably a simple solution that I'm overlooking here I have a folder (Parts) that contains dtml documents that are snippets of code. I want to include some of them which I have listed in a variable (select). So I use code like this: or this In either case I get the

[Zope] Product question

2000-08-15 Thread Daniel Rusch
I've created a product, installed it and it appears on the Product Management at /Control_Panel / Products list. The question is how do I get it to appear in the drop down of Available Objects? Dan ___ Zope maillist - [EMAIL PROTECTED] http://lists

[Zope] [Ann] Another Zope Book

2000-08-15 Thread Dan L. Pierson
Dieter Maurer writes: > Dear Zopistas, > > I plan to write another book about Zope: "Building Dynamic WebSites > with Zope". [ ... much good stuff snipped ... ] Sounds great! Don't rush though, I can wait until tomorrow for my copy :-) ___ Zope

[Zope] RE: Cannot save Version

2000-08-15 Thread Jentsch, Peter
packing the DB solved the problem :-) still I'd like to know how to avoid future occurrences Cheers Peter ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists -

[Zope] Import Error 'PTKDemo' - but *no* PTKDemo objects around..

2000-08-15 Thread Tony McDonald
Hi all, I'm having a nightmare here. I have a Zope 2.2 (src, solaris) installation that I built from scratch. Then, because *it would not* import an exported folder from a 2.1.6 installation I had to use the Data.fs from the 2.1.6 installation and strip out everything other than the folder I w

RE: [Zope] [Ann] Another Zope Book

2000-08-15 Thread Chris McDonough
This sounds like a good idea, IMHO. The Zope Book doesn't go into much detail about technologies outside Zope. It sounds like your book would, and this would be a good thing. > -Original Message- > From: Dieter Maurer [mailto:[EMAIL PROTECTED]] > Sent: Tuesday, August 15, 2000 10:45 AM

Re: [Zope] Zope bug or my stupidity?

2000-08-15 Thread Peter Hernberg
--- Chris Withers <[EMAIL PROTECTED]> wrote: > Peter Hernberg wrote: > > Here's the method that calls that method: > > > > Why the quotes? > > try instead > But then I get the following weird error: Traceback (innermost last): File /root/Zope-2.2.0-src/lib/python/ZPublisher/Publish

[Zope] [Ann] Another Zope Book

2000-08-15 Thread Dieter Maurer
Dear Zopistas, I plan to write another book about Zope: "Building Dynamic WebSites with Zope". The book idea: Realize a demanding dynamic WebSite with Zope. Describe everything that is necessary for this purpose. This will contain: Concepts: HTTP, HTML, Zope, Databases, JavaScript, ...

[Zope]

2000-08-15 Thread Chris Withers
Always bear in mind that anything inside double quotes gets executed as python. Therefor, the followign lines are not doing what you intend: Peter Hernberg wrote: > > try these instead: cheers, Chris ___ Zope maillist - [EMAIL

[Zope] ZCatalog Question

2000-08-15 Thread Jeff Sasmor
I have a product that has three CatalogAware Zclasses. They are indexed by the catalog correctly, but when I look at the catalog's status tab, the number of objects for each index are identical, even though the ZClasses themselves don't all have the same properties. Intuitively, this seems wrong

Re: [Zope] Reloading file objects?

2000-08-15 Thread Dieter Maurer
Peter Arvidsson writes: > Does anyone know a way to get the file to show the new pdf-file when I > want to view it? You can use an "Expires" header to control how long a browser might cache a page. Dieter ___ Zope maillist - [EMAIL PROTECTED] h

RE: [Zope] Struggling with Permissions

2000-08-15 Thread Jean Jordaan
Hi RDM > My bet is that this is a browser caching issue. Mine too. But how does everyone else manage authentication? -- Jean Jordaan --technical writer-- Mosaic Sofware --Zope 2.16 on W2K ___ Zope maillist - [EMAIL PROTECTED]

Re: [Zope] dtml-in and tuples

2000-08-15 Thread Chris Withers
Shane Hathaway wrote: > > I don't know of any place. It ought to be in the DTML reference. I guess I'll hope and wait for the Zope Book :-) cheers, Chris ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No

Re: [Zope] dtml-in and tuples

2000-08-15 Thread Shane Hathaway
Chris Withers wrote: > > Shane Hathaway wrote: > > Looking at the code, it appears that if you pass a list of two-element > > tuples, dtml-in will sort by the first element of each pair and render > > the second element. > > Unluckilly, that's exactly what I was passing it. But not the result I

[Zope] Looking up other row records in an SQLMethod?

2000-08-15 Thread Theodore Patrick
Is it possible to look up other SQL record values while iterating through a ? Sample Data returned by SQL Method: ID, ORDER 23, 1 25, 3 34, 6 39, 19 12, 23 Using a I need to get the following during a single pass through the SqlMethod: HEADER >>ID ORDER PREV NEXT PASS 1 >>23

RE: [Zope] Hotfixes: serious suggestion

2000-08-15 Thread Brian Lloyd
> I already wrote it to DC but got no response, so I will try > to get some feedback here. Who did you send it to? I don't recall seeing it... > At the moment DC uses the north american way of expressing dates and > assigns them in this form to the names of the Hotfixes. I > propose another

Re: [Zope] Struggling with Permissions

2000-08-15 Thread R. David Murray
On Tue, 15 Aug 2000, Jean Jordaan wrote: > (this is from ccDocClass_add). When I arrive I *still* see: > > (I'm Anonymous User and I have Anonymous role(s).) > > Now I edit the URL manually and visit /docs/manage, which > works *without* prompting me for authentication. I edit the > URL back

[Zope] Z2.py DNS_IP (name resolution)

2000-08-15 Thread Hugo Ramos
Yellow ppl, I inserted my local machine IP address in DNS_IP section of Z2.py as I used to in version 2.1.6 (now running 2.2.1b1). This used to work for me and instead of numbers I would get resolved names in the Z2.log. Since I upgraded to 2.2.0 and now 2.2.1b1 I only get numbers. DNS_IP sectio

[Zope] File uploads causing memory to be used up

2000-08-15 Thread Tony McDonald
Hi all, I have an external method that uploads RTF files(and only RTF files) into a unix directory. It works fine, except it doesn't seem to release the memory it uses up in uploading the file. The method is; def process_file(self, file, location, REQUEST): if file.read(1) == '':

[Zope] Zope bug or my stupidity?

2000-08-15 Thread Peter Hernberg
...I'm betting on the latter :) The problem in a nutshell is that a dtml method seems to be returning itself (that is, the dtml source of the method), rather than what it ought to be returning. I have two classes, a "Topic" class, derived from ObjectMananger, and a "Story" class. The Topics conta

Re: [Zope] Zope bug or my stupidity?

2000-08-15 Thread Chris Withers
Peter Hernberg wrote: > Here's the method that calls that method: > Why the quotes? try instead cheers, Chris ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Re

Re: [Zope] Implementing a login form instead of BASIC authentication

2000-08-15 Thread Phil Harris
All, PHPlib (http://phplib.netuse.de) has a piece of javascript that creates MD5 hashes from the entries in a form: so you would never have to pass passwords in clear text, as long as the hash agrees with the one created server side, login is successful. the PHPlib docs describe it better than

Re: [Zope] Implementing a login form instead of BASIC authentication

2000-08-15 Thread Chris Withers
albert boulanger wrote: > DIGEST seems good in that it is encrypted and uses the > Challange/Response like BASIC for every HTTP transaction -- matched well > with the stateless nature of HTTP. AFAIK, no browsers (maybe Mozilla, but that has the stability of a house of cards ;-) support Digest adn

Re: [Zope] dtml-in and tuples

2000-08-15 Thread Chris Withers
Shane Hathaway wrote: > Looking at the code, it appears that if you pass a list of two-element > tuples, dtml-in will sort by the first element of each pair and render > the second element. Unluckilly, that's exactly what I was passing it. But not the result I was looking for :S > If, on the o

Re: [Zope] Implementing a login form instead of BASIC authentication

2000-08-15 Thread albert boulanger
Stephan Goeldi wrote: > > Wouldn't that reduce system security? I think he mean cookie-based authentication, as found on zope.org. > >I am currently looking into implementing a login form to replace the > >standard BASIC authentication. Gérard, Take a look at things

RE: [Zope] Hotfixes: serious suggestion

2000-08-15 Thread Gijs Reulen
Totally agree. In fact I think it is so logically that the question should be: Can anyone think of an argument against it ? (Else then: I am an arrogant American, I like it and f**k the rest of the world). Gijs Reulen > -Oorspronkelijk bericht- > Van: [EMAIL PROTECTED] [mailto:[EMAIL PRO

Re: [Zope] dtml-in and tuples

2000-08-15 Thread Shane Hathaway
Chris Withers wrote: > > "R. David Murray" wrote: > > > > On Mon, 14 Aug 2000, Jonothan Farr wrote: > > > Well in Python a list is mutable and a tuple is not. > > > > Right, but he's asking why dtml-in treats tuples in a special way, > > and exactly what that behavior is. > > That's right :-) >

[Zope] Structured Text Rendering

2000-08-15 Thread Chris Withers
Hi, I have a list of string.strip'ped strings which I'd like to render using structured text. I'm currently trying: stx = str(StructuredText.html_with_references(join(storedLines,' \n'), level=3)) but that isn't working :( The text in the form submission is: """ sdfsdf - sdfsdf - sdfsdf

[Zope] Cannot save Version

2000-08-15 Thread Jentsch, Peter
Hello! I created and logged in to a version object on my Zope-Site to do some extensive remodelling. When I tried to commit the changes, Zope responded with the following error: Error Type: KeyError Error Value: %} [...] Traceback (innermost last): File /opt/Zope-2.0.1-2/lib/python/ZPublisher/

[Zope] Struggling with Permissions

2000-08-15 Thread Jean Jordaan
Hi all I've run into something baffling regarding authentication. For debugging purposes, my standard_html_header tells me: (I'm and I have role(s).) When I visit /docs, it tells me: (I'm Anonymous User and I have Anonymous role(s).) That's cool. Now I visit: /docs/manage_addProd

[Zope] Administrator Guide

2000-08-15 Thread Stephan Goeldi
On which URL is the Administrator Guide for Unix? -goe- Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com ___ Zope maillist - [EMAIL PROTECTED] http://l

Re: [Zope] Seeking Zope Volunteers

2000-08-15 Thread Andrew Kenneth Milton
y+---[ Dieter Maurer ]-- | Andrew Kenneth Milton writes: | > +---[ Lyno Sullivan, Candidate ]-- | > | Greetings, | > | | > | My name is Lyno Sullivan and I am the endorsed Independence Party (see | > | > [ snip ] | > | > And you are no

Re: [Zope] Problem with nested dtml-in

2000-08-15 Thread Dieter Maurer
Bill Welch writes: > 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: ['zl

Re: [Zope] Implementing a login form instead of BASIC authentication

2000-08-15 Thread Chris Withers
Stephan Goeldi wrote: > > Wouldn't that reduce system security? I think he mean cookie-based authentication, as found on zope.org. > >I am currently looking into implementing a login form to replace the > >standard BASIC authentication. Gérard, Take a look at things like LoginManager and GUF

Re: [Zope] Looking for different style

2000-08-15 Thread Dieter Maurer
cuiod-tec Jens Gelhaar writes: > I need a better way to render a DTMLDocument and store the result in > variable than > > 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. Usually, yo

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

2000-08-15 Thread Dieter Maurer
Skip Montanaro writes: > > 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 s

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

2000-08-15 Thread Dieter Maurer
Marcin Kasperski writes: > I decided to subclass DTML Document and (using ZClass) create my own > document class > > 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

Re: [Zope] Seeking Zope Volunteers

2000-08-15 Thread Dieter Maurer
Andrew Kenneth Milton writes: > +---[ Lyno Sullivan, Candidate ]-- > | Greetings, > | > | My name is Lyno Sullivan and I am the endorsed Independence Party (see > > [ snip ] > > And you are now Lyno Sullivan, Spammer and in violation of your own laws. I would

[Zope] "Computed" variable access (was: [Zope] use properties to get an object with dtml-var)

2000-08-15 Thread Dieter Maurer
Gerard Metrailler Jr. writes: > Hello, > > I am trying to get the following more generic. > > > > 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 get

Re: [Zope] problems connections to database

2000-08-15 Thread Dieter Maurer
Tom Deprez writes: > Hi, > > I get a strange error here. Suddenly the connection to my interbase db > doens't works anymore. I get the following message : > > File /usr/local/zope/lib/python/Products/gvibDA/db.py, line 178, in _abort > File gvib/gvib.py, line 466, in rollback > E

Re: [Zope] Implementing a login form instead of BASIC authentication

2000-08-15 Thread Dieter Maurer
Meeting Maker Webmaster writes: > I am currently looking into implementing a login form to replace the > standard BASIC authentication. Have a look at GUF or the new LoginManager. They do something similar to what you want. Either, you can use them directly, or learn how they work and realize

Re: [Zope] Adding new News items using Yihaw

2000-08-15 Thread Chris Withers
Meaghan Aldridge wrote: > What I want to happen is that I can have a link to a page that displays > a form with one field with the message to be displayed, and perhaps > another field with a brief title. (The other fields, being the date and > the name of the person who posted the message, I will

Re: [Zope] dtml-in and tuples

2000-08-15 Thread Chris Withers
"R. David Murray" wrote: > > On Mon, 14 Aug 2000, Jonothan Farr wrote: > > Well in Python a list is mutable and a tuple is not. > > Right, but he's asking why dtml-in treats tuples in a special way, > and exactly what that behavior is. That's right :-) ..and in particular why it's so weird. It

Re: [Zope] Implementing a login form instead of BASIC authentication

2000-08-15 Thread Stephan Goeldi
Wouldn't that reduce system security? >I am currently looking into implementing a login form to replace the >standard BASIC authentication. Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com __

Re: [Zope] Hotfixes: serious suggestion

2000-08-15 Thread Dyon Balding
On Tue, Aug 15, 2000 at 10:18:24AM +0200, Frank Tegtmeyer wrote: > Hi all, > > The current format is Hotfix_08_09_2000, my proposed format is > Hotfix_2000-08-09. > This is the ISO 8601 format (abbreviated form). totally agree. american style dates are frustrating in many ways. whereever it c

[Zope] Hotfixes: serious suggestion

2000-08-15 Thread Frank Tegtmeyer
Hi all, I already wrote it to DC but got no response, so I will try to get some feedback here. At the moment DC uses the north american way of expressing dates and assigns them in this form to the names of the Hotfixes. I propose another naming scheme and will explain the reasons below. The

[Zope] Adding new News items using Yihaw

2000-08-15 Thread Meaghan Aldridge
I am a Zope Newbie, and have been creating a company Intranet using Zope, and have stumbled across a problem that has me absolutely stumped! I have created a basic Web Interface using the Yihaw Product, and in this, I have added News Items. To search this, I use ZCatalog, which works quite well.

  1   2   >