Re: [Zope] Newbie Install: Solaris/Zeus

2000-11-16 Thread Aleksander Salwa
On Wed, 15 Nov 2000, Lee Hunter wrote: > Zope requires Python thread support! You need to recompile Python with thread support turned on. [EMAIL PROTECTED] /--\ | `long long long' is too long for GCC | \--/

[Zope] Web mail with POP3

2000-11-16 Thread Aleksander Salwa
I need to build a web mail product with pop3 back-end. There is WorldPilot, but AFAIK it has no pop3 support. I'm thinking about taking web inteface/application design from WorldPilot and writing code to talk to pop3 server (probably based on POPMail product). Is this a good approach, or someone

Re: [Zope] Newbie Install: Solaris/Zeus

2000-11-16 Thread Tony McDonald
On 16/11/00 4:23 am, "Lee Hunter" <[EMAIL PROTECTED]> wrote: > I'm trying to install Zope 2.2.2 on a shared web host that uses Zeus running > on Solaris. > > When I try to run "python w_pcgi.py" I get the following error: > > > > Zope requires Python thread support! > > > >

Re: [Zope] Web mail with POP3

2000-11-16 Thread seb bacon
* Aleksander Salwa <[EMAIL PROTECTED]> [001116 09:00]: > I need to build a web mail product with pop3 back-end. > There is WorldPilot, but AFAIK it has no pop3 support. > I'm thinking about taking web inteface/application design from WorldPilot > and writing code to talk to pop3 server (probably b

Re: [Zope] using if with date values

2000-11-16 Thread Chris Withers
"Herring, William O." wrote: > > I would like to insert into the this sql table the form variable birth.x. > I would like to do it only if the date variable identification.birthdate is > greater the that listed below. I know the current 'if' statement is > incorrect and probably not even close.

Re: [Zope] Dr.Watson on NT

2000-11-16 Thread Toby Dickenson
On Fri, 10 Nov 2000 17:54:37 WET, "Júlio Dinis Silva" <[EMAIL PROTECTED]> wrote: >Hi all, >Is there a NT guru in the house :-) Last time you asked exactly the same question I pointed you to Microsoft's Knowledge Base articles Q188296 and Q103861. In what way do these not help? Have you tried de

[Zope] Transaction sizes

2000-11-16 Thread Paul Zwarts
Hi all, I have a few forms that really work intermitently. They are quite large in processing, accessing several thousand occurences in several tables, several times. Wont go into details, but its a resource hog. Alot of times the page eventually returns a No data error. This causes me to wonder

[Zope] chapter 5 Zope book - problems with the examples

2000-11-16 Thread Lee Reilly CS1997
Hi, I'm going through the examples in Chapter 5 of the Zope book and am having some problems. For those of you familiar with it, it is the 'Zope Zoo' example. Can anyone help me out? 1 - I create a DTML method called navigation as follows: 2 - On viewing this method it works fine - a h

Re: [Zope] Web mail with POP3

2000-11-16 Thread Morten W. Petersen
[Aleksander Salwa] | Is this a good approach, or someone already has wrote something like this | for Zope ? You could take a look at ZopeGUM, http://www.zope.org/Members/morphex/ZopeGUM . -Morten ___ Zope maillist - [EMAIL PROTECTED] http://lists.z

[Zope] Passing paramaters for form processing

2000-11-16 Thread steve smith
How do I set some parameters for use in a form processing method? I have a HTML "FORM" tag referencing a DTML method name, and I want that method to have visibilty of some variables from the calling methods space. I've tried passing them with the url (eg, "ACTION=/someurl?fred=") and by using REQU

Re: [Zope] ZopeLDAP 1.0b4 breaks the root directory security tab

2000-11-16 Thread Kyler B. Laird
On Fri, 6 Oct 2000 15:53:14 -0400 you wrote: >Since installing ZopeLDAP 1.0b4, I get the following error when trying to >access the security tab at the root directory: >Zope Error > > Zope has encountered an error while publishing this resource. > > Error Type: TypeErr

[Zope] Zope good for multiprocessor hardware

2000-11-16 Thread Andreas Tille
Hello, we intent to buy new web server hardware. We want to run Debian GNU/Linux on a Sun system. I wonder if zope could profit from a multi-processor architecture on such a system. Zope server starts several threads. So could they be split over the different processors automatically, can I en

RE: [Zope] chapter 5 Zope book - problems with the examples

2000-11-16 Thread Max Møller Rasmussen
You have an aquisition/namespace problem. If is used in a document like an index_html dtml-document, It tries to find the objecValues in that document. But a document is not a folder. So the list will be empty. So is your index_html a document or method? Try changing it to a method, as a metho

Re: [Zope] chapter 5 Zope book - problems with the examples

2000-11-16 Thread Geir Bækholt
my guess is that your index.html is a dtmlDocument... Make it a dtmlMethod, and things will probably work.. Documents have their own namespace, so you are looking for folders inside index.html (and not finding any, of course).. if you need to have index.hmtl as a document, you could try (untest

Re: [Zope] Passing paramaters for form processing

2000-11-16 Thread Jim Washington
Hi, Steve Inside the form, you probably want: -- Jim Washington steve smith wrote: > > How do I set some parameters for use in a form processing method? I have a > HTML "FORM" tag referencing a DTML method name, and I want that method to > have visibilty of some variables from the calling m

Re: [Zope] Passing paramaters for form processing

2000-11-16 Thread Kyler B. Laird
On Fri, 17 Nov 2000 00:50:50 +1100 you wrote: >How do I set some parameters for use in a form processing method? I have a >HTML "FORM" tag referencing a DTML method name, and I want that method to >have visibilty of some variables from the calling methods space. I've tried >passing them with the

Re: [Zope] chapter 5 Zope book - problems with the examples

2000-11-16 Thread Chris Gray
Make sure that all three objects (navigation, standard_html_header, and index_html) are DTML Methods and _not_ DTML Documents. If they are documents objectValues list the folders they contain (none) rather than the folders contained by the folder you call the method on. If any of these are Docum

Re: [Zope] ZClasses on top of my Python classes?

2000-11-16 Thread Steve Spicklemire
Hi Randy, > "R" == Randall Kern <[EMAIL PROTECTED]> writes: R> I've seen several doc tidbits suggesting one create ZClasses R> derived from their Python classes, sticking all the biz logic R> in the python classes, and the presentation in the R> ZClasses... R> Could som

Re: [Zope] Passing paramaters for form processing

2000-11-16 Thread Phil Harris
Steve Use hidden fields on the form: . . . hth Phil [EMAIL PROTECTED] - Original Message - From: "steve smith" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Thursday, November 16, 2000 1:50 PM Subject: [Zope] Passing paramaters for form processing > How do I set some parame

Re: [Zope] Passing paramaters for form processing

2000-11-16 Thread Oleg Broytmann
On Thu, 16 Nov 2000, Kyler B. Laird wrote: > > (Make sure that "fred" doesn't contain a double quote.) or just Oleg. Oleg Broytmannhttp://phd.pp.ru/[EMAIL PROTECTED] Programmers don't die, they just GOSUB without RETURN. __

Re: [Zope] How do I form an XML-RPC query to a remote server?

2000-11-16 Thread Ender
Tony McDonald wrote: > > Hi all, > I'm experimenting with collating data from a remote database that uses > XML-RPC. > > I can send it messages like; > >>> import xmlrpclib > >>> medweb = xmlrpclib.Server("http://bogus.server.com") > >>> medweb.getImages('scar') > ' ?>\015\012\011\015\012\011\01

Re: [Zope] Avoiding acquisition aka testing for contained objects

2000-11-16 Thread Stefan H. Holek
On Wed, 15 Nov 2000, Johan Carlsson wrote: > > If I want to know whether a certain object is contained in > > the current folder I do this: > > > > > > yes it's here > > > > not here > > > hasattr(self.aq_base, 'index_html') should probably work. > > aq_base returns the unwrapped base

RE: [zope] Help!!! (was: sudden ZClass breakage)

2000-11-16 Thread James Sintz
My ZClass is broken, but only in Zope 2.2.2 why? I exported my ZClass and imported it into a Zope 2.2.0 installation and it works GREAT. I figured, some how, I must have really screwed up my 2.2.2 installation so I removed it off my server. I then downloaded and installed 2.2.2 again, installed a

[Zope] dtml-if and dtml-with problems

2000-11-16 Thread James Sintz
Could someone tell me why the follow statement is never true. - The news folder contains several newsletters and one of them DOES have a 'nl_goLiveDate' of 2000/11/16 yet the above express seems to be always false. What obvious mistake am I making? Ideally I would like

[Zope] Visualization of inherited attributes

2000-11-16 Thread Jean Rodrigo Ferri
Greetings, I created an abstract ZClasse call "person" and a "service_prestator" ZClasse that it inherits the classroom "person". It would like to only visualize in a border (view) the attributes of the two classrooms, for this, I created a method calling the attributes these classrooms a

[Zope] Risks. Was ZopeLDAP 1.0b4 breaks the root directory security tab

2000-11-16 Thread Wolfgang Strobl
On 16 Nov 2000, 9:02 Kyler B. Laird wrote: > Remember the satellite that blew up because of a > missed comma? (O.k., something like that. Is it > an urban legend?) "MARINER 1, the first U.S. attempt to send a spacecraft to Venus, failed minutes after launch in 1962. The guidance instructions

Re: [Zope] Web mail with POP3

2000-11-16 Thread Joachim Werner
Look at Morten Petersen's ZopeGUM project (http://www.zope.org/Members/morphex). It has POP3. The interface is still more or less missing, but Morten is advancing quite well ... Also see my comments below ... Joachim - Original Message - From: Aleksander Salwa <[EMAIL PROTECTED]> To: <[

[Zope] ZClasse default in the product

2000-11-16 Thread Jean Rodrigo Ferri
Greetings again, I created a Product with 16 ZClasses, however these 16 classrooms are listed in the box of selection "Available Objects" : -), where it would need that only the main classroom was listed. I only qualify the main classroom through permissions or exists some "trick", as I m

Re: [Zope] dtml-if and dtml-with problems

2000-11-16 Thread Andy McKay
If your nl_goLiveDate is a date, then you might need to str() the variable -- Andy McKay, Developer. ActiveState. - Original Message - From: "James Sintz" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Thursday, November 16, 2000 9:13 AM Subject: [Zope] dtml-if and dtml-with prob

RE: [Zope] dtml-if and dtml-with problems

2000-11-16 Thread James Sintz
Thanks that did the trick... also found out that works as well. > -Original Message- > From: Andy McKay [SMTP:[EMAIL PROTECTED]] > Sent: Thursday, November 16, 2000 12:45 PM > To: James Sintz; [EMAIL PROTECTED] > Subject: Re: [Zope] dtml-if and dtml-with problems > > I

[Zope] DoD Users That You Know Of?

2000-11-16 Thread Kraska, Andy W.
I am considering application of Zope to a Department of Defense (DoD) customer. It would be very helpful to talk with other DoD type users of Zope so we can establish to other DoD people that the product's already successfully in use. Can you give me contact information on any such users please

Re: [Zope] DoD Users That You Know Of?

2000-11-16 Thread Martijn Pieters
On Thu, Nov 16, 2000 at 12:59:25PM -0500, Kraska, Andy W. wrote: > I am considering application of Zope to a Department of Defense (DoD) > customer. It would be very helpful to talk with other DoD type users of > Zope so we can establish to other DoD people that the product's already > successful

[Zope] Letting a user create something

2000-11-16 Thread Anders Eriksson
Hello, I have installed the Yihaw product and it work just fine. But I have one problem, and I guess this is kind of a general question. How do I let the user do something? e.g. Create a folder. In this particular case it's a Yihaw folder (or any of the other Yihaw entities. I understand that

[Zope] How to use the manage_add - methods

2000-11-16 Thread Espen Sorbye Frederiksen
I am a very novice zope/python user that needs to become an expert as soon as possible, since my whole dissertaion is based on Zope/Python. I have read all documentation availible on the zope.org site but can't find the answer to the following... 1. To run python scripts written as dtml methods.

[Zope] SiteAcess

2000-11-16 Thread Mechtild Hofmann
Hallo, We tried to install SiteAccess. But when we try to connect with a SiteRoot Objekt, we get error: Error Type: TypeError Error Value: unexpected keyword argument: validated_hook [...] Traceback (innermost last): File /var/zope/lib/python/ZPublisher/Publish.py, line 222, in publish_module

Re: [Zope] How to use the manage_add - methods

2000-11-16 Thread Chris McDonough
- Original Message - From: "Espen Sorbye Frederiksen" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Thursday, November 16, 2000 2:14 PM Subject: [Zope] How to use the manage_add - methods > I am a very novice zope/python user that needs to become an expert as soon > as possible, sin

[Zope] Invalid Date-Time String - Yihaw

2000-11-16 Thread Mechtild Hofmann
Hello again, I use Yihaw and have a problem with the yihawNewsItem and IE (4.0): When I add a longer news, I got the error: Invalid Date-Time String with IE, not with netscape. The only way: I take a part of the massage and add the rest by editing. What's wrong ? Thank you for help Mechtild

Re: [Zope] Web mail with POP3

2000-11-16 Thread Aleksander Salwa
On Thu, 16 Nov 2000, seb bacon wrote: > What do you mean, 'pop3 support'? If you want people to access their > mailboxes both through the web and from a pop3 mail client, then all you > need to do is use a mail server like UW-imap which speaks both pop3 and > imap. Then you can just stick with W

Re: [Zope] SiteAcess

2000-11-16 Thread The Doctor What
* Mechtild Hofmann ([EMAIL PROTECTED]) [001116 13:53]: > We use Zope 2.2.2. and Linux. Guten tag! If the your linux distrobution os Debian, I know what the problem is, and can mail you a fixed debian that should work till the Debian maintainer fixes the problem. Ciao! -- "We can go back to da

[Zope] How to get around non-propogating proxy roles, also security problem with zsql traversal?

2000-11-16 Thread Brad Clements
Zope 2.2.2 on linux I have a web site where almost every page can only be viewed by authenticated (non anymous) users. I want to create one page that anonymous viewers can see. But to create this page I want to reuse (not duplicate) existing dtml, so I gave this page a proxy role "PUBLIC" and

Re: [Zope] Avoiding acquisition aka testing for contained objects

2000-11-16 Thread Dieter Maurer
Stefan H. Holek writes: > If I want to know whether a certain object is contained in > the current folder I do this: > > > yes it's here > > not here > > > Id like to know whether this is the best/most efficient way to do it. > Things like hasattr() are subject to aquisition i

Re: [Zope] ZCallable

2000-11-16 Thread Dieter Maurer
Stefan H. Holek writes: > I have this ZCallable product (from the PTK, I think). I do however not > manage to derive a ZClass from ZCallable. The error is something like "Too > many datafull base classes". > > Is ZCallable not intended to work like that (the source hints to > some Extension

Re: [Zope] DTML and SQL question...

2000-11-16 Thread Dieter Maurer
zope writes: > I want to test if there is some data in a table. In Zope, ZSQL methods return objects that behave like a sequence (of hit rows). In Python, an empty sequence is false while a non-empty sequence is true. Thus, you can use: to test any SQL query for a non-empty

[Zope] The new Python Method renaming Poll

2000-11-16 Thread Michel Pelletier
http://www.zope.org/Members/michel/Scratch/Poll Hope Netscape doesn't mess up my formatting on the rest of this. The above link goes to the HTML version if it does! -Michel The New and Improved Python Method Poll We recently held a poll on Zope.org about renaming Python Methods. The p

[Zope] Data.fs - can't pack: Oversized int - HELP!!!

2000-11-16 Thread sbabu
Hello, We've a production environment running Zope 2.1.6 on WinNT4 sp5 (not front ended with IIS). Data.fs is 60MB and growing at the rate of 10MB per day - we are building a site and quite a lot of people are adding content simultaneously. We pack the database daily. Yestderday afternoon packin

Re: [Zope] Data.fs - can't pack: Oversized int - HELP!!!

2000-11-16 Thread Andy McKay
> Q: I saw Jim's mail on fsrecover.py. Does this >work on Zope 2.1.6 databases too? > >I'll try tomorrow, with a backup copy. But >personal experience would be nice :-) Every time Ive had a data.fs problem running fsrecover or simply restarting (does the same thing has worked). There

[Zope] security problems

2000-11-16 Thread Bowyer, Alex
I am having some problems with getting the right security settings for my ZClass. I have one method index_html which should be viewable by anonymous. All other methods should only be viewable when a username/password is entered for someone with the role I have called UAAdmin One thing that is caus

[Zope] Junior Developer Wanted......

2000-11-16 Thread alesniak
Service Magic, Golden, CO We are searching for an open-minded, Junior Developer to join the Service Magic development team. Qualifications: 1 to 2 years of programming experience required in one or more of the following: Zope, Python, C/C++, OO programming.  Web application experience and proven

Re: [Zope] Catalog sort-on parameter

2000-11-16 Thread Tres Seaver
[EMAIL PROTECTED] wrote: > > I'm trying to use the 'sort-on' parameter in a Catalog search, and it > doesn't work. I use Zope 2.2.2. > > I read in pasts messages that the 'sort-on' feature was broken, is it still? The parameter to the Catalog's 'searchResults' method is spelled 'sort_on' (it m

[Zope] Running Mailman CGI under Zope ZServer

2000-11-16 Thread Fred Wilson Horch
Hello out there, I'm looking for someone with some more Zope "Zen" to help me figure out how to add support for legacy CGI scripts (specifically Mailman 1.1) to Zope. To recap, I know and understand how to get Apache to play nicely with Zope. What I'm trying to do is remove the need for Apache

[Zope] Re: Zope digest, Vol 1 #1059 - 51 msgs

2000-11-16 Thread Tres Seaver
James Sintz <[EMAIL PROTECTED]> wrote: > To: "'Andy McKay'" <[EMAIL PROTECTED]>, [EMAIL PROTECTED] > Subject: RE: [Zope] dtml-if and dtml-with problems > Date: Thu, 16 Nov 2000 12:54:21 -0500 > > Thanks > > that did the trick... > > > > also found out that > > ZopeTime().strftime('%Y/%m

Re: [Zope] The new Python Method renaming Poll

2000-11-16 Thread Andrew Kenneth Milton
+---[ Michel Pelletier ]-- | | asking the question "Who is buried in Grant's tomb?". Duh. Perhaps for the non-americans, someone can tell us why the answer to this is 'nobody.' -- Totally Holistic Enterprises Internet| P:+61 7 3870 0066 | Andrew Milton The Inter

Re: [Zope] The new Python Method renaming Poll

2000-11-16 Thread Bill Anderson
Anyway we could get maybe daily list of submitted candidates, or a page listing them, so we don't duplicate (I get the feeling there may be multiple request for Python ZMethod, for example.) efforts on getting candidates? Might keep your inbox from swelling with duplicates too. :) Bill _

Re: [Zope] The new Python Method renaming Poll

2000-11-16 Thread Shane Hathaway
Michel Pelletier wrote: > *Once again* we will be soliciting names from inside DC and from the > community. In addition to submitting a name, we encourage you to also > submit a one-liner description or justification for you name, it can be > in any form, Haiku poetry, a Dutch sea

Re: [Zope] The new Python Method renaming Poll

2000-11-16 Thread Yves-Eric Martin
On Thu, 16 Nov 2000 19:00:29 -0700 Bill Anderson <[EMAIL PROTECTED]> wrote: > Anyway we could get maybe daily list of submitted candidates, or a page > listing them How about a wiki ? -- Yves-Eric Martin Digital Garage Inc. [EMAIL PROTECTED] ___ Z

[Zope] GNOME Web Team - Call for Volunteers

2000-11-16 Thread rainlood
Hello. http://news.gnome.org/gnome-news/974368712/ GNOME Web Team - Call for Volunteers Posted by Christian Schaller on Thursday November 16, @04:58AM from the spiderman-wanted dept. Joakim Ziegler has posted a statement to the GNOME announce list calling for volunteers to help out with the G

Re: [Zope] The new Python Method renaming Poll

2000-11-16 Thread Steven D. Majewski
On Fri, 17 Nov 2000, Andrew Kenneth Milton wrote: > +---[ Michel Pelletier ]-- > | > | asking the question "Who is buried in Grant's tomb?". Duh. > > Perhaps for the non-americans, someone can tell us why the answer to this is > 'nobody.' > I thought the answer wa

Re: [Zope] The new Python Method renaming Poll

2000-11-16 Thread Michel Pelletier
Andrew Kenneth Milton wrote: > > +---[ Michel Pelletier ]-- > | > | asking the question "Who is buried in Grant's tomb?". Duh. > > Perhaps for the non-americans, someone can tell us why the answer to this is > 'nobody.' Oops. Ulysses S. Grant is buried in Grant's t

Re: [Zope] The new Python Method renaming Poll

2000-11-16 Thread Andrew Kenneth Milton
+---[ Michel Pelletier ]-- | Andrew Kenneth Milton wrote: | > | > +---[ Michel Pelletier ]-- | > | | > | asking the question "Who is buried in Grant's tomb?". Duh. | > | > Perhaps for the non-americans, someone can tell us why the answer to th

[Zope] overriding manage_beforeDelete in a CatalogAware Product

2000-11-16 Thread Dennis Nichols
I think I need help in overriding the manage_beforeDelete method from CatalogAware. Just to be sure I'm asking the right question, here's the background: I have a Product (in Python, not TTW) whose instances get cataloged in a separate ZCatalog called CommentCatalog. My product's class inherit