Re: [Zope] Newbie: How to create a Oracle connection (DCOracle)

2000-07-19 Thread Paul Browning
--On Tuesday, July 18, 2000 12:00 PM -0700 [EMAIL PROTECTED] wrote: Message: 15 From: gustavo [EMAIL PROTECTED] Reply-To: [EMAIL PROTECTED] Organization: elipse To: [EMAIL PROTECTED] Subject: [Zope] Newbie: How to create a Oracle connection (DCOracle) Date: Tue, 18 Jul 2000 15:23:06

[Zope] Problems with Coding differences to do same stuff...

2000-07-19 Thread Felipe E. Barousse Boué
Hello all: Trying to do a simple thing as creating a document and then adding a property with an DTML method, found that the following code does not work, it comes up with a password request (all security settings are at defaults): dtml-call

RE: [Zope] Bi-directional update of Data.fs

2000-07-19 Thread Chris McDonough
If you're doing little or nothing in the way of Python development in base classes (e.g. you're doing all of your development in the instance or in ZClasses), you may want to take a look at ZEO (http://www.zope.org/Products/ZEO). Setting up the ZEO "storage server" overseas and using a local

Re: [Zope] Member Login

2000-07-19 Thread Aleksander Salwa
On Wed, 19 Jul 2000, ethan mindlace fremen wrote: HTML, are generally beyond the purview of zope documentation. The standard in this case is HTTP, where Basic Authentication is defined: http://www.cis.ohio-state.edu/htbin/rfc/rfc2068.html Little fix: rfc2616 obsoletes this. There

[Zope] Security problem i 2.2 final - Bug?

2000-07-19 Thread Peter Arvidsson
I have a very anoying problem... I have created a news-product and have several news-objects. Now I want to change the properties of a news-object. This is my code for that: dtml-with "newsEntries" dtml-call "_[objId].propertysheets[1].manage_editProperties(

[Zope] How to query ZODB

2000-07-19 Thread Dirksen Lau
How can I make queries (something like ad hoc?) to the ZODB besides iteration? If iteration is the only option, how to go about it? Such as how to iterate through files in a folder? Thanks Dirksen ___ Zope maillist - [EMAIL PROTECTED]

RE:[Zope] LoginManager 0.8.6 on Zope 2.1.6

2000-07-19 Thread Mathias Bengtsson
You need to install the ZPattern package to Zope. You can get it at Zope.org. After that it should work fine /Mathias Bengtsson --Hi there --I tried to install LoginManager 0.8.6 owith Zope 2.1.6 but that failed. Zope --reports: --LoginManager Import Traceback --Traceback (innermost last): --

[Zope] Re: [Fwd: [Zope] Announce: ZBabel a Translation Assistant for Zope]

2000-07-19 Thread Federico Di Gregorio
hi *, i read with much interest this thread about ZBabel, because it seems to do something like the Translator product. Suppose web site in source language has something like this: 'Click A href="{fieldX(someVar.A)}"here/A, for {fieldY(someVar.B)}' With suitably horrific DTML

[Zope] Implementing full text search

2000-07-19 Thread Erich Seifert
Hi folks, I tried to create a full text search for my existing site. All went fine: I can search my whole site's document contents (via PrincipaSourceSearch) and titles (using 'or' as in advanced zcatalog searching how-to). The problem I have at the moment is that Zope only searches in

Re: [Zope] Need an SQL based auth system that works with Zope 2.2

2000-07-19 Thread Tony McDonald
At 9:38 am +0800 19/7/00, Bak @ kedai wrote: On Wed, 19 Jul 2000, Tony McDonald wrote: Hi all, I think the time has come to bite the bullet and change our authentication engine to work in line with Zope 2.2 and above. UserDB-1.2 seems to have some problems with it (see my message

Re: [Zope] http://www.atomasoft.com/yahoo-yes!.something

2000-07-19 Thread Chris Withers
Jonathan Desp wrote: I did it, and you still can see the sentences -- http://www.atomasoft.com/asdf.asfd Did you restart Zope after you made the change? Chris ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope **

Re: [Zope] sequence-item and

2000-07-19 Thread Chris Withers
Jonothan Farr wrote: There's a much cooler and more elegant solution in the pipe for 2.2. http://www.zope.org/Members/4am/DTMLWiki/NamedDTMLInLoop I don't think this landed for 2.2... Chris ___ Zope maillist - [EMAIL PROTECTED]

Re: [Zope] http://www.atomasoft.com/yahoo-yes!.something

2000-07-19 Thread Jonathan Desp
- Original Message - From: "Chris Withers" [EMAIL PROTECTED] To: "Jonathan Desp" [EMAIL PROTECTED] Cc: "Nick Garcia" [EMAIL PROTECTED]; "zope zope zope" [EMAIL PROTECTED] Sent: Wednesday, July 19, 2000 5:20 AM Subject: Re: [Zope] http://www.atomasoft.com/yahoo-yes!.something Jonathan

Re: [Zope] Bi-directional update of Data.fs

2000-07-19 Thread Chris Withers
Chris McDonough wrote: There is no generic diff or merge facility for two arbitrarily modified Data.fs files. Perhaps Zope or ZEO could do Lotus Notes - style replication at some point in the future? cheers, Chris ___ Zope maillist - [EMAIL

[Zope] Broken products in 2.2 - bug?

2000-07-19 Thread Peter Arvidsson
Is products treated in a different way in 2.2 final than in 2.1.6? When I restart Zope all instances of my (and some imported) products become broken because it cant find the product it is an instance of. 963996281 (This object from the unknown product is broken!) I have compared with Zope

[Zope] Date time format

2000-07-19 Thread wai
Hi all, Anyone know if there is any good tutorial for date time format ? Like abstract the day or month or year in a ZopeTime string. Please help. Cheers Wai ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope **

Re: [Zope] Need an SQL based auth system that works with Zope 2.2

2000-07-19 Thread Tony McDonald
At 12:43 pm +1200 19/7/00, Graham Chiu wrote: In article v0422081ab59a36ddacad@[128.240.198.13], Tony McDonald [EMAIL PROTECTED] writes Can anyone who's using an SQL based authentication system with Zope 2.2 successfully please let me know which one you used and how you did it? What are the

Re: [Zope] Security problem i 2.2 final - Bug?

2000-07-19 Thread Pierre Rougier
Hi :) I may say something idiot, but... Did u try to change the proxy roles of the method which call the fonction manage_editProperties? (in case of: to do it, edit your method and choose proxy at the top of the window), u can edit the role of your method. Piotr. Peter Arvidsson wrote: I

Re: [Zope] Date time format

2000-07-19 Thread Tony McDonald
At 5:46 pm +0800 19/7/00, [EMAIL PROTECTED] wrote: Hi all, Anyone know if there is any good tutorial for date time format ? Like abstract the day or month or year in a ZopeTime string. as if by magic http://www.zope.org/Members/AlexR/CustomDateFormats hth tone -- Dr Tony McDonald,

Re: [Zope] Date time format

2000-07-19 Thread Chris Withers
[EMAIL PROTECTED] wrote: Anyone know if there is any good tutorial for date time format ? Like abstract the day or month or year in a ZopeTime string. See the Zope Quick Reference or the DTML Reference cheers, Chris ___ Zope maillist - [EMAIL

Re: [Zope] Security problem i 2.2 final - Bug?

2000-07-19 Thread Peter Arvidsson
Hi Thanks for the tip. I gave the method the correct roles but unfortunatelty the problem still exists. Peter Pierre Rougier skrev: Hi :) I may say something idiot, but... Did u try to change the proxy roles of the method which call the fonction manage_editProperties? (in case of: to

Re: [Zope] ZEO and a front end...

2000-07-19 Thread Toby Dickenson
On Tue, 18 Jul 2000 16:08:48 -0600, Bill Anderson [EMAIL PROTECTED] wrote: I might be reading more into his words than was intended, but I think this demonstrates the problem. Distributing multiple requests for one section across multiple servers is (what I consider to be) undesirable. You

Re: [Zope] z2.py with -a option: ZServer FTP server not listening on correct ip address

2000-07-19 Thread Tino Wildenhain
Joseph Wayne Norton wrote: I'm using the following start file: #! /bin/sh reldir=`dirname $0` PYTHONHOME=`cd $reldir; pwd` export PYTHONHOME exec /usr/local/bin/python \ $PYTHONHOME/z2.py -u zope -a zope.domain.com -w 80 -f 8021 -F 8080 \ -D

Re: [Zope] New How-To on Cookies (need feedack)

2000-07-19 Thread Tino Wildenhain
Hi J, "J. Atwood" wrote: I started a little how-to on cookies. Take a look and send your feedback. http://www.zope.org/Members/BwanaZulia/cookies/index_html Remember: "They are written to client file system either in one long cookies.txt file for Netscape or in a directory for I.E. "

RE: [Zope] Bi-directional update of Data.fs

2000-07-19 Thread Chris McDonough
Perhaps. Patches accepted :-) -Original Message- From: Chris Withers [mailto:[EMAIL PROTECTED]] Sent: Wednesday, July 19, 2000 5:27 AM To: Chris McDonough Cc: 'Brenton Bills'; [EMAIL PROTECTED] Subject: Re: [Zope] Bi-directional update of Data.fs Chris McDonough wrote:

RE: [Zope] Bi-directional update of Data.fs

2000-07-19 Thread Chris McDonough
Actually, there is a proposal on the table for something like this in a Wiki I can't find going by the name of "QuorumBasedReplication" -Original Message- From: Chris McDonough Sent: Wednesday, July 19, 2000 9:51 AM To: 'Chris Withers'; Chris McDonough Cc: 'Brenton Bills'; [EMAIL

[Zope] HTMLgen

2000-07-19 Thread michael montagne
I'm trying to use the HTMLcalendar.py as an external function. The supported files are these: import string, time from HTMLcolors import * from HTMLgen import SimpleDocument, TableLite, TD, TR, Font, Name, H, Center, Href from types import IntType from calendar import day_name, month_name,

[Zope] Newbie question about permissions in zclass

2000-07-19 Thread Nathalie Bernier
Hello everybody ! I'd like to have some explanations about the "define permisions" view and the permission mappings in zclass. Maybe something exists in the zope documentation, but I haven't found anything. Thank you for helping. Nathalie Bernier * Développeur

[Zope] Running Zope 2.2 on Solaris 2.7

2000-07-19 Thread Andreas Rippel
I installed Zope 2.2 for Solaris 2.6 on Solaris 2.7. After starting an accessing as superuser I wanted to add an object e.g. a folder. I couldn't add any kind of object, while getting messages like Zope Error Zope has encountered an error while publishing this resource.

Re: [Zope] Security problem i 2.2 final - Bug?

2000-07-19 Thread Peter Arvidsson
Thats what I did .. same problem. However when I installed a new 2.2 final and did exactly the same (same stuff, same permissions) then it worked. There must be some problem with the upgrading... Peter Pierre Rougier skrev: Hi Just to see... try to give all the proxy roles to your

[Zope] looping through objectValues, how to get methods?

2000-07-19 Thread ed colmar
I have a method that looks through "objectValues". Using "hasattr" and "getattr" I can see the variables contained in the object. How do I get the values generated from an object's method in a similar fashion? For example: def dj_experince_statistics(self): """ """

[Zope] Simple DTML-IN question

2000-07-19 Thread Terry Babbey
Everytime I think I am beginning to understand I try to do something new and wham! It won't work for me. I have a dtml-document that I have a list of courses for a college program. I would like to list the courses one item at a time checking the 8th character to see if it is a '-' so I know if

RE: [Zope] looping through objectValues, how to get methods?

2000-07-19 Thread Chris McDonough
days_mixing = getattr(i, 'mixing_for') a = days_mixing() -Original Message- From: ed colmar [mailto:[EMAIL PROTECTED]] Sent: Wednesday, July 19, 2000 11:09 AM To: [EMAIL PROTECTED] Subject: [Zope] looping through objectValues, how to get methods? I have a method that looks

Re: [Zope] Running Zope 2.2 on Solaris 2.7

2000-07-19 Thread Christopher J. Kucera
Andreas Rippel wrote: I couldn't add any kind of object, while getting messages like ... Error Type: SuperCannotOwn Error Value: Objects cannot be owned by the superuser That's because in Zope 2.2.0, you can't create objects as the superuser. You'll have to create a

Re: [Zope] Running Zope 2.2 on Solaris 2.7

2000-07-19 Thread Diny van Gool
At 16:41 19-7-00 +0200, Andreas Rippel wrote: I installed Zope 2.2 for Solaris 2.6 on Solaris 2.7. After starting an accessing as superuser I wanted to add an object e.g. a folder. I couldn't add any kind of object, while getting messages like Hi, First you have to create another user and give

Re: [Zope] looping through objectValues, how to get methods?

2000-07-19 Thread Jerome Alet
On Wed, 19 Jul 2000, ed colmar wrote: I have a method that looks through "objectValues". Using "hasattr" and "getattr" I can see the variables contained in the object. How do I get the values generated from an object's method in a similar fashion? For example: if

Re: [Zope] looping through objectValues, how to get methods?

2000-07-19 Thread Chris Withers
Hi Ed :-) StarRave marches on I see... I'm assuming mixing_for is a method? if hasattr(i, 'mixing_for()'): #try to get mixing_for() method days_mixing=getattr(i,'mixing_for()') in which case the above should be: if

[Zope] calendar installation

2000-07-19 Thread Vincent Maton
I want to use calendar, I see it on screen but I can't use it because, I think that I have a problem to install all of calendar like the external method (I can't istall it, of course i'm not a Python programmer) Can you tel me How Can I use the "Calendar" ??? Thank you a lot.

Re: [Zope] cookies

2000-07-19 Thread Maik.Röder
Hi Vincent ! Vincent Maton schrieb: Hello !!! can you tell me how can I use the "cookies" Just go to the following page: http://zdp.zope.org/portals/developers/sessionmanagement/cookies If you find another resource that we have overlooked, please add it yourself on this page. People can

[Zope] Changing my session identity

2000-07-19 Thread Andreas Rippel
Hi, does anybody know a possibility to change the identity during a browser process, without killing all clients and logging in again? Thanks Andreas ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No

RE: [Zope] Bi-directional update of Data.fs

2000-07-19 Thread Albert Langer
[AL] If you do find it, please pass on a strong recommendation to checkout the Coda file system included in FreeBSD. Coda has a LOT of research on how to do this stuff that would be relevant to "Quorum Based Replication". Sorry, I just noticed this message in passing and cannot follow up myself.

RE: [Zope] Changing my session identity

2000-07-19 Thread Chris McDonough
In dtml: raise Unauthorized You are unauthorized. /raise If you enter a new valid username/password combo in, you'll be validated and your identity will be changed. If you cancel or enter an invalid username/password combo, you'll still be logged in as whomever you started with.

[Zope] Problem with ZClasses and Permissions

2000-07-19 Thread Frederic QUIN
Hi all, I created a ZClass. Automaticly, Zope has created a new Permission called "Add MyZClass". I activated this Permission for a role called "simple user". But, when a user connected has a "simple user" try to add an object from "MyZClass", he can't. Zope return an error... Is there any

Re: [Zope] ZEO and a front end...

2000-07-19 Thread Bill Anderson
Toby Dickenson wrote: On Tue, 18 Jul 2000 16:08:48 -0600, Bill Anderson [EMAIL PROTECTED] wrote: I might be reading more into his words than was intended, but I think this demonstrates the problem. Distributing multiple requests for one section across multiple servers is (what I

[Zope] Date time format

2000-07-19 Thread Spicklemire, Jerry
The DTML User Guide has an "Appendix A" that shows lot's of options, but no examples. Anyhow, see: http://www.zope.org/Documentation/Guides/DTML-HTML/DTML.18.html You can use these like so: dtml-var ZopeTime fmt=="%Y/%m/%d" dtml-var ZopeTime fmt=="AMPM"

Re: [Zope] Simple DTML-IN question

2000-07-19 Thread Andy McKay
Part of the problem here is that you cannot loop through a string (which is what a DTML Document returns). You can split the string and loop through that or more efficiently create a lines property on an object and loop through that. Something like: property: Course, type: lines dtml-in Course

Re: [Zope] Bi-directional update of Data.fs

2000-07-19 Thread Otto Hammersmith
Chris Withers wrote: Chris McDonough wrote: There is no generic diff or merge facility for two arbitrarily modified Data.fs files. Perhaps Zope or ZEO could do Lotus Notes - style replication at some point in the future? *droool* There's that Python IDE that someone was working on

Re: [Zope] Bi-directional update of Data.fs

2000-07-19 Thread Otto Hammersmith
If you manage to find it, would you post a link to it? Thanks. -Otto. Chris McDonough wrote: Actually, there is a proposal on the table for something like this in a Wiki I can't find going by the name of "QuorumBasedReplication"

RE: [Zope] Bi-directional update of Data.fs

2000-07-19 Thread Chris McDonough
Aha... http://www.zope.org/Wikis/ZEO/QuorumBasedReplication Jim's heading this up. We had a professor from George Mason University in here and everything. The whiteboard was filled with scrawlings. :-) It's definitely something we're interested in. -Original Message- From: Otto

[Zope] RE: Date time format

2000-07-19 Thread Spicklemire, Jerry
Oops! Change those "==" to just single "=". Too much Python on the brain . . . -Original Message- From: Spicklemire, Jerry Sent: Wednesday, July 19, 2000 12:15 PM To: '[EMAIL PROTECTED]' Cc: '[EMAIL PROTECTED]' Subject: Date time format The DTML User Guide has an "Appendix A" that

[Zope] Telecommuter

2000-07-19 Thread Luis Cortes
Hi, I was wondering if anybody has some odd jobs for me to do with Zope or Python. I am availiable for telecommute positions. I have 5 years experience as a programmer/software engineer and I have recently picked up Zope and Python, but already I feel like an old pro. Drop me an email

RE: [Zope] Bi-directional update of Data.fs

2000-07-19 Thread Brad Clements
On 19 Jul 2000, at 13:57, Chris McDonough wrote: Aha... http://www.zope.org/Wikis/ZEO/QuorumBasedReplication Jim's heading this up. We had a professor from George Mason University in here and everything. The whiteboard was filled with scrawlings. :-) It's definitely something we're

Re: [Zope] Bi-directional update of Data.fs

2000-07-19 Thread Chris Withers
Brad Clements wrote: Aha... http://www.zope.org/Wikis/ZEO/QuorumBasedReplication Jim's heading this up. We had a professor from George Mason University in here and everything. The whiteboard was filled with scrawlings. :-) It's definitely something we're interested in. I've been

Re: [Zope] Bi-directional update of Data.fs

2000-07-19 Thread Chris Withers
Otto Hammersmith wrote: Chris Withers wrote: Chris McDonough wrote: There is no generic diff or merge facility for two arbitrarily modified Data.fs files. Perhaps Zope or ZEO could do Lotus Notes - style replication at some point in the future? *droool* There's that

Re: [Zope] Bi-directional update of Data.fs

2000-07-19 Thread Martijn Pieters
On Wed, Jul 19, 2000 at 08:47:43PM +0100, Chris Withers wrote: There's that Python IDE that someone was working on using Mozilla. Do you mean ZopeStudio? It's the javascript thing that is going to be Zope's IDE... No, he's talking about ActiveState's Komodo. -- Martijn Pieters |

Re: [Zope] Newbie: How to create a Oracle connection (DCOracle)

2000-07-19 Thread Dieter Maurer
gustavo writes: Finally, I installed DCOracle and works fine. But, how to create a Oracle connection inside Zope? I tried to add a SQL Method and received this warning: Warning: There are no SQL database connections. You need to add a Zope SQL database connection before you can use a

Re: [Zope] Creating Factory Objects (Products)

2000-07-19 Thread Dieter Maurer
Firestar writes: Haha, thanks for the 'wisdom' cookies:) Here are the last two lines of the traceback: File /usr/local/Zope-2.1.6/lib/python/OFS/Application.py, line 249, in __bobo_traverse__ (Object: ApplicationDefaultPermissions) File

Re: [Zope] ZCatalog Reindex_object Problems

2000-07-19 Thread Dieter Maurer
Manuel Schulte writes: The problem seems to be that the catalog will not update after I Input a value that the catalog has not yet seen for a particular field. Maybe, you are hit by one of the catalog/lexicon bugs. Look in the archives or the collector

Re: [Zope] Broken products in 2.2 - bug?

2000-07-19 Thread Dieter Maurer
Peter Arvidsson writes: Is products treated in a different way in 2.2 final than in 2.1.6? When I restart Zope all instances of my (and some imported) products become broken because it cant find the product it is an instance of. Did you read the Zope 2.2 upgrade information? To narrow

Re: [Zope] http://www.atomasoft.com/yahoo-yes!.something

2000-07-19 Thread Dieter Maurer
Jonathan Desp writes: I did it, and you still can see the sentences -- The debug mode adds the traceback. The other "sentences" (?) are (usually) generated by "standard_error_message". Unfortunately, there are a few exception (like "Resource not Found") that are build into Python code (sigh).

Re: [Zope] HTMLgen

2000-07-19 Thread Dieter Maurer
michael montagne writes: I'm trying to use the HTMLcalendar.py as an external function. The supported files are these: import string, time from HTMLcolors import * from HTMLgen import SimpleDocument, TableLite, TD, TR, Font, Name, H, Center, Href from types import IntType from

Re: [Zope] Implementing full text search

2000-07-19 Thread Dieter Maurer
Erich Seifert writes: I tried to create a full text search for my existing site. All went fine: I can search my whole site's document contents (via PrincipaSourceSearch) and titles (using 'or' as in advanced zcatalog searching how-to). The problem I have at the moment is that Zope only

Re: [Zope] The proper usage of Sequence-item

2000-07-19 Thread Dieter Maurer
jesse writes: I'm improving on Smarter forms so that instead of having to hard code every field into the code that checks for errors, it automaticly reads the dictionary that is in REQUEST and checks every key in it. I'm trying to work with this... dtml-in "REQUEST.keys()"

Re: [Zope] Problems with Coding differences to do same stuff...boundary=------------EAFFAD5A57052936695E91D7

2000-07-19 Thread Dieter Maurer
Trying to do a simple thing as creating a document and then adding a property with an DTML method, found that the following code does not work, it comes up with a password request (all security settings are at defaults): dtml-call

Re: [Zope] Bi-directional update of Data.fs

2000-07-19 Thread Brad Clements
On 19 Jul 2000, at 20:32, Chris Withers wrote: I've been teasing myself with the idea of using CODA as a storage for Zope. It has built-in "per-object" replication, hoarding (download all these objects so I can go to the beach) and sychronization. That would be very cool :-) If

Re: [Zope] http://www.atomasoft.com/yahoo-yes!.something

2000-07-19 Thread Chris Withers
Dieter Maurer wrote: Unfortunately, there are a few exception (like "Resource not Found") that are build into Python code (sigh). Resource not found should get handled fine in 2.2 Anauthorized, sadly, doesn't. This was supposed to get fixed but seems to haev dropped by the wayside :( cheers,

Re: [Zope] Creating folders in LocalFS

2000-07-19 Thread Jonothan Farr
Folder creation isn't really supported in LocalFS at the moment. Very low level support is there (module function _save_Folder) but it's not intended to be called externally and there doesn't seem to be any path to call it. There is certainly not a local definition of manage_addFolder

Re: [Zope] Broken products in 2.2 - bug?

2000-07-19 Thread Bill Anderson
Dieter Maurer wrote: Peter Arvidsson writes: Is products treated in a different way in 2.2 final than in 2.1.6? When I restart Zope all instances of my (and some imported) products become broken because it cant find the product it is an instance of. Did you read the Zope 2.2

Re: [Zope] GUF Authentication Problems

2000-07-19 Thread Mario Premke
Yes - thanks to Brad. Give the proxy role (Authorizer) the permission "Access contents informations" in the folder you want to protect (i.e. the folder above GUF). Cheers Mario Did anyone find a solution to this problem? I have the exact same problem when try to access that object:

Re: [Zope] Reversing acquisition?

2000-07-19 Thread Luciano Ramalho
[EMAIL PROTECTED] wrote: The effect I would like to achieve is: when user access http://myserver/, content of /text_object_1 and /text_object_2 will be shown while user access http://myserver/subfolder/, content of /subfolder/text_object_1 and /subfolder/text_object_2 The point is that

[Zope] LocalFS and Image Files

2000-07-19 Thread Rogerio Atem de Carvalho
Hi, I am using LocalFS to refer to image files (.jpg). I tried localfsObj['imagefile.jpg'] but it doesn't render the image. The same occurs inside Zope management interface, i.e., if I try "view", it shows me a broken link. I am testing it on 2.1.6 Win32, but it will go online in 2.1.7

Re: [Zope] Need an SQL based auth system that works with Zope 2.2

2000-07-19 Thread Bak @ kedai
Thanks for the input Bak, thing is the product works fine *if* you've already set things up via the Properties tab in another Zope installation. By that, I mean it does authentication very well. If you click the Properties tab however, you get the traceback (if you're going to try it,

Re: [Zope] Time Precision in Zope

2000-07-19 Thread Shane Hathaway
Kelvin Cheong wrote: Is there a way i can grab the time value on my current system that Zope is running on with a MILLISECOND precision? Works on 2.2.0: dtml-var expr="_.DateTime().millis()" Shane ___ Zope maillist - [EMAIL PROTECTED]

Re: [Zope] Powered by Oasis?

2000-07-19 Thread Tim Cook
Ng Pheng Siong wrote: http://www.cyclic.com/CVS/Dev/codewindow/linkhere Gives a Zope error. Icon at bottom says "Powered by Oasis". Interesting. I took some time to browse around OpenAvenue to find their attribution to Digital Creations / or Zope. Couldn't find one anywhere. Looks

Re: [Zope] ZEO and a front end...

2000-07-19 Thread Curtis Maloney
On Thu, 20 Jul 2000, Bill Anderson wrote: Toby Dickenson wrote: On Tue, 18 Jul 2000 16:08:48 -0600, Bill Anderson [EMAIL PROTECTED] wrote: I might be reading more into his words than was intended, but I think this demonstrates the problem. Distributing multiple requests for one

[Zope] manage_pasteObjects() permissions?

2000-07-19 Thread Jason Byron
Can anyone tell me what permissions are required to get these copy and paste functions to work? manage_copyObjects() manage_pasteObjects() Everytime I use them I get a Copy Error with the manage_pasteObjects() function. And I am not sure the copy function is working at all. thanks, Jason

[Zope] Znolk SQL Wizard + Postgres

2000-07-19 Thread Nitesh Dhanjani
Hello, According to http://www.zope.org/Members/zwork/Znolk_SQL_Wizard/index_html , Znolk SQL Wizard should work with PostgreSQL. However, after making a PoPy Database Connection, when I initiate the Znolk_SQL wizard, I get : "Warning: There are no database connections. You need to add a Zope

[Zope-dev] HTTP user agent?

2000-07-19 Thread Brian Takashi Hooper
Hi Zopistas, For anyone that might know: Is there a particular reason that the User-Agent header is not part of the request data that ZServer sends in the environment to ZPublisher? It looks like the user agent can also be provided to Zope's request object just by adding a line for

[Zope-dev] Intializing the objects formerly-known-as-RackMountables

2000-07-19 Thread Itamar Shtull-Trauring
I need to do initialize some properties of new instances of a DataSkin subclass - ASPAccount. However, I can't put this in __init__ since the object hasn't been stored at that point. Doing self.__dict__['name'] = 'Rincewind' seems kinda ugly. Maybe newItem should by default call a function

[Zope-dev] several permissions for the same method

2000-07-19 Thread Jephte CLAIN
Hello, is it possible for a single method, under Zope 2.1.6, to have several permissions? ie __ac_permission__ = ( ('edit my data', 'edit_data'), ('edit others\'s data', 'edit_data'), ) I have the scenario where a user can edit *its* data but not other users's data, unless he has a

Re: [Zope-dev] several permissions for the same method

2000-07-19 Thread Oleg Broytmann
On Wed, 19 Jul 2000, Jephte CLAIN wrote: I have the scenario where a user can edit *its* data but not other users's data, unless he has a special role. however, the method used to edit one's data is the same. So I make sure inside the edit_data method that the user has the adequate

[Zope-dev] Another ZPatterns bug

2000-07-19 Thread Itamar Shtull-Trauring
(ZPatterns 0.4a5, Zope 2.2.0) If an agent raises an exception, you don't get to see the traceback. Instead, the object is simply not added (if the exception was in _objectAdded, donno what happens in _objectChanged). This makes debugging agents basically impossible... -- Itamar S.T. [EMAIL

Re: [Zope-dev] Expanded access file (was Re: LoginManager patch consideredharmful)harmful)

2000-07-19 Thread Shane Hathaway
Chris Withers wrote: "Phillip J. Eby" wrote: Maybe, maybe not. I think perhaps the most compelling argument from Digital Creations' viewpoint for having an expanded "access" file might be the simplification of the setup process for customers. And it would also make it easier to:

Re: [Zope-dev] HTTP user agent?

2000-07-19 Thread Martijn Pieters
On Wed, Jul 19, 2000 at 04:57:12PM +0900, Brian Takashi Hooper wrote: Hi Zopistas, For anyone that might know: Is there a particular reason that the User-Agent header is not part of the request data that ZServer sends in the environment to ZPublisher? It looks like the user agent can

Re: [Zope-dev] Intializing the objectsformerly-known-as-RackMountables

2000-07-19 Thread Itamar Shtull-Trauring
"Phillip J. Eby" wrote: Doing self.__dict__['name'] = 'Rincewind' seems kinda ugly. Maybe newItem should by default call a function on newly created objects, say __init? I don't want to have to subclass Specialist (or in my case, LoginManager) each time I want to this, since it's a *very*

Re: [Zope-dev] Intializing the objectsformerly-known-as-RackMountables

2000-07-19 Thread Phillip J. Eby
At 05:41 PM 7/19/00 +0300, Itamar Shtull-Trauring wrote: class ASPAccount(LoginUser, MemberMixin): def __init__(self, id, title=''): LoginUser.__init__(self, id) self.__dict__['_currentPayment'] = None self.__dict__['debt'] = Payment.Debt(0.0)

[Zope-dev] 2 ZEO Wikis.

2000-07-19 Thread Chris McDonough
In trying to find the "Quorum Based Replication" stuff I've found that we have two ZEO wikis. http://www.zope.org/Products/ZEO/Wiki/FrontPage http://www.zope.org/Wikis/ZEO/FrontPage Bleah. Chris McDonough Digital Creations Publishers of Zope - http://www.zope.org

Re: [Zope-dev] Expanded access file (was Re: LoginManager patch consideredharmful)harmful)

2000-07-19 Thread Phillip J. Eby
At 10:15 AM 7/19/00 -0400, Shane Hathaway wrote: Chris Withers wrote: "Phillip J. Eby" wrote: Maybe, maybe not. I think perhaps the most compelling argument from Digital Creations' viewpoint for having an expanded "access" file might be the simplification of the setup process for

Re: [Zope-dev] Expanded access file (was Re: LoginManagerpatch consideredharmful)harmful)

2000-07-19 Thread Chris Withers
"Phillip J. Eby" wrote: You speak in the past tense. This is only a suggestion and a possibility. It's not as important as some other feature requests. Patch opportunity, perhaps? :) Ty and I would do it, no problem. Heck, I've been tempted to do it as a LoginManager function, since

Re: [Zope-dev] Expanded access file (was Re: LoginManagerpatch consideredharmful)harmful)

2000-07-19 Thread Shane Hathaway
"Phillip J. Eby" wrote: At 10:15 AM 7/19/00 -0400, Shane Hathaway wrote: Chris Withers wrote: "Phillip J. Eby" wrote: Maybe, maybe not. I think perhaps the most compelling argument from Digital Creations' viewpoint for having an expanded "access" file might be the

Re: [Zope-dev] Expanded access file (was Re: LoginManagerpatch consideredharmful)harmful)

2000-07-19 Thread Phillip J. Eby
At 11:09 AM 7/19/00 -0400, Shane Hathaway wrote: Patch opportunity, perhaps? :) Ty and I would do it, no problem. Heck, I've been tempted to do it as a LoginManager function, since Zope doesn't pay attention to anything past the first line of the "access" file... We would be most

Re: [Zope-dev] Expanded access file (was Re:LoginManagerpatch consideredharmful)harmful)

2000-07-19 Thread Shane Hathaway
"Phillip J. Eby" wrote: At 11:09 AM 7/19/00 -0400, Shane Hathaway wrote: Patch opportunity, perhaps? :) Ty and I would do it, no problem. Heck, I've been tempted to do it as a LoginManager function, since Zope doesn't pay attention to anything past the first line of the "access"

Re: [Zope-dev] Expanded access file

2000-07-19 Thread Phillip J. Eby
At 12:50 PM 7/19/00 -0400, Shane Hathaway wrote: "Phillip J. Eby" wrote: At 11:09 AM 7/19/00 -0400, Shane Hathaway wrote: Patch opportunity, perhaps? :) Ty and I would do it, no problem. Heck, I've been tempted to do it as a LoginManager function, since Zope doesn't pay attention to

[Zope-dev] default__class_init__

2000-07-19 Thread Jeff K. Hoffman
Hello, Should I call default__class_init__ on all of my Python products that care about permissions? Or are there some times when it is not required? --Jeff --- Jeff K. Hoffman 704.849.0731 x108 Chief Technology Officer mailto:[EMAIL

Re: [Zope-dev] default__class_init__

2000-07-19 Thread Jonothan Farr
My understanding is that the default __class_init__ gets called for you automatically if you don't call it explicitly. --jfarr "Perl is worse than Python because people wanted it worse." Larry Wall, 14 Oct 1998 - Original Message - From: Jeff K. Hoffman [EMAIL PROTECTED] To: [EMAIL

Re: [Zope-dev] Re: Acquisition (was: [Zope-dev] Overriding a method in an instance.)

2000-07-19 Thread Chris Withers
Shane Hathaway wrote: P.S. I wouldn't mind if someone posted this as a HOWTO. :-) Done :-) cheers, Chris ___ Zope-Dev maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML encoding! ** (Related

Re: [Zope-dev] Overriding a method in an instance.

2000-07-19 Thread Chris Withers
Shane Hathaway wrote: I have an idea: the _objects attribute of ObjectManagers could include a "configurable" flag, which would tell _checkId that the object can be overridden. Shane, Is this what became the ConfigurableInstances thing at:

Re: [Zope-dev] Overriding a method in an instance.

2000-07-19 Thread Shane Hathaway
Chris Withers wrote: Shane Hathaway wrote: I have an idea: the _objects attribute of ObjectManagers could include a "configurable" flag, which would tell _checkId that the object can be overridden. Shane, Is this what became the ConfigurableInstances thing at:

Re: [Zope-dev] Traceback

2000-07-19 Thread Dieter Maurer
[EMAIL PROTECTED] writes: How hard would it be to add more of the called URL to the traceback? ... traceback ... Great, I know that I have not put product_number in as a cookie or a hidden value, and it could not be found by acquisition. It failed in rendering index_html. But

Re: [Zope-dev] ZPatterns: missing docstring in getItem()

2000-07-19 Thread Chris Withers
"Phillip J. Eby" wrote: The local roles stuff is the ability to have a DataSkin get local role information from "local role providers", thus allowing rules-based local roles to exist/co-exist with the standard Zope persistently-managed local roles. How does this fit in / compare / contrast

  1   2   >