[Zope] Re: hurryup!

2001-01-22 Thread Martijn Pieters
On Tue, Jan 23, 2001 at 10:44:57AM +0500, Hasan Ali Khan wrote: > hi! > my name is John hakhan. iam using zope2-2-4 win32-x86 on o.s windows 95. > i have following queries. > 1)give me complete steps about connect the zope either oracle or MS SQL > SERVER. > 2)i am provide my client the facility

Re: [Zope] [2nd try] dtml-tree causing authorization errors

2001-01-22 Thread Hannu Krosing
[EMAIL PROTECTED] wrote: > > [ I accidentally sent the last mail before I completed it... Sorry ] > > 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 (

[Zope] Re: python method's self parameter - calling from DTML with additionalargsargs

2001-01-22 Thread Lee
Hi, gives me the correct results. Is this the correct way to do it though? Thanks, Lee Lee wrote: > Hi, > > I've got a problem ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encodi

[Zope] [2nd try] dtml-tree causing authorization errors

2001-01-22 Thread yves
[ I accidentally sent the last mail before I completed it... Sorry ] 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 objec

[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'):

[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 row

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 ap

[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 "avai

[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 following

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 > >+-

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. Thanks, -- T

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 (s

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, i

[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 co

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 necessar

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] 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] 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] 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

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] 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. > > Backgro

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 set_termi

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 source

[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] http://lists.

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 http://zope.nipltd.com/publ

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

[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: string)

[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) Pos

[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(): ... if == ... and of course it did not wor

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 PROTEC

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 >

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. - Origin

Re: [Zope] ActiveState on Zope.org

2001-01-22 Thread Martijn Pieters
On Mon, Jan 22, 2001 at 01:40:07PM -0600, Steve Drees wrote: > > We use IIS for many reasons, it's fast and we use some of products in > > conjunction with it. To suggest that using IIS is somehow "wrong" confuses > > me, Zope.org doesn't use ZServer. For me the flexibilty of using Zope any > > D

RE: [Zope] ActiveState on Zope.org

2001-01-22 Thread Steve Drees
> We use IIS for many reasons, it's fast and we use some of products in > conjunction with it. To suggest that using IIS is somehow "wrong" confuses > me, Zope.org doesn't use ZServer. For me the flexibilty of using Zope any Doesn't every Zope site use ZServer? These statements always confuse me

[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 oferta

Re: [Zope] List Mail Duplicates

2001-01-22 Thread Martijn Pieters
On Mon, Jan 22, 2001 at 09:47:41PM +0300, Oleg Broytmann wrote: > 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

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 tal

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 al

[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 adv

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 not

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 Bick

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

[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 every

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 h

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 noti

[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] 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

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 INS

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] 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] 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): >

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 f

Re: [Zope] REMOTE_ADDR

2001-01-22 Thread Oleg Broytmann
On Mon, 22 Jan 2001, Chris Withers wrote: > You can patch Apache... No, thanks, I am pretty satisfied with mod_pcgi2 :))) And even if I will look for something completely different - I'd switch to mod_fcgi. Oleg. Oleg Broytmann http://www.zope.org/Members/phd/ [EMAIL PROTECT

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 he

[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 sheet

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 > > >http://zope.nipltd.com/public/lists/zope-archive.nsf/47ba74c812dbc5dd8025687f0024b

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 tha

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 a

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 http://zope.nipltd.com/public/lists/zope-archive.nsf/47ba74c812dbc5dd8025687f0024bb5f/b460582e8a4a05e6802568aa007e807e?Op

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] Subject

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 (curr

RE: [Zope] zope@zope.org

2001-01-22 Thread Farrell, Troy
Is it possible this is another issue with 2.0 (I'm no python guru :)? FR, Zope 2.x is designed to work with Python 1.52. Troy -Original Message- From: Oleg Broytmann [mailto:[EMAIL PROTECTED]] Sent: Monday, January 22, 2001 10:32 AM To: FR Chalaoux Cc: [EMAIL PROTECTED] Subject: Re: [Zo

RE: [Zope] form question

2001-01-22 Thread Farrell, Troy
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 hope that helps. Troy -Original Message- From: Oliver Vecernik [mailto:[EMAIL PROTECTED

Re: [Zope] (Cc || Bcc) &&

2001-01-22 Thread Dieter Maurer
Jeff Peterson writes: > The Problem: I would like to Cc or Bcc the originator of the request with a > copy of the request for record keeping purposes. I cannot however seem to > get Cc or Bcc, written as headers much like the To and From, to work with > . In addition, all documentation of I

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

2001-01-22 Thread Mayers, Philip J
What's the easiest fix on a 2.3.0b2 server? Regards, Phil +--+ | Phil Mayers, Network Support | | Centre for Computing Services| | Imperial College | +--+ -Original Message- From: Brian Lloyd [mail

Re: [Zope] Zope 2.3.0b2 bug #2

2001-01-22 Thread Oleg Broytmann
On Mon, 22 Jan 2001, Michael Bernstein wrote: > >Sure. Language/encoding issues are hard to implement, though. There are > > servers, proxies, browsers - and almost none of them obey standards > > correctly :( > > The chosen language/encoding solution will likely have to be > implemented along

Re: [Zope] zope@zope.org

2001-01-22 Thread Oleg Broytmann
On Mon, 22 Jan 2001, FR Chalaoux wrote: > 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] 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 can

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 Zo

[Zope] Selection property problem

2001-01-22 Thread peter bengtson
This is the form: left center right When I submit this form the says this (assuming I select 'center'): alignment_text: center With this I want to change a Selection property called 'alignment_text', but it fails to "None" all the time. All other properties are ok, except this one that

[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 "/usr/local/apache/htdocs/commercial/advl/zope/Zope-

[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! ** (Re

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

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:

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

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, 20

[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 'H

[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 "/usr/local/apache/htdocs/commercial/advl/zope/Zope-

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. Th

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 5

[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 o

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] 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 Zop

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 o

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] 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 20

[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

[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] 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 trie

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 w

[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 tag. A super quick example: bgcolor="#EE"> Your cell data here You can code variations on this to get what you need. -Darin _

RE: [Zope] mailhost example problem

2001-01-22 Thread Michael Angelo
that was the problem. i never would have thought of that! :-0 thanks :-) -- -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: Michael Ang

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. This might sound totally off the wall, but I think that anything enclosed in tags can't have any preceding whitespace. Try this: To: [EMAIL PROTECTE

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 aZaZel
Michael Angelo wrote: > hi, > > i am experiencing a strange problem with using the mailhost example on > zope.com. > > here is the code: > > > > > To: [EMAIL PROTECTED] > From: [EMAIL PROTECTED] > Subject: Feedback from the web > > message goes here > > > Than

[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: To: [EMAIL PROTECTED] From: [EMAIL PROTECTED] Subject: Feedback from the web message goes here Thank you for your input! Your comments have been sent.

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, th

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] 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 /lib/python/AccessControl/role.py. > > The calls to self.manage_access(self,REQUEST) seem to have too many

  1   2   >