Re: [Zope] sudden ZClass breakage

2000-10-05 Thread Kapil Thangavelu
Timothy Wilson wrote: > > Hi everyone, > > I've been working away on a ZClass-based product that will provide a > searchable job board for our Human Resources Dept. here at school. Things > were going along fine until, it seemed, out of the blue I started getting an > error message about an "Inv

Re: [Zope] status of SOAP for Zope?

2000-10-05 Thread Petru Paler
On Thu, Oct 05, 2000 at 01:25:44PM -0700, Michel Pelletier wrote: > > > What is the status of SOAP on Zope, I need to know if I can use ROPE.. > > > > Hi Brad - > > > > SOAP is still something we want to do, but it is on hold right > > now (we just don't have the resources at the moment). I've b

[Zope] sudden ZClass breakage

2000-10-05 Thread Timothy Wilson
Hi everyone, I've been working away on a ZClass-based product that will provide a searchable job board for our Human Resources Dept. here at school. Things were going along fine until, it seemed, out of the blue I started getting an error message about an "Invalid Date-Time String" and a lengthy

[Zope] external method database connection

2000-10-05 Thread Mark Twiddy
Hi ya Another newbe question sorry. How do I get a zope database connection from an enternal method? Thanks Mark ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Relate

[Zope] Container Class questions

2000-10-05 Thread geoff
A hopefully simple Zope question from a relative newbie: This is for a project desiged to demonstrate the power of Zopish content management to potential customer, and right now I'm trying to create a simple product with a few attributes and that can contain (or be associated with) an image.

[Zope] Container Class questions

2000-10-05 Thread geoff
A hopefully simple Zope question from a relative newbie: This is for a project desiged to demonstrate the power of Zopish content management to potential customer, and right now I'm trying to create a simple product with a few attributes and that can contain (or be associated with) an image.

[Zope] improvement to ZEO/Zope how-to

2000-10-05 Thread Bill Welch
Thanks, kedai, for putting this together - it really helped. Now for an improvement - please note that custom_zodb.py needs to go in INSTANCE_HOME, which is not necessarily the same as the Zope installation directory. ___ Zope maillist - [EMAIL PROTE

Re: [Zope] redirect to user's folder not working

2000-10-05 Thread Curtis Maloney
On Fri, 06 Oct 2000, Andy McKay wrote: > AUTHENTICATED_USER is not a string so need to cast it before doing the > string operation: > > > > effectively does the same thing, it calls the > string representation of AUTHENTICATED_USER. > A more 'polite' way to get the user name is to use AUTHENTI

Re: [Zope] Subtracting DateTimes?????

2000-10-05 Thread Curtis Maloney
On Fri, 06 Oct 2000, Daniel Rusch wrote: > We backup our database every night at 3:00 AM CT. 15 minutes prior to > this (i.e. 2:45 AM) I would like to display a warning. > How do I compare the current time "(ZopeTime()).toZone('US/Central')"> to 3:00 AM Central Time ? > > doesn't work. > > A

[Zope] Calling Product Method

2000-10-05 Thread Nestor A. Diaz L.
HI, Following with the new product user tutorial, i have a little question: How can i call a method of a product from a dtml-method? Suppose the Following: Any idea of how to do this? thanks, -- Nestor A. Diaz Ingeniero de Desarrollo Engendro.com - Comercio Electronico sobre Linux Email:

Re: [Zope] status of SOAP for Zope?

2000-10-05 Thread Michel Pelletier
Brian Lloyd wrote: > > > MS has released ROPE for client-side SOAP development (finally). > > > > I can't seem to find anything in Zope for doing SOAP, but it was > > announced in Dec 1999 as "upcoming". > > > > What is the status of SOAP on Zope, I need to know if I can use ROPE.. > > Hi Brad -

[Zope] Sorry LocalFS manage_addLocalFS not manage_addFolder

2000-10-05 Thread jensebaer
  Sorry I want to write manage_addLocalFS not manage_addFolder Hi all,   I want to create an LocalFS object.   I use but that doesn´t work.   Simular to  that works       Error Type: NameError Error Value: manage_addLocalFS   Traceback (innermost last

[Zope] LocalFS manage_addFolder solution?

2000-10-05 Thread jensebaer
Hi all,   I want to create an LocalFS object.   I use but that doesn´t work.   Simular to  that works       Error Type: NameError Error Value: manage_addLocalFS   Traceback (innermost last):  File /home/zope/Zope-2.1.6-src/lib/python/ZPublisher/Publish.py, line 214, in publish_module  File

Re: [Zope] Subtracting DateTimes?????

2000-10-05 Thread Ryan M. Dolensek
Try... = 45"> Time to show backup warning! Daniel Rusch wrote: > We backup our database every night at 3:00 AM CT. 15 minutes prior to > this (i.e. 2:45 AM) I would like to display a warning. > How do I compare the current time "(ZopeTime()).toZone('US/Central')"> to 3:00 AM Central Time ??

[Zope] Migrating from 2.1.6 to 2.2.2

2000-10-05 Thread James Howe
I have a Zope based web site running under 2.1.6. I want to move it to a different machine which will be running 2.2.2. Can someone identify the steps I need to take to make this move? What things do I need to be aware of in moving between these versions? Do I just need to copy the data.fs

RE: [Zope] status of SOAP for Zope?

2000-10-05 Thread Brad Clements
Okay, has anything been done at all? Where would I start? What's left to do? Brad Clements,[EMAIL PROTECTED] (315)268-1000 http://www.murkworks.com (315)268-9812 Fax netmeeting: ils://ils.murkworks.com AOL-IM: BKClements

RE: [Zope] status of SOAP for Zope?

2000-10-05 Thread Brian Lloyd
> MS has released ROPE for client-side SOAP development (finally). > > I can't seem to find anything in Zope for doing SOAP, but it was > announced in Dec 1999 as "upcoming". > > What is the status of SOAP on Zope, I need to know if I can use ROPE.. Hi Brad - SOAP is still something we want

Re: [Zope] Detecting Roles not working

2000-10-05 Thread Tres Seaver
Kapil Thangavelu <[EMAIL PROTECTED]> wrote > Jonathan Cheyne wrote: > > > > Hi all > > > > I have built the basis of a site with full, form-based webediting of > > objects. Coming round to cleanup time and I wanted to remove certain > > visible functions from the default object views unless you h

Re: [Zope] Site search with squishdot and own products

2000-10-05 Thread Andy McKay
One day with nothing better to do I wrote an external method to merge catalogs, but I got stuck on the simple problem that you still have to load the whole query into memory and realised it got very inefficient. In the end I decided it was easier to have one more catalog do everything. - Ori

Re: [Zope] Newbie with little questions about Zope

2000-10-05 Thread J. Atwood
> From: Antonio Navarro Navarro <[EMAIL PROTECTED]> > Date: Thu, 05 Oct 2000 16:35:37 +0200 > To: [EMAIL PROTECTED] > Subject: [Zope] Newbie with little questions about Zope > > Hi All ! > > I am a newbie in the Zope world. I've benn working several years with IIS, > Apache, Perl, ASP, PHP, et

Re: [Zope] Newbie with little questions about Zope

2000-10-05 Thread Andy McKay
- Original Message - From: "Antonio Navarro Navarro" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Thursday, October 05, 2000 7:35 AM Subject: [Zope] Newbie with little questions about Zope > Hi All ! > > I am a newbie in the Zope world. I've benn working several years with IIS, > A

Re: [Zope] redirect to user's folder not working

2000-10-05 Thread Andy McKay
AUTHENTICATED_USER is not a string so need to cast it before doing the string operation: effectively does the same thing, it calls the string representation of AUTHENTICATED_USER. - Original Message - From: "Erik Myllymaki" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Thursday, O

[Zope] re: redirect to user's folder not working

2000-10-05 Thread Erik Myllymaki
To answer my own question ;-)) -- Erik Myllymaki [EMAIL PROTECTED] ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/list

[Zope] Site search with squishdot and own products

2000-10-05 Thread Anders Holmbech Nielsen
Hi, I'm having a "small" problem here. I would like to have a site search that searches everything within a directoty on the Zope server. I'm only using the ZODB but I have two Squishdot's installed and several ZClasses which is indexed in a catalog. How do I approach this problem ? Is there a Z

[Zope] Problem with

2000-10-05 Thread Tim Gildersleeve
Hi I am trying to get a I am trying to create a variable called TOTALDEVIATION and assign the value of fSTART (passed through the documents POST or GET value). If I do there is no problem, but with the first one, i get Error Type: TypeError Error Value: number coercion fail

[Zope] Subtracting DateTimes?????

2000-10-05 Thread Daniel Rusch
We backup our database every night at 3:00 AM CT. 15 minutes prior to this (i.e. 2:45 AM) I would like to display a warning. How do I compare the current time to 3:00 AM Central Time ? doesn't work. Any thoughts??? Dan ___ Zope maillist - [E

Re: [Zope] In a python method, I want to convert a XML string into a dictionary...

2000-10-05 Thread Philipp Auersperg
0. There is an XML parser in the python standard library (package xmllib, you find it in the python documentation), there also exist alternative xml parsers. 1. Take a look at www.xml-rpc.com, you find a lot of iternnformation there. 2. check out the xmlrpclib by Frederic Lundh (it comes

[Zope] redirect to user's folder not working

2000-10-05 Thread Erik Myllymaki
I am using this line in my index_html DTML method in the base root folder to redirect users to their proper folder so content can be specialized for each of them: I get an error: Error Type: TypeError Error Value: illegal argument type for built-in operation It works fine like hard-coded like

Re: [Zope] IMAP and Zope!

2000-10-05 Thread Maik Roeder
Hi ! Joachim Werner wrote: > > Thanks for the input I got! > > Just a small wrap-up of what I learned: > > - The NotMail and old IMAP Adapter code don't seem to be seriously used by >anybody > > - WorldPilot could be a solution, but it only if it was more modular. Ryan >Hughes promise

[Zope] Newbie with little questions about Zope

2000-10-05 Thread Antonio Navarro Navarro
Hi All ! I am a newbie in the Zope world. I've benn working several years with IIS, Apache, Perl, ASP, PHP, etc.. in Windows and Unix environments, and want to try Zope, but have some questions about it. 1.- Can I made virtual hosts (www.domain1.com, www.domain2.com, and so on) using the Zope we

Re: [Zope] _ in a product

2000-10-05 Thread Toby Dickenson
On Thu, 05 Oct 2000 16:03:24 +0200, Pierre-Julien Grizel <[EMAIL PROTECTED]> wrote: >Correcting my earlier post, I'd "simply" like to have a way to get the _ >(namespace) variable in a product method. >Currently, I use the following syntax : > > > >to pass _ to my product. > >It works, but. R

[Zope] installation error.

2000-10-05 Thread G.Sagar
hi, i installed zope 2.2.0 (src.tgz). when i run the start script, it gives me the foll error : IOError: [Errno 13] Permission denied: '/home/sagar/progs/zope/Zope-2.2.0-src/var/Z2.pid' the ownership of the complete directory is 'root' except "var" which is 'nobody'. any clues on why its thro

[Zope] _ in a product

2000-10-05 Thread Pierre-Julien Grizel
Hi, Correcting my earlier post, I'd "simply" like to have a way to get the _ (namespace) variable in a product method. Currently, I use the following syntax : to pass _ to my product. It works, but. Reminds me of the great times when my hammer was the dtml-method.. Has anyone a

Re: [Zope] ZClass, Product comparison

2000-10-05 Thread Maik Roeder
Hi Nestor ! "Nestor A. Diaz L." wrote: > > HI, thanks you for the latest answer on testing products, however i have a > doubt i know how to make ZClass however i think they are more restrictive, > can anyone telling me advantanges or disadvantes of using Zclass instead > of products? Have a loo

[Zope] ZClass, Product comparison

2000-10-05 Thread Nestor A. Diaz L.
HI, thanks you for the latest answer on testing products, however i have a doubt i know how to make ZClass however i think they are more restrictive, can anyone telling me advantanges or disadvantes of using Zclass instead of products? Thank you, -- Nestor A. Diaz Ingeniero de Desarrollo Engendr

[Zope] status of SOAP for Zope?

2000-10-05 Thread Brad Clements
MS has released ROPE for client-side SOAP development (finally). I can't seem to find anything in Zope for doing SOAP, but it was announced in Dec 1999 as "upcoming". What is the status of SOAP on Zope, I need to know if I can use ROPE.. Brad Clements,[EMAIL PROTECTED] (315

Re: [Zope] A temporary python object defined in a dtml-let tag ???

2000-10-05 Thread Shane Hathaway
Frederic Quin wrote: > I wonder if it's possible to create temporary a python object in a > dtml-let tag. If someone knows more about how to do this, please, help > me... The first element of myvar is In both the dtml-let and the dtml-var tags, the stuff between quotes is Python. Shane __

[Zope] ANNOUNCE mailForm 1.0 beta

2000-10-05 Thread Max Møller Rasmussen
I have made a zClass product for making mailforms with simple validation easy. Se more in the How-To at: http://www.zope.org/Members/maxm/HowTo/mailForm/index_html download the zClass at: http://www.zope.org/Members/maxm/HowTo/mailForm/products/mailForm/view regards max ___

Re: [Zope] Name lookup emulation with a Product

2000-10-05 Thread Pierre-Julien Grizel
Chris Withers wrote: > > Pierre-Julien Grizel wrote: > > > > I want my product to be callable with two method, say "m1" and "m2", > > that perform different tasks. > > How would these methods be called? > > Chris Well, I've got my product P somewhere in my object hierarchy. Its methods _shou

Re: [Zope] Name lookup emulation with a Product

2000-10-05 Thread Chris Withers
Pierre-Julien Grizel wrote: > > I want my product to be callable with two method, say "m1" and "m2", > that perform different tasks. How would these methods be called? Chris ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listin

Re: [Zope] Name lookup emulation with a Product

2000-10-05 Thread Pierre-Julien Grizel
Chris Withers wrote: > > Pierre-Julien Grizel wrote: > > > > Hi, > > > > I'd like to perform a name lookup inside a product, relying on > > acquisition, property and REQUEST lookups. > > Are you talking about a python product's __call__ method, by any chance? > > Chris Ahem... Not exactly...

RE: [Zope] database connection problem (halting Zope)

2000-10-05 Thread Hrasky Petr
Yes, it is indeed the same here and in Spain, thankfully. I have read the DARoadmap already. And thanks to Ayhan Ergul <[EMAIL PROTECTED]> I now have binaries for OracleDA which works as supposed - i.e. fine. Is there somebody with nt binaries of SybaseDA? I will probably get it running on Linux

Re: [Zope] Name lookup emulation with a Product

2000-10-05 Thread Chris Withers
Pierre-Julien Grizel wrote: > > Hi, > > I'd like to perform a name lookup inside a product, relying on > acquisition, property and REQUEST lookups. Are you talking about a python product's __call__ method, by any chance? Chris ___ Zope maillist -

[Zope] Name lookup emulation with a Product

2000-10-05 Thread Pierre-Julien Grizel
Hi, I'd like to perform a name lookup inside a product, relying on acquisition, property and REQUEST lookups. In fact, I want to use the DTML Reference / Table 7 schema to look-up variables. I know how to perform REQUEST lookups. I know how to perform object properties lookups. I know how to

Re: [Zope] Detecting Roles not working

2000-10-05 Thread Jonathan Cheyne
Thanks to Kapil, Geir and Daniel for their various syntaxes. Very enlightening. I did cure it but by accident while experimenting with the solutions offered (so they *were* worth it) The zclass title is displayed a la slashdot or freshmeat in boxes as clickable links drawn from the catalog. If (

Re: [Zope] database connection problem (halting Zope)

2000-10-05 Thread Francisco José Esteban Risueño
In this document: http://www.zope.org/Members/petrilli/DARoadmap the behaviour of different database adapters in a multithreaded environment is discussed. We've observered in our Zope instalation that a long query via ZODBCDA halts (this is similar in the Czech Republic and in Spain). Howerver, i

[Zope] Accessing a Zclass' method needs authentication of the superuser

2000-10-05 Thread Nico Grubert
hello, i created a zclass "myzclass" inside a product "myprod". inside of the zclass i created a dtml-method "mymethod_html" which can be found by the tab "Methods". in the root folder i have created a dtml-method "gimme_html" conatinintg the following code to access the method "mymethod_html" :

[Zope] In a python method, I want to convert a XML string into a dictionary...

2000-10-05 Thread Frederic Quin
Hi all, I would like to create a python method which take a parameter xml_string and return a dictionary containing all tags, values and attributes. I know that it exists some modules for xml conversions but I don't know very much how to use them. I am novice in Python so it's a little bite diff

Re: [Zope-dev] cookies & ie5.5 win

2000-10-05 Thread Chris Withers
Sebastian Luehnsdorf wrote: > i'm having a strange problem with cookie based user authentication with > ms internet explorer 5.5 on windows. it seems that the browser (but only > this version and only under windows!) seems to "forget" its cookies, which > results in an immediate logout. does anybo

RE: [Zope] Product Testing

2000-10-05 Thread Seb Bacon
http://www.zope.org/Members/hathawsh/Refresh is the only way I know of to take away the pain of testing products. Seb -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Nestor A. Diaz L. Sent: 05 October 2000 01:06 Cc: [EMAIL PROTECTED] Subject: [Zope] Prod