[Zope-dev] ZPatterns: SkinScript semantics

2001-01-20 Thread Steve Alexander
In a SkinScript COMPUTE statement, should I be allowed to supply different names in the OTHERWISE LET section as in the attributes section? For example: WITH some_query() COMPUTE foo,bar,baz OTHERWISE LET foo='There is no foo', spoon='There is no spoon' Looking at the ZPatterns

[Zope-dev] ZPatterns patches

2001-01-20 Thread Steve Alexander
I've put an extensive patch to ZPatterns 0-4-3b2 here: http://www.cat-box.net/steve/ZPatterns.patch The patch includes the following: * Fix to _memento class so it works with Zope 2.3 * Alteration to GAPMixin so the the attributes it says it provides come from the union of the assignments

Re: [Zope-dev] Import/Export in 2.3beta2

2001-01-20 Thread Christopher Petrilli
The reason it's gone is that it's not really a "view" of hte folder, but an action. It is, however, a bug that the button doesn't show up if the folder is empty. I'm quite sure Brian will fix this ASAP. Chris -- | Christopher Petrilli | [EMAIL PROTECTED] - Original Message - From:

[Zope-dev] Added rename to ZOPE FTP server

2001-01-20 Thread Tom Vijlbrief
Hi, I've added the rename capability to the Zope FTP-server, so I could use the KDE FTP client (this is a known Zope bug). I attached the 3 modified files (from the 2.2.5 src distro). There is however another problem in the ZOPE ftpd which is probably not related to my patches, but for which I

[Zope-dev] Better test case for Bug 1783: Persistent __call_method__() interferes with __getstate__

2001-01-20 Thread John D. Heintz
Hello all, The following is the best test case I have so far for bug 1783. The behavior of the bug is that no CMethods from Persistent can be called indirectly when the __call_method__ hook is present. This means that I can't override any of __getstate__, __setstate__, _p_deactivate.

Re: [Zope-dev] Added rename to ZOPE FTP server

2001-01-20 Thread Joachim Werner
Tom Vijlbrief wrote: Hi, I've added the rename capability to the Zope FTP-server, so I could use the KDE FTP client (this is a known Zope bug). I attached the 3 modified files (from the 2.2.5 src distro). Dear people at DC! Please get that into the CVS ASAP. This is a very big issue

[Zope-dev] MS-SQL Server Connector

2001-01-20 Thread Adrian Hungate
Is there a database connector or similar for MS-SQL Server that might run on non-windows Zopes? Adrian... ___ Zope-Dev maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML encoding! ** (Related

Re: [Zope-dev] LoginManger: multiple LoginMethods

2001-01-20 Thread Phillip J. Eby
At 06:38 PM 1/7/01 -0800, John Eikenberry wrote: Anyways... I want to be able to support both cookie based auth and basic auth. With cookie based auth being the default unless they don't have cookies (either because they have them turned off, behind a proxy filter, etc), in which case they

[Zope] specifying namespace stacks in dtml-with

2001-01-20 Thread Michael Halle
I was thinking about something I'd consider a useful addition to the dtml-with tag; I'd like to get other people's opinions, especially about a couple syntax issues. Problem: In part because of the combination of the dtml namespace stack and acquisition, it's often hard to get exactly the name

Re: [Zope] Seminar on Zope at City University, London, UK on 15th Jan

2001-01-20 Thread Paul Browning
Not a bad turn-out (30ish) for a cold night Pointers to the presentation now available at: http://www.business.city.ac.uk/ero/150101.html Paul -- The Library, Tyndall Avenue, Univ. of Bristol, Bristol, BS8 1TJ, UK E-mail: [EMAIL PROTECTED] URL: http://www.bris.ac.uk/

[Zope] Re: Workflow and document management system in Zope

2001-01-20 Thread Nicolas Pettiaux
Dear Mr Boulanger, Thank you very much for your input. I don't think there is such as system polished and ready within 2 weeks. I do NOT need a polished system within 2 weeks. I need a proof of concept . The production system shoudl run in 2 or 3 months ... and could be optimized

[Zope] Zope 2.3.0b2 bug

2001-01-20 Thread Oleg Broytmann
Hi! Little bug - if there is no items in a folder - there is no "Import/Export" button. :) I have to create a dummy item to import a zexp. Oleg. Oleg Broytmann http://www.zope.org/Members/phd/ [EMAIL PROTECTED] Programmers don't die, they just GOSUB without

[Zope] Zope 2.3.0b2 bug #2

2001-01-20 Thread Oleg Broytmann
It is not exactly bug, but VERY unplesant misfeature: Zope now sends all HTML in management screens with meta http-equiv="content-type" content="text/html; charset=iso-8859-1" This is WRONG way of doing! Please stop it and don't do it :) Meanwhile - where I can turn this off? Oleg.

[Zope] Zope build script

2001-01-20 Thread Oleg Broytmann
Hello! http://www.zope.org/Members/phd/build-zope/ Zope build script helps to build Zope from sources. The script: -- runs python w_pcgi.py -- runs python zpasswd.py inituser|access -- generates root.sh - a script to run under root to complete the installation; root.sh set up right

Re: [Zope] Zope build script

2001-01-20 Thread Oleg Broytmann
On Sat, 20 Jan 2001, Oleg Broytmann wrote: http://www.zope.org/Members/phd/build-zope/ Oops, forget to say - the script was updated for Zope 2.3 (it now asks for "inituser" along with "access"). The script still can be used for Zope 2.2. Oleg. Oleg Broytmann

[Zope] batch processing problem

2001-01-20 Thread Timothy Wilson
Hi everyone, I was trying to throw together a page with some pictures of my brand-new nephew for his parents to show to relatives. What should have been a relatively simple dtml-in iteration through a folder full of images has turned out to be headache inducing. I'm sure that there's something

[Zope] Creating PDF's

2001-01-20 Thread Tom Deprez
Hi, I read in Itamar's 'A Developers Guide to learning Zope' about 'Reportlab'. It is a python library to create pdf files. Is there somebody among here who already used this library with zope? And is it possible to give a little example in how we can use it with zope? Thanks in advance, Tom.

Re: [Zope] Zope 2.3.0b2 bug #2

2001-01-20 Thread Aleksander Salwa
On Sat, 20 Jan 2001, Oleg Broytmann wrote: Zope now sends all HTML in management screens with meta http-equiv="content-type" content="text/html; charset=iso-8859-1" This is WRONG way of doing! Please stop it and don't do it :) Meanwhile - where I can turn this off? It would be

Re: [Zope] Creating PDF's

2001-01-20 Thread Tim Cook
Tom Deprez wrote: Hi, I read in Itamar's 'A Developers Guide to learning Zope' about 'Reportlab'. It is a python library to create pdf files. Is there somebody among here who already used this library with zope? And is it possible to give a little example in how we can use it with zope?

Re: [Zope] Zope 2.3.0b2 bug

2001-01-20 Thread Martijn Pieters
On Sat, Jan 20, 2001 at 04:33:44PM +0300, Oleg Broytmann wrote: Little bug - if there is no items in a folder - there is no "Import/Export" button. :) I have to create a dummy item to import a zexp. How about clicking on the Import tab? -- Martijn Pieters | Software Engineer

Re: [Zope] Zope 2.3.0b2 bug

2001-01-20 Thread Martijn Pieters
On Sat, Jan 20, 2001 at 08:46:54PM +0100, Martijn Pieters wrote: On Sat, Jan 20, 2001 at 04:33:44PM +0300, Oleg Broytmann wrote: Little bug - if there is no items in a folder - there is no "Import/Export" button. :) I have to create a dummy item to import a zexp. How about clicking on

[Zope] __setstate__ and acquisition

2001-01-20 Thread Matt
I am using __setstate__ to reload files into memory for objects of a product I have made. This all works nicely, as is it supposed to. The problem though is that the object seems not to know about its environment at that time, i.e. it cannot acquire methods further back in the hierachy, but is

[Zope] if-else using ZSQL resultset sendmail query

2001-01-20 Thread Lee
Hi, I've got a few questions, which may be answered by saying, "Not possible"! Any feedback would be appreciated. get_testclass_details is a ZSQL method returning user data from a table. I display the data (strangely enough) in an HTML table and I want alternating rows to have different

RE: [Zope] if-else using ZSQL resultset sendmail query

2001-01-20 Thread Randall F. Kern
dtml-in ... dtml-if sequence-even bgcolor is white ... dtml-else bgcolor is grey ... /dtml-if /dtml-in If you really need the "resultset number", you can use sequence-number. As for dtml-sendmail and news, it only sends mail via SMTP, so it can't be used to post

[Zope] ZSQL: postgres, SELECT INTO

2001-01-20 Thread Steve Drees
Has anybody selectively used SELECT INTO with zope/postgres? Zope version: Zope 2.1.6 (binary release, python 1.5.2, linux2-x86) Python version: 1.5.2 (#10, Dec 6 1999, 12:16:27) [GCC 2.7.2.3] System Platform: linux2 ZPyGreSQLDA-0-0-3 I'm trying something like: SELECT DISTINCT song,

Re: [Zope] HELP: ZPatterns Installation on Linux

2001-01-20 Thread ender
assuming you have a source distro of zope than this 'should' work # from zope base dir cd lib/python/Products/ZPatterns # the following is dependent on your python install, assuming # a stock redhat rpm cp /usr/lib/python1.5/config/Makefile.pre.in.boot . make -f Makefile.pre.in boot make

RE: [Zope] ZSQL: postgres, SELECT INTO

2001-01-20 Thread Steve Drees
Has anybody selectively used SELECT INTO with zope/postgres? Make that succesfully. Zope version: Zope 2.1.6 (binary release, python 1.5.2, linux2-x86) Python version: 1.5.2 (#10, Dec 6 1999, 12:16:27) [GCC 2.7.2.3] System Platform: linux2 ZPyGreSQLDA-0-0-3 I'm trying something

Re: [Zope] __setstate__ and acquisition

2001-01-20 Thread Evan Simpson
From: "Matt" [EMAIL PROTECTED] I am using __setstate__ to reload files into memory for objects of a product I have made. This all works nicely, as is it supposed to. The problem though is that the object seems not to know about its environment at that time __setstate__ is called on the bare

[Zope] Zope, emacs secure ftp

2001-01-20 Thread Geoffrey L. Wright
Was just wondering what sort of solution people use for secure ftp and zope. I'd like to be able to use efs (or ange-ftp) over a secure connection to zope so I can do development using efs outside of our firewall. Does Zope's ftp server support SSL? Or is there some sort of SSH-based

Re: [Zope] ZSQL: postgres, SELECT INTO

2001-01-20 Thread Andrew Kenneth Milton
+---[ Steve Drees ]-- | Has anybody selectively used SELECT INTO with zope/postgres? It's probably dying because there can only be ONE SELECT clause in a ZSQL Method. The SELECT ... INTO will be triggering a false positive. -- Totally Holistic Enterprises Internet|

Re: [Zope] __setstate__ and acquisition

2001-01-20 Thread Matt
That makes sense. Is there any way to explicitly pass the surrounding namespace to __setstate__ ? The problem is this : my product is really a handle to methods that create or update files on the local filesystem. Previously I have been building filenames and paths within the product and then

[Zope] Zope 2.3

2001-01-20 Thread Tom Deprez
To all who feels him/herself addressed : Congrats to the new look of zope! And to the new implemented products! All I can say is ... keep up the good work! Regards, Tom. ___ Zope maillist - [EMAIL PROTECTED]

[Zope] RE: Workflow and document management system in Zope

2001-01-20 Thread Spicklemire, Jerry
Hi Nicolas, Your last post mentioned: I am looking for a workflow (WF) linked to a electronic document management (EDM) system and a groupware email based In addition to other links, you might want to check out ZopeGUM, and ZUBBS, http://www.zope.org/Members/morphex/ZopeGUM

[Zope] MS-SQL Server Connector

2001-01-20 Thread Spicklemire, Jerry
Adrian asked: Is there a database connector or similar for MS-SQL Server that might run on non-windows Zopes? Check out http://www.zope.org/Members/TheJester/SybaseDA , and please let the list know how it goes. We all need to help each other with these little puzzles. Good luck, Jerry S.

[Zope] Simple ZClass Question

2001-01-20 Thread Gerald Gutierrez
Using Zope 2.3.0b2, I've found that if I create a ZClass with "Include standard Zope persistent object base classes" enabled, I can instantiate the ZClass right away. If I don't have it enabled, I can still create the ZClass, but instantiating it gives me the following error: Zope has

[Zope] MySQL connection string.

2001-01-20 Thread Indra Gunawan
Hello, could anyone tell me how to make connection string to MySQL in Linux? I use Zope 2.3 and I've tried the database@[host] username password format, and still no luck, TIA, -IGUN- ___ Zope maillist - [EMAIL PROTECTED]

[Zope] SQL query result set - what data structure how to access [(elements)]?

2001-01-20 Thread Lee
Hi, I'm using a python method to query my database as follows, where I need to use the result set to generate some HTML. I'm interested in result[0] and result[1] as listed below; * return result[0] gives me: [{'name': 'PRACTICALS', 'type': 's', 'null': None, 'width': None}, {'name':