[Zope-dev] RFClarification: Security on Product Attributes

2000-09-26 Thread Chris Withers
Hi, If I have the following lines in a Python Product: def __init__(self, id): """initialise a new instance of product""" self.id = id self.title = 'Title!' self.anInt = 0 self.aString = 'testing' Are these attributes protected by the security

[Zope-dev] MySQL : help !

2000-09-26 Thread jdiebold
I need the binarie file named _msql does anybody got it (for any Linux)? Because I can't build this file : I've got too many errors Thanks in advance Jérôme DIEBOLD ___ Zope-Dev maillist - [EMAIL PROTECTED]

[Zope-dev] __call__ hell :-(

2000-09-26 Thread Chris Withers
:-( Right, I have a Python product with a __call__ method that is (hopefully) going to be used to render a navigation tree. To do this (and have the tree expand in the right places) I need a list of objects that need to be expanded. I'm currently using the following expression to get this

Re: [Zope-dev] aq_inner: don't call it!

2000-09-26 Thread Jim Fulton
Chris Withers wrote: After more playing I've discovered that calling the resutl of aq_inner() appears to be a very bad idea ;-) The line: print self.aq_inner() in the __call__ method of a python product caused the python process to dump an 'unknown software exception'.

Re: [Zope-dev] aq_inner crash: Python 1.5.2's fault? (also how to get the client)

2000-09-26 Thread Phil Harris
Chris, Have you tried Christian Tismers Stackless Python, which has 'infinite' recursion capabilities? www.stackless.com Phil - Original Message - From: "Chris Withers" [EMAIL PROTECTED] To: "Jim Fulton" [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Sent: Tuesday, September 26, 2000 2:09 PM

Re: [Zope-dev] Testing Zope applications

2000-09-26 Thread Toby Dickenson
On Tue, 26 Sep 2000 07:42:29 -0400, Jim Fulton [EMAIL PROTECTED] wrote: Toby Dickenson wrote: I'm not sure exactly what problem you are refering to. It sound's like an issue of depending on a specific acquired name and having the name overridden with something bogus. Is that it? There

Re: [Zope-dev] aq_base, aq_base() and infinite recursion...

2000-09-26 Thread Shane Hathaway
Chris Withers wrote: Phil Harris wrote: Have you tried Christian Tismers Stackless Python, which has 'infinite' recursion capabilities? I'm not sure this would be entirely helpful here ;-) I wonder what aq_base(), over aq_base, does that causes an infinite recursion? Maybe I

Re: [Zope-dev] more __call__ ...

2000-09-26 Thread Toby Dickenson
On Tue, 26 Sep 2000 16:11:50 +0100, Chris Withers [EMAIL PROTECTED] wrote: So, if I give my product a class attribute of isDocTemp=1, what signature should I give my product's __call__ method so it picks up the DTML namespace? Interestingly, Ive just put a HowTo that does this

[Zope-dev] Re: more __call__ ...

2000-09-26 Thread Evan Simpson
From: "Jim Fulton" [EMAIL PROTECTED] We are going to provide an alternate interface, so that if an object has a special method, then this will be called instead. okay... which proposal/project is this in? I don't remember. Evan? PythonMethods, essentially, unless you'd really like me

[Zope-dev] ZServer and ftp port-1 data channel

2000-09-26 Thread Kent Polk
It appears we still have a problem with ZServer's port 20 data channel response behavior with the latest released Zope (Zope 2.2.1 (source release, python 1.5.2, linux2) and Active Mode ftp clients. In particular, when you select the port-1 behavior, medusa can't seem to bind to port 20 when

Re: [Zope-dev] more __call__ ...

2000-09-26 Thread Jim Fulton
Chris Withers wrote: Jim Fulton wrote: So, if I give my product a class attribute of isDocTemp=1, what signature should I give my product's __call__ method so it picks up the DTML namespace? def __call__(self, ignored, md): ... Right, now if I call other DTML methods from my

Re: [Zope-dev] ZServer and ftp port-1 data channel

2000-09-26 Thread Shane Hathaway
Here's what Sam Rushing told me regarding this issue. Shane Hathaway writes: I hear that you have found a way to get Medusa to use the correct port in active mode FTP. This could be a great benefit to the Zope community. Anything you have (diffs, modified files, or any kind of info) on

[Zope-dev] Soft links again

2000-09-26 Thread Ibañez Palomar Juan David
Hi all, First, I'm using Zope 2.2.1 (Debian package). I've been trying to implement zope objects that behave like unix soft links. The message http://lists.zope.org/pipermail/zope-dev/2000-July/005963.html by Shane proposes an implementation based in the __of__ method: class SoftLink

[Zope-dev] Re: more __call__ ...

2000-09-26 Thread Chris Withers
Evan Simpson wrote: PythonMethods, essentially, unless you'd really like me to make this a separate project. It's *such* a small change, tho. No, not at all, just where I can find some docs for this specific bit would be more than sufficient :-) cheers, Chris

Re: [Zope-dev] Soft links again

2000-09-26 Thread Shane Hathaway
"Ibañez Palomar Juan David" wrote: Hi all, First, I'm using Zope 2.2.1 (Debian package). I've been trying to implement zope objects that behave like unix soft links. The message http://lists.zope.org/pipermail/zope-dev/2000-July/005963.html by Shane proposes an implementation

Re: [Zope-dev] ZServer and ftp port-1 data channel

2000-09-26 Thread Kent Polk
On 26 Sep 2000 12:50:00 -0500, Shane Hathaway wrote: Here's what Sam Rushing told me regarding this issue. Shane Hathaway writes: I hear that you have found a way to get Medusa to use the correct port in active mode FTP. This could be a great benefit to the Zope community. Anything you

Re: [Zope-dev] ZServer and ftp port-1 data channel

2000-09-26 Thread Shane Hathaway
Kent Polk wrote: So you are saying ZServer just isn't ever going to support Active ftp clients in the correct port-1 manner? If so, you might want to put a LARGE BANNER disclaimer about this matter as this makes ZServer unusable from most ftp clients that try to access it from behind

Re: [Zope-dev] Re: more __call__ ...

2000-09-26 Thread Evan Simpson
From: Chris Withers [EMAIL PROTECTED] Evan Simpson wrote: PythonMethods, essentially, unless you'd really like me to make this a separate project. It's *such* a small change, tho. No, not at all, just where I can find some docs for this specific bit would be more than sufficient :-)

[Zope-dev] New Proposal: PersistentBlob

2000-09-26 Thread John D. Heintz
Hi all, Yesterday I put up a new proposal on the http://dev.zope.org site that documents my vision of PersistentBlob. The main idea is the be able to mark blocks of strings (text or binary) content for storage in a file system as individual files. (Or blobs in a relation table.) The two

[Zope-dev] Proposal: Local ZClasses

2000-09-26 Thread Jay, Dylan
Problem: Encapsulation for plugable brains and other purposes are too hard. ZClasses are a global kind of thing that requires going into a separate area of the site which you have to have permission to use. Also I find that I evolve my solutions. I will produce something in folders that

Re: [Zope] Favorites

2000-09-26 Thread Tino Wildenhain
Hi rishi, rishi wrote: ... The following tihng is going on; they are uploading the bookmark file manualy, by exporting from IE or NS. There is a util called "ImportExportFavorites", a javascript syntax that gets the bookmarks and post them to the server. One has to have a glance at it to

Re: [Zope] Guess Who . . .

2000-09-26 Thread Tino Wildenhain
Hi, nice :-) "Spicklemire, Jerry" wrote: . . . has a opening posted on their Web Site for a C/C++ programmer with Zope / Python experience? http://www-3.ibm.com/employment/us/empl/jofK23137.html ... Experience Required Six years work related experience they must be from a

RE: [Zope] Favorites

2000-09-26 Thread rishi
Thank dewd but dtml-var REQUEST doesn't give the info I'am looking for. I allready tried that and a lot more. I did get a asp script for this but I can't implement it into zope. -Original Message- From: Tino Wildenhain [mailto:[EMAIL PROTECTED]] Sent: dinsdag 26 september 2000 8:27 To:

Re: [Zope] multiple ZOPE ...

2000-09-26 Thread Simon Coles
We host zope using mutliple installations of zope. Yes, that's what we do for our "Professional" Zope hosting. For "FreeZope", you just get your own folder, and it lives under http://freezope.nipltd.net/yourplace. We have a standard list of products, and we don't allow people any more. It

[Zope] Download Problems File Extensions

2000-09-26 Thread Chris Withers
Suzette Ramsden wrote: I have had this same problem downloading squishdot zip files and I don't know if it is something I am doing. When I attempt to unzip the file, I keep getting: "error reading header after processing 0 entries" I've seen this happen due to a couple of things: 1.

Re: [Zope] Favorites

2000-09-26 Thread Phil Harris
rishi, What does the ASP script look like? Send me a copy privately if you want, I'll scan through and see if I can make any suggestions. Phil (ex. ASP thingy 8¬)) [EMAIL PROTECTED] - Original Message - From: "rishi" [EMAIL PROTECTED] To: "'Tino Wildenhain'" [EMAIL PROTECTED] Cc:

Re: [Zope] Use of the :records variable type and ZSQL methods

2000-09-26 Thread Rik Hoekstra
Calvin Parker wrote: Error Type: Bad Request Error Value: ['Field1', 'Field2'] Here is the code I used and sqlTest is the ZSQL Method that just inserts the two fields into a test DB: dtml-in testlist dtml-call sqlTest /dtml-in What am I doing wrong?

Re: [Zope] WorldPilot has the bits...

2000-09-26 Thread John Chandler
Any ideas how the sync would be done? WorldPilot has the ability to do this, allegedly. WorldPilot's Palm side of things was still broken last I checked (last week, IIRC) - it was complaining of login errors, though you could login happily through other means. Get the freshest version of

[Zope] Help needed with namespace

2000-09-26 Thread a . wacknitz
Hello all, after updating to Zope-2.2.0 I have problems with ZSQL methods. It seems as if the namespace of ZSQL methods has changed sind Zope-2.1.x. I cannot access the AUTHENTICATED_USER object anymore - it is not known to ZSQL methods: dtml-sqlvar AUTHENTICATED_USER gives an "Missing input

[Zope] Newbie-question on ZCatalog

2000-09-26 Thread Marc Breitenreicher
Hi, I'm trying to build a Catalog with a report table just as the one on http://classic.zope.org:8080/Collector/tableBrowse?cfDescAndTitle=catalog That's a table with document-title, date and the first 30 words of the document-content. My problem: how can I insert the content into the ZSearch

Re: [Zope] RedHat site mentions Zope (SuSE too!)

2000-09-26 Thread Joachim Werner
I checked: Zope 2.1.6 is shipped with the DeLuxe and Server versions of RedHat 7.0, but not with the Standard edition. They have split Zope into a couple of separate packages. On the web page they mention Zope a couple of times! BTW: Zope (also the 2.1.6) is also on the SuSE 7.0 (Professional)

[Zope] ZClass + ZSQLmethods bug in 2.2.2?

2000-09-26 Thread Alexander Schonfeld
Hi, I've seen lots of ZSQLmethods patches and such and tried a few of them under 2.1.6, but thought upgrading to 2.2.2 would fix this problem. It didn't. Basically: 1. Create a ZClass 2. Inside create a DTML method and ZSQLmethod 3. from the dtml method call the

[Zope] 1000-record limit?

2000-09-26 Thread Christopher J. Kucera
Greetings! I know I saw this discussed a long time ago, but I completely failed to find the thread anywhere, so here goes . . . We're running a somewhat older release of Zope with ZOracleDA, and we've run up against a 1000-record limit when returning data for reports, etc. I know that this is

Re: [Zope] 1000-record limit?

2000-09-26 Thread Petru Paler
On Tue, 26 Sep 2000, Christopher J. Kucera wrote: We're running a somewhat older release of Zope with ZOracleDA, and we've run up against a 1000-record limit when returning data for reports, etc. I know that this is intended behavior (careful_range in DT_Util.py), but I'm wondering what the

Re: [Zope] trouble with SiteAccess; can't manage subtree mapped to inaccessible domain name

2000-09-26 Thread ethan mindlace fremen
Fred Yankowski wrote: I'm glad to have SiteAccess. In combination with the Apache ProxyPass method http://www.zope.org/Members/anser/apache_zserver/ it's been working well to host several domains from the same Zope/Zserver instance. Very cool. It _did_ take me while to realize that I

Re: [Zope] http://webcompare.internet.com/

2000-09-26 Thread ethan mindlace fremen
Hung Jung Lu wrote: I just ran across this website: http://webcompare.internet.com/ Interesting that I did not see anything on Zope. Shouldn't we write something to [EMAIL PROTECTED] and let them know about Zope? (Look also under http://serverwatch.internet.com/appservers.html Thanks

[Zope] ZFormulator -- how to make an SQL insert?

2000-09-26 Thread Mike Renfro
I looked in the archives for anything concerning this, and came up empty. I have zformulator set up with postgres, and it appears to work fine, except that I've not found the zen to make it actually do an SQL insert -- I know the GetSQL method will extract the proper code, but am I missing

[Zope] PyGreSQLDA

2000-09-26 Thread Leichtman, David J
Has anyone had significant speed issues using the PyGreSQLDA? It seems like I'm only getting one DB connection at a time. Is this an issue with the DA, with Zope, or am I doing something wrong? I have a pgsql db running just fine, and in Zope I have a connection instantiated at the top level

[Zope] [Fwd: Zope Question]

2000-09-26 Thread Ryan Booz
Hey gang, I'm posting this question here because I know a while back some people had mentioned they were using Zope. I'm trying to start using it, getting used to the DTML and all the other stuff. I can get it running with my Apache server, and that's all well and good. But I have these

[Zope] Re: Zope Question

2000-09-26 Thread Chris McDonough
- Original Message - From: "Ryan Booz" [EMAIL PROTECTED] To: "Comp Ed List" [EMAIL PROTECTED] Sent: Monday, September 25, 2000 3:03 PM Subject: Zope Question Hey gang, I'm posting this question here because I know a while back some people had mentioned they were using Zope. I'm

Re: [Zope] PyGreSQLDA

2000-09-26 Thread Oleg Broytmann
On Tue, 26 Sep 2000, Leichtman, David J wrote: Has anyone had significant speed issues using the PyGreSQLDA? It seems like I'm only getting one DB connection at a time. Is this an issue with the DA, with Zope, or am I doing something wrong? I have a pgsql db running just I have 3

[Zope] Zope Dies with FastCGI

2000-09-26 Thread Ronald L. Roeber
I have the following set-up under which Zope occasionally dies. Zope 2.2.2 (same happened with 2.2.0 and 2.2.1) RedHat Linux 6.2 Apache 1.3.12 - with fastcgi/2.2.8 and OpenSSL/0.95a I'm running Zope with Fastcgi and using Apache rewrite rules to redirect all URLs that contain "manage" to

Re: [Zope] Nasty subtle security bug - Me Too

2000-09-26 Thread Martijn Faassen
Shane Hathaway wrote: Martijn Faassen wrote: General problem description: For a ZClass instance/external methods that is only viewable by users with a particular role, the view operation fails if that role is only added to a user in a place deeper in the folder tree than the

Re: [Zope] Set access rule

2000-09-26 Thread mario
Quoting Martijn Pieters [EMAIL PROTECTED]: On Mon, Sep 25, 2000 at 01:52:26PM -0300, Mario Olimpio de Menezes wrote: I did an upgrade last week, from zope 2.1.6 to 2.2.1, using Debian packages. Almost everything was correct, but site access no longer works. Zope 2.2 requires

[Zope] String manipulation

2000-09-26 Thread jensebaer
Hi all, how can I manage it to cut a string. for example: a string property(testtext) with 500 words. but only want to give out 20 characters of tis text. Thank you Jens

Re: [Zope] String manipulation

2000-09-26 Thread Phil Harris
Jens, You have a few options: 1.Cut the string, dtml-var "the_string[:20] 2.Use the size option of dtml-var, dtml-var the_string size=20 etc="..." hth Phil (ex. twinky-salesman) [EMAIL PROTECTED] - Original Message - From: jensebaer To: [EMAIL PROTECTED] Sent: Tuesday,

Re: [Zope] Set access rule

2000-09-26 Thread Martijn Pieters
On Tue, Sep 26, 2000 at 03:55:58PM -0300, [EMAIL PROTECTED] wrote: Quoting Martijn Pieters [EMAIL PROTECTED]: On Mon, Sep 25, 2000 at 01:52:26PM -0300, Mario Olimpio de Menezes wrote: I did an upgrade last week, from zope 2.1.6 to 2.2.1, using Debian packages. Almost

[Zope] String manipulation

2000-09-26 Thread Spicklemire, Jerry
"how can I manage it to cut a string. for example: a string property (testtext) with 500 words. but only want to give out 20 characters of tis text." Python sequence slicing syntax can be done with DTML, like so: dtml-call "REQUEST.set('first_20_char', '_['some_long"string'][:20])" dtml-var

[Zope] Exceptions, exceptions...

2000-09-26 Thread Ramiro Brito Willmersdorf
Hi, Yesterday I posted the message below, and I'm happy to inform all that the problem was basically just my advanced braindeath. I decided to triple check everything today, after a good night of sleep, (and a so so day of real work) and found out that the variable I could swear was being used

Re: [Zope] PyGreSQLDA

2000-09-26 Thread Kapil Thangavelu
"Leichtman, David J" wrote: Has anyone had significant speed issues using the PyGreSQLDA? It seems like I'm only getting one DB connection at a time. Is this an issue with the DA, with Zope, or am I doing something wrong? I have a pgsql db running just fine, and in Zope I have a connection

Re: [Zope] Re: Download Problem

2000-09-26 Thread Kapil Thangavelu
Shane Hathaway wrote: Suzette Ramsden wrote: I have had this same problem downloading squishdot zip files and I don't know if it is something I am doing. When I attempt to unzip the file, I keep getting: "error reading header after processing 0 entries" What archiver are you

Re: [Zope] PyGreSQLDA

2000-09-26 Thread Bak @ kedai
ZPYGre is not threadsafe, so with it and all non-threadsafe da's zope uses a lock around access. (Thunked.py) The solution is to just use multiple DA connections and let postgres sort out the concurrency issues. i'm not clear about "use multiple DA connections". let's say i have several

[Zope] secure management with Site Access?

2000-09-26 Thread Rob Miller
Is anyone using the Apache/mod_proxy/SiteAccess method of using Zope with the ability to access a given virtual host both with and without SSL encryption? If so, can you give me some pointers on how to accomplish this? I'd like to use SSL for all of my management activity but have the main

Re: [Zope] RedHat site mentions Zope (SuSE too!)

2000-09-26 Thread Kevin Teague
Oops, hit ALT+Enter when trying to paste in the URL at the end of that last message: http://www.stormix.com/partners/technical/index_html -- Kevin Teague, Zopista http://www.stormix.com ___ Zope maillist - [EMAIL PROTECTED]

Re: [Zope] RedHat site mentions Zope (SuSE too!)

2000-09-26 Thread Kevin Teague
Joachim Werner wrote: I checked: Zope 2.1.6 is shipped with the DeLuxe and Server versions of RedHat 7.0, but not with the Standard edition. They have split Zope into a couple of separate packages. On the web page they mention Zope a couple of times! BTW: Zope (also the 2.1.6) is

Re: [Zope] RedHat site mentions Zope (SuSE too!)

2000-09-26 Thread Chris McDonough
Not only that, they put Zope in at least one of their magazine ads! :-) Reading Linux Journal, did a doubletake when I saw the swollen Z. - Original Message - From: "Kevin Teague" [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Wednesday, September 27, 2000 12:05 AM Subject: Re: [Zope]