[Zope-dev] xmit_channel

2000-10-27 Thread Robin Becker
Does ZServer/medusa/ftp_server.py need a handle_connect method in xmit_channel. Unless I add def handle_connect(self): pass to xmit_channel I keep getting connect event errors using FTP. -- Robin Becker ___ Zope-Dev maillist - [EMAIL

Re: [Zope-dev] Command Line Database Packing ?

2000-10-27 Thread Chris Withers
Federico Di Gregorio wrote: Scavenging the mail folder uncovered Keith Larson's letter: Hello , Is there a way to run a script that could pack the database from the command line ? wget your.zope.server:port/Control_Panel/Database/manage_pack?days=n and substitute the right port

RE: [Zope-dev] Command Line Database Packing ?

2000-10-27 Thread Keith Larson
hehe Yea u do! -Original Message- From: Chris Withers [mailto:[EMAIL PROTECTED]] Sent: Friday, October 27, 2000 9:14 AM To: Federico Di Gregorio Cc: Keith Larson; Zope Dev Subject: Re: [Zope-dev] Command Line Database Packing ? Federico Di Gregorio wrote: Scavenging the mail folder

RE: [Zope-dev] Command Line Database Packing ?

2000-10-27 Thread Keith Larson
Of course Zope has a script for this now as well http://www.zope.org/Members/phd/cron-zope/pack-db_fs -Original Message- From: Keith Larson [mailto:[EMAIL PROTECTED]] Sent: Friday, October 27, 2000 9:25 AM To: 'Chris Withers'; Federico Di Gregorio Cc: Keith Larson; Zope Dev Subject:

RE: [Zope-dev] Unit testing, ZUnit - It is in the fishbowl, please comment

2000-10-27 Thread Brian Lloyd
The proposal below is in the fishbowl, at http://dev.zope.org/Wikis/DevSite/Proposals/UnitTestingProducts The approach will be, developing the standalone ZUnit Product while the proposal is in the fishbowl, then push for the proposal (integrating it with App/Product*.py). Expect a first

[Zope-dev] DTML Entity Syntax, was (no subject)

2000-10-27 Thread Spicklemire, Jerry
Johann Loibl wonders: What does the following line means? href="dtml.url-mail_password_form; how to work with '' ? This means to substitue the value stored in the variable "mail_password_form" as an "absolute URL". It's known as "DTML Entity Syntax". Check out:

[Zope-dev] I'm having troubles with MySQL MONTHNAME() function

2000-10-27 Thread Andres Sanchez Gomez
Hello: I'm from Argentina, as you shoud now, I speak spanish. I'm usig MySQL, as you sould also now, it's in English. I have to give de time informatio in letters. Like 'Febrero' (02, February). I found two ways, but non of them gives me good results. The first way is to ask to the database a

Re: [Zope-dev] I'm having troubles with MySQL MONTHNAME() function

2000-10-27 Thread Julio Flores Schwarzbeck
Actually, what you need to do is place the MONTH MySQL function INSIDE your SQL Method, like so: select month(mydate) as mDate from myTable and evaluate it from zope as: dtml-if "mDate=='1'"Enero .. .. -=-=-=-=-=-=-=-=-=-=-=- ESPANOL FOLLOWS (oops) -=-=-=-=-=-=-=-=-=- De hecho, lo que

Re: [Zope] Calander.

2000-10-27 Thread Morten W. Petersen
On Thu, 26 Oct 2000, Jason C. Leach wrote: I'm looking for a Zope calander kind of like you see on the ZopeNewbies page. Anyone seen a product like this hanging around. Actually, I'm developing one now, and it's getting pretty decent.. =) Take a look at the Calendar product contained in the

Re: [Zope] Zope/PIL collision - what to do?

2000-10-27 Thread Anselm Lingnau
In article [EMAIL PROTECTED], Jens Vagelpohl [EMAIL PROTECTED] wrote: import PIL image = PIL.Image.open('foo.png') that way you do not have two names "Image" colliding in the names Zope sees Thanks to everybody who responded. I tried doing this after a number of other attempts but it

[Zope] ZMailIn

2000-10-27 Thread Chris Withers
[EMAIL PROTECTED] wrote: Has anyone thought of using SendMail (or any other e-mail program) to send e-mail to Zope and have that e-mail be loaded directly into a specific folder (say, based on the e-mail address or subject line)? You could probably build something using ZMailIn:

Re: [Zope] trapping login errors/exceptions

2000-10-27 Thread Chris Withers
Henny van der Linde wrote: In this construction the call to do_login always raises the exception Unauthorized instead of presenting the standard login screen. How do I trap login errors in an elegant way? You can't, with the standard Zope acl_users. IIUC, LoginManager allows you to do

RE: [Zope] Hosting?

2000-10-27 Thread Seb Bacon
You could DIY: I bought myself a server (256Mb RAM, 20Gb RAID1, Athlon Thunderbird 850Mhz) and I'm getting it colocated at one of the best-wired places in the UK. The bandwidth can be upped on a month-by-month basis. This way you get full control over everything. My costs: server ?650 (that's

[Zope] advice re virtual hosting

2000-10-27 Thread Jonathan Cheyne
Hi all, just need to check the received wisdom regarding the various possible combinations for doing virtual hosting with zope. I have two domains, one is 'mine' and I want that to go to the root of my zope installation. the other domain is for an internal client and I want that to go to a

Re: [Zope] advice re virtual hosting

2000-10-27 Thread J. Atwood
Hey Jonathan, I don't know about the 'best' way, but you certainly can use SiteAccess. You point the main url to your Zope installation (and that is nothing) and you put a SiteRoot in the red folder and it will take care of www.red.com. http://www.zope.org/Members/4am/SiteAccess2/vhosting J

[Zope] Zope and Python 2.0

2000-10-27 Thread Xavier Defrang
Hi folks, I've just downloaded Zope source code to rebuild it on a FreeBSD-4.1 box. Is Zope-2.2.2 so tightly coupled to Python-1.5.2 that It doesn't run with Python 2.0... I've got a system-wide installation of Python 2.0 and the ./start scripts fails. I made a local installtion of Python

[Zope] wondering about rendering

2000-10-27 Thread Seb Bacon
A simple question that's been bugging me: Regarding a "FooDocument/BarMethod": How do I reference the content of FooDocument inside BarMethod? At the moment, I'm using dtml-var "this()" which seems to call the __str__ method of FooDocument; or dtml-var "_.getitem(_['id'],1)" where I want to

Re: [Zope] ZClass and SQL Table

2000-10-27 Thread Steve Spicklemire
Hi Cesar, Try ZPatterns: http://www.zope.org/Members/pje/ZPatterns it allows you to 'dress' your old SQL system with ZClasses (subclassed by DataSkins..) -steve "CG" == =?iso-8859-1?Q?C=E9sar?= A K Grossmann iso-8859-1 writes: CG Hi CG I have an old system based on a SQL

Re: [Zope] Problems with ZPhoto, ZPhotoAlbum, and ZAlbumPage

2000-10-27 Thread Steve Spicklemire
Hi Dave, Add a 'defined_views' property to the photo album. Make it a 'tokens' property with values 'explore fancy simple'. This will get you closer! -steve "Dave" == Dave Belfer-Shevett [EMAIL PROTECTED] writes: Dave Hey there folks. I've just downloaded and installed these

[Zope] Multiple Propertysheets from the same Python class ?

2000-10-27 Thread Steinar Rune Eriksen
I am trying to make a "template" for creating different types of portals. Especially I am looking to develop my own DemoPortal (Portal) ZClass where I can subclass other Memberand PortalProperties from Python and more easily create a ZClass (like the Portal ZClass) that subclasses my Python

[Zope] dtml-with using string reference and acquisition

2000-10-27 Thread Matt
Hi, I am having a problem with using a string reference to an object. The scenario is as follows : I have the tree structure - testfolA display_method testfolB testfolC if display_method looks like the following, everything is fine : dtml-var standard_html_header dtml-call

Re: [Zope] More ZFormulator

2000-10-27 Thread Steve Spicklemire
Hi Jerry, What version of ZFormulator are you running (and in what version of Zope?) I just tried ZFormulator-0.2 with Zope-2.2.2 and it seemed to work OK. Maybe it doesn't work with older zopes? -steve "JS" == Spicklemire, Jerry [EMAIL PROTECTED] writes: JS Hi Zope Fans, JS Re.

Re: [Zope] Reverse SendMail Question

2000-10-27 Thread Morten W. Petersen
On Thu, 26 Oct 2000 [EMAIL PROTECTED] wrote: Has anyone thought of using SendMail (or any other e-mail program) to send e-mail to Zope and have that e-mail be loaded directly into a specific folder (say, based on the e-mail address or subject line)? In the latest version of ZopeGUM there is

RE: [Zope] ZMailIn

2000-10-27 Thread Seb Bacon
It sounds like you're thinking about a project management thing. Depends what you want to do with it, and what your zope setup is, but if you've got enough control over the zope box you're using, you could consider worldpilot + imap. You could customise it to your specific needs, plus have the

[Zope] PIL/Zope Problem

2000-10-27 Thread Marcello Lupo
Hi to all, i read all the documentation and made all things to let interact PIL and Zope and i cannot find the way to make it work. If i try to import PIL from pyton interpreter it works perfectly with: *** Python 1.5.2 (#1, Jul 17 1999, 22:10:16) [GCC egcs-2.91.66

[Zope] ownership problems

2000-10-27 Thread Danny William Adair
I have created an account with Manager role and tried to add a LocalFS (v0.9.6) object to the root folder. I have set all possible rights for the Manager role. Zope version: Zope 2.2.1 (source release,

[Zope] How do I change dtml template on the fly in Python product?

2000-10-27 Thread Max Møller Rasmussen
I have asked this question somewhat differently in another thread but here I go again from another angle, as it might have been my approach that was wrong to begin with. I have a Python product that allready does what I want it to, but I want to be able to create different views of the products

Re: [Zope] PIL/Zope Problem

2000-10-27 Thread Jens Grewen
Hi , I use this external Methode to generate thumbs from an image an write both in an mysql database. May this helps you from PIL.Imageimport BICUBIC, BILINEAR, NEAREST from cStringIO

[Zope] dtml-var reload ?

2000-10-27 Thread Luc Tonin
is it possible to reload only a dtml-var value without reloading an entire page ??? if yes, how?? plz help ;) Luc TONIN --Développeur Web--Multithématiqueshttp://www.multithematiques.comChaines thématiques sur câble et

RE: [Zope] More ZFormulator

2000-10-27 Thread Spicklemire, Jerry
Steve asked: What version of ZFormulator are you running (and in what version of Zope?) I just tried ZFormulator-0.2 with Zope-2.2.2 and it seemed to work OK. Maybe it doesn't work with older zopes? Oops, I should know better by now, than to ask for help without including the details.

[Zope] Securing ftp access?

2000-10-27 Thread Paul Browning
Our local CERT-type person mailed me the following and I replied as follows. Could I have given a better answer? I notice that zope comes with an FTP server which, by default, runs on port 8021. There's one running on "stingray", as I write, which seems to accept any and all combinations of

Re: [Zope] WorldPilot

2000-10-27 Thread Chris Withers
Seb Bacon wrote: Depends what you want to do with it, and what your zope setup is, but if you've got enough control over the zope box you're using, you could consider worldpilot + imap. WorldPilot's code is not the most customisable I've ever seen :-( cheers, Chris

Re: [Zope] dtml-var reload ?

2000-10-27 Thread Chris Withers
Luc Tonin wrote: is it possible to reload only a dtml-var value without reloading an entire page ??? ...nice question marks ;-) ...not nice posting HTML to a plain text only list. The answer is no anyway. A page is completely assembled on the server side before being sent to the

Re: [Zope] with a __call__

2000-10-27 Thread Chris Withers
Max Møller Rasmussen wrote: I want to write my "index_html" method so that it returns a rendered version of "list.dtml" corresponding to the selected view, by the name of the folder holding the selected view. something like this (which doesn't work): def index_html(): return

Re: [Zope] Calling form elements by name

2000-10-27 Thread Bill Anderson
Danny William Adair wrote: I should have posted your version, it's more explicit: --- dtml-in Items sort=Position dtml-let Prefix="'FormElement_'" thePos="_.str(Position)" nameAsAString="Prefix+thePos" dtml-var

[Zope] Forbidding overrides?

2000-10-27 Thread Cees de Groot
Something I remember from my early Zope days that could be solved, but I can't seem to find an answer: say I have a simple site where people can do simple things within their folder. However, I want my banners/logo whatever on their pages, so I've setup index_html to put my own stuff in and

[Zope] More ZFormulator

2000-10-27 Thread Spicklemire, Jerry
Hi Again, It turns out that the problems I was seeing are related to the Proxy Layers that are in place to keep our IntraNet safe. ZFormulator doesn't work at all when I bypass the Proxy entirely, only works partially when the Proxy is invited to play, and only works fully when the directories

[Zope] Re: More ZFormulator

2000-10-27 Thread Steve Spicklemire
Found it: line 312: Form.py should be: __roles__ = ('Manager',) ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists -

[Zope] RE: More ZFormulator

2000-10-27 Thread Spicklemire, Jerry
Steve says: Found it: line 312: Form.py should be: __roles__ = ('Manager',) Thanks Steve! Steve's motto is, "We don't need no stinkin' Docs!". BTW, we disagree about this . . . ___ Zope maillist - [EMAIL PROTECTED]

[Zope] Gadfly auto-increment datatype option?

2000-10-27 Thread Júlio Dinis Silva
Hi, Does ZGadfly supports the auto-increment option of a column? Thanx, Júlio Silva _ Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com. Share information about yourself, create your own public profile

[Zope] Don't need no stinkin' docs.. (was Re: More ZFormulator)

2000-10-27 Thread Steve Spicklemire
Hmm... "JS" == Spicklemire, Jerry [EMAIL PROTECTED] writes: [... skip ...] JS Steve's motto is, "We don't need no stinkin' Docs!". Interesting point. JS BTW, we disagree about this . . . I'm not sure we do... really! I think my motto is more like: """ I'd rather have source

Re: [Zope] php and zope

2000-10-27 Thread andres
Take a look at my HOWTO: http://www.zope.org/Members/Mamey/PHP I'll be updating it soon with improvements that allow authorization and cookies. On Fri, Oct 27, 2000 at 11:21:56AM +0200, Laurent Tranchant wrote: hello everybody, I am new on this list, and I on zope. I have installed zope

[Zope] Webdav Questions

2000-10-27 Thread Darin Lee
Zopistas, I am working under Windows NT 4 and connecting to my Zope Server via the webfolders icon in "My Computer." I enter the IP address and port of my server, select finish, and a list of folders on the Zope server appears. However, I find that I am unable to edit, or even copy, any of

Re: [Zope] trapping login errors/exceptions

2000-10-27 Thread Henny van der Linde
Hi, Henny van der Linde wrote: In this construction the call to do_login always raises the exception Unauthorized instead of presenting the standard login screen. How do I trap login errors in an elegant way? You can't, with the standard Zope acl_users. IIUC, LoginManager allows

[Zope] OT: PythonLabs Team Moves to Digital Creations!

2000-10-27 Thread Ross Lazarus
Now here's something readers of this list might be interested in ... Original Message Subject: PythonLabs Team Moves to Digital Creations Date: Fri, 27 Oct 2000 20:42:42 -0500 From: Guido van Rossum [EMAIL PROTECTED] To: [EMAIL PROTECTED] (Python mailing list),[EMAIL

Re: [Zope] GUF error: Unauthorized...

2000-10-27 Thread Zen
On Fri, 20 Oct 2000, Cesar A. K. Grossmann wrote: raised an exception (('Unauthorized', 'crypt', traceback object at The userAuthenticate method is trying to call a method called 'crypt' and failing. Where, and how, is this method defined? If it is implemented in Python code (eg. you added a