[Zope] ActiveState on Zope.org

2001-01-22 Thread Jason C. Leach
hi, I'm kind of surprised that Active State has such a big promo on Zope.org's site considering they use IIS; and considering the blurb talks about how much they do for Open Source. j. .. . Jason C. Leach ... University College of the Cariboo. ..

[Zope] Zope, database field formats, output format of queries

2001-01-22 Thread Michael Schmidt
Hi, having searched through zope's website at the weekend and gone through the mailinglist archive I did not find stuff regarding the below in FAQs or HOWTOs. The general idea behind zope and the features of it are wonderful. I'm thinking of one application and would like to know: Can you

[Zope] LocalFS and PathHandler

2001-01-22 Thread Ulrich Wisser
Hello, I try to access LocalFS from my own DTML method. (Exactly from my PathHandler method.) I got all directory information in one array like this path_to_handle = ['sub1', 'sub2', 'sub3'] How can a get a directory listining with LocalFS for path "/sub1/sub2/sub3/"? I know I need something

[Zope] Re: How to backup Zope data base?

2001-01-22 Thread Andreas Tille
On Fri, 19 Jan 2001, Chris Withers wrote: That's actually a really bad way to back up Zope :-S Copying data.fs is much more reliable and _much_ less strenuous on your server, especially if it's a big Data.fs But I really want to do the backup on a "per project" basis because I often work on

Re: [Zope] Object DB versus Relational DB

2001-01-22 Thread Oleg Broytmann
On Sun, 21 Jan 2001, Tom Deprez wrote: Can somebody provide me informational links of documents which present the benefits and non-benefits of both DB? eg. When to use one and when not to use one? http://www.zope.org/Members/anthony/sql_vs_ZODB Oleg. Oleg Broytmann

Re: [Zope] Object DB versus Relational DB

2001-01-22 Thread Rik Hoekstra
Tom Deprez wrote: Hi, Can somebody provide me informational links of documents which present the benefits and non-benefits of both DB? eg. When to use one and when not to use one? Thanks, Tom. A starting point is http://www.zope.org/Members/anthony/sql_vs_ZODB Rik

Re: [Zope] Zope 2.3.0b2 bug #2

2001-01-22 Thread Oleg Broytmann
On Sat, 20 Jan 2001, Aleksander Salwa wrote: meta http-equiv="content-type" content="text/html; charset=iso-8859-1" This is WRONG way of doing! Please stop it and don't do it :) Meanwhile - where I can turn this off? It would be very nice, if we could set it somewhere in

RE: [Zope] Object DB versus Relational DB

2001-01-22 Thread Markus Kemmerling
Here is a short, but useful HowTo: http://www.zope.org/Members/anthony/sql_vs_ZODB Markus Kemmerling -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Tom Deprez Sent: Sunday, January 21, 2001 11:50 PM To: [EMAIL PROTECTED] Subject: [Zope] Object

RE: [Zope] Object DB versus Relational DB

2001-01-22 Thread Paul Browning
Can somebody provide me informational links of documents which present the benefits and non-benefits of both DB? eg. When to use one and when not to use one? Not sure if these papers specifically answer your question but I found them insightful: XML and Databases XML Database Products

Re: [Zope] Re: How to backup Zope data base?

2001-01-22 Thread Chris Withers
"Mayers, Philip J" wrote: Well, bad _technically_, or bad _evil_? Well, doing an XML export as opposed to a cp is probably a lot more processor-intensive... It does have the sole advantage you can pull a portion of your tree, true... and some people have had Data.fs problems (not me

Re: [Zope] ActiveState on Zope.org

2001-01-22 Thread Martijn Pieters
On Mon, Jan 22, 2001 at 12:35:53AM -0800, Jason C. Leach wrote: I'm kind of surprised that Active State has such a big promo on Zope.org's site considering they use IIS; and considering the blurb talks about how much they do for Open Source. If you read the case study, you'll see that they

Re: [Zope] Object DB versus Relational DB

2001-01-22 Thread Tom Deprez
A starting point is http://www.zope.org/Members/anthony/sql_vs_ZODB Reading this text is exactly the problem I'm having. Unfortunately, it doesn't give much examples. I hope somebody can give me some answers on my question : The problem I'm facing is the following. I've got a lot parent-child

[Zope] form question

2001-01-22 Thread Oliver Vecernik
Hi all, I'm a newbie to Zope and Python. Nevertheless I'd like to start with it. I'm designing an application gathering data with forms. Navigation should be done with Prev and Next buttons. As long as I'm not leaving the form data should be entered, processed and the *same* or another form

[Zope] Adding roles in 2.3b2 and CVS

2001-01-22 Thread Phil Harris
All, Has anyone else had trouble adding roles when using 2.3b2 and CVS versions of Zope? There seems to be a consistent bug in ZopeDIR/lib/python/AccessControl/role.py. The calls to self.manage_access(self,REQUEST) seem to have too many arguments, am I right? I 'fixed' my version of the

Re: [Zope] Adding roles in 2.3b2 and CVS

2001-01-22 Thread Martijn Pieters
On Mon, Jan 22, 2001 at 11:31:27AM -, Phil Harris wrote: Has anyone else had trouble adding roles when using 2.3b2 and CVS versions of Zope? There seems to be a consistent bug in ZopeDIR/lib/python/AccessControl/role.py. The calls to self.manage_access(self,REQUEST) seem to have too

Re: [Zope] Object DB versus Relational DB

2001-01-22 Thread Luciano Ramalho
ZODB with Data.fs is optimized to fetch data. Inserts or updates have a lot of overhead. It's the price we pay for the excellent versioning features. Therefore, when the are many we have been avoinding ZODB even when the problem domain calls for an OODB We have implemented a highly hierarchical

Re: [Zope] Object DB versus Relational DB

2001-01-22 Thread Tom Deprez
ZODB with Data.fs is optimized to fetch data. Inserts or updates have a lot of overhead. It's the price we pay for the excellent versioning features. Therefore, when the are many we have been avoinding ZODB even when the problem domain calls for an OODB Thanks for the link. However, the

[Zope] mailhost example problem

2001-01-22 Thread Michael Angelo
hi, i am experiencing a strange problem with using the mailhost example on zope.com. here is the code: dtml-var standard_html_header dtml-sendmail mailhost="MailHost" To: [EMAIL PROTECTED] From: [EMAIL PROTECTED] Subject: Feedback from the web message goes here

Re: [Zope] mailhost example problem

2001-01-22 Thread aZaZel
Michael Angelo wrote: hi, i am experiencing a strange problem with using the mailhost example on zope.com. here is the code: dtml-var standard_html_header dtml-sendmail mailhost="MailHost" To: [EMAIL PROTECTED] From: [EMAIL PROTECTED] Subject: Feedback from the

Re: [Zope] mailhost example problem

2001-01-22 Thread Evan Simpson
From: Michael Angelo [EMAIL PROTECTED] i am experiencing a strange problem with using the mailhost example on zope.com. Is your code indented the way it is in your email? I don't think dtml-sendmail and its contents should be indented, since the contents are meant to be the literal text of

Re: [Zope] mailhost example problem

2001-01-22 Thread Geoffrey L. Wright
"Michael Angelo" [EMAIL PROTECTED] writes: hi, i am experiencing a strange problem with using the mailhost example on zope.com. snip This might sound totally off the wall, but I think that anything enclosed in dtml-sendmail tags can't have any preceding whitespace. Try this: dtml-var

RE: [Zope] mailhost example problem

2001-01-22 Thread Michael Angelo
that was the problem. i never would have thought of that! :-0 thanks :-) -mike- -Original Message- From: Evan Simpson [mailto:[EMAIL PROTECTED]] Sent: Monday, January 22, 2001 11:51 AM To: Michael Angelo; [EMAIL PROTECTED] Subject: Re: [Zope] mailhost example problem From:

[Zope] Alternating Row Colors

2001-01-22 Thread Darin Lee
Lee, Alternating row colors are very easy in Zope because of the variables 'sequence-odd' and 'sequence-even' defined by the dtml-in tag. A super quick example: table bgcolor="#ff" dtml-in some_list tr dtml-if sequence-oddbgcolor="#EE"/dtml-if tdYour cell data here/td /tr /table

RE: [Zope] ActiveState on Zope.org

2001-01-22 Thread Jonathan \(Listserv Account\)
And if you browse the ActiveState site some more, you'll see what they do for OSS. Who says that an OSS shop needs to run exclusively on OSS or has no right to sell software solutions? We at Digital Creations also use Windows NT and other commercial software, and our services also come with

[Zope] FW: MS-SQL Server Connector

2001-01-22 Thread Spicklemire, Jerry
Hi Adrian I tried this about 6 months ago. It seems that Micro$oft changed that protocol that SQL7.0 uses, just enough to prevent Sybase connectors from working. (I probably should have mentioned 7.0 in the message... sorry) Ouch! There are some other options, a few of which I've tried,

[Zope] Re: Tools used for programming Zope

2001-01-22 Thread Andreas Tille
On Fri, 19 Jan 2001, Stephane Bortzmeyer wrote: I agree it is one of the MAIN problems with Zope. You have my support. A good way to have a read-write (at least a readonly) view of the ZODB would change things a lot. Just to make sure that I did not missunderstood something: I wanted to use

[Zope] Re: Tools used for programming Zope

2001-01-22 Thread Andreas Tille
On Fri, 19 Jan 2001, Steve Spicklemire wrote: 2) When you are 'editing' a Zope object you use an editor that knows about FTP (e.g., emacs), WebDAV or a web browser. Sorry for my ignorance. I tried using emacs with ange-ftp and it works. But what is WebDAV? I've read this word first time

Re: [Zope] Re: Tools used for programming Zope

2001-01-22 Thread Phil Harris
Andreas, see www.webdav.org and the w3 pages on it (www.w3.org) Phil - Original Message - From: "Andreas Tille" [EMAIL PROTECTED] Cc: "Zope user list" [EMAIL PROTECTED] Sent: Monday, January 22, 2001 2:25 PM Subject: [Zope] Re: Tools used for programming Zope On Fri, 19 Jan 2001,

Re: [Zope] ActiveState on Zope.org

2001-01-22 Thread Gregor Hoffleit
On Mon, Jan 22, 2001 at 11:32:29AM +0100, Martijn Pieters wrote: And if you browse the ActiveState site some more, you'll see what they do for OSS. Who says that an OSS shop needs to run exclusively on OSS or has no right to sell software solutions? We at Digital Creations also use

RE: [Zope] Zope 2.3.0b2 bug #2

2001-01-22 Thread Brian Lloyd
This is WRONG way of doing! Please stop it and don't do it :) Meanwhile - where I can turn this off? It would be very nice, if we could set it somewhere in configuration. Till now (Zope 2.2.x) I have to patch Zope (some *.dtml files, and even some *.py files) in order to have

[Zope] REMOTE_ADDR

2001-01-22 Thread Marcus Mendes
Hello, Where can I find (and use) the variable REMOTE_ADDR? I've a python function that deal with REMOTE_ADDR, but I've got the IP address's Zope Server Machine. I looked at Z2.log and find the same IP, ie. the address's Zope Server Machine. I need the remote address. I'm using SiteAccess and

RE: [Zope] Zope 2.3.0b2 bug #2

2001-01-22 Thread Oleg Broytmann
On Mon, 22 Jan 2001, Brian Lloyd wrote: FYI - I've taken out the charset declaration altogether for beta 3, Thanks. since this is obviously an issue that needs more thought. Since Sure. Language/encoding issues are hard to implement, though. There are servers, proxies, browsers - and

[Zope] Numeric Entries in Catalog Search

2001-01-22 Thread Tim Cook
I have done the requisite searches and cannot find any reference to this problem. So it must be something I'm overlooking. I want to search for properties that have a certain number in them, that are stored as strings. Such as zipcode or date of birth (there are reasons why we don't use a date

RE: [Zope] Adding roles in 2.3b2 and CVS

2001-01-22 Thread Mayers, Philip J
I've got this problem as well - who wants to report it? Zope Version Zope 2.3.0b2 (source release, python 1.5.2, linux2) Python Version 1.5.2 (#1, Dec 21 2000, 15:29:32) [GCC egcs-2.91.66 19990314/Linux (egcs- System Platform linux-sparc Process Id 23242 (1024) Running For 18 hours

Re: [Zope] Zope 2.3.0b2 bug #2

2001-01-22 Thread Michael Bernstein
Oleg Broytmann wrote: On Mon, 22 Jan 2001, Brian Lloyd wrote: FYI - I've taken out the charset declaration altogether for beta 3, Thanks. since this is obviously an issue that needs more thought. Since Sure. Language/encoding issues are hard to implement, though. There are

[Zope] zope@zope.org

2001-01-22 Thread FR Chalaoux
Hi, I installed Zope-2.2.5.src on bsdi 3.0, with Python 2.0. Compilation runned fine but when I run ./start I obtain the followinfg error : bash-2.02$ ./start 'import site' failed; use -v for traceback Traceback (most recent call last): File

[Zope] Using a Session variable in a dtml-var

2001-01-22 Thread Paul Zwarts
Hi all, Im trying to call a variable from SQLSession and then use it in a var. I am using SQLSession to store the 'zone' value which I want to call in the index_html document to then include a specific dtml-method depending on the variable that the Session returns. SESSION['zone'] will equal

Re: [Zope] Adding roles in 2.3b2 and CVS

2001-01-22 Thread Phil Harris
btw, follow on from my last post, looks like the original problem is already fixed in CVS. - Original Message - From: "Mayers, Philip J" [EMAIL PROTECTED] To: "'Martijn Pieters'" [EMAIL PROTECTED]; "Phil Harris" [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Sent: Monday, January 22, 2001 3:57

Re: [Zope] REMOTE_ADDR

2001-01-22 Thread Oleg Broytmann
On Mon, 22 Jan 2001, Marcus Mendes wrote: Where can I find (and use) the variable REMOTE_ADDR? I've a python function that deal with REMOTE_ADDR, but I've got the IP address's Zope Server Machine. I looked at Z2.log and find the same IP, ie. the address's Zope Server Machine. I need the

Re: [Zope] Adding roles in 2.3b2 and CVS

2001-01-22 Thread Phil Harris
Looks like it could be the same problem, just in a different place. - Original Message - From: "Mayers, Philip J" [EMAIL PROTECTED] To: "'Martijn Pieters'" [EMAIL PROTECTED]; "Phil Harris" [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Sent: Monday, January 22, 2001 3:57 PM Subject: RE: [Zope]

RE: [Zope] Adding roles in 2.3b2 and CVS

2001-01-22 Thread Brian Lloyd
Already fixed in CVS guys - thanks though! Brian Lloyd[EMAIL PROTECTED] Software Engineer 540.371.6909 Digital Creations http://www.digicool.com -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Mayers, Philip J Sent: Monday, January 22,

[Zope] Get an object's owner

2001-01-22 Thread Gilles Durys
Hello, I'd like to now how to retrieve an object's owner id so I can use display it in a DTML document. -- Gilles Durys ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! **

[Zope] Problem to start zope

2001-01-22 Thread FR Chalaoux
Hi, I installed Zope-2.2.5.src on bsdi 3.0, with Python 2.0. Compilation runned fine but when I run ./start I obtain the followinfg error : bash-2.02$ ./start 'import site' failed; use -v for traceback Traceback (most recent call last): File

[Zope] Selection property problem

2001-01-22 Thread peter bengtson
This is the form: select name="alignment_text" optionleft/option optioncenter/option optionright/option /select When I submit this form the dtml-var REQUEST says this (assuming I select 'center'): alignment_text: center With this I want to change a Selection property called 'alignment_text',

Re: [Zope] REMOTE_ADDR

2001-01-22 Thread Marcus Mendes
Oleg Broytmann wrote: On Mon, 22 Jan 2001, Marcus Mendes wrote: Where can I find (and use) the variable REMOTE_ADDR? I've a python function that deal with REMOTE_ADDR, but I've got the IP address's Zope Server Machine. I looked at Z2.log and find the same IP, ie. the address's Zope Server

Re: [Zope] REMOTE_ADDR

2001-01-22 Thread Oleg Broytmann
On Mon, 22 Jan 2001, Marcus Mendes wrote: Yes, I'm using apache before the Zope, ie, Apache redirects all the request to the 8080 to Zope. How can Id obtain REMOTE_ADDR ? Which way do you connect Apache to Zope? Mod_pcgi? mod_fastcgi? mod_proxy? I am afraid if you use mod_proxy - you

RE: [Zope] zope@zope.org

2001-01-22 Thread Oleg Broytmann
On Mon, 22 Jan 2001, Farrell, Troy wrote: Is it possible this is another issue with 2.0 (I'm no python guru :)? Certainly no. It is just the python caanot import a standard module. Permission or path problem, I am sure. FR, Zope 2.x is designed to work with Python 1.52. Zope 2.3

RE: [Zope] Object DB versus Relational DB

2001-01-22 Thread Farrell, Troy
Maybe you need an ORDB (Object-Relational DB) like postgresql. PGSQL supports Inheritance: http://www.postgresql.org Troy -Original Message- From: Luciano Ramalho [mailto:[EMAIL PROTECTED]] Sent: Monday, January 22, 2001 6:12 AM To: Tom Deprez Cc: Rik Hoekstra; [EMAIL PROTECTED]

Re: [Zope] Get an object's owner

2001-01-22 Thread Tim Cook
Gilles Durys wrote: Hello, I'd like to now how to retrieve an object's owner id so I can use display it in a DTML document. The list archives are a great resource

Re: [Zope] Zope 2.3.0b2 undo strangeness

2001-01-22 Thread Chris McDonough
Ron, Did you start from a fresh Data.fs for 2.3.0b2 or did you use an existing Data.fs from another install? - Original Message - From: "Ron Bickers" [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Saturday, January 20, 2001 2:49 AM Subject: [Zope] Zope 2.3.0b2 undo strangeness I am

Re: [Zope] Get an object's owner

2001-01-22 Thread Chris Withers
Tim Cook wrote: Gilles Durys wrote: Hello, I'd like to now how to retrieve an object's owner id so I can use display it in a DTML document. The list archives are a great resource

Re: [Zope] ActiveState on Zope.org

2001-01-22 Thread Andy McKay
hi, I'm kind of surprised that Active State has such a big promo on Zope.org's site considering they use IIS; and considering the blurb talks about how much they do for Open Source. We use IIS for many reasons, it's fast and we use some of products in conjunction with it. To suggest that

[Zope] Re: ZClasses and title property

2001-01-22 Thread Tim Moore
I guessed it was something like this, so this leads me to two followup questions. 1) I'd be happy to use the built-in title property assuming that it won't cause some kind of problem. I just don't know how I can set that in instance objects since it doesn't appear on the property

Re: [Zope] REMOTE_ADDR

2001-01-22 Thread Chris Withers
Oleg Broytmann wrote: Which way do you connect Apache to Zope? Mod_pcgi? mod_fastcgi? mod_proxy? I am afraid if you use mod_proxy - you cannot obtain remote address. You can patch Apache... Or may be there is a way to pass it explicitly to Zope. ...or pass it explicitly. Some here

Re: [Zope] Numeric Entries in Catalog Search

2001-01-22 Thread Chris Withers
Tim Cook wrote: I specified in the catalog that I wanted a Textfield index for these. In the search form I specify the input with the :string type. I would have assumed that these would work just like Last Name and First Name work (which BTW work fine). But the numeric strings never find a

Re: [Zope] zope@zope.org

2001-01-22 Thread Gerald Gutierrez
At 02:45 PM 1/22/2001 +0100, FR Chalaoux wrote: Hi, I installed Zope-2.2.5.src on bsdi 3.0, with Python 2.0. Compilation runned fine but when I run ./start I obtain the followinfg error : bash-2.02$ ./start 'import site' failed; use -v for traceback Traceback (most recent call last): File

Re: [Zope] form question

2001-01-22 Thread Oliver Vecernik
"Farrell, Troy" wrote: Hmmm. Sounds like you need to start with a Forms tutorial: http://hotwired.lycos.com/webmonkey/99/30/index4a.html Then, the Smarter Forms tutorial: http://www.zope.org/Members/jules/smarterforms_html That's exactly what I was looking for. Thank's for the hint!

Re: [Zope] Numeric Entries in Catalog Search

2001-01-22 Thread Tim Cook
Chris Withers wrote: Your problem may be the use of Text Indices. These use the voabulary, which handily strips out digits when indexing :-( I did not know that. The way to get around it would be to use a Field Index... ...of course, then you can't use globbing matches like that, so

Re: [Zope] Zope 2.3.0b2 undo strangeness

2001-01-22 Thread Oleg Broytmann
On Mon, 22 Jan 2001, Chris McDonough wrote: Did you start from a fresh Data.fs for 2.3.0b2 or did you use an existing Data.fs from another install? Oops, are they incompatible with each other? (I am not the author of the original question, just curious). IWBN to see some information in

Re: [Zope] LocalFS and PathHandler

2001-01-22 Thread Aleksander Salwa
On Mon, 22 Jan 2001, Ulrich Wisser wrote: I try to access LocalFS from my own DTML method. (Exactly from my PathHandler method.) I got all directory information in one array like this path_to_handle = ['sub1', 'sub2', 'sub3'] How can a get a directory listining with LocalFS for path

[Zope] List Mail Duplicates

2001-01-22 Thread Tim Cook
Is the list mailer sending duplicates or am I seeing double? -- Tim Cook, President -- Free Practice Management,Inc. | http://www.FreePM.com Office: (901) 884-4126 "Nearly everyone will lie to you given the right circumstances." - Bill Clinton ___

Re: [Zope] Zope 2.3.0b2 undo strangeness

2001-01-22 Thread Chris McDonough
No. The CHANGES.txt log provides status about changes between releases. There were some changes in Data.fs.in in 2.3b2 to use the new-style dtml syntax in the default content, but if you upgraded an existing Zope from another or if you replaced the default content in Data.fs.in, you wouldn't

Re: [Zope] List Mail Duplicates

2001-01-22 Thread Oleg Broytmann
On Mon, 22 Jan 2001, Tim Cook wrote: Is the list mailer sending duplicates or am I seeing double? Not only you. There are certainly dups in the list. May be it's our list manager's fault, may be someone (misconfigured robot?) sends it back to the list... Oleg. Oleg Broytmann

[Zope] Where to host Zope apps?

2001-01-22 Thread Ausum
The first time I wanted to host at an enterprise level it wasn't very hard. I just went for HighWay becasue it was said at that time, that it was one of the finest hosting providers. After a short term it was bought by Verio and now Verio itself it's owned by the largest japanese telco. (For

Re: [Zope] Zope 2.3.0b2 undo strangeness

2001-01-22 Thread Chris McDonough
Hmmm, ok, I was just making sure it wasn't a default content issue... I don't know what the issue is. :-( - Original Message - From: "Ron Bickers" [EMAIL PROTECTED] To: "Chris McDonough" [EMAIL PROTECTED]; [EMAIL PROTECTED] Sent: Monday, January 22, 2001 1:50 PM Subject: RE: [Zope]

RE: [Zope] Zope 2.3.0b2 undo strangeness

2001-01-22 Thread Ron Bickers
I used an existing Dafa.fs from 2.3.0b1, 2.2.5 and down to (I think) 2.2.0. I didn't notice these messages with 2.3.0b1. ___ Ron Bickers Logic Etc, Inc. [EMAIL PROTECTED] -Original Message- From: Chris McDonough [mailto:[EMAIL PROTECTED]] Sent: Monday, January

RE: [Zope] Zope 2.3.0b2 undo strangeness

2001-01-22 Thread Ron Bickers
I was hoping that one of the fairly few changes from b1 to b2 would trigger an "Oh yeah." ___ Ron Bickers Logic Etc, Inc. [EMAIL PROTECTED] -Original Message- From: Chris McDonough [mailto:[EMAIL PROTECTED]] Sent: Monday, January 22, 2001 2:16 PM To: Ron

Re: [Zope] Numeric Entries in Catalog Search

2001-01-22 Thread Tim Cook
Just to clarify. Chris W's comment that the vocabulary strips out the digits. It seems to only do so when there is no other characters adjacent in the property. If there are alphabetic characters but separated by whitespace it will remove the digits. If they are separated by a hyphen it will

[Zope] Upload file and :int with :required and

2001-01-22 Thread Diego Rodrigo Neufert
When using :required with a file field I got this error: Error Type: AttributeError Error Value: 'string' object has no attribute 'read' How to make a file field required in dtml? and anyone know how to make something like :int:required works? I need a int field to be required thanks in

Re: [Zope] Where to host Zope apps?

2001-01-22 Thread J. Atwood
One of the things to consider is that hosting Zope itself is very easy. Take a look at a company like RackSpace.com where you can get a dedicated box for like $255 a month (600 MHZ, 20 GB Drive, 128 MB of RAM, RH Linux 7.0). They watch the hardware and you keep Zope up (which is not hard at

Re: [Zope] ActiveState on Zope.org

2001-01-22 Thread Martijn Pieters
On Mon, Jan 22, 2001 at 09:42:51AM -0800, Andy McKay wrote: Zope.org doesn't use ZServer. Small technicality: Zope.org *does* use ZServer. See: http://www.zope.org/About We use Apache with ProxyPass, because of of the configuration flexibility and caching of images and files. But Apache

[Zope] anybody used Enhydra ?

2001-01-22 Thread Grzegorz Nowak
Hi! Anybody knows something on Enhydra ? Do you use it as a high-performance application server for Java-based applications ? How can I integrate Enhydra and Zope ? rgds Greg --- Omnia 2001 - najbardziej multimedialna, nie tylko encyklopedia. Kliknij http://www.omnia-online.pl - super

Re: [Zope] ActiveState on Zope.org

2001-01-22 Thread Andy McKay
Good point. Apache does talk to ZServer, I was referring to the most front-end component, which is what the user sees. For all anybody knows we could be using ZServer behind IIS using pcgi. We aren't, but we could, in fact that would have been a very cocky answer... -- Andy McKay. -

Re: [Zope] Numeric Entries in Catalog Search

2001-01-22 Thread Tim Cook
Alberto Berti wrote: Tim Cook wrote: Just to clarify. Chris W's comment that the vocabulary strips out the digits. It seems to only do so when there is no other characters adjacent in the property. If there are alphabetic characters but separated by whitespace it will remove

Re: [Zope] ActiveState on Zope.org

2001-01-22 Thread Andy McKay
As per Martijn's comment, yes all sites use ZServer you are correct. Sorry for any confusion. I was refering to the most front visible component, but did not make that clear. -- Andy McKay. - Original Message - From: "Steve Drees" [EMAIL PROTECTED] To: "Zope@Zope. Org" [EMAIL

[Zope] ZPoPyDA woes

2001-01-22 Thread J B Bell
Dear comrades in zopeness: For some time now I have been struggling trying to get Zope to talk to Postgres. I am now nearly successful and hope that the revolutionary spirit of fellow zopatistas will carry the day. Background: Debian 2.1r2 on a PII 600 or so (the machine is pretty loaded)

[Zope] How to access a dtml-var from a python method?

2001-01-22 Thread Rommel Novaes Carvalho
Hi everybody, I would like to know how can I access a variable that I have on a html form, for instance, in my python method and work with this variable in python? I tried to pass as a parameter, like def method(dtml-var variable): ... if dtml-var variable ==

[Zope] ZPoPyDA UPDATE

2001-01-22 Thread J B Bell
I got the brilliant idea of running zope with -D. Here's what I got: # ./start -D -- 2001-01-22T20:19:58 ERROR(200) Zope Couldn't import Products.ZPoPyDA Traceback (innermost last): File /usr/local/zope/2.2.5/lib/python/OFS/Application.py, line 397, in import_products (Object:

Re: [Zope] ZPoPyDA UPDATE

2001-01-22 Thread J. Atwood
You don't have to downgrade. Just go into the code and change the version it it looking for. Search the list archives b/c I have read something about it. I think it is under the "How To Install" Cheers, J At 12:30 PM -0800 1/22/01, J B Bell wrote: I got the brilliant idea of running zope with

Re: [Zope] How to access a dtml-var from a python method?

2001-01-22 Thread Tim Cook
Rommel Novaes Carvalho wrote: Hi everybody, I would like to know how can I access a variable that I have on a html form, for instance, in my python method and work with this variable http://www.zope.org/Documentation/How-To/ExternalMethods or

[Zope] dtml-in sort for numerical values

2001-01-22 Thread Christian Sonntag
Hi there, I am trying to sort results of an ZAQL query with the dtml-in sort tag, but it appears to be sorted alphanumerically, is there a way to tell it to sort numerical values? Thanks, Christian ___ Zope maillist - [EMAIL PROTECTED]

Re: [Zope] ZPoPyDA woes

2001-01-22 Thread ender
the most recent versions of popy are currently hosted on sourceforge. http://www.sourceforge.net/projects/popy http://www.sourceforge.net/projects/zpopy popy wants some includes which are not included in a normal source make of popy. catalog/fe??h. i generally just copy them over from the

Re: [Zope] TCPWatch... and closing sockets..

2001-01-22 Thread ender
i'm guessing this has something to do with the default line terminators that medusa is looking for before it senses that a data buffer is ready to be processed. it seems like the url encoded ones request seem to have different line terminators. you can adjust this the fly by using the

Re: [Zope] ZPoPyDA woes

2001-01-22 Thread jpenny
On Mon, Jan 22, 2001 at 12:11:31PM -0800, J B Bell wrote: Dear comrades in zopeness: For some time now I have been struggling trying to get Zope to talk to Postgres. I am now nearly successful and hope that the revolutionary spirit of fellow zopatistas will carry the day. Background:

RE: [Zope] Zope 2.3.0b2 bug #2

2001-01-22 Thread Dieter Maurer
Oleg Broytmann writes: Hm, will you fix my browser, too? I am using Netscape for Linux, don't know how well it plays with Unicode. I suppose it plays bad :( We use Netscape (4.5, 4.7; Linux, Windows) with "charset=utf-8" and it handles it well. Dieter

Re: [Zope] LocalFS and PathHandler

2001-01-22 Thread Dieter Maurer
Ulrich Wisser writes: How can a get a directory listining with LocalFS for path "/sub1/sub2/sub3/"? I know I need something like "lfs['sub1']['sub2']['sub3'].fileids". But what if there are more (or less) elements in path_to_handle? The easiest answer to these types of questions are

Re: [Zope] Zope, database field formats, output format of queries

2001-01-22 Thread Dieter Maurer
Michael Schmidt writes: Can you create fields in a zope based database where you force the fields to accept e.g. only letters "M" or "W" or any other other combination of your choice? What do you mean with a Zope based database? If you mean an external database, look for the datatypes

Re: [Zope] form question

2001-01-22 Thread Dieter Maurer
Oliver Vecernik writes: I'm designing an application gathering data with forms. Navigation should be done with Prev and Next buttons. As long as I'm not leaving the form data should be entered, processed and the *same* or another form should be displayed, depending on input of the user.

Re: [Zope] [python] creating variable names by adding 2 strings?

2001-01-22 Thread Dieter Maurer
Lee writes: I'm creating variables in python but I am having trouble creating them when they're *named* using other variables. Here's an example; while (p!=0): p+`p`= string.replace(component[control], ",", "") # e.g. I want 'p1 = string.replace.blah...'

Re: [Zope] REMOTE_ADDR

2001-01-22 Thread Dieter Maurer
Marcus Mendes writes: Where can I find (and use) the variable REMOTE_ADDR? I've a python function that deal with REMOTE_ADDR, but I've got the IP address's Zope Server Machine Probably, you must tweak your Web server. Look at zope.org. NIP people have created a HowTo for the necessary

[Zope] ZPyGresQL Connection Add Error

2001-01-22 Thread Craig
I am trying to get ZPyGreSQLDA-0.3 working with Zope 2.3.0b2 The Product installs fine, but when I try to add a connection, I get this error: Error Type: IOError Error Value: [Errno 2] No such file or directory: '/usr/lib/zope/lib/python/Shared/DC/ZRDB/connectionAdd.dtml' I checked and this

Re: [Zope] ZPoPyDA woes

2001-01-22 Thread J B Bell
On Mon, Jan 22, 2001 at 04:07:14PM -0500, [EMAIL PROTECTED] wrote: On Mon, Jan 22, 2001 at 12:11:31PM -0800, J B Bell wrote: [JB whines about his troubles, including the mysterious instructions to configure, make, make install] Documentation mistake. Thierry, the main author, is

Re: [Zope] TCPWatch... and closing sockets..

2001-01-22 Thread Steve Spicklemire
Well proxy_receiver seems to set it's terminator to 'None', which seems to indicate that the dispatcher should just send it all as it comes without checking for any special terminator (which is indeed what appears to be happening!) The problem is that this dispatcher code: def recv

Re: [Zope] Numeric Entries in Catalog Search

2001-01-22 Thread Tim Cook
Dieter Maurer wrote: Tim Cook writes: ... search for numbers in ZCatalog's text indices ... Recently, someone has posted a splitter.c patch that prevents it to discard numeric words. Ah yes. I recall the spliter.c thread. I didn't pay attention at the time I guess. s Thanks, -- Tim

RE: [Zope] Adding roles in 2.3b2 and CVS

2001-01-22 Thread Itai Tavor
Change all occurrences of self.manage_access(self,REQUEST) to self.manage_access(REQUEST) in AccessControl/Role.py. BTW, this has been reported to the collector before this thread even started. Mayers, Philip J wrote: What's the easiest fix on a 2.3.0b2 server? Regards, Phil

[Zope] Adding users with a PythonMethod

2001-01-22 Thread Curtis Maloney
Greetings, I'm trying to add a users from within a PythonMethod. I have searched this list and found examples of how to add via DTML, but they all seem to require REQUEST. I have built a dictionary containing the appropriate keys, and passed that as REQUEST, and the

[Zope] Limited folderish objects

2001-01-22 Thread Nolan Darilek
The Folder class offers quite a bit of the functionality which I need for a current project. However, what I'm attempting to create isn't a traditional folder for DTML objects, methods, etc. Instead, I'm creating a folder which contains subfolders which are intended for specific objects. The

Re: [Zope] Re: ZClasses and title property

2001-01-22 Thread Bill Anderson
Tim Moore wrote: I guessed it was something like this, so this leads me to two followup questions. 1) I'd be happy to use the built-in title property assuming that it won't cause some kind of problem. I just don't know how I can set that in instance objects since it doesn't appear

[Zope] python method's self parameter - calling from DTML with additional args

2001-01-22 Thread Lee
Hi, I've got a problem with displaying output from one of my python methods, which has 'self' as one of its input parameters. I have a DTML method, which sets up a table using one Python method to create the table headers (the first row) and another Python method to create the table data (one

[Zope] dtml-tree causing authorization errors

2001-01-22 Thread yves
I've stumbled upon a strange problem with dtml-tree in version 2.2.5 (the problems occurs in the same way in any of the 2.2.x version), but didn't exhibit itself in 2.1.6: Here's some (very) crude code to generate a tree object: - class Tree: def __init__(self, val='top'):

  1   2   >