Re: [Zope] zope and caching

2000-07-03 Thread Chris McDonough
Here at DC we recently had a "jam session" discussion on caching. I don't think anything "hard" came out of it, we just tossed around some ideas. DC has several current contract customers who are going to need high speed pretty badly. Of course, they're also going to be using ZEO, which

Re: [Zope] zope and caching

2000-07-03 Thread Toby Dickenson
On Mon, 3 Jul 2000 10:49:28 +0800, "Bak @ kedai" [EMAIL PROTECTED] wrote: hi good people i've been using zope for quite some time now. everything has been great; zope, the mailinglist, products are great! rant i want to serve a dynamic site and zope fits the bill. now, i think i want to

[Zope] Zope : CGI

2000-07-03 Thread Vincent Maton
Hello everyone, There is someone who can help me ??? I need a CGI to transfert the values of the 'Inputs" of a "Form" to a "e-mail" !!! Thank's all of you, the specialists... Vincent. ___ Zope maillist - [EMAIL PROTECTED]

Re: [Zope] Fun with Trees

2000-07-03 Thread Rik Hoekstra
Charlie Wilkinson writes: After RTFMing and flailing at DTML all night, I'm about stumped. No pun intended. I'm trying to use dtml-tree to create a selective menu of objects based on whether or not the object has an "add_to_menu" property. I've pretty much figured out that I need a wrapper

Re: [Zope] zope and caching

2000-07-03 Thread Bak @ kedai
to build some HTML-page-level caching into Zope soon. More specifics I can't give, it's jammed into the (already very crowded) "nebulous things we should be working on". Sounds sort of like fun though. i do hope this materialize, since it will only boost Zope. I haven't used

Re: [Zope] Re: Copy/Paste problem

2000-07-03 Thread Oleg Broytmann
Hi! On Mon, 3 Jul 2000, Curtis Maloney wrote: On Sat, 1 Jul 2000, Oleg Broytmann wrote: I (and some my friends) have problem with Copy/Paste. Sometimes it's wotking, but often Paste button does not appeared after Copy/Cut. After investigating I found that the problem is mostly

Re: [Zope] Howto engineer a scientific paper system

2000-07-03 Thread [EMAIL PROTECTED]
Thanks again, I like lyx now. Using latex with lyx on top is very comfortable. I found a pyhton based bibliographic database handler named pybliographer (http://www.gnome.org/pybliographer). It has a GUI and inserts citation directly into lyx. (The Latex2HTML converter - on a first try - seems

Re: [Zope] Adding Products Breaking Zope

2000-07-03 Thread Harald Scheirich
I have been trying to get a working combination of Apache and Zope the proxypass and Siteserver method as in howto http://www.zope.org/Members/anser/apache_zserver it is working now but ... The copy/paste/delete functionality has stopped working when SiteAccess is enabled (i.e. I put the

[Zope] ZClass beginners question

2000-07-03 Thread Dierk Hoeppner
Hi, I want to connect our own proprietary database to zope. I know which features I want because I did an ordinary CGI-application already. I would like to use a ZClass. My question: For connecting to my database do I have to use external functions? The goal is to construct a product like

Re: [Zope] Re: Every user should have the Anonymous role everywhere (was :Re: [Zope] Authentication, Anonymous and Public)

2000-07-03 Thread Chris Withers
Dieter Maurer wrote: In Zope, each user has a set of roles. Any user has the "Anonymous" role. Log-in users may have additional roles. I'm not convinced this is true... The Content Manager Guide (Security, Authorization) states it this way: The "Anonymous" role, which

[Zope] ZCatalog pointing to wrong object.

2000-07-03 Thread Bart Holthuijsen
Hi all! I have been having some problems with ZClasses and the Catalog. I made a new Catalogaware External Product, based mostly on the Boring and Photo products. When I add an instance to a folder the Catalog is updated, but doesn't point to the right object. The product inherits from

[Zope] Deinstalling Products?!

2000-07-03 Thread Jonathan
Hi all, Removed a product from the Products folder, but Zope still seems to import it from a folder that is not there anymore. Does Zope cache it somewhere or what? Any ideas? Jonathan ___ Zope maillist - [EMAIL PROTECTED]

RE: [Zope] MySQL transaction support (was: MySQL Select Statements)

2000-07-03 Thread Monty Taylor
Why not have one ZmySQLDA that attempts to determine whether it is transactional or not when the connect method is executed. That way you could have a DA connect to your 3.22 database, upgrade your database to 3.23.15 and not see any problems. A combination of try-except:ing an attempted

Re: [Zope] Generating PDF: Use ZpdfDocument or Reportlab?

2000-07-03 Thread Jonathan
Yes we have written a faily extensively billing system that uses reportlab to generate the equipment orders in pdf format. We have made a few tweaks here and there to reportlab but in general it works quite well. From within Zope? How do you call ReportLab from within Zope? Thnx Jonathan

Re: [Zope] Confera problem

2000-07-03 Thread J. Atwood
Confera is pretty old I would try ZDiscussions, ZUBB or Squishdot. J At 12:30 PM +1000 7/3/2000, Terry Kerr wrote: Hi, I just downloaded Confera-1.2.0-nonbin.tgz, installed it, and created a Confera topic instance. I posted a mesage to the topic, and then posted a reply to this messge. This

[Zope] Comments on 2.2 Help System

2000-07-03 Thread Chris Withers
Apart from the 'Wow! Zope has Help!' comment: The API documentation is very useful. How do we feedback about it? (eg: why is there PropertySheet and PropertySheets?) When will it be complete? How do we submit docs to appear in it? What is the moderation process like? Sadly, the rest of the

Re: [Zope] Fun with Trees

2000-07-03 Thread Charlie Wilkinson
On Mon, Jul 03, 2000 at 09:35:06AM +0200, Rik Hoekstra waxed eloquent: Charlie Wilkinson writes: [...] I'm trying to use dtml-tree to create a selective menu of objects based on whether or not the object has an "add_to_menu" property. [...] [rh] Try (yes, this is tested): dtml-call

Re: [Zope] Re: ZClass in ZClass problem

2000-07-03 Thread Oleg Broytmann
On Mon, 3 Jul 2000, Shane Hathaway wrote: They are a special feature of ZClass development. The spaces let you write implementations of methods that would otherwise conflict with existing methods. That's why you can, for example, write your own "manage_main", which would normally conflict

Re: [Zope] Why can't I subclass a ZSQLMethod?

2000-07-03 Thread Ivan Raikov
What do you mean, you cannot get a view to it? I can change in the management area. I believe ZSQL methods are not supposed to provide the user interface; you use them the way you would use an external method. That means you have to create the form that sends the query parameters to the SQL

Re: [Zope] Fun with Trees

2000-07-03 Thread Rik Hoekstra
snip Not sure. Supposedly objectValues() returns "actual objects", and I assumed that using sequence-item would be something closer to that. shrug The finer points of python are still lost on me, but I'm working on it. Hm, you're right of course. The bigger problem seems to be the

[Zope] Tree Tag question: from zope 1.x to zope 2.x

2000-07-03 Thread Gilles Lavaux
Hello, I want to display the content of a site starting from a folder called 'Site' with a tree tag. I want also to render immediately inside the tree the documents with an ID=='PUBLIC_Doc'. In Zope 1.x I have a working dtml method like this: !--#var standard_html_header-- !--#tree Site

Re: [Zope] ZClass beginners question

2000-07-03 Thread Ivan Raikov
Hello, Dierk, There are several ways to use a relational database from within Zope. A good start for you would be the Zope SQL methods. Read the documentation about them at http://www.zope.org/Documentation/Guides/ZSQL-HTML/ZSQL.html. Then experiment. When you get stuck, ask questions on

Re: [Zope] Re: ZClass in ZClass problem

2000-07-03 Thread Oleg Broytmann
On Mon, 3 Jul 2000, Oleg Broytmann wrote: The first thing to try will be to reinstall Zope from the very beginning and not install any additional Products, right? Reinstalling from sources didn't help. I recompiled and reran 2.2.0b3, imported FlexFAQ2 (which surely worked with 2.1.4) and

Re: [Zope] Re: ZClass in ZClass problem

2000-07-03 Thread Oleg Broytmann
On Mon, 3 Jul 2000, Oleg Broytmann wrote: Reinstalling from sources didn't help. I recompiled and reran 2.2.0b3, imported FlexFAQ2 (which surely worked with 2.1.4) and got the same problem. Oops! I am very, very sorry :( I connected directly to ZServer - and all things worked as

[Zope] Is there a better way to code this?

2000-07-03 Thread Luke Tymowski
Hello, I'm still having trouble trying to get Zope to use/ignore header and footer code in the appropriate places. To have Zope ignore the footer code in one place but still display footer code on other pages, I've resorted to this: dtml-with history dtml-with 2000 dtml-in

Re: [Zope] Is there a better way to code this?

2000-07-03 Thread Andrew Kenneth Milton
+[ Luke Tymowski ]- | Hello, | | I'm still having trouble trying to get Zope to use/ignore header and footer | code in the appropriate places. ...snip... | So. Is there a better way to do this? Or is the above meet and right and | not worthy

[Zope] Oracle 8.1.6 setup file for DCOracle

2000-07-03 Thread Kiran Jonnalagadda
I've just put together a setup file for Oracle 8.1.6. I started with including all the libraries in Oracle's library directory and then removed the ones that gave me errors. It works fine except for when I present an SQL query with a syntax error. That makes Zope crash. Anybody know why? --

Re: [Zope] Is there a better way to code this?

2000-07-03 Thread Luke Tymowski
Hello Andrew, You should set flags to say when it's safe to render the header/footer, or you should remove the header/footer calls from documents you want to embed. Can't do the latter. I'm building a weblog. I need to have the user enter entries for each day. I need for each day to display

Re: [Zope] Is there a better way to code this?

2000-07-03 Thread Andrew Kenneth Milton
+[ Luke Tymowski ]- | Hello Andrew, | | You should set flags to say when it's safe to render the header/footer, | or you should remove the header/footer calls from documents you want to | embed. | | Can't do the latter. | I'm building a weblog. I

[Zope] Rewrite rules

2000-07-03 Thread System Administrator
Hi can any one help me with the rewrite rules ? i'm stuck. the ones on the zope documentation don't seem to be working for me . regards, Parag Mehta[EMAIL PROTECTED] System Administrator. Puretech Internet Pvt. Ltd.http://puretech.co.in/ 77 Atlanta. Nariman

RE: [Zope] MySQL transaction support (was: MySQL Select Statements)

2000-07-03 Thread Andy Dustman
On Mon, 3 Jul 2000, Monty Taylor wrote: Why not have one ZmySQLDA that attempts to determine whether it is transactional or not when the connect method is executed. That way you could have a DA connect to your 3.22 database, upgrade your database to 3.23.15 and not see any problems. A

Re: [Zope] Deinstalling Products?!

2000-07-03 Thread Chris McDonough
Are you sure you deleted it from the right place? Also, did you delete it from the Products Management screen of the control panel? Jonathan wrote: Hi all, Removed a product from the Products folder, but Zope still seems to import it from a folder that is not there anymore. Does Zope

[Zope] Cannot create ZPygresql connection

2000-07-03 Thread Oleg Broytmann
Hello! Zope 2.1.4 and 2.20b3 on the same machine, same Postgres server; 2.1.4 can connect, 2.20b3 cannot: upon creation of ZPygresql Connection Zope throws BadRequest error. Oleg.(All opinions are mine and not of my employer) Oleg Broytmann Foundation for Effective

[Zope] dtml-try error in 2.2.0b3?

2000-07-03 Thread Stefan Franke
When rendering a DTML document with the following content dtml-var standard_html_header dtml-try dtml-var "1/0" dtml-except ZeroDivisionError 1/0 failed /dtml-try dtml-var standard_html_footer Zope reports Error Type: TypeError Error Value: unexpected keyword argument:

Re: [Zope] dtml-try error in 2.2.0b3?

2000-07-03 Thread Martijn Pieters
On Mon, Jul 03, 2000 at 06:41:45PM +0200, Stefan Franke wrote: When rendering a DTML document with the following content dtml-var standard_html_header dtml-try dtml-var "1/0" dtml-except ZeroDivisionError 1/0 failed /dtml-try dtml-var standard_html_footer Zope

[Zope] 2.2b3 and absolute_url wrong?

2000-07-03 Thread Ron Bickers
I have a folder "RSSChannels" with a few RSSChannel instances in it, one of which is called 'zopenews'. There is also a DTML Method called 'view_all" that displays the channel contents. In Zope 2.1.4, both of the following code snippets resulted in

[Zope] medusa question

2000-07-03 Thread Frank McGeough
Where does medusa look for html files by default? I have regular old html files that I'd like to make available without fiddling with Zope. Is that possible? ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No

[Zope] How do say wiki?

2000-07-03 Thread J. Michael Mc Kay
What would be an acceptible plural form of wiki, wikies wikis what? Thanks ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists -

[Zope] Local user groups (Virginia)

2000-07-03 Thread J. Michael Mc Kay
Does anyone here know of a local (Virginia, Richmond, Fredericksburg area) ZOpe/Python users group? ..checking for plain text setting. Yepsend. Thanks, J. Michael Mc Kay http://www.virginiaweb.com (under recon) ___ Zope maillist

Re: [Zope] medusa question

2000-07-03 Thread Martijn Pieters
On Mon, Jul 03, 2000 at 03:27:04PM -0400, Frank McGeough wrote: Where does medusa look for html files by default? I have regular old html files that I'd like to make available without fiddling with Zope. Is that possible? Not out of the box. ZServer, which is based on Medusa, doesn't support

Re: [Zope] Rewrite rules

2000-07-03 Thread Tino Wildenhain
Hi System Administrator wrote: Hi can any one help me with the rewrite rules ? i'm stuck. the ones on the zope documentation don't seem to be working for me . You mean for apache? These are regular expressions as in perl or module re in python. The rewrite module of Apache is

Re: [Zope] medusa question

2000-07-03 Thread Gary Shears
have regular old html files that I'd like to make available without fiddling with Zope. Is that possible? Not out of the box. ZServer, which is based on Medusa, doesn't support serving of HTML files from the local file system, it noly serves content out of Zope itself. Slightly off

[Zope] File referencing and LocalFS

2000-07-03 Thread Rogerio Atem de Carvalho
I am using LocalFS to refer to a directory structure like this: folder1 | folder11 There are image (.jpg) files in both folders. I have two questions about this: 1)Folders names are directly related to string fields in a MySQL database which use spaces between words (eg New

Re: [Zope] Fun with Trees

2000-07-03 Thread Dieter Maurer
Charlie Wilkinson writes: On Mon, Jul 03, 2000 at 09:35:06AM +0200, Rik Hoekstra waxed eloquent: Charlie Wilkinson writes: [...] I'm trying to use dtml-tree to create a selective menu of objects based on whether or not the object has an "add_to_menu" property. [...] [rh]

Re: [Zope] Deinstalling Products?!

2000-07-03 Thread Jonathan
Are you sure you deleted it from the right place? Also, did you delete it from the Products Management screen of the control panel? Erhm, stupid me. No, I didn't try that, just removed the folder. Thnx Jonathan ___ Zope maillist - [EMAIL PROTECTED]

Re: [Zope] Local user groups (Virginia)

2000-07-03 Thread Shane Hathaway
"J. Michael Mc Kay" wrote: Does anyone here know of a local (Virginia, Richmond, Fredericksburg area) ZOpe/Python users group? You do know where Digital Creations is located, don't you? You ought to pay us a visit. :^) Shane ___ Zope

[Zope] File referencing and LocalFS

2000-07-03 Thread Dan L. Pierson
Rogerio Atem de Carvalho writes: 1)Folders names are directly related to string fields in a MySQL database which use spaces between words (eg New York), but folders names don't use spaces (eg NewYork). How can I skip spaces from database fields to make them refer to these folders

Re: [Zope] medusa question

2000-07-03 Thread Adam Karpierz
Where does medusa look for html files by default? I have regular old html files that I'd like to make available without fiddling with Zope. Is that possible? Yes , but through use Medusa as standalone server. Look at http://www.nightmare.com/medusa/index.html Download

[Zope] Uh, I think I goofed (running as root)

2000-07-03 Thread Gary Shears
Also keep in mind that Zope does not run as "root", so if you are running on a Unix-like system such as Linux, even if Zope were fully compromised an intruder would still have to find a security hole in something else before it's possible to write to arbitrary files. I just checked the

Re: [Zope] Uh, I think I goofed (running as root)

2000-07-03 Thread Shane Hathaway
Gary Shears wrote: Also keep in mind that Zope does not run as "root", so if you are running on a Unix-like system such as Linux, even if Zope were fully compromised an intruder would still have to find a security hole in something else before it's possible to write to arbitrary files.

Re: [Zope] Is there a better way to code this?

2000-07-03 Thread Dieter Maurer
Luke Tymowski writes: To have Zope ignore the footer code in one place but still display footer code on other pages, I've resorted to this: dtml-with history dtml-with 2000 dtml-in "objectValues(['DTML Document'])" size=3 sort=title reverse dtml-call

Re: [Zope] ZCatalog pointing to wrong object.

2000-07-03 Thread Dieter Maurer
Bart Holthuijsen writes: I have been having some problems with ZClasses and the Catalog. I made a new Catalogaware External Product, based mostly on the Boring and Photo products. When I add an instance to a folder the Catalog is updated, but doesn't point to the right object. ZCatalog

Re: [Zope] calling standard_html_header from external methods

2000-07-03 Thread Dieter Maurer
Daryl Tester writes: Dieter Maurer wrote: The __call__ function of DTML methods gets the following arguments: client=None, mapping=None, **kw. You therefore may call it: "self.standard_html_header(self,REQUEST)" or "self.standard_html_header(None,REQUEST)". And what's

Re: [Zope] MySQL transaction support (was: MySQL Select Statements)

2000-07-03 Thread Hannu Krosing
Andy Dustman wrote: There are two factors which determine whether or not transactions can be supported. Actually, there's only one, but it can't be directly tested for: 1) If the server version (easily obtained upon establishing the connection) is 3.23.15, transactions are definitely

[Zope] basic FSSession question

2000-07-03 Thread Leichtman, David J
I'm probably missing something really key here, but I'm having difficulty doing multiple sessions in FSSession. I have a session and then, say, take some form data and push it to the session. If I'm on a different machine (different cookie / different SessionUID), and I get different form data

Re: [Zope] Proxy role bug (or feature)

2000-07-03 Thread R. David Murray
On Fri, 30 Jun 2000, Ng Pheng Siong wrote: 2. ngps adds a user in 'junk' called 'user2', with roles 'owner', 'manager' and 'proxy_for_agf'. 3. Login as 'user2'; 'user2' is now able to assign the role 'proxy_for_agf' to the above-mentioned DTML method 'view_agf'. This proxy role

Re: [Zope] MySQL transaction support (was: MySQL Select Statements)

2000-07-03 Thread Andy Dustman
On Tue, 4 Jul 2000, Hannu Krosing wrote: AFAIK the transaction support is enabled on table-by-table basis, so there is no way to know for sure if transactions are supported/partially-supported/unsupported for a particular set of queries True enough. There are several problems here: 1)

Re: [Zope] basic FSSession question

2000-07-03 Thread Pavlos Christoforou
On Mon, 3 Jul 2000, Leichtman, David J wrote: overwrites the other data, implying that it's the same SessionUID. I thought that calling dtml-call FSSession from a different machine, would then create a new session with the SessionUID stored on that machine. How, then, do I get multiple

[Zope] New for download: Image.py that is border-aware

2000-07-03 Thread Jon Franz
The subject says it all... no more dtml-var "foo.tag(border=0)" type schtuff... http://www.zope.org/Members/Coventry/Border_aware_image Note: this was created, and tested, on Zope 2.1.6 - newer installations, or those with modifications to thier Image.py file in zope-home/lib/python/OSF should

[Zope-dev] customizing Zope HTTP logs

2000-07-03 Thread Brian Takashi Hooper
Hi there - I want to customize the format of Zope's HTTP logs for a certain project, so, reading the code I can see that the log() method of medusa's http_request is used for this. In order to customize the log format, I can of course just edit http_server.py to change the http_request's log()

Re: [Zope-dev] ZPatterns Specialist Question

2000-07-03 Thread Steve Alexander
Chris Withers wrote: Just a quickie: If, as the the ZPatterns Wiki states, 'Specialists are not classes', then why is there a 'Specialist' python class in the ZPatterns distribution? ZClasses are coded (implemented) using Python classes, and each instance of a ZClass represents a

Re: [Zope-dev] ZPatterns Specialist Question

2000-07-03 Thread Chris Withers
Steve Alexander wrote: I think you're getting your levels of abstraction confused with your meta-levels of abstraction :-) Confused? when talking about ZPatterns? n e v e r ;-) Chris ___ Zope-Dev maillist - [EMAIL PROTECTED]

[Zope-dev] Zope Add-on Installation

2000-07-03 Thread Chris Withers
Hi, Zope currently has two ways of distributing products: 1. Tarballs containing python products 2. .zexps containing methods, ZClass products and the like. Things are now getting bad as products are emerging (PTK, Tracker, etc) which require both of these to get a single product working which

[Zope-dev] More Image Errors

2000-07-03 Thread Chris Withers
Hi, does anyone know what's causing the following problems? I'm going to knock up a patch for this anyway and chuck it in the collector. As a rule, I don't think a browser providing duff information should cause Zope to throw errors... cheers, Chris Automatic Zope Response wrote: Zope

Re: [Zope-dev] More Image Errors

2000-07-03 Thread Chris Withers
Chris Withers wrote: I'm going to knock up a patch for this anyway and chuck it in the collector. The patch (which is for the latest CVS, but shouldn't be too hard to modify for other versions ;-) Chris === RCS file:

[Zope-dev] More comments on ZPatterns

2000-07-03 Thread Chris Withers
From a mail about the LinuxTag conference: P.S. ABout ZPatterns: everyone I spoke to was thought the basic idea behind ZPattern was good and sound and nice and so on. But _everyone_ complained about it being too pretentious (with all the computer science claims and theory behind it) and

Re: [Zope-dev] Product Data Storage

2000-07-03 Thread Martijn Pieters
On Fri, Jun 30, 2000 at 12:48:54PM -0700, Loren Stafford wrote: I haven't thought much about this; I just followed mj's original design. Maybe there was some reason for this decision. Any comment Martijn? Loren Stafford wrote: In that case we decided to put the Schedule in the root

Re: [Zope-dev] Zope Add-on Installation

2000-07-03 Thread Jimmie Houchin
Here is a page by Butch Landingin at http://www.zope.org/Members/butchland/ZopePackProposal He talks about the need for a Zope Pack Manager. Or maybe that should be Zope Package Manager? :) It would be nice to have a single unified way of preparing apps, products or whatever for distribution.

[Zope-dev] Tree Tag question: from zope 1.x to zope 2.x

2000-07-03 Thread Gilles Lavaux
Hello, I want to display the content of a site starting from a folder called 'Site' with a tree tag. I want also to render immediately inside the tree the documents with an ID=='PUBLIC_Doc'. In Zope 1.x I have a working dtml method like this: !--#var standard_html_header-- !--#tree Site

Re: [Zope-dev] Zope Add-on Installation

2000-07-03 Thread Chris Withers
Jimmie Houchin wrote: It would be nice to have a single unified way of preparing apps, products or whatever for distribution. The process be nicely automated or provide a user interface for building the distributable. The install process would also need to be just as painless. Totally agree.

Re: [Zope-dev] More comments on ZPatterns

2000-07-03 Thread Steve Spicklemire
So let's start throwing some brute force hacking at the problem! ;-) From a mail about the LinuxTag conference: P.S. ABout ZPatterns: everyone I spoke to was thought the basic idea behind ZPattern was good and sound and nice and so on. But _everyone_ complained about it

[Zope-dev] INSTANCE_HOME

2000-07-03 Thread Andy Dawkins
does anybody know where REQUEST['INSTANCE_HOME'] disappeared to between Zope version 2.1.4 and version 2.1.6. Furthermore is it likely to reappear or has it been succeeded by some other key. Cheers, -Andy Dawkins ___ Zope-Dev maillist - [EMAIL

Re: [Zope-dev] Product Data Storage

2000-07-03 Thread Monty Taylor
Just my $0.02 worth... If you can at all avoid it, I think you should find a way to store it in the ZODB. Maybe a Configuration product that would allow you to create arbitrary configuration information and still be able to access it without making filesystem calls. Think about DC's Zope on

[Zope-dev] Bug fix: ZCatalog doesn't add vocabulary if vocab_id is omitted inmanage call.manage call.

2000-07-03 Thread R. David Murray
In both 2.2.0b3 and a CVS checkout from 7/1, there's a small bug in ZCatalog.manage_addZCatalog. If you call it and don't supply a vocab_id argument, vocab_id defaults to None. But the code turns that into the *string* "None", and when ZCatalog's init method sees that it thinks its a real

Re: [Zope-dev] Comments on ZPatterns

2000-07-03 Thread Ty Sarna
In article [EMAIL PROTECTED], Chris Withers [EMAIL PROTECTED] wrote: 1. Too much jargon... by far... Lots of complicated words that are meanlingless to the layman and don't help to convey the concepts. This Can you point out some examples of which ones you think are especially bad? is

Re: [Zope-dev] Racks and Specialists Simplified

2000-07-03 Thread Ty Sarna
In article [EMAIL PROTECTED], Steve Alexander [EMAIL PROTECTED] wrote: If it isn't there (hiding somewhere), perhaps I can add it from Shane's original email? If it isn't there already, by all means, please add it! ___ Zope-Dev maillist - [EMAIL

[Zope-dev] BTreeFolder released

2000-07-03 Thread Shane Hathaway
Zopistas, I had some inspiration today and discovered a simple way to write a BTreeFolder implementation. http://www.zope.org/Members/hathawsh/BTreeFolder/ It works better than I thought it would. It allows you to store thousands (well, I've tested it with only 1536, but I don't know of any

[Zope-dev] dcoracle problem..

2000-07-03 Thread Christian Scholz
Hi! Maybe someone has had this before and knows a solution: I am having a stored procedure proc1 and I am calling it twice: dbc=DCOracle.Connect("secret!") c=dbc.cursor() dbc.procedures.my_pkg.proc1(c) print c.fetchall() c.close() dbc.procedures.my_pkg.proc1(c) print c.fetchall() In proc1 it

Re: [Zope-dev] Zope Add-on Installation

2000-07-03 Thread Dieter Maurer
Chris Withers writes: Hi, Zope currently has two ways of distributing products: 1. Tarballs containing python products 2. .zexps containing methods, ZClass products and the like. Things are now getting bad as products are emerging (PTK, Tracker, etc) which require both of these

[Zope-dev] New for download: Image.py that is border-aware

2000-07-03 Thread Jon Franz
The subject says it all... no more dtml-var "foo.tag(border=0)" type schtuff... http://www.zope.org/Members/Coventry/Border_aware_image Note: this was created, and tested, on Zope 2.1.6 - newer installations, or those with modifications to thier Image.py file in zope-home/lib/python/OSF should

[Zope-dev] ZCatalog lexicon bug is back?

2000-07-03 Thread R. David Murray
This is distressing. I'm building a new shopping cart site, and doing it under 2.2.0 CVS (as of 7/1). I've added four items. If I search for certain keywords that I know only appear on one item, I get two items returned. The other item has no trace of the specified keyword. This sounds very

[Zope-dev] Announce: ZScheduler alpha Version 0.0.7

2000-07-03 Thread Loren Stafford
ZScheduler Version 0.0.7 Date: 2000/07/02 1. Fixed a bug that caused ZEvents to execute in the wrong context. 2. If the action method of a ZEvent raises an error, a traceback is written in the log. 3. Added a Trigger tab to the management screen for ZEvents which fires the event in the same

Re: [Zope-dev] bug in zpatterns-0.4 ?

2000-07-03 Thread Phillip J. Eby
At 11:54 AM 6/27/00 +0400, Jephte CLAIN wrote: mike wrote: There is no way to infinite recursion if Rack.getItem is leaved untouched. Ah ah. But people will touch it. Like me for example :-) There is no way to prevent overriding getItem from a ZClass for example. And it *will* recurse

Re: [Zope-dev] Racks and Specialists Simplified

2000-07-03 Thread Phillip J. Eby
By all means, feel welcome. I've been on vacation a while. At 02:29 PM 6/28/00 +0100, Steve Alexander wrote: I just looked over the ZPatterns Wiki for Shane's explanation, but I can't find it. If it isn't there (hiding somewhere), perhaps I can add it from Shane's original email?