[Zope-dev] Poor programming practice?

2001-01-31 Thread Robin Becker
I have been trying to make use of the builtin medusa ftp_server classes and after struggling a while came across the strange practice some internal zope developer has of dynamically changing classes at runtime. ie in ZServer.FTPServer I came across from medusa.ftp_server import ftp_channel,

Re: [Zope-dev] Poor programming practice?

2001-01-31 Thread Steve Alexander
Robin Becker wrote: The real problem is that ftp_channel uses a method make_recv_channel which uses a global class recv_channel and the recv_channel class has a particular method which zope wants to override. How ought this kind of situation to be handled more cleanly? I haven't looked at

[Zope-dev] Re: [Zope] Found an fatal error in Zope 2.3.0 :)

2001-01-31 Thread Martijn Pieters
On Wed, Jan 31, 2001 at 12:59:55PM +0100, Radek Hnilica wrote: Hello all, While trying to debianize, compile and install new zope 2.3.0 I found that file z2.py doesn't contain necesary first line. I look to previous version 2.2.4 and there it is. #!/usr/bin/env python The

[Zope-dev] REMINDER: Zope track at Python 9!

2001-01-31 Thread Brian Lloyd
Hello all, Just a reminder that the ninth international Python conference is right around the corner, and that there will be a Zope track again this year. More information on the Zope Track at Python 9 may be found at: http://www.python9.org/p9-zope1.html We invite you to come out and meet

[Zope-dev] Re: [medusa] Re: [Zope-dev] asynchat producer ready() method patch.

2001-01-31 Thread ender
On Wednesday 31 January 2001 04:18, Donovan Baarda wrote: On Mon, Jan 29, 2001 at 07:26:56PM +0100, Dieter Maurer wrote: Donovan Baarda writes: On Sun, Jan 28, 2001 at 09:31:07PM +0100, Dieter Maurer wrote: Donovan Baarda writes: I remember reading ages ago on a wishlist for

[Zope-dev] Fw: [Zope-dev] Storing session objects in a ZODB

2001-01-31 Thread Chris McDonough
This is a forwarding of an interesting session-related discussion between Andy and I... it covers the idea of storing session states as "snapshots" at a particular time, later allowing users to select a session state. This is useful if you wish to allow users to make incremental changes to data

Re: [Zope-dev] Fw: [Zope-dev] Storing session objects in a ZODB

2001-01-31 Thread Andy McKay
Well my quick hack and wacky of doing it is as follows: - I wrote a quick simple class "ZStore" that has as one of its properties a pickle, which you can read and write to using cStringIO - I make a ZStore object, throw in the session object, it pickles it as the data property, I add a few more

Re: [Zope-dev] Fw: [Zope-dev] Storing session objects in a ZODB

2001-01-31 Thread Chris McDonough
Cool! Note that the session data object implements the mapping interface, so you don't really need to pickle up a copy of it. I'd recommend against this, although it seems to be working well for you. Instead, to save a session state, I'd just grab the current session data object and iterate

Re: [Zope-dev] Fw: [Zope-dev] Storing session objects in a ZODB

2001-01-31 Thread Andy McKay
Cool! Note that the session data object implements the mapping interface, so you don't really need to pickle up a copy of it. I'd recommend against this, although it seems to be working well for you. Any special reason why I shouldn't pickle apart from the fact that the ZODB will do it to

Re: [Zope-dev] Fw: [Zope-dev] Storing session objects in a ZODB

2001-01-31 Thread Chris McDonough
Any special reason why I shouldn't pickle apart from the fact that the ZODB will do it to save the object? The session data object class may move in the future, which in the "normal" case would only require that you restart the server (if they're transient) or flush your data container (if

[Zope] Fwd: What group is user zope in, and what is its home dir?

2001-01-31 Thread Deja User
Subject: What group is user "zope" in, and what is its home dir? Which files are owned by "zope" which by "root" and which by "nobody"? --== Sent via Deja.com ==-- http://www.deja.com/

[Zope] Zope Permission object destroys Security tab

2001-01-31 Thread Itai Tavor
Hi, I have a Zope product, with a lot of ZClasses in it. I defined a Zope Permission in this product with id='change_my_objects_permission' and name='Change My Objects'. I assigned this permission to several classes - not sure which ones. When I click on Security in the top Zope folder I get

Re: [Zope] Zope on OpenBSD 2.8 problem solved

2001-01-31 Thread Ragnar Beer
Start Zope, and you will find that it works fine now. Zope also works fine in the CURRENT tree of OpenBSD, so presumably it will work out-of-the-box on OpenBSD 2.9. This is the safest way of getting it to work at the moment. Did you understand form Jason Ish's message that it should be working

[Zope] where can I find Debianised source for zope-2.3.0 ?

2001-01-31 Thread Radek Hnilica
Hello all, I'm using Debian/GNU Linux Potato on all my machines. And I want try to install Zope 2.3.0 on my server. I'm capable of compiling zope from debian source package, but on main zope site zope.org I found only plain zope source. This package doesn't contain debian

[Zope] User Sessions

2001-01-31 Thread Chris Withers
state with authenticated users. It's just not as useful because once they're authenticated you'd probably be better off associating the state with their user object. Wow... I wish Zope supported this. Maybe a proposal for dev.zope.org is in order? How I'd like to see text box widths and top

Re: [Zope] where can I find Debianised source for zope-2.3.0 ?

2001-01-31 Thread Gordon Bergström
I belive they are not released yet. If you do a search on http://www.debian.org/distrib/packages it will tell you. /Gordon At 11:08 2001-01-31 +0100, Radek Hnilica wrote: Hello all, I'm using Debian/GNU Linux Potato on all my machines. And I want try to install Zope 2.3.0 on my

Re: [Zope] PCGI and MS-IIS on Nt5

2001-01-31 Thread Paul Zwarts
Hi there, >For that the easiest solution is to put a redirect in your root to: >http://localhost/scripts/zope.pcgi either through a server setting or >through an asp script with a "Response.Redirect('scripts/zope.pcgi')" >You could also put your zope.pcgi in your root folder and make it a

[Zope] Re: Decision question from a beginner

2001-01-31 Thread Godefroid Chapelle
--- In [EMAIL PROTECTED], "Christophe Lombart" [EMAIL PROTECTED] wrote: Tha's clear Zope is really interesting for my web application but I have a small issue concering java. My customer is using Java (mainly servlet EJB). It is a well know question on your mailing lists but I want to be

Re: [Zope] where can I find Debianised source for zope-2.3.0 ?

2001-01-31 Thread Radek Hnilica
On Wednesday 31 January 2001, at 11 h 8, the keyboard of Radek Hnilica This is quite common: most upstream maintainers do not want to ship debian/ directory, ".spec" file, etc. For example the Gwydion Dylan compiler has debian directory in their CVS. It's nice thing if it's up to date.

Re: [Zope] User Sessions

2001-01-31 Thread Oleg Broytmann
On Wed, 31 Jan 2001, Chris Withers wrote: state with authenticated users. It's just not as useful because once they're authenticated you'd probably be better off associating the state with their user object. Wow... I wish Zope supported this. Maybe a proposal for dev.zope.org is in

[Zope] Re: [Zope-dev] Poor programming practice?

2001-01-31 Thread Ragnar Beer
What's the go4 book? Ragnar yes I have the go4 book and I fully agree that one or other of the above patterns would be feasible. The problem is that the base medusa comes from Sam Rushing and Zope makes use of it. I guess since I already patch the Zope code I could just extend the patch, but

[Zope] Re: where can I find Debianised source for zope-2.3.0 ?

2001-01-31 Thread Andreas Tille
On Wed, 31 Jan 2001, Stephane Bortzmeyer wrote: Like every Debian package: 1) (simplest way but you need deb-src lines in your sources.list): apt-get source zope 2) Download the 'zope-XXX.diff.gz' from the source/ directory of a Debian archive. Not to forget: 3) ship patches to the

[Zope] problem with ZUBB / no topic set

2001-01-31 Thread Oliver Frommel
Hello, after installing ZUBB (ZDiscussions 0.6. right?) everything works fine with the single exception that the topic of no message gets set. That means, after posting, all messages show "(no subject)". The message preview HTML source still shows the correct value in the hidden input form tag

[Zope] Problem with LocalFS (_local_path)

2001-01-31 Thread Oliver Frommel
Hi, I am trying to install LocalFS 0.9.6 on Zope 2.3.0 and get the following error: Error Type: AttributeError Error Value: _local_path Traceback (innermost last): File /opt2/Zope-2.3.0-src/lib/python/ZPublisher/Publish.py, line 222, in publish_module File

[Zope] Re: [Zope-dev] Poor programming practice?

2001-01-31 Thread Robin Becker
In article p04330111b69dab5cf543@[134.76.136.114], Ragnar Beer [EMAIL PROTECTED] writes What's the go4 book? Ragnar yes I have the go4 book and I fully agree that one or other of the above patterns would be feasible. The problem is that the base medusa comes from Sam Rushing and Zope makes use

[Zope] Found an fatal error in Zope 2.3.0 :)

2001-01-31 Thread Radek Hnilica
Hello all, While trying to debianize, compile and install new zope 2.3.0 I found that file z2.py doesn't contain necesary first line. I look to previous version 2.2.4 and there it is. #!/usr/bin/env python The source was taken from zope.org. I'v also look at CVS and there it's

Re: [Zope] Re: where can I find Debianised source for zope-2.3.0 ?

2001-01-31 Thread Radek Hnilica
Not to forget: 3) ship patches to the maintainer if it works for you - may be this will help him :) I'm in mail contact. If I found something interesting, I send it to him. -- Radek Hnilica Radek_Hnilica at LinuxFan dot COM ___ Zope

Re: [Zope] LoginManager dlpierson example

2001-01-31 Thread Fred Yankowski
I just realized that I responded in terms of a PythonMethod when you asked about a PythonScript. My ZClass functions for my LoginManager subclass are all PythonMethods, yet to be converted to Python Scripts. My 'authenticate' method takes (self, password, request) as parameters and has for the

Re: [Zope] User Sessions

2001-01-31 Thread Chris Withers
Oleg Broytmann wrote: Oh, no, no, no. I, for example, use at least two different computers with 2 different screen resolutions, so I certainly want to store these preferences in my cookie files (these files are different on these 2 computers, of course). No problem, just have another

RE: [Zope] .isCurrentDay strangeness

2001-01-31 Thread Michael Angelo
i have been testing this for a few days and it rectifies the problem quite nicely. thanks for your help!! -mike- -Original Message- From: JP Gilles [mailto:[EMAIL PROTECTED]] Sent: Friday, January 26, 2001 11:40 AM To: Michael Angelo Cc: [EMAIL PROTECTED] Subject: Re: [Zope]

[Zope] Change Security settings.

2001-01-31 Thread Gordon Bergström
Dear group. Is it possible and do I change the Security settings for an Object programmaticly? Regards Gordon ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related

[Zope] performance problem

2001-01-31 Thread Torsten Gallmeister
hello, could anybody help? Have a perforemance prob. The DB (Data.fs) size is 25 MB. If using ZOPE "normal" the process will be around 35 MB. Ok. Have sopme pdf documents in the presentation. I reduced the DB size with the LocalFS Product. After a search-engine scan over my site the process

Re: [Zope] http protocol

2001-01-31 Thread Toby Dickenson
On Fri, 26 Jan 2001 09:17:02 +0100, Oliver Vecernik [EMAIL PROTECTED] wrote: Hi all, I'd like to write an http client for an embedded system to get information from Zope. For debugging I want to see the traffic between the client and Zope (http protocol). How can this be achieved? One option

[Zope] Error defining permissions in ZClass in Zop3-2.3

2001-01-31 Thread Klaus Woelfel
When I want to define a permission a ZClass or a folder in a ZClass with the management - Interface in Zope 2.3, I alwasy get the following error message: Error Type: TypeError Error Value: too many arguments; expected 2, got 3 When I did exactly the same thing under the same circumstances in

Re: [Zope] Problem with LocalFS (_local_path)

2001-01-31 Thread Tim Cook
Oliver Frommel wrote: this seems to add the localfs but makes listing the contents of the containg folder impossible. What's ging on here? http://zope.nipltd.com/public/lists/zope-archive.nsf/ByKey/61B0755228EDCCB7 Just yesterday. The mailing list archives are a wonderful resource. --

Re: [Zope] compress data.fs

2001-01-31 Thread Chris McDonough
Control_Panel-Database-Pack. - Original Message - From: "Olaf Zanger" [EMAIL PROTECTED] To: "Zope Mailinglist" [EMAIL PROTECTED] Sent: Wednesday, January 31, 2001 6:43 AM Subject: [Zope] compress data.fs hi there, my data.fs grew to formidable 42MB, since we'd deleted quite some

Re: [Zope] problem with ZUBB / no topic set

2001-01-31 Thread J. Atwood
Hey Oliver, I have not yet tested ZUBB 0.6 on 2.3 (will try soon) but I think I have seen this before. Did you remember to give the ZTopic a title when you created it? J At 1:05 PM +0100 1/31/01, Oliver Frommel wrote: Hello, after installing ZUBB (ZDiscussions 0.6. right?) everything works

RE: [Zope] Error defining permissions in ZClass in Zop3-2.3

2001-01-31 Thread Brian Lloyd
When I want to define a permission a ZClass or a folder in a ZClass with the management - Interface in Zope 2.3, I alwasy get the following error message: Error Type: TypeError Error Value: too many arguments; expected 2, got 3 When I did exactly the same thing under the same

Re: [Zope] http protocol

2001-01-31 Thread Chris Withers
Toby Dickenson wrote: One option is a debugging http proxy I like http://www.cyberclip.com/webdebug/index.html Also try Shane's TCPWatch.py script :-) cheers, Chris ___ Zope maillist - [EMAIL PROTECTED]

Re: [Zope] CoreSessionTracking timeout

2001-01-31 Thread Chris McDonough
Oliver, If timeout expires I expect 'Before change:' to be empty again, thus generating a new token. But it isn't. It still uses the old token. What's going on? Just for clarification: core session tracking tokens don't expire. Session data objects associated with tokens expire. See the

[Zope] Rating site.

2001-01-31 Thread Ignacio Valdes
Hello, I'm trying to build a rating site for medical software which will be identical in functionality to the http://www.icewalker.com and/or http://www.zope-treasures.com site except for the purple colors. I'm currently running squishdot, which I could use pretty easily if you could add extra

[Zope] Additional user properties

2001-01-31 Thread Ulrich Wisser
Hello, I nned to retrieve some additional properties with my users. How can I make AUTHENTICATED_USER.email to be valid? Thanks Ulrich -- Searchengine Know How - Webpromotion - Optimization - Internal Search World Wide Web Publisher, Ulrich Wisser, Odensvag 13, S-14571 Norsborg

Re: [Zope] Found an fatal error in Zope 2.3.0 :)

2001-01-31 Thread Martijn Pieters
On Wed, Jan 31, 2001 at 12:59:55PM +0100, Radek Hnilica wrote: Hello all, While trying to debianize, compile and install new zope 2.3.0 I found that file z2.py doesn't contain necesary first line. I look to previous version 2.2.4 and there it is. #!/usr/bin/env python The

Re: [Zope] Fwd: What group is user zope in, and what is its home dir?

2001-01-31 Thread Chris McDonough
This depends almost entirely on your installation. See http://www.zope.org/Members/mcdonc/HowTos/zopeinstall/ZOPE-INSTALL-HOWTO for more information (and a particular strategy) for setting UNIX permissions for Zope. - Original Message - From: "Deja User" [EMAIL PROTECTED] To: [EMAIL

Re: [Zope] Zope on OpenBSD 2.8 problem solved

2001-01-31 Thread Ragnar Beer
I understood that the workaround he suggested also works with -current. I submitted the bug a couple of days ago. The ID is 1631 if you want to search for it. Ragnar Ragnar Beer wrote: Did you understand form Jason Ish's message that it should be working with -current or did you compile

[Zope] Re: sessions/noundo dbs/mounting/exmount

2001-01-31 Thread Chris McDonough
thanks for the prompt replies. to recap, i have -Berkeley DB -External Mount -something that i'm not too sure of :) as i see it, i can use External mount to mount berkeley Db. that will then give me a nonundo, nonversioning db.. right? Well, I know you're using ZEO with a FileStorage as

[Zope] DumbZPatternsExample

2001-01-31 Thread Godefroid Chapelle
Hi all, The files found at http://www.zope.org/Members/sspickle/DumbZPatternsExample are not usable with Zope 2.3. Would it be possible to someone (Steve S. ;-) to update them ? Thanks a lot. -- Godefroid Chapelle BubbleNet 30, rue Victor Horta B-1348 Louvain-la-Neuve (Belgium) +32 (10) 45

Re: [Zope] ZDatabaseTool PDF

2001-01-31 Thread Damir Bartakovic
Hi Andreas and all the others, here is another Newbie to zope :-) The ZDatabaseTool seems to be the solution for some tasks I have. Especially the "print to pdf" option. How did you solve it, Andreas? I heard something about a pdf-library for python, but I am just beginning programming in

[Zope] Re: PopMail Client

2001-01-31 Thread David Shaw
Hi Jerry, It's hard to diagnose from what you've sent me. Can you send me the full traceback (from the HTML source code of the error page)? That will make determining where the error occurred a lot easier. "Spicklemire, Jerry" wrote: Hi David, I'm looking at your Pop3 Client tool for

[Zope] Re: PopMail Client

2001-01-31 Thread Spicklemire, Jerry
David promptly replied: Hi Jerry, It's hard to diagnose from what you've sent me. Can you send me the full traceback (from the HTML source code of the error page)? That will make determining where the error occurred a lot easier. So the very least I could do was respond with:

[Zope] REMINDER: Zope track at Python 9!

2001-01-31 Thread Brian Lloyd
Hello all, Just a reminder that the ninth international Python conference is right around the corner, and that there will be a Zope track again this year. More information on the Zope Track at Python 9 may be found at: http://www.python9.org/p9-zope1.html We invite you to come out and meet

Re: [Zope] Parameter from DTML-Document to SQL-Method

2001-01-31 Thread peter bengtson
Very strange that you don't get an error though. Your DTML is wrong. You're not sending the _value_ or 'value' you're sending a value that looks like this: "dtml-var value" Here's the correct way. dtml-let value="'Test'" dtml-in expr="sql_query(para=value)" Peter - Original Message -

[Zope] A little sqltest patch: op=ne multiple

2001-01-31 Thread Shai Berger
Hi guys, The following trivial patch lets dtml-sqltest make sense of multiple inequality tests, that is: Currently dtml-sqltest name op="ne" multiple has the funny behavior of rendering nameval when passed a single value, and name in (val1,val2) when a list is

[Zope] Need zope sales training :)

2001-01-31 Thread Tom Jenkins
Hello folks, We have a project being discussed here at work where I think zope would fit nicely. I explained my thoughts on how zope fits to the project manager and all I got for my efforts was a blank stare. Obviously some miscommunication. The project is a resume "database". The user would

Re: [Zope] Need zope sales training :)

2001-01-31 Thread Chris McDonough
I think something like this has already been done quite nicely in Zope: http://www.hiretechs.com, although to look at how it actually works I think you'd need to get a login. - Original Message - From: "Tom Jenkins" [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Wednesday, January 31,

Re: [Zope] Zope memory usage / cache

2001-01-31 Thread ender
On Tuesday 30 January 2001 21:21, Ron Bickers wrote: -Original Message- From: ender [mailto:[EMAIL PROTECTED]] Sent: Tuesday, January 30, 2001 10:12 AM To: Ron Bickers; [EMAIL PROTECTED] Subject: Re: [Zope] Zope memory usage / cache this sounds like normal operating system

[Zope] SiteAccess affects the Zope management interface

2001-01-31 Thread Fred Yankowski
I hadn't realized it before, but SiteAccess can cause really confusing things in the Zope management interface! When I installed Zope 2.3.0 and ran it on an unused port number to check it out while the main Zope was still running, the top-level Zope folder displayed with the new look (which is

[Zope] How to get a name of uploaded file

2001-01-31 Thread Radek Hnilica
Hello zopists, I create a small application. User enters file via web interface, and this is parsed and pushed into SQL. the input form is DTML method like this DTML method: send_file == I use [] instead of [dtml-var standard_html_header] ... [form action="receive_file"

Re: [Zope] Found an fatal error in Zope 2.3.0 :) RESOLVED

2001-01-31 Thread Radek Hnilica
This problem was completly resolved. My mistake, I incorrectly create debian binary package. After creating correct package the new zope 2.3.0 is up and running. -- Radek Hnilica Radek_Hnilica at LinuxFan dot COM ___ Zope maillist - [EMAIL

[Zope] orphan handling/sequence-size bug?

2001-01-31 Thread Olaf Zanger
sorry, got probably lost in space hi there, we take the sequence-size as seq_size for a dtml-in statement from a formular with 'get' (as shown in DTML.html under batch processing) (dtml-in rep.sql size=seq_size start=query_start) if the seq_size is 2 and larger there is no trouble, if it is

[Zope] Extremely slow connection on local network (Zope 2.2.5, Win2k)

2001-01-31 Thread Matt Gushee
Hi, folks-- I'm trying to set up a Zope-based intranet web site for my company, but there's a very puzzling performance issue. Basically, any attempt to connect to the server from another machine on the local network is really, really slow: for example, I just visited the default home page (the

Re: [Zope] Additional user properties

2001-01-31 Thread Ulrich Wisser
Hello Jens, to add additional user attributes you will need to replace the standard user folder that ships with zope with one of the replacement user folders available on zope.org. looking through the products or searching for user folder should bring up quite a few results. I already tried

[Zope] zope.org downtime

2001-01-31 Thread ethan mindlace fremen
Zopatistas, Zope.org has suffered a disk failure that evidently our raid array did not correctly recover from. We should be back up shortly in "degraded" mode. I am going to be working on changing things around so that the zeo clients to continue operating in read-only mode even if the

Re: [Zope] Extremely slow connection on local network (Zope 2.2.5, Win2k)

2001-01-31 Thread Chris McDonough
If you visit localhost via the IP address (127.0.0.1), do you experience the same problem? - Original Message - From: "Matt Gushee" [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Wednesday, January 31, 2001 3:16 PM Subject: [Zope] Extremely slow connection on local network (Zope 2.2.5,

Re: [Zope] Extremely slow connection on local network (Zope 2.2.5, Win2k)

2001-01-31 Thread Chris McDonough
Hmmm. I have a feeling that this may be related to a DNS lookup problem in user folders that was solved in Zope 2.3. Is it feasible for you to try 2.3? - Original Message - From: "Matt Gushee" [EMAIL PROTECTED] To: "Chris McDonough" [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Sent:

Re: [Zope] www.zope.org down?

2001-01-31 Thread Martijn Pieters
On Wed, Jan 31, 2001 at 01:40:54PM -0600, Steve Drees wrote: Or is it a routing issue on my end? No, it is a problem on our end. Bind has been upgraded yesterday (probably related to the security issues found this week), and the latest release must be giving our hosting provider some problems.

RE: [Zope] Trying to Upload a File

2001-01-31 Thread Dieter Maurer
Yvonne Totty writes: Anyway, I have a .pdf file going into a directory. I go to 'Add File' and I get the error I sent before. The directory happened to be in a "LocalFS". Maybe, you are affected by a Zope 2.3/LocalFS incompatibility. Search the mailing list archives. I saw recently (today

Re: [Zope] 2.3 PythonScripts problem...

2001-01-31 Thread Curtis Maloney
On Monday 29 January 2001 20:45, Dario Lopez-Ksten wrote: are you using Internet Explorer to manage your site? No.. I am using Netscape 4.76 under Linux We've had several problems where, in IE, Zope redirects evrything to index_html. We are forced to use Netscape to manage our sites. Is

[Zope] www.zope.org down?

2001-01-31 Thread Steve Drees
Or is it a routing issue on my end? ___ 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

Re: [Zope] www.zope.org down?

2001-01-31 Thread Chris Withers
Steve Drees wrote: Or is it a routing issue on my end? Dead as a doornail for me :-S cheers, Chris ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists -