Re: [Zope] xmldocument

2001-01-10 Thread Chris McDonough
Relational database adapters (like ZOracleDA, etc.) are currently not compatible with subtransactions. I worked around this for a customer by adding dummy commit_sub and abort_sub methods to the database adapter's DB class, e.g. def commit_sub(*arg, **kw): pass def abort_sub(*arg, **kw): pass

Re: [Zope] xmldocument

2001-01-10 Thread Phil Harris
Chris, This occurs using the bog-standard ZODB as well, nothing to do with any other storage facility. Phil - Original Message - From: "Chris McDonough" [EMAIL PROTECTED] To: "Phil Harris" [EMAIL PROTECTED]; [EMAIL PROTECTED]; [EMAIL PROTECTED] Sent: Wednesday, January 10, 2001 9:27 AM

Re: [Zope] xmldocument

2001-01-10 Thread Phil Harris
Bak, I can't help you fix it but I can tell you what the problem is, the file is too big for Zope to cope with in one transaction so it starts a sub-transaction and there is a bug in the sub-transactioning engine. The same thing happens with a normal 'File' type as well. You should probably

[Zope] List of New products

2001-01-10 Thread Francois-regis Chalaoux
It was a great idea to get the list of product sort on date in download zone. Today appears only categories and product annonced in news. So, is it a maintenance period or a stable presentation of products ? FRC. ___ Zope maillist - [EMAIL

Re: [Zope] xmldocument

2001-01-10 Thread [EMAIL PROTECTED]
On Wednesday 10 January 2001 16:56, Phil Harris wrote: Bak, I can't help you fix it but I can tell you what the problem is, the file is too big for Zope to cope with in one transaction so it starts a sub-transaction and there is a bug in the sub-transactioning engine. The same thing

[Zope] Re: [Zope-dev] ZCatalog and 'fuzzy logic'

2001-01-10 Thread Morten W. Petersen
I do not think that "fuzzy logic" is strongly related to "regexp-like". Anyway. Fuzzy searching often means "finding matches with characters omitted, replaced or inserted". It seems I misunderstood the term fuzzy logic myself. Fuzzy logic means if I search for a word, for example

Re: [Zope] xmldocument

2001-01-10 Thread Chris McDonough
I've never seen that failure mode.. It'd be nice to get a reproducible bug out of it. - Original Message - From: "Phil Harris" [EMAIL PROTECTED] To: "Chris McDonough" [EMAIL PROTECTED]; [EMAIL PROTECTED]; [EMAIL PROTECTED] Sent: Wednesday, January 10, 2001 4:09 AM Subject: Re: [Zope]

RE: [Zope] Tux Zope?

2001-01-10 Thread Jonathan \(Listserv Account\)
This is precisely what Zope's new cache management architecture is designed to do. Just create the site then install a cache manager object such as an "Accelerated HTTP Cache Manager", available in the StandardCacheManagers product. Visit the "Associate" tab of the cache manager to locate

[Zope] permissions problem upgrading to 2.3.0a1 from 2.1.6

2001-01-10 Thread Jerome Alet
Hi, I've been using 2.1.6 for a long time without any problem, using a home compiled python 1.5.2 Yesterday I've tried to upgrade to 2.3.0a1 the following way: export each and every home made sites and products (ZClasses) from 2.1.6 stop 2.1.6 install 2.3.0a1 and start it import each and every

[Zope] Import problem

2001-01-10 Thread Andreas Tille
Hello, I tried to create my first class following a tutorial. I exported the rudimentary class via export function. Now I wanted to import it on my laptop to continue working on it but importing failed with the message: The object my_class_name does not support this operation What could

Re: [Zope] xmldocument

2001-01-10 Thread [EMAIL PROTECTED]
On Wednesday 10 January 2001 17:55, Chris McDonough wrote: I've never seen that failure mode.. It'd be nice to get a reproducible bug out of it. this is wierd. with new install of zope2.16, zope2.20, zope2.2.5 - XMLDocunebt add works great. no error. but with zope2.2.5 (with all other

[Zope] Holiday Calendar anyone?

2001-01-10 Thread peter bengtson
I've been asked to put up a Holiday Calendar on our Intranet by my HR. We're currently using Squishdot and EventFolder for the Intranet frontpage. Does anybody have or know of anything that might save me some time? Doesn' ___ Zope maillist - [EMAIL

Re: [Zope] Holiday Calendar anyone? (cont.)

2001-01-10 Thread Joachim Werner
Doesn't have to be a Zope product. Not even Python for that matter. Just as long as it is possible to _integrate_ with a zope site. Depends on WHEN you need it ... By end of January/early February we'll have a groupware thingy ready that will do things like holiday planning etc. (and much

Re: [Zope] List of New products

2001-01-10 Thread Joachim Werner
On Wednesday 10 January 2001 10:04, Francois-regis Chalaoux wrote: It was a great idea to get the list of product sort on date in download zone. Today appears only categories and product annonced in news. So, is it a maintenance period or a stable presentation of products ? There is a link

[Zope] Holiday Calendar anyone? (cont.)

2001-01-10 Thread peter bengtson
[ sorry for the broken up email. I accidently pushed Ctrl+Return] ... Doesn't have to be a Zope product. Not even Python for that matter. Just as long as it is possible to _integrate_ with a zope site. Thanks, Peter ___ Zope maillist - [EMAIL

RE: [Zope] Holiday Calendar anyone? (cont.)

2001-01-10 Thread Magnus Heino (Rivermen)
By end of January/early February we'll have a groupware thingy ready that will do things like holiday planning etc. (and much more ...) Where can we look at a preview? :) /Magnus ___ Zope maillist - [EMAIL PROTECTED]

Re: [Zope] Caching/http-acceleration and proxying Zope-served con tent

2001-01-10 Thread Toby Dickenson
On Mon, 08 Jan 2001 14:34:20 -0800, [EMAIL PROTECTED] wrote: If it supports the ability to direct traffic based upon the virtual host address, then squid works Yes, squid can do this using a redirector; an external program to rewrite urls. Toby Dickenson [EMAIL PROTECTED]

[Zope] REPOST: dtml-with doesn't work

2001-01-10 Thread Mayers, Philip J
Hopefully that will get someone's attention. I have an SQL method that returns (name,domain,otherstuff) I have a DTML method (/root/host/show) that looks like this: dtml-comment 'name' and 'domain' are set to the primary hostname and domain at this point by whatever calls this DTML method

[Zope] Memory problems

2001-01-10 Thread Tom Deprez
Hi, Since a few days I'm experiencing some response problems on my zope site. At some moments calling a page goes very fast a few seconds later, recalling this page takes very long! At the end, every page takes long time, if they ever appear If I use a simple memory checker program, then I

Re: [Zope] Special-name of variables called 'name' or 'domain'

2001-01-10 Thread Chris Withers
"Mayers, Philip J" wrote: snip Try this: Change your show method in root to be as follows: dtml-in get_machine_hosts dtml-var show_row dtml-in get_host_aliases dtml-var show_row /dtml-in /dtml-in And add another DTML method in root as follows: show_row: TR TDdtml-var ip missing/TD

RE: [Zope] Special-name of variables called 'name' or 'domain'

2001-01-10 Thread Mayers, Philip J
That was how I had the code originally. Didn't help. I've already read the Zope 'book' (if I were using 2.3 (which I can't, because LoginManager doesn't work OOTB), I'd be using Python methods to do most of this instead. I'm not, I'm using 2.2.5) Thanks anyway. Regards, Phil

Re: [Zope] SQL Method, dtml-with and namespace weirdness

2001-01-10 Thread Chris Withers
"Mayers, Philip J" wrote: Change your show method in root to be as follows: dtml-in get_machine_hosts dtml-var show_row dtml-in get_host_aliases dtml-var show_row /dtml-in /dtml-in And add another DTML method in root as follows: show_row: TR TDdtml-var ip

RE: [Zope] SQL Method, dtml-with and namespace weirdness

2001-01-10 Thread Mayers, Philip J
Sorry - I'm being unclear: the result is exactly the same either way i.e. the variables "name" and "domain" seem to be reset to the values from outside the dtml-in block when entering the dtml-with block. I'm wondering if it's a bug in the postgres DA, since I can't reproduce it with a quick

[Zope] get property of type 'list'

2001-01-10 Thread Andrei Belitski
Hi! I add a list property to a DTML document of type 'tokens' (e.g. '[1, 2, 3]') wenn i try to retrieve it with _.getitem i get '[1,' '2,' '3]' instead of '1' '2' '3' How can I get Zope to interpret my property like a list not a string or whatever else? Thank you in advance!

Re: [Zope] SQL Method, dtml-with and namespace weirdness

2001-01-10 Thread Chris Withers
"Mayers, Philip J" wrote: Sorry - I'm being unclear: the result is exactly the same either way i.e. the variables "name" and "domain" seem to be reset to the values from outside the dtml-in block when entering the dtml-with block. Change your show method in root to be as follows:

RE: [Zope] SQL Method, dtml-with and namespace weirdness

2001-01-10 Thread Mayers, Philip J
Ok, using Postgresql 7.0.2-2, PoPo 2.0.1, ZPoPyDA 1.1-pre2, Zope 2.2.5, here's a reproducible scenario: Create the following tables in your database: create table bugtest1 ( name text, domain text, ); create table bugtest2 ( name text, domain text, refer text, foreign key(refer) references

[Zope] MySQLDA and MySQL-python - patch needed?

2001-01-10 Thread paul_s_johnson
My Zope-MySQL connection is still not quite working. It appears that the request from Zope is reaching MySQL and it if is an UPDATE or INSERT query it executes properly on the MySQL side. However, SELECT queries and similar are not getting their information back to Zope from MySQL. Is there some

RE: [Zope] get property of type 'list'

2001-01-10 Thread Max Møller Rasmussen
From: Andrei Belitski [mailto:[EMAIL PROTECTED]] I add a list property to a DTML document of type 'tokens' (e.g. '[1, 2, 3]') wenn i try to retrieve it with _.getitem i get '[1,' '2,' '3]' instead of '1' '2' '3' How can I get Zope to interpret my property like a list not a string or whatever

[Zope] ZWikiWebs Product

2001-01-10 Thread Matthew Monacelli
Has anyone else had trouble using the ZWikiWeb product? As Manager, there are no problems, but users I have added cannot add ZWikiWebs in their own folders. While already logged in, a login box comes up, meaning they do not have the necessary permissions. When I cancel the box, I get the Zope

[Zope] Storing and Using Object references

2001-01-10 Thread Tom Jenkins
Hello all, i have a question and I hope someone can point me in the right direction to solve it. I need one zope object to hold a reference to another zope object so the first object can call methods of the second object. oh, these are python classes. Example: object 1 is :

[Zope] Design/DTML question

2001-01-10 Thread Timothy Wilson
Hi everyone, I'm working on a Web page for our local school board. I'd like to create a table that would display links to past board meeting minutes. The table would look like this: (Note: dates are bogus) +---+ | Meeting Minutes | |

RE: [Zope] Design/DTML question

2001-01-10 Thread Max Møller Rasmussen
From: Timothy Wilson [mailto:[EMAIL PROTECTED]] Right now, I've got the dates stored in a TinyTable. I can iterate through that list and generate the links, but I can't figure out how to display the table in two columns. table width=100% border=0 cellpadding=4 tr align=left valign=top dtml-in

Re: [Zope] Storing and Using Object references

2001-01-10 Thread Andy McKay
If you call /container1/container1a/container2/container2a/item1, you can call methods on anything in the path... You could access it through dtml from 1-2 as dtml-with "container1.container1a.item1"dtml-call method/dtml-with You could get object2 in using getItem... -- Andy McKay. -

[Zope] HOW TO UNLOCK????

2001-01-10 Thread Rommel Novaes Carvalho
WE NEED TO UNLOCK A VERSION THAT DOES NOT EXIST ANY MORE!! HOW CAN WE DO IT?! A USER DELETED A VERSION THAT SOMEONE ELSE WAS USING, AND WE CAN NOT QUIT THIS VERSION!! AND WE CANNOT UNDO!!! HELP US!! ___ Zope maillist - [EMAIL PROTECTED]

RE: [Zope] xmldocument

2001-01-10 Thread sean . upton
Do you have an example of the XML you are trying to use? File size, in bytes? Just curious, as I have had no problems with XMLDocument (in Zope 2.1.x and 2.2.x) working with newspaper stories from AP online in NITF XML... Sean -Original Message- From: Bak@kedai [mailto:[EMAIL

[Zope] Proximity searches w/ ZCatalog

2001-01-10 Thread sean . upton
Supposedly proximity searches are possible... like "FIDELITY within 8 words of MUTUAL FUNDS." Can't find anything in docs. Anybody have a suggestion here... Thanks, Sean = Sean Upton Senior Programmer/Analyst SignOnSanDiego.com The San Diego Union-Tribune 619.718.5241

Re: [Zope] Proximity searches w/ ZCatalog

2001-01-10 Thread Andy McKay
Really using ZCatalog? I've never heard of that. There some globbing searches *? etc, but nothing like that is readily apparent from the API. Sounds like an interesting (ie complicated) idea... -- Andy McKay. - Original Message - From: [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent:

[Zope] Fw: [Zope] HOW TO UNLOCK????

2001-01-10 Thread Andy McKay
- Original Message - From: "Andy McKay" [EMAIL PROTECTED] To: "Rommel Novaes Carvalho" [EMAIL PROTECTED] Sent: Wednesday, January 10, 2001 9:11 AM Subject: Re: [Zope] HOW TO UNLOCK Please dont post in CAPS, you are more likely not to get a response. Heres one idea, the

Re: [Zope] Proximity searches w/ ZCatalog

2001-01-10 Thread Chris Withers
[EMAIL PROTECTED] wrote: Supposedly proximity searches are possible... like "FIDELITY within 8 words of MUTUAL FUNDS." Can't find anything in docs. Anybody have a suggestion here... Yeah, I think you'd put "FIDELITY ... MUTUAL FUNDS" in the search box. I think Dieter Maurer [EMAIL

Re: [Zope] Storing and Using Object references

2001-01-10 Thread Tom Jenkins
Hi Andy, Thanks for the feedback. Yes I see that I can call the methods using the url (which will give me the object) but I thought that was only in dtml. I need to access the object in my python code. that's the struggle I'm having. or did I miss something in your response? Tom "Andy

RE: [Zope] HOW TO UNLOCK????

2001-01-10 Thread Farrell, Troy
Did you try deleting the cookie on the browser? Please don't yell. Troy -Original Message- From: Rommel Novaes Carvalho [mailto:[EMAIL PROTECTED]] Sent: Wednesday, January 10, 2001 10:28 AM To: '[EMAIL PROTECTED]' Subject: [Zope] HOW TO UNLOCK WE NEED TO UNLOCK A VERSION THAT

Re: [Zope] Storing and Using Object references

2001-01-10 Thread Andy McKay
In python its even easier, and depends what you are doing. Basically you want to get a handle to another object so you can do something along the lines of obj = self.container1.containter1a.item1 result = obj.mymethod() there are many funky variations on that of course. There's also interfaces

[Zope] raw search on a ZClass

2001-01-10 Thread aZaZel
Hi! I have some ZClass istances that are catalog-aware. Someone knows how to do raw (full text) searches over all the property values of the istances? I have tried the "raw" index trick used for other object types but without success. Or maybe another way to do the thing . Thanks in advance

Re: [Zope] ZWikiWebs Product

2001-01-10 Thread Marty Stitt
I have a 2.2.5 based system with the Yihaw and ZWikiWeb products installed. When I try to add a ZWikiWeb within a Yihaw folder, I experienced a permissions problem that sounds like what you describe. But, I did find that I could install a wiki object within a standard Folder object without

RE: [Zope] Design/DTML question

2001-01-10 Thread Dennis Nichols
At 1/10/01 04:44 PM, Max Mller Rasmussen wrote: From: Timothy Wilson [mailto:[EMAIL PROTECTED]] Right now, I've got the dates stored in a TinyTable. I can iterate through that list and generate the links, but I can't figure out how to display the table in two columns. alternating column

[Zope] ZGDChart

2001-01-10 Thread Olaf Zanger
hi there, a great product, just i want to have a form to enter some parameters for the SQL Method call. since zgdchart-product calls the SQL Method i don't know how to pass the parameters. does anybody has an idea? thanks olaf -- soli-con Engineering Zanger Dipl.-Ing. (FH) Olaf Marc

Re: [Zope] inserting half a dtml tag into a zclass

2001-01-10 Thread Tim Hicks
- Original Message - From: Dieter Maurer [EMAIL PROTECTED] To: Tim Hicks [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Sent: Friday, December 29, 2000 9:38 AM Subject: Re: [Zope] inserting half a dtml tag into a zclass Tim Hicks writes: This is a multi-part message in MIME format.

[Zope] reindex when a zclass is edited

2001-01-10 Thread Tim Hicks
I know this has been asked numerous times before (once by me!), and I'm sorry to cover the same ground again, but I've spent all afternoon searching through the list archives to no avail. I have a zclass that is catalogaware (selected first and all that). When I add an instance, it gets

RE: [Zope] Design/DTML question

2001-01-10 Thread Timothy Wilson
On Wed, 10 Jan 2001, Dennis Nichols wrote: Or, if you insist that dates flow down the columns like I do, you could use this untested revision of Max's solution: table width=100% border=0 cellpadding=4 tr align=left valign=top td width=50% dtml-in meetingDateTable

Re: [Zope] Trouble with dates in an External Method

2001-01-10 Thread Andy McKay
try this kind of whacky line: from DateTime.DateTime import DateTime you can then do date1= DateTime(str1) date2= DateTime(str2) if date1==date2: ... -- Andy McKay. - Original Message - From: "Steven Grimes" [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Tuesday, January 09,

Re: [Zope] reindex when a zclass is edited

2001-01-10 Thread Ivan Cornell
Tim Hicks wrote: I can't for the life of me figure out or find anywhere that can tell me how to make the instance get reindexed when it is edited. I'm assuming that it is similar to the process for reindexing when the properties are changed, but I'm just not sure of the details. If it's

Re: [Zope] ZWikiWebs Product

2001-01-10 Thread Simon Michael
Off the top of my head - you don't mention whether they have Add ZWiki Webs permission - presumably they do are you using the zwikiwebs.zexp shipped with zwiki ? The separate zwikiwebs product is due to be retired and not recommended. -Simon ___

Re: [Zope] Storing and Using Object references

2001-01-10 Thread Shane Hathaway
Tom Jenkins wrote: Hello all, i have a question and I hope someone can point me in the right direction to solve it. I need one zope object to hold a reference to another zope object so the first object can call methods of the second object. oh, these are python classes. Example:

Re: [Zope] slow DocumentTemplate (dtml) import speed

2001-01-10 Thread Dieter Maurer
Federico Grau writes: ... import of "DocumentTemplate" in CGI script takes too much time ... Check whether your Web Server supports FCGI. If the Web Server is Apache, then there are several Apache modules to integrate Python inside Apache. I think Guido van Rossum uses "mod_snake". Search

Re: [Zope] Memory problems

2001-01-10 Thread Dieter Maurer
Tom Deprez writes: ... potential memory leak ... You can use the program "top" to analyse memory usage. This will show you, which process[es] consume memory. If Zope does it, then you can use "Control Panel-Debugging" to get some hints where the leak may be. ... many Zope processes shown by

Re: [Zope] Holiday Calendar anyone? (cont.)

2001-01-10 Thread Dieter Maurer
peter bengtson writes: ... Holiday Calendar ... There is the "Calendar" product to display calendars. Of cause, it does not know, when there are holidays all over the world. The data displayed can be anywhere, for example in a database. If you have a small database with your holidays or other

Re: [Zope] Import problem

2001-01-10 Thread Dieter Maurer
Andreas Tille writes: Hello, I tried to create my first class following a tutorial. I exported the rudimentary class via export function. Now I wanted to import it on my laptop to continue working on it but importing failed with the message: The object my_class_name does

Re: [Zope] broken products not indicated after Zope 2.2.5 install

2001-01-10 Thread Dieter Maurer
Fred Yankowski writes: I just installed a full copy of Zope 2.2.5 onto my NT 4.0 SP 6 machine and then copied over my data.fs* files from Zope 2.2.3. Zope 2.2.5 comes up OK after that, but none of the Products in the Control Panel / Products folder is shown as broken, even though I have

Re: [Zope] Trouble with dates in an External Method

2001-01-10 Thread Dieter Maurer
Steven Grimes writes: This is a multi-part message in MIME format. --=_NextPart_000_0009_01C07A9E.4B9BD860 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Please do not post MIME messages to this list! ... external method does

Re: [Zope] permissions problem upgrading to 2.3.0a1 from 2.1.6

2001-01-10 Thread Dieter Maurer
Jerome Alet writes: ... permission problem upgrading ZClasses from 2.1.6 to 2.3a1 ... Are your ZClasses pure Zope ZClasses or do they contain Python based products? There was a big shift in security policy during Zope 2.1.x to Zope 2.2.x. Many Python based products need to be changed in order

[Zope] Deleting a Role Doesn't Appear to Remove Permissions

2001-01-10 Thread Jason Grigsby
Today I ran into an issue in Zope where even after you delete a role that the permissions associated with that role exist. If a user has that role assigned to them, whatever permissions where last assigned to that role will be available. To test this, I created a test file with the following

Re: [Zope] Adding many users

2001-01-10 Thread Shane Hathaway
Ragnar Beer wrote: Howdy Zopistas and happy new year! I need to add about 150 users to an acl_users folder and I wouldn't like to do it manually since the data already exists in a python list. What would be an elegant way to add them all with a python script? A script to put in

Re: [Zope] get property of type 'list'

2001-01-10 Thread Dieter Maurer
Andrei Belitski writes: I add a list property to a DTML document of type 'tokens' (e.g. '[1, 2, 3]') wenn i try to retrieve it with _.getitem i get '[1,' '2,' '3]' instead of '1' '2' '3' Are you sure, it was '[1,' '2,' '3]' and not ['1', '2', '3', '4']? If it were, it would be really

RE: [Zope] SQL Method, dtml-with and namespace weirdness

2001-01-10 Thread Dieter Maurer
Mayers, Philip J writes: I'm wondering if it's a bug in the postgres DA, since I can't reproduce it with a quick gadfly test. I'm just going to try it out now. That would be very astonishing, as a database adapter does not have anything to do with namespaces. Dieter

Re: [Zope] dtml-tree and a filtered objectValues

2001-01-10 Thread Dieter Maurer
Jim Hebert writes: DMTL method "y": OK, this works: My DTML Method, "y": dtml-return "objectValues(['Folder'])" ... used as: dtml-tree branches_expr="_['y']" ... causes: STRONGError Type: AttributeError/STRONGBR STRONGError Value: __getitem__/STRONGBR I tried

Re: [Zope] inserting half a dtml tag into a zclass

2001-01-10 Thread Dieter Maurer
Tim Hicks writes: II. I think (this implies, I am not sure), that ZPublisher translates exceptions into HTTP response codes. This would mean, you could try: In your "privacy" method: dtml-call "RESPONSE.redirect(...)" dtml-raise

Re: [Zope] REPOST: dtml-with doesn't work

2001-01-10 Thread Dieter Maurer
Usually, I complain that problem reports are too terse. But, your's was very big, such that I did not read it carefully. It is very difficult to get it right for everyone. Just a remark: SQL methods do *NOT* look at the DTML namespace *AT ALL*, just at REQUEST (or the expliciitly passed

Re: [Zope] Proximity searches w/ ZCatalog

2001-01-10 Thread Dieter Maurer
[EMAIL PROTECTED] writes: Supposedly proximity searches are possible... like "FIDELITY within 8 words of MUTUAL FUNDS." Can't find anything in docs. Anybody have a suggestion here... Zope supports some proximity searches, but it provides far less control than you ask for. The proximity

Re: [Zope] Memory problems

2001-01-10 Thread Dimitris Andrakakis
Dieter wrote: "ps" is still a bit stupid and does not visualize that they are threads rather than normal (full blown) processes. ps -axf ? Dimitris http://atlas.central.ntua.gr:8000 ___ Zope maillist - [EMAIL PROTECTED]

Re: [Zope] permissions problem upgrading to 2.3.0a1 from 2.1.6

2001-01-10 Thread Jerome Alet
On Wed, Jan 10, 2001 at 09:49:53PM +0100, Dieter Maurer wrote: Jerome Alet writes: ... permission problem upgrading ZClasses from 2.1.6 to 2.3a1 ... Are your ZClasses pure Zope ZClasses or do they contain Python based products? They contain some PythonMethods (not Scripts !), external

Re: [Zope] broken products not indicated after Zope 2.2.5 install

2001-01-10 Thread Fred Yankowski
I activated Zope logging as you suggested and restarted Zope, but the logfile does not report any exceptions. It only contains routine startup messages such as "ZServer HTTP server started ...". And the Products list still makes it look like they're all OK, when many are in fact broken by

Re: [Zope] Proximity searches w/ ZCatalog

2001-01-10 Thread Dieter Maurer
Chris Withers writes: [EMAIL PROTECTED] wrote: Supposedly proximity searches are possible... like "FIDELITY within 8 words of MUTUAL FUNDS." Can't find anything in docs. Anybody have a suggestion here... Yeah, I think you'd put "FIDELITY ... MUTUAL FUNDS" in the search box.

RE: [Zope] MySQLDA and MySQL-python - patch needed?

2001-01-10 Thread Ron Bickers
-Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of [EMAIL PROTECTED] Sent: Wednesday, January 10, 2001 9:30 AM To: [EMAIL PROTECTED] Subject: [Zope] MySQLDA and MySQL-python - patch needed? My Zope-MySQL connection is still not quite working. It

RE: [Zope] Design/DTML question

2001-01-10 Thread Dennis Nichols
At 1/10/01 01:22 PM, Timothy Wilson wrote: On Wed, 10 Jan 2001, Dennis Nichols wrote: Or, if you insist that dates flow down the columns like I do, you could use this untested revision of Max's solution stuff removed This doesn't seem to work. The if statement only evaluates to true the

Re: [Zope] dtml-tree and a filtered objectValues

2001-01-10 Thread Jim Hebert
On Wed, 10 Jan 2001, Dieter Maurer wrote: I tried to reproduce this in Zope 2.3 CVS. Sorry, shoulda mentioned, this error came from 2.2.4, and apologies for not testing against at least 2.2.5 first, I managed to miss its release entirely... (I still haven't gotten around to installing it so I

[Zope] SiteAccess and 2.3.0a2

2001-01-10 Thread Timothy Wilson
Hi everyone, I have Evan's excellent SiteAccess product installed on my 2.3.0a1 Zope as an add-on. Now that SiteAccess is part of the Zope core, how should I handle the upgrade. Can I simply recompile? -Tim -- Tim Wilson | Visit Sibley online: | Check out: Henry Sibley HS |

[Zope] ANNOUNCE: Zope 2.3.0 alpha 2 released

2001-01-10 Thread Brian Lloyd
Hello all, Zope 2.3.0 alpha 2 is now available. You can download it from Zope.org: http://www.zope.org/Products/Zope/2.3.0a2/ This release contains a number of new features, including: - SiteAccess is now a part of the Zope core - Shane Hathaway's CacheManager support and

[Zope] Re: [Zope-dev] ZCatalog and 'fuzzy logic'

2001-01-10 Thread Dieter Maurer
Morten W. Petersen writes: It seems I misunderstood the term fuzzy logic myself. Fuzzy logic means if I search for a word, for example 'programmer', it will return matches to the words 'program', 'programming','programmable' etc. This, usually, is called "stemming". Though, your examples

[Zope] Re: [Zope-dev] ZCatalog and 'fuzzy logic'

2001-01-10 Thread Casey Duncan
--- "Morten W. Petersen" [EMAIL PROTECTED] wrote: [snip] It seems I misunderstood the term fuzzy logic myself. Fuzzy logic means if I search for a word, for example 'programmer', it will return matches to the words 'program', 'programming','programmable' etc. I.e., it will somewhat

Re: [Zope] SiteAccess and 2.3.0a2

2001-01-10 Thread Evan Simpson
From: "Timothy Wilson" [EMAIL PROTECTED] I have Evan's excellent SiteAccess product installed on my 2.3.0a1 Zope Thank you. Now that SiteAccess is part of the Zope core, how should I handle the upgrade. Can I simply recompile? It's the same Product, with only cosmetic changes. If you're

[Zope] Re: [Zope-dev] ZCatalog and 'fuzzy logic'

2001-01-10 Thread Ken Manheimer
On Wed, 10 Jan 2001, Morten W. Petersen wrote: I do not think that "fuzzy logic" is strongly related to "regexp-like". Anyway. Fuzzy searching often means "finding matches with characters omitted, replaced or inserted". It seems I misunderstood the term fuzzy logic myself. Fuzzy

[Zope] does xml-rpc work with zope and pcgi/apache?

2001-01-10 Thread Roman Milner
I'm having problem getting xml-rpc calls to work with zope running on apache/pcgi. I'm using the python xml-rpc module to send an xml-rpc request that looks like this (when captured at the socket level): POST /asdf/1/ HTTP/1.0 User-Agent: xmlrpclib.py/0.9.5 Host: localhost: Content-Type:

[Zope] PoPy Installation. Where's the BEEF?

2001-01-10 Thread Eric Walstad
Hello all, After installing the ZPoPyDA product, restarting Zope and browsing to the Products interface, I see: ZPoPyDA Import Traceback Traceback (innermost last): File "/usr/local/Zope/lib/python/OFS/Application.py", line 397, in import_products product=__import__(pname, global_dict,

RE: [Zope] PoPy Installation. Where's the BEEF?

2001-01-10 Thread Magnus Heino (Rivermen)
The PoPy module is not installed So, it looks like I need to install PoPy. I went to Can anyone give me a pointer? http://freshmeat.net/search/?q=popy ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No

[Zope] log file.

2001-01-10 Thread Jason C. Leach
hi, Is the Zope log file in Common Log File Format? j. .. . Jason C. Leach ... University College of the Cariboo. .. ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or

RE: [Zope] PoPy Installation. Where's the BEEF?

2001-01-10 Thread Eric Walstad
AAKK! I just noticed something... -8-- Start Snip --8- ZPoPyDA Import Traceback Traceback (innermost last): File "/usr/local/Zope/lib/python/OFS/Application.py", line 397, in import_products product=__import__(pname, global_dict, global_dict, silly) File

RE: [Zope] Design/DTML question

2001-01-10 Thread Max M
From: Timothy Wilson Or, if you insist that dates flow down the columns like I do, you could use this untested revision of Max's solution: Oh typical spine reaction I didn't read the dates, just assumed that it was left/right as usual. This untested code might work then: (The no-break tag

[Zope-dev] How does a subclass call its ancestor's method in zope?

2001-01-10 Thread Dirksen
Here is a ZClass testa, with a dtml method 'do'. Its subclass testb overrides do. How does testb call its ancestor's 'do'? In python, it can be done as 'testa.do()', but what's the equivallent in zope? Dirksen __ Do You Yahoo!? Yahoo! Photos -

Re: [Zope-dev] ZCatalog and 'fuzzy logic'

2001-01-10 Thread Morten W. Petersen
I do not think that "fuzzy logic" is strongly related to "regexp-like". Anyway. Fuzzy searching often means "finding matches with characters omitted, replaced or inserted". It seems I misunderstood the term fuzzy logic myself. Fuzzy logic means if I search for a word, for example

[Zope-dev] patch to bring ZPatterns UI in line with 2.3 from CVS

2001-01-10 Thread Steve Alexander
If you're using ZPatterns or PlugIns with Zope 2.3 from CVS, you can update most of the ZPatterns user-interface to the new style be replacing lib/python/Products/PlugIns/www/main.dtml with this file: http://www.cat-box.net/steve/main.dtml -- Steve Alexander Software Engineer Cat-Box

[Zope-dev] AUTHENTICATION_USER in standard_error_message cause by NotFound error

2001-01-10 Thread Tim Ansell
newbie alert Hello. I've been using zope for a couple of months, i have found zope to be a great product and thank you for creating it. Currently i have run into a problem, i need to access the AUTHENTICATED_USER in a standard_error_message called by notFoundError in BaseRequest. I was

Re: [Zope-dev] Re: ComputedAttribute

2001-01-10 Thread Chris Withers
Martijn Pieters wrote: Erm. The ExtensionClass.stx documentation hints at a ComputedAttribute class (but as an example of how you could use an ExtensionClass). The current C implementation of ComputedAttribute is not, as far as I can see, documented. Now I think I know the answer to this

Re: [Zope-dev] Re: ComputedAttribute

2001-01-10 Thread Martijn Pieters
On Wed, Jan 10, 2001 at 04:13:49PM +, Chris Withers wrote: Martijn Pieters wrote: Erm. The ExtensionClass.stx documentation hints at a ComputedAttribute class (but as an example of how you could use an ExtensionClass). The current C implementation of ComputedAttribute is not, as far

Re: [Zope-dev] Re: ComputedAttribute

2001-01-10 Thread Chris Withers
Martijn Pieters wrote: ...with this class, your_attribute isn't going to play in Persistence, is it? (so I can update it lots without worrying about ZODB size growing... :-) Yup, this allows you to alias your_attribute to _v_your_attribute without creating an attribute that *will*

Re: [Zope-dev] python script

2001-01-10 Thread Zope mailing lists
On Tue, 9 Jan 2001 [EMAIL PROTECTED] wrote: Damnnation, Chris, everyone knows that it is supposed to be spelled Python Thingy. "I recently released 'zopectl', a Python Thingy"... 'Please go wash your hands before your shake hands with me!' Hmm. All kidding aside, Chris is right. This

Re: [Zope-dev] Re: ComputedAttribute

2001-01-10 Thread Martijn Pieters
On Wed, Jan 10, 2001 at 05:07:07PM +, Chris Withers wrote: If you want _set_your_attribute to be called, you need to override __setattr__: def __setattr__(self, name, value): setter = getattr(self, '_set_' + name, None) if setter: setter(value)

[Zope-dev] Security Machinery doesn't work on some objects?

2001-01-10 Thread Chris Withers
Hi there, I'm slightly confused by a class I have: class X(Persistent, Acquisition.Explicit): This class has no __roles__, no __ac_permissions__, no nothing... Instances of this class are stored within a special folderish class, Y. This folderish class has a __bobo_traverse__ which returns X

Re: [Zope-dev] AUTHENTICATION_USER in standard_error_message cause by NotFound error

2001-01-10 Thread Tim Ansell
Oppps, just realised i've been replying only to myself :) Umm okay here is the diff, it is from version 2.2.4 but should apply to most versions I have removed all the "print" debugging and cleaned up the formatting. Could people look it over and tell me if there are any hidden problems

Re: [Zope-dev] AUTHENTICATION_USER in standard_error_message cause by NotFound error

2001-01-10 Thread Tim Ansell
Forgot to attach the diff Forgive me it's 4:52am here Mithro Tim Ansell wrote: Oppps, just realised i've been replying only to myself :) Umm okay here is the diff, it is from version 2.2.4 but should apply to most versions I have removed all the "print" debugging and cleaned

Re: [Zope-dev] Aquisition.Acquired

2001-01-10 Thread Chris Withers
Shane Hathaway wrote: There's a (much) simpler way: class MyClass(Acquisition.Explicit): your_attribute = Acquisition.Acquired # index_html isn't index_html = None "Acquired" is a special object that the acquisition module looks for. Just noticed you can do this also:

  1   2   >