RE: [Zope] ZClasses meet PythonScripts, sample request

2001-01-16 Thread Max Møller Rasmussen
From: Timothy Wilson [mailto:[EMAIL PROTECTED]] You have id as a form variable. You will be disappointed by its behavior. Care to elaborate on the problems with using id as a form variable. You can be easily bitten by acquisition on this. If you call a dtml-method that wants to use your

Re: [Zope] Folder upload ?

2001-01-16 Thread Oleg Broytmann
On Mon, 15 Jan 2001, Marc Fischer wrote: Could anyone tell me, if it is possible to upload a whole folder with all its including objekts like pictures and things into ZOPE? If yes, tell me how, please. There is load_site.py in Zope utilities directory, and there is newer version of it

RE: [Zope] hasRole bug or feature in 2.2.?

2001-01-16 Thread Shai Berger
Dieter writes: If I can't safely assume any of the above, would I be better off using a session product to track a user after log in so I can determine their roles from an unprotected document? Any other ways? If the session product uses cookies, you will have a situation similar to

RE: [Zope] My Add list is so full...

2001-01-16 Thread Max Møller Rasmussen
From: Francois-regis Chalaoux Since long time ago I have this reflexion. Now I have installed so many thing in Zope the add list combobox is huge : There are too many meta-type item in add list. Is is possible to organize sublist of meta-type into products sublist ? aha ... Max M's law $1:

Re: [Zope] DTML-dtml-in dtml-call

2001-01-16 Thread Rik Hoekstra
Angietel wrote: Is dtml-call REQUEST['sqlSearchcust3'] equal to dtml-in sqlSearchcust3 No, if only of a syntax error in the dtml-call: dtml-call REQUEST['sqlSearchcust3'] should be dtml-call expr="REQUEST['sqlSearchcust3']" Now in this case they _may_ be equal, but only if

Re: [Zope] ZWiki -- MS Word

2001-01-16 Thread Jerome Alet
On Tue, 16 Jan 2001, peter bengtson wrote: I'm looking for some tool to convert ZWiki text to MS Word. Reason being that my boss wants it in MS Word, and I do all my typing as ZWiki's. Why don't you save the content as plain text with a .doc extension (eventually adding the CR befoe each LF

Re: [Zope] Session

2001-01-16 Thread peter bengtson
Sorry, no experience of using HappySession. Can't even remember why I decided to try FSSession initially. Cheers, Peter Im using the Happy Session, but I heardy bad things about this product, Which one do you think is better ? Thanks a lot Anderson [CC to [EMAIL PROTECTED] so that the

Re: [Zope] Session

2001-01-16 Thread Chris Withers
Im using the Happy Session, but I heardy bad things about this product, Which one do you think is better ? Thanks a lot Anderson Anderson, Why not try Zope's own session product: http://www.zope.org/Members/mcdonc/Products/CoreSessionTracking this will be in the Zope core from 2.3

[Zope] EventFolder entries reached externally

2001-01-16 Thread peter bengtson
Jeff, We use an EventFolder on our intranet. Basically, how do I get a dtml-in of data in todays entries in the EventFolder? I want to publish in another list somewhere else with a title like this: "Today's Happing For Those Who Don't Care To Go To The Intranet And Click Our EvenFolder" Best

Re: [Zope] Session

2001-01-16 Thread Phil Harris
Seconded, the docs are good and the product sems to work 8) - Original Message - From: "Chris Withers" [EMAIL PROTECTED] To: "peter bengtson" [EMAIL PROTECTED] Cc: "Anderson Ami" [EMAIL PROTECTED]; [EMAIL PROTECTED] Sent: Tuesday, January 16, 2001 12:07 PM Subject: Re: [Zope] Session

Re: [Zope] ZWiki -- MS Word

2001-01-16 Thread Frank McGeough
More than Word I would really like something that would convert the wiki into a Windows help file. - Original Message - From: "peter bengtson" [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Tuesday, January 16, 2001 6:11 AM Subject: [Zope] ZWiki -- MS Word Searched zope.org, the z

[Zope] Re: ZWiki -- MS Word

2001-01-16 Thread Andreas Tille
On Tue, 16 Jan 2001, Jerome Alet wrote: Why don't you save the content as plain text with a .doc extension I suggest .txt extension. This is what I did with my boss ... :) Kind regards Andreas. ___ Zope maillist - [EMAIL PROTECTED]

Re: [Zope] Session

2001-01-16 Thread Chris McDonough
It won't be in 2.3 (just couldn't get it in), and the current iteration is a development release, but it will hopefully be in 2.4. - Original Message - From: "Chris Withers" [EMAIL PROTECTED] To: "peter bengtson" [EMAIL PROTECTED] Cc: "Anderson Ami" [EMAIL PROTECTED]; [EMAIL PROTECTED]

RE: [Zope] Session

2001-01-16 Thread Anderson Ami
I did this : - I created a Session Manager called Session - In my index_html I wrote : dtml-call Session.set('NAME','VALUE') - In other dtml document called document2 I wrote : dtml-var NAME Why doest it work ? when I call document2 the zope generates a error. -Original Message- From:

Re: [Zope] RTFM?

2001-01-16 Thread Chris Withers
Anderson Ami wrote: I did this : - I created a Session Manager called Session - In my index_html I wrote : dtml-call Session.set('NAME','VALUE') - In other dtml document called document2 I wrote : dtml-var NAME Why doest it work ? when I call document2 the zope generates a error. If

RE: [Zope] Adding content type to internet explorer

2001-01-16 Thread Farrell, Troy
In W95/NT: Open a File Explorer window (not IE) and select Options from the View menu. The popup will have a tab labeled File Types. This is how you change windows MIME types. In W98/2k: I don't remember and I don't have it with me. It is a similar option under IE (since there is no

Re: [Zope] Session

2001-01-16 Thread Chris McDonough
Anderson, If you're using core session tracking, it doesn't work like FSSession or SQLSession. Instead, you'd want to use: Doc 1 dtml-with "Session.getSessionData()" dtml-call "set('NAME', 'VALUE'" /dtml-with Doc 2 dtml-with "Session.getSessionData()" mapping dtml-var NAME /dtml-with

RE: [Zope] Session

2001-01-16 Thread Anderson Ami
It doesnt work, The zope gives me : Error Type: AttributeError Error Value: __getitem__. Thanks a lot anderson -Original Message- From: Chris McDonough [mailto:[EMAIL PROTECTED]] Sent: tera-feira, 16 de janeiro de 2001 12:31 To: Anderson Ami; Chris Withers; peter bengtson Cc: [EMAIL

Re: [Zope] Session

2001-01-16 Thread Chris McDonough
Download and install the latest core session tracking (0.5) which allows you to use the mapping keyword. - OR - Doc 1 dtml-with "Session.getSessionData()" dtml-call "set('NAME', 'VALUE'" /dtml-with Doc 2 dtml-with "Session.getSessionData()" dtml-var "get('NAME')" /dtml-with Also,

[Zope] commit_sub error in Product

2001-01-16 Thread seb bacon
I'm writing a minimal product for which I'm getting a Error Type: AttributeError Error Value: commit_sub from the transaction machinery. The traceback's no help. The offending code, however is: class Foo(SimpleItem) def __init__(self, id, title, file): self.file =

[Zope] [ZClass]User Form to add an Instance of one ZClass to an instanceof another ZClass of another ZClass

2001-01-16 Thread Farrell, Troy
Hello all- Being new to ZClasses, I'm having some difficulties. I have a ZClass NetShowLogFile. I can add this to normal Folder Objects through the management interface. I have a second ZClass StreamingEvent. I would like an user to be able to add a NetShowLogFile to an existing Folder Object

[Zope] ZPOP Popularity Property ?

2001-01-16 Thread Jason Cunliffe
Hello I want to add a property to folders, documents and certain objects called 'popularity'. Can anyone offer some Zope advice how I might achieve the following: 1. Maintain an updated count of hits to those objects storing the number of hits, or preferrably an some offfset processed version

Re: [Zope] Session

2001-01-16 Thread Oleg Broytmann
On Tue, 16 Jan 2001, Chris McDonough wrote: dtml-with "Session.getSessionData()" ^ Close th broket: dtml-with "Session.getSessionData()" ^ Oleg. Oleg Broytmann http://www.zope.org/Members/phd/

[Zope] Zope and Linux flavors

2001-01-16 Thread Ragnar Beer
Howdy Zopistas! These days I came to the conclusion that I might need to investigate a bit on Linux as an alternative base for running Zope. So far I've been using OpenBSD which is a real timesaver when it comes to setting up a secure server which is my first priority over anything else.

RE: [Zope] Adding content type to internet explorer

2001-01-16 Thread Farrell, Troy
Actually, I'm not a newbie, but that is the nicest greeting a "newbie" has gotten on this list that I know of. Thanks. To see how IE looks at MIME types, look here: http://msdn.microsoft.com/workshop/networking/moniker/overview/appendix_a.as p From the looks of it: IE first looks at the

[Zope] patch to make GUF work with zope-2.2.5

2001-01-16 Thread Andrews, Martin
Attached is a (very simple) patch to GenericUserFolder-1.2.4 that allowed me to use it with zope-2.2.5. I just derives GenericUserFolder from BasicUserFolder as as well as Folder (I also comment out a couple debugging messages that were failling). Since I am a newbie I wondered it anyone had

Re: [Zope] Zope and Linux flavors

2001-01-16 Thread Oleg Broytmann
On Tue, 16 Jan 2001, Ragnar Beer wrote: Which Linux distributions are you using for running Zope and how easy I use Zope on Debian GNU/Linux. But also I run it on Sparc Solaris. And on FreeBSD. I really do not care of OS until it is unix. Debian 2.2r1 Solaris 2.5.1 FreeBSD 3.4-STABLE it

[Zope] Image Upload

2001-01-16 Thread Fabio da Silva Santos
Hi there, I'm trying to insert an image in Zope by uploading it in an HTML 'file' field, using the following validation code: dtml-if "banner_1 _.None" dtml-call "banners.manage_addImage(id='',file=banner_1)" /dtml-if When I submit an empty 'file' field, the dtml-call is invoked just the

[Zope] Zope from a php perspective

2001-01-16 Thread Vincent Stoessel
Hello All, I have starting testing Zope as a potential CMS for some production websites. I think I understand the basic of to create and edit pages in the Zope system. I haver a few questions for those more experieced with this system. I am very familiar with php so I need someone to translate

[Zope] Problem on using nested dtml-ifdtml-in

2001-01-16 Thread Spicklemire, Jerry
Angie asked: The problems is i'm not sure my dtml in order to control the loop of choosing the correct sql in the right situation. The following is my DTML:- dtml-if "_["dtml-var custid"]==custid","_["dtml-var custname"]==custname" dtml-in sqlSearchcust1 /dtml-if dtml-elif

RE: [Zope] Session

2001-01-16 Thread Anderson Ami
I installed the latest core session tracking version, but when I create a new Session Manage occurrs the error : Resource not found My zope is in windows nt, Is there any trick on install it ? thanks anderson -Original Message- From: Chris McDonough [mailto:[EMAIL PROTECTED]] Sent:

Re: [Zope] Zope from a php perspective

2001-01-16 Thread Chris McDonough
Hi vincent... include_path : I understand that you can automatically include objects into pages by referencing their id, I also understand that Zope automatically searches up the parent chain till it finds a matching object. But what if I want to include something outside of the tree? or

Re: [Zope] Zope from a php perspective

2001-01-16 Thread Stephane Bortzmeyer
On Tuesday 16 January 2001, at 11 h 43, the keyboard of Vincent Stoessel [EMAIL PROTECTED] wrote: matching object. But what if I want to include something outside of the tree? Zope does not use the tree of directories: it uses its own database. Hence, every object is in the Zope tree. or

Re: [Zope] Session

2001-01-16 Thread Chris McDonough
Hmm. I haven't had any other bugreports, and there's nothing special about it under Windows (it was partially developed on Windows). Are you saying that when you try to create a Session Data Manager that it complains about "resource not found" *before* you hit "OK" on the constructor form or

[Zope] Batch.

2001-01-16 Thread Rommel Novaes Carvalho
Hi everybody, I am studying Zope and I saw a batch exemple on the zopebook but I don't know why it does't work properly. I would be glad if any of you could send me a batch exemple to see why the one I saw in the book is not working. Thanks in advance, Rommel Novaes Carvalho

RE: [Zope] Session

2001-01-16 Thread Anderson Ami
It happens before I hit ok on the constructor form. My plataform is : Zope version: Zope 2.2.5 (binary release, python 1.5.2, win32-x86) Python version: 1.5.2 (#0, Jul 30 1999, 09:52:18) [MSC 32 bit (Intel)] System Platform: win32 Process ID: 336 (349) Running for: 35 sec Thanks again by your

RE: [Zope] Zope and Linux flavors

2001-01-16 Thread Jonathan \(Listserv Account\)
Which Linux distributions are you using for running Zope and how easy it was for you to maximize security of your server? Red Hat Linux 6.2 here. After a standard install, download and install latest release of SSH. Open '/etc/inetd.conf', comment out all services. Save and do a 'killall -HUP

RE: [Zope] Zope and Linux flavors

2001-01-16 Thread Steve Drees
-Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Jonathan (Listserv Account) Sent: Tuesday, January 16, 2001 11:21 AM To: Zope Mailinglist Subject: RE: [Zope] Zope and Linux flavors Which Linux distributions are you using for running Zope and

Re: [Zope] Session

2001-01-16 Thread Chris McDonough
Damn. I see what you're talking about. I was relying on features of 2.3 that aren't in 2.2.X. I'm going to make another release to fix the problem, and I'll post it when done. Sorry about that. - Original Message - From: "Anderson Ami" [EMAIL PROTECTED] To: "Chris McDonough" [EMAIL

Re: [Zope] How to get python error output? (PIL)

2001-01-16 Thread tilo . schwarz
Hhmm - strange, on my SUSE-7.0 standard installation I can find the output of the print statements in /var/log/zope (most of the time, at least ;-). But I'll try zLOG. Tilo [EMAIL PROTECTED] am 15.01.2001 20:43:10 Bitte antworten an [EMAIL PROTECTED] An: Tilo

[Zope] dtml-var expr=maand missing=1???

2001-01-16 Thread Edwin Martin
Hello, How can I use an undefined variable in an expression? I made a DTML document which gets parameters from the URL, like "/nieuw?maand=1". But I also want it to work when no parameters are given. 'Missing' should be the answer, but the following doesn't work: dtml-var

Re: [Zope] Zope and Linux flavors

2001-01-16 Thread Simon Coles
Which Linux distributions are you using for running Zope and how easy it was for you to maximize security of your server? We run a variety of RedHat 6.1, 6.2, and 7.0 and Debian 2.2, as well as Solaris. We apply all the latest updates, turn off services we don't use, and proxy Zope through

[Zope] PythonScript and ZClass generation problem

2001-01-16 Thread Alexander Limi
Hi, We recently decided to use LoginManager for authentication on our site, and refactored our user registration methods to use PythonMethods instead of DTML. Now, during the registration of a user, we should also add a ZClass instance in the correct forlder. This object is a representation of

Re: [Zope] Zope from a php perspective

2001-01-16 Thread Tom Jenkins
Howdy, Yes, you can call another object outside your "tree". Example: lets say you have /folder1/folder1a/item1 and /folder2/item2 and you want to access item2 from item1 in dtml you need to put item2 into the context: dtml-with "folder2.item2" p This puts item2 from folder2 into context...

RE: [Zope] Session

2001-01-16 Thread Anderson Ami
Thanks a lot. Is there another way for save and retrive session variables ? -Original Message- From: Chris McDonough [mailto:[EMAIL PROTECTED]] Sent: tera-feira, 16 de janeiro de 2001 15:59 To: Anderson Ami; Chris Withers; peter bengtson Cc: [EMAIL PROTECTED] Subject: Re: [Zope] Session

[Zope] ANN: CoreSessionTracking 0.6

2001-01-16 Thread Chris McDonough
A new release (0.6) of the CoreSessionTracking software which allows you to associate state with anonymous visitors across requests is up at http://www.zope.org/Members/mcdonc/Products/CoreSessionTracking. It remedies the problems of 0.5 being basically incompatible with pre-2.3 Zopes, and fixes

[Zope] data return with def function im my Zclass

2001-01-16 Thread Marcus Mendes
Hello, I need in my Submit form, call the function "def XXX" of my Zclass (lib/python/Product/class). How can I do it? And how can I get and test the return data of my def XXX of my class? Thanks. Marcus Mendes ___ Zope maillist - [EMAIL

Re: [Zope] Session

2001-01-16 Thread Chris McDonough
I just posted a new release (.06) that fixes the problem at http://www.zope.org/Members/mcdonc/Products/CoreSessionTracking - Original Message - From: "Anderson Ami" [EMAIL PROTECTED] To: "Chris McDonough" [EMAIL PROTECTED]; "Chris Withers" [EMAIL PROTECTED]; "peter bengtson" [EMAIL

[Zope] Newbie: python to create a Zope page?

2001-01-16 Thread David Humphreys
So, I'm about 72 hours into Zope, and totally loving it. I'm stuck on something simple, and I was hoping I could get a little help. Short question: How do I get python to create a Zope page? I'm looking for some simple source code that would walk me through that. I've looked through the online

RE: [Zope] Session

2001-01-16 Thread Anderson Ami
Now It works ! Thanks so much !! You give me a big advice !!! Anderson -Original Message- From: Chris McDonough [mailto:[EMAIL PROTECTED]] Sent: tera-feira, 16 de janeiro de 2001 16:46 To: Anderson Ami; Chris Withers; peter bengtson Cc: [EMAIL PROTECTED] Subject: Re:

[Zope] change parameter by mouseclick

2001-01-16 Thread Olaf Zanger
Hi everybody, Right now we use the following statement to change the language on every page the user is. very neat made by the NFGnav guys. a href=dtml-var URL0?ll=defont color=yellowGerman/font/a unfortuanately if the user is on a page with an url like this

Re: [Zope] dtml-var expr=maand missing=1???

2001-01-16 Thread Dennis Nichols
At 1/16/01 06:49 PM, Edwin Martin wrote: Hello, How can I use an undefined variable in an expression? I made a DTML document which gets parameters from the URL, like "/nieuw?maand=1". But I also want it to work when no parameters are given. How about dtml-unless maanddtml-call

Re: [Zope] commit_sub error in Product

2001-01-16 Thread Dieter Maurer
seb bacon writes: I'm writing a minimal product for which I'm getting a Error Type: AttributeError Error Value: commit_sub from the transaction machinery. The traceback's no help. The offending code, however is: class Foo(SimpleItem) def __init__(self, id,

Re: [Zope] DTML-dtml-in dtml-call

2001-01-16 Thread Dieter Maurer
Angietel writes: This is a multi-part message in MIME format. --=_NextPart_000_0011_01C07FB8.87F89860 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable That will be the last time, I answer to your MIME messages. Is dtml-call

Re: [Zope] How to get python error output? (PIL)

2001-01-16 Thread Dieter Maurer
[EMAIL PROTECTED] writes: Hhmm - strange, on my SUSE-7.0 standard installation I can find the out put of the print statements in /var/log/zope (most of the time, at least ;-). Maybe someone redirects for you. SuSE likes to change things in the hope that this makes unaware people less

RE: [Zope] Zope and Linux flavors

2001-01-16 Thread sean . upton
Perhaps another option (for those with a load-balanced server setup), use an intel 7170 (not cheap, but cool) load-balaning appliance, and use the loadbalancer as a router; the 7170 has the abilitiy to set rules for where it sends the load to based upon expression-matching in the URL. This means

Re: [Zope] ZWiki -- MS Word

2001-01-16 Thread Dieter Maurer
peter bengtson writes: I'm looking for some tool to convert ZWiki text to MS Word. Modern Word versions can resolve URI's and read HTML. Thus, open "http:zopehost/.../ZWiki/page" in Word and save it, (if you like) in word format. Since ZWiki's are CaPs neurotic, some sections are called for

Re: [Zope] Image Upload

2001-01-16 Thread Fabio da Silva Santos
Emmanuel Philippot wrote: My HTML file uploading an image contains this : input type="file" name="banner" When i submit this HTML page , I call another DTML document containing the following lines : dtml-if banner dtml-call "banners.manage_upload(file=banner)" /dtml-if

Re: [Zope] sendmail implementation problem

2001-01-16 Thread Dieter Maurer
Lee writes: ... several recipients from form to sendmail ... I just skipped your question. Not sure, that I got it right. DTML does not have true variables with assignments. However, you can use the REQUEST object as a variable container. If your problem is to collect all recipients from the

Re: [Zope] File upload - get only the path - not content

2001-01-16 Thread Dieter Maurer
Gustav Franzsen writes: This is a multi-part message in MIME format. --=_NextPart_000_003D_01C07FA3.EAFBA110 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Please do not send MIME messages into this list! ... file upload only

[Zope] High Performance Zope

2001-01-16 Thread Vincent Stoessel
Hello All, How does Zope respond under heavy load? can Zserver handle serving out 200-300 zope pages per day on a busy website? Would it be better to use pcgi to plug it into apache? Thanks in advance. -- Vincent Stoessel [EMAIL PROTECTED] Internet Applications Engineer IDEV http://www.idev.com

RE: [Zope] Session

2001-01-16 Thread Anderson Ami
I think there is another bug, when a call the help a get teh follow error : Attribute error. Where I get a full documentation about this product ? I need know the Session Manage methods and variables. Thanks again -Original Message- From: Chris McDonough [mailto:[EMAIL PROTECTED]] Sent:

Re: [Zope] High Performance Zope

2001-01-16 Thread Andy McKay
200-300 per day? Yes without sweating. 200-300 per second? Not without ZEO. Usual discalaimers based on complexity of pages etc. -- Andy McKay. - Original Message - From: "Vincent Stoessel" [EMAIL PROTECTED] To: "Zope Mailings" [EMAIL PROTECTED] Sent: Tuesday, January 16, 2001

Re: [Zope] Session

2001-01-16 Thread Chris McDonough
Read the file in the CoreSessionTracking "help" directory named CoreSessionTracking.stx. This is what *should* be pulled up via the help button. I'll look into why it's not working... - Original Message - From: "Anderson Ami" [EMAIL PROTECTED] To: "Chris McDonough" [EMAIL PROTECTED];

[Zope] exception handling for zclient

2001-01-16 Thread wade naveja
i'm using zclient as outlined in http://www.zope.org/Members/lstaffor/ZClientMethod to serve pages from another web server as if they were being served form my zope server. how would i write an exception to handle the case of the other web server being down? when the other web server is down,

Re: [Zope] sendmail implementation problem

2001-01-16 Thread Lee
Hi Dieter, Thanks again for your help :) I'm having some trouble creating the new variable in REQUEST - maybe you know why? The REQUEST object holds: KEY ITEM lreilly lreilly (recipient - '@cs.strath.ac.uk' is appended) ltlyer ltyler (recipient -

Re: [Zope] Zope from a php perspective

2001-01-16 Thread Andy McKay
This is sort of the way it's laid out now, although arguably many core pieces should really be Products with their own set of documentation. Absolutely, and the installation and changes to those products should be separate from the installation. For example when Michel puts a patch in

[Zope] Strange behavior of document_src

2001-01-16 Thread Sergio Fogel
I want to display the source of a DTML document inside a textarea (as in Zope's DTML editing screen). If I do: dtml-var "doc.document_src()" It works OK, but if I try dtml-var "_['doc'].document_src()" it tries to evaluate doc, and gives me an error (some of the vars are not defined in this

RE: [Zope] Newbie: python to create a Zope page?

2001-01-16 Thread David Humphreys
Let me clarify...! I'm wondering how python can tell Zope to add a dtml document to an arbitrary location in the Zope heirarchy. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of David Humphreys Sent: Tuesday, January 16, 2001 10:26 AM To: [EMAIL

Re: [Zope] High Performance Zope

2001-01-16 Thread J. Atwood
200-300 a day can be handled by a Pentium 60 and 32 MBs of RAM on a Linux box. That is not busy at all. 2,000,000 - 3,000,000 hits a day could be done by a much beefier box but at some point ZEO will be your friend. J At 3:21 PM -0500 1/16/01, Vincent Stoessel wrote: Hello All, How does Zope

Re: [Zope] exception handling for zclient

2001-01-16 Thread Aleksander Salwa
On Tue, 16 Jan 2001, wade naveja wrote: i'm using zclient as outlined in http://www.zope.org/Members/lstaffor/ZClientMethod to serve pages from another web server as if they were being served form my zope server. how would i write an exception to handle the case of the other web server

[Zope] In desparate need of some help

2001-01-16 Thread alankirk
Hi there, i am new to zope and i'm in need of some help. I'm using zope as part of my final year project for university. I am using zope with a database i've constructed using MySQL. I've been having trouble sending queries to MySQL for data from the tables in the DB, instead of the

Re: [Zope] In desparate need of some help

2001-01-16 Thread Curtis Maloney
On Wednesday 17 January 2001 10:40, alankirk wrote: Hi there, i am new to zope and i'm in need of some help. I'm using zope as part of my final year project for university. I am using zope with a database i've constructed using MySQL. I've been having trouble sending queries to MySQL for

Re: [Zope] In desparate need of some help

2001-01-16 Thread jpenny
On Tue, Jan 16, 2001 at 11:40:21PM -, alankirk wrote: Hi there, i am new to zope and i'm in need of some help. I'm using zope as part of my final year project for university. I am using zope with a database i've constructed using MySQL. I've been having trouble sending queries to MySQL

Re: [Zope] In desparate need of some help

2001-01-16 Thread Jonothan Farr
Not sure why you're crashing but your SQL looks incorrect and incomplete. It should be something more like: select * from songdetails where some_field='' and some_other_field = 2000 ... ; Hope this helps, --jfarr - Original Message - From: "alankirk" [EMAIL PROTECTED] To:

Re: [Zope] ZWiki -- MS Word

2001-01-16 Thread Johan Carlsson
Searched zope.org, the z mailing list and google.com (the only search engines I use these days) I'm looking for some tool to convert ZWiki text to MS Word. Reason being that my boss wants it in MS Word, and I do all my typing as ZWiki's. Any solution is welcomed! Since ZWiki's are CaPs

Re: [Zope] High Performance Zope

2001-01-16 Thread Dimitris Andrakakis
Vincent wrote: How does Zope respond under heavy load? can Zserver handle serving out 200-300 zope pages per day on a busy website? As others have already said, that's not busy at all. An easy way to identify busy websites is hits per second. Say, if you get more than 2-3 hits/sec ON A

Re: [Zope] Session

2001-01-16 Thread Tres Seaver
Can y'all please trim the quotes a bit when following up? Those who want to see the thread in all its glory can use the archives. Tres. -- === Tres Seaver[EMAIL PROTECTED] Digital Creations "Zope

[Zope] zope2.3.0b1 and userfolders

2001-01-16 Thread [EMAIL PROTECTED]
hi all it seems that most 3rd party userfolders that's available won't work with zope-2.3.0b1. i've tried UserDB and LoginManager. i guess LoginManager will be updated, since it is currently maintained. i don't know enough python to look at UserDB. any kind hearts out there willing to

[zope] : installation of MySQL

2001-01-16 Thread K H Subrahmanyan
hi, I am using ZOPE in Linux. Now I want to install MySQL to that. I have installed MySQLDA and MySQLdb to that. but still that is giving the following error. kindly help me. ZMySQLDA Import Traceback Traceback (innermost last): File "/zope/zope-linux/lib/python/OFS/Application.py",

[Zope] Postgresql Query.

2001-01-16 Thread Jason C. Leach
hi, I'd like to learn a bit more on how to do a SQL query on a postgres DB from Zope. Like how to do it, what is better DTML or Python for it, and how would I do it in DTML (I can probably get python working fine). j. .. . Jason C. Leach ... University College of the

Re: [Zope] zope2.3.0b1 and userfolders

2001-01-16 Thread Chris McDonough
What's the error you get with UserDB? And for that matter, LoginManager? - Original Message - From: "Bak@kedai" [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Tuesday, January 16, 2001 11:11 PM Subject: [Zope] zope2.3.0b1 and userfolders hi all it seems that most 3rd party

Re: [Zope] Postgresql Query.

2001-01-16 Thread Andrew Kenneth Milton
+---[ Jason C. Leach ]-- | hi, | | I'd like to learn a bit more on how to do a SQL query on a postgres DB | from Zope. Like how to do it, what is better DTML or Python for it, and | how would I do it in DTML (I can probably get python working fine). You have to use a

Re: [Zope] Curious DTML question

2001-01-16 Thread Aleksander Salwa
On Wed, 17 Jan 2001, Nick McDowell wrote: dtml-with templates dtml-var myHTMLtemplate /dtml-with ...everything works correctly and my HTML page is rendered properly with graphics etc. However I initially tried to execute the method via the following (slightly less keyboard action) -

Re: [Zope] Strange behavior of document_src

2001-01-16 Thread Aleksander Salwa
On Tue, 16 Jan 2001, Sergio Fogel wrote: I want to display the source of a DTML document inside a textarea (as in Zope's DTML editing screen). If I do: dtml-var "doc.document_src()" It works OK, but if I try dtml-var "_['doc'].document_src()" it tries to evaluate doc, and gives me an

[Zope] Zope Versus Enhydra Comparison article

2001-01-16 Thread Paul Browning
Zope and Enhydra Comparison by Paul Gresham, CEO/CTO, MediaVisual This is now available via the on-line Lutris Enhydra Journal (for access register via http://www.lutris.com/products/newsletter_registration.html ). Excerpt (which struck a particular chord with me): "The learning curve of

Re: [Zope] zope2.3.0b1 and userfolders

2001-01-16 Thread [EMAIL PROTECTED]
On Wednesday 17 January 2001 14:42, Chris McDonough wrote: What's the error you get with UserDB? And for that matter, LoginManager? *sheepish grin* i think it's my mistake. you can knock my head off. it's this thing about init user and emergency user when i installed login manager, it

Re: [Zope] zope2.3.0b1 and userfolders

2001-01-16 Thread Chris McDonough
sorry for the false alarm. at least i know what inituser and emergency users are now :) It's ok, I don't know exactly how it all works either. :-) ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross

[Zope] Strange SiteAccess behavior

2001-01-16 Thread Itai Tavor
Hi, I got Zope 2.3b1 running on port 8080 at 10.0.1.20, a SiteRoot in /MySite with base='http://10.0.1.21/' and path='/', and the following Apache directives: Listen 10.0.1.21:80 VirtualHost 10.0.1.21 ServerName MySite ProxyPass / http://10.0.1.20:8080/MySite/ ProxyPassReverse

Re: [Zope] Zope Versus Enhydra Comparison article

2001-01-16 Thread Tim Cook
Paul Browning wrote: Zope and Enhydra Comparison by Paul Gresham, CEO/CTO, MediaVisual ... The main reason behind using Enhydra on our most critical product to date, was that we knew we could do it with servlets, and that worst case, and given the structure of enhydra, we knew we could

Re: [Zope] Postgresql Query.

2001-01-16 Thread Chris McDonough
Looks like all the guides are still available at http://www.zope.org/Documentation/Guides (although, agreed, no one would ever suspect such a thing). - Original Message - From: "Andrew Kenneth Milton" [EMAIL PROTECTED] To: "Jason C. Leach" [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Sent:

RE: [Zope] How do I authenticate through pcgi and win2000 ????

2001-01-16 Thread Dieter Maurer
Max M writes: I just wondered if there is an "AUTHENTICATED_USER.authenticate(userName, password)" that I could call from a form. And then bypass all that IIS mumbo jumbo completely. Guess I will have to dig the sources. I fear, you will not have much success with this. You will habe

[Zope] ANNOUNCE: Zope 2.3.0 beta 1 released

2001-01-16 Thread Brian Lloyd
Hello all, Zope 2.3.0 beta 1 is now available. You can download it from Zope.org: http://www.zope.org/Products/Zope/2.3.0b1/ This release contains the final new features for 2.3, including: - A browser preferences screen to allow people to tweak certain aspects of the new

[Zope-dev] Session

2001-01-16 Thread Anderson Ami
How can I use this line ? Do I need any product ? dtml-call "Session.set('myVariable','somevalue') Anderson ___ Zope-Dev maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML encoding! **

Re: [Zope-dev] Session

2001-01-16 Thread Steve Alexander
Hi Anderson, Anderson Ami wrote: How can I use this line ? Do I need any product ? dtml-call "Session.set('myVariable','somevalue') I don't understand your question. Perhaps you need to explain your situation in more detail. In any case, this looks like a question about using Zope

Re: [Zope-dev] Massive scalability

2001-01-16 Thread Jimmie Houchin
Michael Bernstein wrote: Jimmie Houchin wrote: I would like to echo Michael's sentiment and comments. I am at the beginning stage of Zope development of a website which will have millions of objects of a single object type and multiple of such. are your objects intended to be indexed

Re: [Zope-dev] Massive scalability

2001-01-16 Thread Casey Duncan
I don't know if this was mentioned earlier, but you might want to check out the OracleStorage product which allows you to use Oracle as storage for the ZODB. http://www.zope.org/Products/OracleStorage This solution would likely scale to your needs. Also there are several object databases like

[Zope-dev] Specialists and __bobo_traverse__

2001-01-16 Thread Roch'e Compaan
I'm still lost as to when __bobo_traverse__ is checked for object traversal and when not. I have very simple piece of SkinScript: WITH SELF COMPUTE __bobo_traverse__ = traversal_method. Looking at the traverse method in BaseRequest.py it looks to me as if an object is always checked if it has

Re: [Zope-dev] Specialists and __bobo_traverse__

2001-01-16 Thread Phillip J. Eby
It sounds to me like you're trying to have SkinScript supply a bobo_traverse for the Specialist itself, and this you cannot do. (There are other ways to change a Specialist's bobo_traverse behavior, but SkinScript is not one of them.) The SkinScript you're doing is meaningful only if you want

Re: [Zope-dev] Massive scalability

2001-01-16 Thread Andy McKay
While that would work for the simple object case, I find the prospect of storing a bunch of BLOBs (for the image data of the Photos) in an RDBMS to be *most* un-appetizing. Storing them on the server's file-system seems in-elegant as well. Okey dokey, just a suggestion. I have heard people

  1   2   >