[Zope] passing the parameters to zsql method

2005-10-27 Thread Denis V. Gudtsov
Hello! I'm trying to pass the form parameters from page template to zsql method. A piece of code follows: form action=clients_add_sql input type=text name=name input type=text name=account input type=submit /form clients_add_sql: insert into table(name,account) values (dtml-sqlvar name

Re: [Zope] passing the parameters to zsql method

2005-10-27 Thread Dario Lopez-Kästen
Denis V. Gudtsov wrote: form action=clients_add_sql input type=text name=name input type=text name=account input type=submit /form clients_add_sql: insert into table(name,account) values (dtml-sqlvar name type=string, dtml-sqlvar account type=string); the problem is when i click the 'submit'

[Zope] [Solved] Zope/Editor problems

2005-10-27 Thread Håkan Johansson
OK, use bin/runzope or zopectl fg, and you will surely get the error message. I'm a bit surprised it doens't end up in the logs as well, but maybe that's expected. I found out why it wouldn't work and I feel ashamed of myself. The trick with 'zopectl fg' showed me the errors of my way. I am

Re: [Zope] Zope 2.8 or 3.1?

2005-10-27 Thread Jens Vagelpohl
On 26 Oct 2005, at 21:43, HaraldFinnås wrote: I've also seen comments that running Zope on RHEL/CentOS might not be wise. My test env. is using FC4, but I'm planning to install CenOS 4.2 on the production server. Unwise choice? I'd be curious to find out who says something like that. It's

Re: [Zope] Zope 2.8 or 3.1?

2005-10-27 Thread Dario Lopez-Kästen
Jens Vagelpohl wrote: On 26 Oct 2005, at 21:43, HaraldFinnås wrote: I've also seen comments that running Zope on RHEL/CentOS might not be wise. My test env. is using FC4, but I'm planning to install CenOS 4.2 on the production server. Unwise choice? I'd be curious to find out who says

Re: [Zope] Zope 2.8 or 3.1?

2005-10-27 Thread Jens Vagelpohl
On 27 Oct 2005, at 08:58, Dario Lopez-Kästen wrote: well, on larger shops like ours, the sysadms always want to know why we introduce Yet Another Non-Standard Component to the system setup that cannot be RPM'ed like the rest. And I am not talking across pythoin versions, but oin the same

Re: [Zope] passing the parameters to zsql method

2005-10-27 Thread Dario Lopez-Kästen
Denis V. Gudtsov wrote: DLK use an intermediary Script (Python), ie: [..skipped..] Thank you. But, can i do this without using python? From zpt - to zsql? [cc-ing: [EMAIL PROTECTED] well, yes in a way. ZSQL methods have to be called like other metods, but AFAIK, they cannot be

Re: [Zope] Zope 2.8 or 3.1?

2005-10-27 Thread Lennart Regebro
On 10/26/05, HaraldFinnås [EMAIL PROTECTED] wrote: I'm new to Zope, and I've been playing with 2.8.1, but I really haven't done any real work with it yet. Now I expect to get my new decicated Zope hardware tomorrow, so I have to decide if I should go for 2.8.4 or 3.1.0. Any tips if I should

Re: [Zope] Zope 2.8 or 3.1?

2005-10-27 Thread HaraldFinnås
Depends on what you are going to use it for. So, tell us! :-) Not sure myself yet. :) There will certainly be a couple of Plone sites, and I plan on writing a simple application for tracking Non-Conformaties, Incident Reports etc (QA related). But based on the responses until now, I've already

Re: [Zope] Zope 2.8 or 3.1?

2005-10-27 Thread Sascha Ottolski
Am Donnerstag, 27. Oktober 2005 09:37 schrieb Jens Vagelpohl: The only issues you might ever run into would be problems with the   Python that comes with the OS. But then again if you run Zope in   production you should never ever use the system Python and build your   own instead. The system

[Zope] Zope hangs with 'idle in transaction'

2005-10-27 Thread Yuan HOng
Hi, list, I have a site running with Zope 2.7.6 under Linux. The site access a PostgreSQL database through ZSQL and psycopg 1.1.18. Only read access is used, nothing is written to the database. The one thing that annoys me very much is, with time passing, Zope will eventually hang and has to be

Re: [Zope] Zope 2.8 or 3.1?

2005-10-27 Thread Jens Vagelpohl
On 27 Oct 2005, at 10:22, Sascha Ottolski wrote: Am Donnerstag, 27. Oktober 2005 09:37 schrieb Jens Vagelpohl: The only issues you might ever run into would be problems with the Python that comes with the OS. But then again if you run Zope in production you should never ever use the system

Re: [Zope] Zope 2.8 or 3.1?

2005-10-27 Thread Sascha Ottolski
Am Donnerstag, 27. Oktober 2005 13:20 schrieb Jens Vagelpohl: You just noted one more disadvantage yourself: The system Python is   likely to be out of step with what Zope wants. Furthermore, updates   to the system Python or to add-on packages might have unintended   consequences for your

Re: [Zope] passing the parameters to zsql method

2005-10-27 Thread Dario Lopez-Kästen
Jean-Marc Orliaguet wrote: Dario Lopez-Kästen wrote: Denis V. Gudtsov wrote: DLK use an intermediary Script (Python), ie: [..skipped..] Thank you. But, can i do this without using python? From zpt - to zsql? Just curious too: isn't there an easier way of doing this

Re: [Zope] Zope 2.8 or 3.1?

2005-10-27 Thread Jens Vagelpohl
On 27 Oct 2005, at 12:55, Sascha Ottolski wrote: Am Donnerstag, 27. Oktober 2005 13:20 schrieb Jens Vagelpohl: You just noted one more disadvantage yourself: The system Python is likely to be out of step with what Zope wants. Furthermore, updates to the system Python or to add-on packages

Re: [Zope] Zope 2.8 or 3.1?

2005-10-27 Thread Sascha Ottolski
Am Donnerstag, 27. Oktober 2005 14:17 schrieb Jens Vagelpohl: well, might have is one thing, really experiencing problems is quite different... Look, it's all about how much risk you are willing to carry. I don't like playing Russian Roulette with services that are supposed to be highly

Re: [Zope] Zope 2.8 or 3.1?

2005-10-27 Thread Jens Vagelpohl
On 27 Oct 2005, at 13:30, Sascha Ottolski wrote: Look, it's all about how much risk you are willing to carry. I don't like playing Russian Roulette with services that are supposed to be highly available. And I don't want to have to waste a single thought on problems that *might* develop if

Re: [Zope] passing the parameters to zsql method

2005-10-27 Thread Maurits van Rees
On Thu, Oct 27, 2005 at 10:23:52AM +0200, Dario Lopez-Kästen wrote: Not sure if this works, but that is the general idea. This was inspired from http://www.plope.com/Books/2_7Edition/AdvZPT.stx#2-9 section: Form Processing I would suggest to give it a try with a Z Search Interface. See

[Zope] Job Vacancy - Swindon, UK - Closing date 11th November 2005

2005-10-27 Thread Davis Mr MR
Title: Job Vacancy - Swindon, UK - Closing date 11th November 2005 Cranfield University, Defence College of Management Technology, Information Services Department is seeking a Web Projects Officer Location: Shrivenham, Wiltshire Salary: £23,575- £32,938 An opportunity has arisen for an

Re: [Zope] Zope 2.8 or 3.1?

2005-10-27 Thread Lennart Regebro
On 10/27/05, HaraldFinnås [EMAIL PROTECTED] wrote: Depends on what you are going to use it for. So, tell us! :-) Not sure myself yet. :) There will certainly be a couple of Plone sites Well, Plone doesn't run on Zope 3, so there ya go. :) -- Lennart Regebro, Nuxeo http://www.nuxeo.com/

Re: [Zope] passing the parameters to zsql method

2005-10-27 Thread Jean-Marc Orliaguet
Dario Lopez-Kästen wrote: Jean-Marc Orliaguet wrote: Dario Lopez-Kästen wrote: Denis V. Gudtsov wrote: DLK use an intermediary Script (Python), ie: [..skipped..] Thank you. But, can i do this without using python? From zpt - to zsql? Just curious too: isn't there

[Zope] Cannot get zCommerce to work...

2005-10-27 Thread news.hol.gr
Hello all, i am giving zCommerce a try and i have problem to get it to work with the sample database. I am using Plone 2.0.5 witch comes with zope 2.7.0 and Python 2.3.3 I tried to install the products (Session 0.3, zCommerce 0.2). The i create a Session from ZMI inside a folder under Plone. Then

[Zope] Re: Zope 2.8 or 3.1?

2005-10-27 Thread Tres Seaver
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Sascha Ottolski wrote: Am Donnerstag, 27. Oktober 2005 13:20 schrieb Jens Vagelpohl: You just noted one more disadvantage yourself: The system Python is likely to be out of step with what Zope wants. Furthermore, updates to the system Python or

Re: [Zope] Re: Zope 2.8 or 3.1?

2005-10-27 Thread HaraldFinnås
WRT maintenance of the system: while at ZC, I actually maintained a separate 'zc-python' RPM which installed itself in '/opt/zc'; all the Zope RPMs I maintained depended on 'zc-python' rather than 'python'. What's the recommended way of maintaining an extra Python installation for Zope? Is

Re: [Zope] database connections from external method

2005-10-27 Thread Chris Withers
Vangelis Mihalopoulos wrote: Well, i am running zope under root privileges in read-only mode. What does this mean? I am opening the ZODB in read-only, using the appropriate parameter in the conf file. How odd, do you do that with your relational database too? What are you seeking to do

Re: [Zope] database connections from external method

2005-10-27 Thread Chris Withers
Vangelis Mihalopoulos wrote: I don't really. But when i present my security assessment report saying Zope has never had a compomising security issue. i'll get the (expected) answer Sooner or later, everything gets broken. and i will have to additionally demonstrate why compomising zope (in

Re: [Zope] database connections from external method

2005-10-27 Thread Chris Withers
Vangelis Mihalopoulos wrote: - A Zope security hole comes up, which gives you all permissions within Zope. Yeah, so you patch Zope pronto. What you're doing doesn't really mitigate anything. Do you worry about SSH vulnerabilities? What are you doing to mitigate them? mounting all your file

Re: [Zope] Re: implicit vs. explicit ownership?

2005-10-27 Thread Chris Withers
Tres Seaver wrote: The Owner role is something of a dead chicken. Don't rely on it and ignore it as best you can unless you're really sure what you're doing... I don't know why you would say that. The Owner local role (as opposed to executable ownership) is widely used to allow creators of

Re: [Zope] Zope 2.8 or 3.1?

2005-10-27 Thread Bill Campbell
On Thu, Oct 27, 2005, Jens Vagelpohl wrote: On 27 Oct 2005, at 08:58, Dario Lopez-Kästen wrote: well, on larger shops like ours, the sysadms always want to know why we introduce Yet Another Non-Standard Component to the system setup that cannot be RPM'ed like the rest. And I am not talking

Re: [Zope] Re: use Data.fs from mountpoint B to populate mountpoint A - how?

2005-10-27 Thread Chris Withers
Dieter Maurer wrote: Actually, the mount-point syntax is much more complex than the form you use above. Among others, it supports mount-point mount-path:storage-path mount-path describes how you reach the mount point in the mounting application and storage-path how you find the mounted

Re: [Zope] Cannot show blob image from sql server

2005-10-27 Thread Chris Withers
Thomas G. Apostolou wrote: i have made an external method to connect and get data from an sql server 2000, and then show them in a table. All works fine but one of the columns i retrieve is a BLOB image witch makes my external method to crash. So i used z SQL Method (witch is not prefared

Re: [Zope] Zope/Editor problems

2005-10-27 Thread Chris Withers
J Cameron Cooper wrote: Not logging errors on startup failures (in debug mode) is a problem that causes a lot of consternation. I recall hearing once why it is that way, but don't quite recall. I'm sure I could search the archives and find out. Something to do with security. The goat that

[Zope] Re: Zope 2.8 or 3.1?

2005-10-27 Thread Tres Seaver
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 HaraldFinnås wrote: WRT maintenance of the system: while at ZC, I actually maintained a separate 'zc-python' RPM which installed itself in '/opt/zc'; all the Zope RPMs I maintained depended on 'zc-python' rather than 'python'. What's the

Re: [Zope] question about stopping acquisition in VHM sites?

2005-10-27 Thread Chris Withers
Gary wrote: How do I stop acquisition at the root of my website? If I have two websites in zope, and I set the virtual host mapping to www.sitea.com/websites/SiteA http://www.sitea.com/websites/SiteA www.siteb.com/websites/SiteB http://www.siteb.com/websites/SiteB I don't want my users to get

Re: [Zope] Permissions and Instances of ZClasses

2005-10-27 Thread Chris Withers
Dave Case wrote: I'm trying to build a product through the ZMI (like the example in The Zope Book), For the love of god, please don't ;-) I have some DTML methods waaghhh... in a ZClass ow, ow, stop hurting me... were I want to be able to do a SecurityCheckPermission() on a

Re: [Zope] Cannot get zCommerce to work...

2005-10-27 Thread Chris Withers
news.hol.gr wrote: As the manual says : zCommerce *REQUIRES* Zope 2.2. If it works with Zope 2.1, then it's a fluke and we can't really help you if you have problems. The fact that we're now on Zope 2.8 should give you a clue that this software is way to old and likely unmaintained to be

Re: [Zope] Re: use Data.fs from mountpoint B to populate mountpoint A - how?

2005-10-27 Thread Christoph Berendes
Chris Withers wrote: Dieter Maurer wrote: Actually, the mount-point syntax is much more complex than the form you use above. Among others, it supports mount-pointmount-path:storage-path mount-path describes how you reach the mount point in the mounting application and

Re: [Zope] Permissions and Instances of ZClasses

2005-10-27 Thread Dave Case
On 10/27/05, Chris Withers [EMAIL PROTECTED] wrote: Dave Case wrote: I'm trying to build a product through the ZMI (like the example in The Zope Book), For the love of god, please don't ;-) Look, I know what I'm doing is not cool, but since cool has no documentation, I'm doing what I

Re: [Zope] question about stopping acquisition in VHM sites?

2005-10-27 Thread Gary
On 10/27/05, Chris Withers [EMAIL PROTECTED] wrote: Gary wrote: How do I stop acquisition at the root of my website? If I have two websites in zope, and I set the virtual host mapping to www.sitea.com/websites/SiteA http://www.sitea.com/websites/SiteA www.siteb.com/websites/SiteB

Re: [Zope] question about stopping acquisition in VHM sites?

2005-10-27 Thread David H
Gary wrote: On 10/27/05, Chris Withers [EMAIL PROTECTED] wrote: Gary wrote: How do I stop acquisition at the root of my website? If I have two websites in zope, and I set the virtual host mapping to www.sitea.com/websites/SiteA http://www.sitea.com/websites/SiteA

[Zope] Debugging security settings in .metadata files

2005-10-27 Thread Floyd May
I have a set of files - page templates, python scripts, and zsql methods - that are set up as filesystem objects. I'm having trouble getting the security set the way I want it to be with the .metadata files. Here is the content of my .metadata files: --8-

[Zope] help - my zope build exits with compile errors :-(

2005-10-27 Thread Thomas Wolf
Hi, I'm trying to build Zope-2.7.4-0 from source (I can't use a different version because of the releas of Plone we're using.) I ran ./configure --with-python=/usr/local/zope/python/bin/python --prefix=/usr/local/zope and that reported no issues. BTW, I'm using python 2.3.5 - that's

Re: [Zope] help - my zope build exits with compile errors :-(

2005-10-27 Thread Jens Vagelpohl
On 27 Oct 2005, at 21:26, Thomas Wolf wrote: P.S. I'm trying to build this under Solaris 9 using gcc 3.3.2. Solaris, there's your problem. First of all, use GNU tar for unpacking the tarball. The standard Solaris tar is buggy. Second of all, don't expect any good performance on Solaris.

Re: [Zope] help - my zope build exits with compile errors :-(

2005-10-27 Thread Thomas Wolf
Thanks a bunch Jens! It was the buggy tar that got me :-( Now that I think about it, I did see a blurb about avoiding solaris' tar - just thought that I'd give it a try and since I didn't see any error messages, I figured it succeeded...that was stupid. Anyway, it builds now. Many thanks

Re: [Zope] question about stopping acquisition in VHM sites?

2005-10-27 Thread Gary
On 10/27/05, David H [EMAIL PROTECTED] wrote: Gary wrote: On 10/27/05, Chris Withers [EMAIL PROTECTED] wrote: Gary wrote: How do I stop acquisition at the root of my website? If I have two websites in zope, and I set the virtual host mapping to www.sitea.com/websites/SiteA

Re: [Zope] help - my zope build exits with compile errors :-(

2005-10-27 Thread David H
Thomas Wolf wrote: Hi, I'm trying to build Zope-2.7.4-0 from source (I can't use a different version because of the releas of Plone we're using.) I ran ./configure --with-python=/usr/local/zope/python/bin/python --prefix=/usr/local/zope and that reported no issues. BTW, I'm using

Re: [Zope] question about stopping acquisition in VHM sites?

2005-10-27 Thread J Cameron Cooper
Gary wrote: Hi, How do I stop acquisition at the root of my website? If I have two websites in zope, and I set the virtual host mapping to www.sitea.com/websites/SiteA http://www.sitea.com/websites/SiteA www.siteb.com/websites/SiteB http://www.siteb.com/websites/SiteB I don't want my users to

Re: [Zope] Debugging security settings in .metadata files

2005-10-27 Thread J Cameron Cooper
Floyd May wrote: I have a set of files - page templates, python scripts, and zsql methods - that are set up as filesystem objects. I'm having trouble getting the security set the way I want it to be with the .metadata files. Here is the content of my .metadata files:

Re: [Zope] Debugging security settings in .metadata files

2005-10-27 Thread Floyd May
I don't know what you're doing with the third line... Me neither, typo. Check what it looks like in the ZMI. This will tell you whether or not the problem is in getting the permissions set like you expect. Filesystem objects don't have a security tab in the ZMI (or at least, these don't).

Re: [Zope] Debugging security settings in .metadata files

2005-10-27 Thread J Cameron Cooper
Floyd May wrote: I don't know what you're doing with the third line... Me neither, typo. Check what it looks like in the ZMI. This will tell you whether or not the problem is in getting the permissions set like you expect. Filesystem objects don't have a security tab in the ZMI (or at

Re: [Zope] help - my zope build exits with compile errors :-(

2005-10-27 Thread Chris McDonough
Use gnutar to unpack the Zope source tarball. On Oct 27, 2005, at 4:50 PM, David H wrote: Thomas Wolf wrote: Hi, I'm trying to build Zope-2.7.4-0 from source (I can't use a different version because of the releas of Plone we're using.) I ran ./configure

[Zope] Re: Debugging security settings in .metadata files

2005-10-27 Thread Tres Seaver
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 J Cameron Cooper wrote: Floyd May wrote: I think Floyd is barking up the wrong tree: skins are not supposed to be the primary mechanism for protecting content. Rather, work out how to get the security settings right on the *content*, and the

[Zope] Problem after upgrade zope from 2.6.0 - 2.8.4

2005-10-27 Thread Zhi-Wei Lu
Hi Zope Gurus, After I upgraded the zope from 2.6.0 - 2.8.4 on a Redhat EL3 server, with python 2.4.2 (and I also tested with python 2.3.5), the gif pictures are now slightly misaligned a little bit, these graphics are in a TABLE with BORDER=0, CELLPADDING=0, and CELLSPACING=0. The graphics

[Zope-Checkins] SVN: Zope/branches/Zope-2_8-branch/lib/python/OFS/dtml/main.dtml - replaced url_quote by html_quote for add list values (pushing the add button escapes the value again)

2005-10-27 Thread Yvo Schubbe
Log message for revision 39667: - replaced url_quote by html_quote for add list values (pushing the add button escapes the value again) Changed: U Zope/branches/Zope-2_8-branch/lib/python/OFS/dtml/main.dtml -=- Modified: Zope/branches/Zope-2_8-branch/lib/python/OFS/dtml/main.dtml

[Zope-Checkins] SVN: Zope/trunk/lib/python/OFS/dtml/main.dtml - replaced url_quote by html_quote for add list values (pushing the add button escapes the value again)

2005-10-27 Thread Yvo Schubbe
Log message for revision 39668: - replaced url_quote by html_quote for add list values (pushing the add button escapes the value again) Changed: U Zope/trunk/lib/python/OFS/dtml/main.dtml -=- Modified: Zope/trunk/lib/python/OFS/dtml/main.dtml

[Zope-Checkins] SVN: Zope/branches/Zope-2_8-branch/inst/WinBuilders/mk/python.mk A one-character change to move to pywin32 build 205.

2005-10-27 Thread Tim Peters
Log message for revision 39672: A one-character change to move to pywin32 build 205. This should repair PySECURITY_ATTRIBUTES problems that (mostly) Plone users report using recent Zopes on Windows. This change is in the 2.8.4 Windows installer I just published on zope.org.

[Zope-Checkins] SVN: Zope/trunk/inst/WinBuilders/README.txt Merge rev 39674 from Zope-2_8-branch.

2005-10-27 Thread Tim Peters
Log message for revision 39675: Merge rev 39674 from Zope-2_8-branch. Record switch to pywin32 build 205. Changed: U Zope/trunk/inst/WinBuilders/README.txt -=- Modified: Zope/trunk/inst/WinBuilders/README.txt === ---

[Zope-Checkins] CVS: Zope/inst/WinBuilders - README.txt:1.1.2.3

2005-10-27 Thread Tim Peters
Update of /cvs-repository/Zope/inst/WinBuilders In directory cvs.zope.org:/tmp/cvs-serv14861/inst/WinBuilders Modified Files: Tag: Zope-2_7-branch README.txt Log Message: Backport revs 39672 and 39674 from Zope-2_8-branch. Move to pywin32 build 205. This should repair

[Zope-dev] RFC: product initialization cleanup and improvements

2005-10-27 Thread yuppie
Hi! Working on the five:registerClass directive for Five 1.2 and Zope 2.9 I had a closer look at the product initialization code. I propose the following modifications for the dicts in Products.meta_types (set by registerClass): 1.) 'action' key: - I'd like to give empty

Re: [Zope-dev] Re: New testrunner on the Zope 2 trunk.

2005-10-27 Thread Jim Fulton
Tres Seaver wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Jim Fulton wrote: Weird. I can't reproduce this. Is anyone else seeing this? For the benefit of those playing along at home: Jim and I discovered this evening that we were running on mostly-identical platforms (Ubuntu

[Zope-dev] Re: RFC: product initialization cleanup and improvements

2005-10-27 Thread Tres Seaver
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 yuppie wrote: Working on the five:registerClass directive for Five 1.2 and Zope 2.9 I had a closer look at the product initialization code. I propose the following modifications for the dicts in Products.meta_types (set by registerClass):

[Zope-dev] Re: New testrunner on the Zope 2 trunk.

2005-10-27 Thread Tres Seaver
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Jim Fulton wrote: Sigh. I rebuilt Python 2.3.5: [EMAIL PROTECTED]:~/p/z2/2$ /usr/local/python/2.3.5b/bin/python Python 2.3.5 (#1, Oct 27 2005, 10:22:20) [GCC 4.0.2 20050808 (prerelease) (Ubuntu 4.0.1-4ubuntu9)] on linux2 Type help,

[Zope-dev] Re: New testrunner on the Zope 2 trunk.

2005-10-27 Thread Jim Fulton
Tres Seaver wrote: ... Just to note that the tests aren't running cleanly on Stefan Holek's box, either (but they fail differently): http://mail.zope.org/pipermail/zope-tests/2005-October/003421.html http://mail.zope.org/pipermail/zope-tests/2005-October/003422.html These are not

[Zope-dev] Removing whrandom in Zope 2.9 (was Re: New testrunner on the Zope 2 trunk.)

2005-10-27 Thread Tres Seaver
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Jim Fulton wrote: Tres Seaver wrote: ... Just to note that the tests aren't running cleanly on Stefan Holek's box, either (but they fail differently): http://mail.zope.org/pipermail/zope-tests/2005-October/003421.html

[Zope-dev] Re: Removing whrandom in Zope 2.9 (was Re: New testrunner on the Zope 2 trunk.)

2005-10-27 Thread Jim Fulton
Tres Seaver wrote: -BEGIN PGP SIGNED MESSAGE- FWIW: Alot. :) $ pwd /home/tseaver/projects/Zope-CVS/Zope-2_8-branch $ find . -name *.py | grep -v build-base | xargs grep -l whrandom ./lib/python/AccessControl/DTML.py ./lib/python/Products/PythonScripts/help/PythonScript.py

Re: [Zope-dev] Experiencing TypeError: The object is not a PySECURITY_ATTRIBUTES object

2005-10-27 Thread Tim Peters
The bad news is that I don't think I'll ever put in enough time to fully understand what went wrong here. The good news is that the newly-released Zope 2.8.4 Windows installer, at http://www.zope.org/Products/Zope/2.8.4 includes pywin32 build 205. If that doesn't fix PySECURITY_ATTRIBUTES

[Zope-dev] Re: RFC: product initialization cleanup and improvements

2005-10-27 Thread yuppie
Hi Tres! Tres Seaver wrote: yuppie wrote: 1.) 'action' key: - I'd like to give empty 'action' values a special meaning: The meta_type is not visible in the add drop down in the ZMI. The five:registerClass directive allows to set empty 'action' values. This would resolve

Re: [Zope-dev] Mountpoints

2005-10-27 Thread Chris McDonough
FWIW, I know a couple of people are depending on this, so here's an update. I am working on merging multidatabase support, but I'm having some merge/update troubles (if you're interested in the symptoms, see http://www.plope.com/Members/chrism/heres_to_cvs). I suspect I'll work it out,

Re: [Zope-dev] Mountpoints

2005-10-27 Thread Tim Peters
[Tim, trying to comfort a suffering Chris] ... End of story. Unless you feel you need to make another branch. In that case, still do the two steps above first. Then create a new branch from Zope trunk, svn switch your merged sandbox to that new branch, then svn checkin. That last part

Re: [Zope-dev] Mountpoints

2005-10-27 Thread Chris McDonough
Jim redid the way Zope trunk stitches in Zope3 since you last looked at this, and that can create some mechanical problems (of the kinds you're seeing, in fact). The svn docs probably won't help. Suggestion (which is repetition of what I suggested before this happened, but we'll gracefully let

Re: [Zope-dev] Mountpoints

2005-10-27 Thread Tim Peters
[Chris McDonough] FWIW, I know a couple of people are depending on this, so here's an update. I am working on merging multidatabase support, but I'm having some merge/update troubles (if you're interested in the symptoms, see http://www.plope.com/Members/chrism/heres_to_cvs). I suspect I'll

Re: [Zope-DB] Managing Connections with SQL Methods

2005-10-27 Thread Chris Withers
Why don't you just use ZSQL Methods?! Chris Seth Gottlieb wrote: The problem seemed to be that Zope.app() was returning a new root object instance every time a new DAO (data access object) was initialized. After 3, boom. The work around is to pass the context of the calling object with