[Zope] New Product - old error

2000-06-05 Thread gresham
Hi All, I hope someone can help, I'm about to tear my hair out and toss my PC out of the window. I am basically trying to make my own Image class, by copying the one in OFS and renaming a few bits and bobs. In a frenzy of broken products, I copied one of the supporting classes from OFS to my new

[Zope] another nice error-message

2000-06-05 Thread Andy Pahne
humor I replaced the standard_error_message whth dtml-fortune. Now I'm havin much fun everytime some obscure error occurs. I highly recommend, you developers do the same, not only for you but for your visitors as well /humor Andy Pahne ap@net22 net22 GmbH Bad Meinberger Strasse 1

[Zope] ZClass question

2000-06-05 Thread Jerome Alet
Hi, I'm currently trying to store all of the Medicine School (I work for) events in Zope, using the Calendar product to store them. I've created from my browser a Zclass which has a propertysheet and some properties in it, and some DTML methods. I've called this class GenericEvent. I want to

Re: [Zope] Strange Zope behavior/Instability (Zope going down)

2000-06-05 Thread Harald Ragger
Jason, Rob: Ive just seen your mails, and thought uuups! One of my customers is using zope (2.1.4; ms cluster server; nt4 basis). Zope has been running fine for more than three months, but on 1st of June it crashed, and didn't came up again (no response from server even the zope services seemed

[Zope] Zope LDAP Browser

2000-06-05 Thread Pierre-Julien Grizel
Hi, I wrote in my spare time a LDAP browser with Zope. You can try it at www.xlogx.org/Zygopetale (it's available in french english). You can try it with the default parameters or with an LDAP database of your own (with write access ?...). Please don't rely on my server's speed, it's hidden

[Zope] Zope NT service Vs data_dir

2000-06-05 Thread julio dinis
Hi zopers :-) I've hacked globals.py to change the var data_dir to point to a shared disk I have. I restarted zope and the Globals.pyc was compiled. Zope runs ok but only from the command line. The Zope Service it is no more :-( When I start it the process tries to live but want go further

[Zope] Zope LDAP Browser/Editor

2000-06-05 Thread Pierre-Julien Grizel
Hi, I wrote in my spare time a LDAP browser with Zope. You can try it at www.xlogx.org/Zygopetale (it's available in french english). You can try it with the default parameters or with an LDAP database of your own (with write access ?...). Please don't rely on my server's speed, it's hidden

Re: [Zope] Proposal for mail-in to Zope

2000-06-05 Thread Simon Coles
I think this is pretty much what we're intending to do. We haven't decided about XML-RPC Vs ZClient. The aim is to get something (anything) working, however hard coded, and then improve it. Simon "Kevin Dangoor" [EMAIL PROTECTED] wrote: Hmm... "takes the email message and puts it into

[Zope] Re: SV: [Zope] Q: Link status/checking

2000-06-05 Thread Oleg Broytmann
Hi! On Sat, 3 Jun 2000, JÛrgen Skogstad wrote: Sure! I just did a quick read through of the url you posted and it looks to me that you've started with what I want. I am very interested in getting this to work within the Zope framework as well.. with Sql support etc. as I am doing a project

[Zope] ping

2000-06-05 Thread ethan mindlace fremen
ping ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev

RE: [Zope] is WebDAV a security hole?

2000-06-05 Thread Brian Lloyd
Been playing around with WebDAV from IE5 connecting to a RedHat 6.1 +Zope 2.1.6 And it seems that quite a bit of the stuff that propably shouldn't be visible can be seen, for example acl_users What other things are you referring to? (see answer for acl_users below) Without being

[Zope] another zope site gone...

2000-06-05 Thread Peter Sabaini
...finally online! http://druck.kleinezeitung.at/ now holds the 'as printed' version of the 'Kleine Zeitung', one of the bigger austrian newspapers. doing the zope part was the fun bit... thanks to DC for a great product and to the list for real good ressources. hope i get management to adopt

[Zope] How do you call the string?

2000-06-05 Thread Martin Seehuusen
Hi! I would like to look up the properties on an html file that I've made. I've made a string on my html file, but I'm not sure how to call it! I've understood that a dtml-in is to be used, but I don't know what the string is called. Could someone help me with that!? /Martin S.

Re: [Zope] Proposal for mail-in to Zope

2000-06-05 Thread Itamar Shtull-Trauring
Simon Coles wrote: I think this is pretty much what we're intending to do. We haven't decided about XML-RPC Vs ZClient. The aim is to get something (anything) working, however hard coded, and then improve it. Use XML-RPC - it's a lot more powerful (e.g. it returns lists and dictionaries and

[Zope] Zope/Apache/NT

2000-06-05 Thread Paul Smith
Has anyone managed/bothered to get Zope working with Apache on NT yet? If they have, could you point me at any documentation? This is intended as a quick fix until I can get round to installing Linux on my machine.. Any help would be greatly appreciated! Thanks, Paul

[Zope] V2.2

2000-06-05 Thread J. Michael Mc Kay
I see the ownership tab in the new Zope. Where can I find some more info on this. Currently my setup says Zope has no owner. Apparently it needs one - Original Message - From: "Oleg Broytmann" [EMAIL PROTECTED] To: "JÛrgen Skogstad" [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Sent:

[Zope] Re: Fwd: Re: [Zope] PoPy module

2000-06-05 Thread Thierry MICHEL
On Mon, Jun 05, 2000 at 10:25:20AM +0200, [EMAIL PROTECTED] wrote: -- Forwarded message -- Da: jani [EMAIL PROTECTED] Soggetto: Re: [Zope] PoPy module Data: Sun, 04 Jun 2000 20:14:03 -0700 A: Alexander N Gould [EMAIL PROTECTED] Copia: [EMAIL PROTECTED]

Re: [Zope] Zope/Apache/NT

2000-06-05 Thread Jim Sanford
The "quickest fix" might be installing Linux on your machine. - Original Message - From: Paul Smith [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Monday, June 05, 2000 7:15 AM Subject: [Zope] Zope/Apache/NT Has anyone managed/bothered to get Zope working with Apache on NT yet? If

[Zope] Q: Namespace, Acquisition, and Properties

2000-06-05 Thread Wilkinson Charlie E
Title: Clear Day Greetings, I've dug around, but not found (or not grokked) the solution to thisparticular puzzle. Could someone more knowledgeable provide a littleenlightenment? In the top level folder (root) I have a dtml method title templatethat contains html code and dtml vars that are

[Zope] Zope and Python 1.6

2000-06-05 Thread Ivan Raikov
Hi all, Does Zope run under Python 1.6? If not, is anybody working on a port? Thanks, Ivan Raikov ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists -

Re: [Zope] Zope/Apache/NT

2000-06-05 Thread Paul Smith
Phil Thanks, but I was being a bit lazy. I had read that it had taken people long hours getting the Linux/Apache/Zope combo to work, and so was fearing the worst. Nonetheless, I grasped the nettle and within an hour or so, everything was working fine complete with pass-through proxying, etc.

[Zope] ZClass and class variable

2000-06-05 Thread Francois-Regis CHALAOUX
Hi all, Is it possible to declare a class variable in a Zclass? And if yes, how to call this variable in class ZClass methodes? Bye, FR.

[Zope] www.mysite.com/Members/someone

2000-06-05 Thread Ian Sparks
Hi, I want to produce a home-page on my site using a URL like : http://www.zope.org/Members/Fred I'm a little confused as to how I would go about this in a dynamic way where I would pull the contents of the page out of a database. A non-database way would be to : /Members (folder) /Fred

Re: [Zope] Strange Zope behavior/Instability (Zope going down)

2000-06-05 Thread Jason Spisak
Harald Ragger writes: Jason, Rob: Ive just seen your mails, and thought uuups! One of my customers is using zope (2.1.4; ms cluster server; nt4 basis). Zope has been running fine for more than three months, but on 1st of June it crashed, and didn't came up again (no response from server

Re: [Zope] Q: Namespace, Acquisition, and Properties

2000-06-05 Thread Christopher J. Kucera
Wilkinson Charlie E wrote: In the top level folder (root) I have a dtml method title template that contains html code and dtml vars that are (intended to be) populated by properties of various subfolders as well as a value or two passed directly. The title template is "called" from dtml

Re: [Zope] Zope and Python 1.6

2000-06-05 Thread Oleg Broytmann
On 5 Jun 2000, Ivan Raikov wrote: Does Zope run under Python 1.6? If not, is anybody working on a port? There is no such thing as Python 1.6 (yet). Zope has its own problems, it'd wise not to try to port Zope to alpha version of Python. Oleg.(All opinions are mine and not of my

Re: [Zope] www.mysite.com/Members/someone

2000-06-05 Thread Philipp Dunkel
At 17:23 05.06.00 +0100, Ian Sparks wrote: Hi, I want to produce a home-page on my site using a URL like : http://www.zope.org/Members/Fred I'm a little confused as to how I would go about this in a dynamic way where I would pull the contents of the page out of a database. A non-database way

Re: [Zope] Zope must be restarted often

2000-06-05 Thread Jason Spisak
Josh Glover writes: Did you try the decapitation patch? Problem: http://www.zope.org/Members/tseaver/Projects/HighlyAvailableZope/IndentingDTMLSpinsZope Solution: http://www.zope.org/Members/tseaver/Projects/HighlyAvailableZope/SpinningDecapitation This would only be the problem if you have

Re: [Zope] www.mysite.com/Members/someone

2000-06-05 Thread Ian Sparks
I have the source here, perhaps you can point me to where I should be looking - the PTK is reasonably large. AFAICS the PTK uses a folder called Members and adds folders under that for each registered user : Members Fred FredContent1 FredContent2 FredContent3 Jim

[Zope] Re: Fwd: Re: [Zope] PoPy module

2000-06-05 Thread Andreas
Thierry MICHEL wrote: ... 1. When I try to connect to postgres 6.4 using PoPy the connect fails postgres.log: ERROR: parser: parse error at or near "transaction" Postgres 6.4 seems not being SQL 92 compliant for the transactions ! PoPy is ! pygresql no certtainly ! OK ... take it as a

[Zope] Copy/Paste cookie problem

2000-06-05 Thread Oleg Broytmann
Hello! I constantly have cookie problem (at least I think it's cookie problem). I cannot copy/paste. What is worse, the behaviour is a bit inconsistent. I have two almost identical installations on two different computers. On one of them I can do copy/paste almost always. (Sometimes Zope

RE: [Zope] ZClass and class variable

2000-06-05 Thread Loren Stafford
Yes, if what you need is a variable shared by all instances of the class. You need to use a property sheet. The "How-To" http://www.zope.org/Members/lstaffor/zProperties might help answer this question, though it speaks more about instance variables. -- Loren -Original Message- From:

[Zope] e-tailer Mailhost

2000-06-05 Thread J. Michael Mc Kay
I'm have some difficuties with e-tailer and setting up mailhost. Where is the best location for mailhost. I have a directory structure like this: /a_la_cart/mailhost /a_la_cart/e-tailer Mailhost is in the a_la_cart directory with the e-tailer account. In "order management", when I enter the

[Zope] detail record editing

2000-06-05 Thread Robert Del Huerto
I'm just beginning my journey into Zopeland so please forgive my ignorance. I'd like to be able to give users a chance to edit records found in a table by selecting the desired record's checkbox and then clicking 'Modify'. This is similar to the Zope management screen. I just don't know how to

Re: [Zope] How do you call the string?

2000-06-05 Thread Ian Sparks
I'm not sure what you mean by "call the string"? If you have some properties of a DTML Document you can call them within that document by saying dtml-var variablename. So if you had a property "count" you could say dtml-var count If this doesn't answer your question, try to re-phrase it so we

Re: [Zope] tree state cookie

2000-06-05 Thread J. Atwood
I don't think you can disable the tree storing a cookie. I must say though, it is going to get harder and hard to find sites that don't use cookies. It is doable, but not pretty. Cookies are good for you (if you eat them sparingly) :) J Howdy! I just recently got complaints from people

Re: [Zope] Proposal for mail-in to Zope

2000-06-05 Thread Simon Coles
"Cary O'Brien" [EMAIL PROTECTED] wrote: - pull mail from a POP or IMAP server. This had the downside that it introduced polling into the system (slow) and also required something to happen on a schedule, which doesn't happen in Zope yet. Here I'd have to disagree. I

Re: [Zope] is WebDAV a security hole?

2000-06-05 Thread Jacob Lundqvist
Brian Lloyd wrote: If I used some other WebDAV client, could I then download acl_users, and if so, would this expose usernames/passwords? It would not expose passwords - I believe that what you are seeing is a sort of non-obvious but basically harmless thing. User folders (acl_users)

[Zope] Re: detail record editing

2000-06-05 Thread Hung Jung Lu
--- In [EMAIL PROTECTED], Robert Del Huerto [EMAIL PROTECTED] wrote: I can get Zope to generate a table and form like this from an SQL database. I'm stuck after that. The form only has one 'action' so how would I get it to handle the right function depending on the button that was pushed? The

Re: [Zope] Zope LDAP Browser

2000-06-05 Thread Pierre-Julien Grizel
...Well... You should try again...! I do have connexions ! Here is the URL in a "clickable" form : http://www.xlogx.org/Zygopetale If it still doesn't work, then there must be a bug in my multilingual management...! You should then enforce english language by trying

[Zope] ZOPE, Xemacs, html-mode, indentation.

2000-06-05 Thread jiva
I am using XEmacs with it's html mode to work on some dtml code. I can get it to switch to html mode easily for the dtml stuff even though I'm not naming my files with .html extensions by doing: M-x html-mode Unfortunately, no matter what I do, I can't get it to do it's indentation on anything

Re: [Zope] ZOPE, Xemacs, html-mode, indentation.

2000-06-05 Thread Skip Montanaro
So the question is, how do I turn on auto-indent in xemacs for dtml code? Does anyone have a mode specially for this? You should be able to define an html-mode-hook that goes something like (setq html-mode-hook (function (lambda ()

RE: [Zope] ZOPE, Xemacs, html-mode, indentation.

2000-06-05 Thread Chris McDonough
I don't know about xemacs, but gnu emacs has indented-text-mode M - x indented-text-mode -Original Message- From: Skip Montanaro [mailto:[EMAIL PROTECTED]] Sent: Monday, June 05, 2000 3:28 PM To: [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Subject: Re: [Zope] ZOPE, Xemacs, html-mode,

[Zope] DCOracle hit by new [].append() behavior?

2000-06-05 Thread Justin Sheehy
I have successfully built DCOracle 1.3.1b1 under Python 1.6a2, and connected to an Oracle database. However... cursor1.execute('select * from sometable') Traceback (most recent call last): File "stdin", line 1, in ? File "/home/justin/py/DCOracle/ociCurs.py", line 299, in execute r =

RE: [Zope] is WebDAV a security hole?

2000-06-05 Thread Brian Lloyd
Thanx for an informative response! Btw I tried WebDAV vs. www.zope.org and that site refused the connection attempt. Is there some obvious setting that I can use to disable WebDAV, since I don't need it (as far as I know;) DAV won't work for zope.org because it runs behind apache and

Re: [Zope] DCOracle hit by new [].append() behavior?

2000-06-05 Thread Luis Cortes
From what I understand ( reading what has changed in Python 1.6 ), you can make the arguements a tuple and you should be okay. like so: out.append( (buf,dbsize,dbtype,ind,alen,arcode, f) ) Let me know, Luis. On Mon, 05 Jun 2000, you wrote: I have successfully built DCOracle 1.3.1b1 under

RE: [Zope] Help needed for a new zope fan!

2000-06-05 Thread John Hile
Try http://localhost:8080/manage -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Jilani Khaldi Sent: Monday, June 05, 2000 2:02 PM To: Zope ML Subject: [Zope] Help needed for a new zope fan! Hi, I have just installed Zope on Linux, Windows

Re: [Zope] ZOPE, Xemacs, html-mode, indentation.

2000-06-05 Thread jiva
Nope, didn't work. On Mon, Jun 05, 2000 at 02:27:52PM -0500, Skip Montanaro wrote: So the question is, how do I turn on auto-indent in xemacs for dtml code? Does anyone have a mode specially for this? You should be able to define an html-mode-hook that goes something like

Re: [Zope] ZOPE, Xemacs, html-mode, indentation.

2000-06-05 Thread jiva
No, this just lets you hit tab to indent. HTML mode has a special automatic indentation capability that isn't working here. That's what I am trying to turn on. On Mon, Jun 05, 2000 at 03:32:01PM -0400, Chris McDonough wrote: I don't know about xemacs, but gnu emacs has indented-text-mode

Re: [Zope] DCOracle hit by new [].append() behavior?

2000-06-05 Thread Justin Sheehy
Luis Cortes [EMAIL PROTECTED] writes: From what I understand ( reading what has changed in Python 1.6 ), you can make the arguements a tuple and you should be okay. like so: out.append( (buf,dbsize,dbtype,ind,alen,arcode, f) ) Yes, I understand what sorts of things need to change and how

Re: [Zope] ZOPE, Xemacs, html-mode, indentation.

2000-06-05 Thread Skip Montanaro
Regarding my html-mode-hook suggestion: Nope, didn't work. It looks like html-mode is actually a refinement of sgml-mode. After loading it and asking for help on it, I see Major mode for editing HTML documents. This is based on PSGML mode, and has a sophisticated SGML parser in

[Zope] Can't edit saved file

2000-06-05 Thread Jilani Khaldi
Hi, I can't edit modified and saved files and everytime I open the folder and press the edit tab I see: dtml-var standard_html_header h2dtml-var title_or_id/h2 p This is the dtml-var id Document. /p dtml-var standard_html_footer As it was the first time I create it. I am sure the file are saved

[Zope] Re: e-tailer Mailhost

2000-06-05 Thread Terry Kerr
The e-tailer product has its own mailhost. You dont need to create another instance of a mailhost. Just enter in the standard mailhost parameters in Mailhost tab in the e-tailer management. "J. Michael Mc Kay" wrote: I'm have some difficuties with e-tailer and setting up mailhost. Where

[Zope] Suggestions for an approach - document library

2000-06-05 Thread David Ornstein
Hi All, I'm trying to put in place the infrastructure to manage a trade organization that does a lot of standards work for the eBook world (http://www.openebook.org/). At the moment, the site is all static. We now have a handful of working groups with subgroups, etc. I'm trying to pick the

Re: [Zope] Zope admin/backup question

2000-06-05 Thread ethan mindlace fremen
Andrew Diller wrote: Backing up Data.fs everynight--- is it in a usable state if it is backed up while Zope is running? new or changed objects are just appended to the existing file. Anything appended whilst copying will not be in the backup. The backup, however, should be fine. Also,

Re: [Zope] CHAT

2000-06-05 Thread ethan mindlace fremen
Gonçalo Gomes wrote: Silver_Surfer: how do you see the future of Zope fighting against PHP space on the web? Jim: I don't know much (enough) about PHP, but from what I vaguely know, PHP methods seem like a logical step. this answer was done to my question (i am lucipher) and i asked

Re: [Zope] Virtual host admin under Apache+ZServer+SiteAccess

2000-06-05 Thread ethan mindlace fremen
J M Cerqueira Esteves wrote: However, I'm using Apache with ZServer and SiteAccess for virtual hosting as documented in http://www.zope.org/Members/anser/apache_zserver, and this has a nasty implication: once I activate a SiteRoot inside some Zope folder "/parrot" for making it the top

Re: [Zope] Zope admin/backup question

2000-06-05 Thread Anthony Baxter
ethan mindlace fremen wrote Also, are the Data.fs.in and Data.fs.lock files necessary for restore or 'm oving' a Zope install? I have already just moved the Data.fs file over to a virgin Zope i nstall and it seems to be working OK. Data.fs.in is an index that helps zope get started

Re: [Zope] dtml-tree help

2000-06-05 Thread Chris McDonough
Pete Kazmier wrote: Hi, I think this is a simle question but I've been struggling for the last two days trying to get it to work. I have a heirarchy of folders (really a custom container class) and files (really a custom object). I want to emulate the Window's Explorer interface, left

Re: [Zope] Re: Fwd: Re: [Zope] PoPy module

2000-06-05 Thread Bak @ kedai
On Mon, 05 Jun 2000, Thierry MICHEL wrote: 2. Whether Auto-commit mode is on or off on ZPoPyDA the new postgres 7.0 syntax "select * from foo limit 20 offset 10" returns all records of foo and not only 20 ! With PyGreSQLDA it works :-) That's running every where, it's strange

[Zope] Too many Roles?

2000-06-05 Thread David Ornstein
Hi All, As I mentioned in my last post: [I'm trying to put in place the infrastructure to manage a trade organization that does a lot of standards work for the eBook world (http://www.openebook.org/). At the moment, the site is all static. We now have a handful of working groups with

Re: [Zope] Too many Roles?

2000-06-05 Thread Kevin Dangoor
- Original Message - From: "David Ornstein" [EMAIL PROTECTED] To: "zope-admin" [EMAIL PROTECTED] Sent: Monday, June 05, 2000 11:25 PM Subject: [Zope] Too many Roles? Is it crazy to have 20 or 30 roles in my Zope system? I've got members of the site who sit on this working group or

[Zope] Subclassing File

2000-06-05 Thread David Ornstein
So, perhaps I'm stupid. I created a new ZClass and set its base class to File. I did think because I wanted to create a ManagedDocument that's like a File but also keep track of a bunch of additional (dumb) metadata (like Status, Author, etc.) I added these items to a new property sheet, but

[Zope-dev] Re: [Zope] HappySession 0.1.0 released!

2000-06-05 Thread Itamar Shtull-Trauring
Hung Jung Lu wrote: I have been using RAM-based session management for a while, but never wrote a product for it. Since Graham Chiu has mentioned it again about making a real product, I have taken the time to make one, and called it HappySession. :) Well, in short, it uses cookie for session

Re: [Zope-dev] Import from upload?

2000-06-05 Thread Evan Simpson
- Original Message - From: Toby Dickenson [EMAIL PROTECTED] I dont think that's going to fly. It's perfectly ok for a persistant object to contain something that shouldn't be creatable. True enough. Further thought has made me realize that a persistent object could contain only valid

[Zope-dev] ZPatterns ProperySheet usage example?

2000-06-05 Thread Mike
Hello people, could anybode give an example (in code) on subject? Thanks, Mike ___ Zope-Dev maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML encoding! ** (Related lists -

Re: [Zope-dev] ZPatterns ProperySheet usage example?

2000-06-05 Thread Phillip J. Eby
At 05:07 PM 6/5/00 +0800, Mike wrote: Hello people, could anybode give an example (in code) on subject? This isn't exactly code, but... Set up a LoginManager with a GenericUserSource, and set up the GUS to have users. Make sure that the GUS has a "Persistent Sheet Provider" on the "Sheet

Re: [Zope-dev] Security is Hard (was Import from upload?)

2000-06-05 Thread Phillip J. Eby
At 12:05 PM 6/5/00 -0400, Evan Simpson wrote: Security is hard :-/ No kidding. And just think, all the hard stuff that's been done to avoid trojans in a portal-ish site can be defeated simply by a user making a page that looks like the portal's login screen and asking the user to "verify"

[Zope-dev] Re: Medusa and FTP PUT

2000-06-05 Thread Chimezie Thomas-Ogbuji
Eventually, I found that NullResource is the top level class that handles this first (Objectmanager doesn't inherit off of it -- it inherits off of Resource, which would explain why I couldn't override the PUT method). It has a block of logic similar to ObjectManager.PUTer that checks the

[Zope-dev] transaction support for ordering transactions.

2000-06-05 Thread Anthony Baxter
As part of making SQLSession transaction-sane, I'd like to be able to specify that something can register itself to be committed or aborted earlier in the list of objects rather than just being put on the end of the list. The reason for this: I want SQLSession to just use a normal DB