[Zope] http protocol

2001-01-26 Thread Oliver Vecernik
Hi all, I'd like to write an http client for an embedded system to get information from Zope. For debugging I want to see the traffic between the client and Zope (http protocol). How can this be achieved? Oliver ___ Zope maillist - [EMAIL

RE: [Zope] 2.3 and Products

2001-01-26 Thread Max Møller Rasmussen
From: Chris McDonough [mailto:[EMAIL PROTECTED]] This is not true. The behavior is the same as before... the plans to make restart optional were waylaid by complications. ;-( Another thing with products. Whenever I do a referesh with the refresh tab, another instance of the product shows up

Re: [Zope] Zope gets stuck

2001-01-26 Thread Gilles Lavaux
Hello, Yes, I have encountered this pb. Do you use the sendmail tag somewhere in your system? Gilles -Original Message- From: Shai Berger [EMAIL PROTECTED] To: [EMAIL PROTECTED] [EMAIL PROTECTED] Date: Thursday, January 25, 2001 2:27 PM Subject: [Zope] Zope gets stuck Hi guys, We've

[Zope] BUG: subtransaction not handled correctly in manage_addFile

2001-01-26 Thread Ian Sealy
Dear all, Does anyone fancy earning a bit of pocket money? I've got a Zope problem that I can't solve because my Python isn't good enough and my understanding of the ZODB is pretty much still zero. We've got a simple Zope application that allows users to upload files without going near the Zope

Re: [Zope] BUG: subtransaction not handled correctly in manage_addFile

2001-01-26 Thread Chris Withers
Ian Sealy wrote: We need to get this fixed ASAP so my boss has told me to send this message to the list and offer 400 pounds (sterling) to anyone who can fix this bug. Any takers? What version of Zope are you using? cheers, Chris ___ Zope

Re: [Zope] Editors [OT]

2001-01-26 Thread Ragnar Beer
What's speedbar mode? XEmacs (speedbar mode) Any ideas? I had to, love makes you do strange things. Oh, yes indeed ;) Ragnar ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML

Re: [Zope] BUG: subtransaction not handled correctly in manage_addFile

2001-01-26 Thread Ian Sealy
Dear Chris, We need to get this fixed ASAP so my boss has told me to send this message to the list and offer 400 pounds (sterling) to anyone who can fix this bug. Any takers? What version of Zope are you using? 2.2.5 on Red Hat 6.2. Zope version: Zope 2.2.5 (source release, python

Re: [Zope] http protocol

2001-01-26 Thread Jan Muenther
Hi, I'd like to write an http client for an embedded system to get information from Zope. For debugging I want to see the traffic between the client and Zope (http protocol). How can this be achieved? how about using a sniffer which can follow a tcp stream (e.g. ethereal)?? -- Radio

Re: [Zope] Editors [OT]

2001-01-26 Thread Geoffrey L. Wright
Michel Pelletier [EMAIL PROTECTED] writes: On Thu, 25 Jan 2001, Chris Withers wrote: [...] - FTP or WebDAV editing built in as standard (or alternative solution, like cadaver making it work ;-) XEmacs Is there a WebDAV mode for XEmacs? Or perhaps a well understood way of tying it to

[Zope] Problem : ZCatalog (plain-text email this time)

2001-01-26 Thread Fabien Germain
[ Sorry for those who have ever seen this email in html format, it was a mistake... ] Hello, I've got a problem with a search form. I have a ZCatalog with lots of entries. I added the index "absolute_url" in order to search by the files url. Why ? 'cause I have files in organized folders

Re: [Zope] Can't reproduce :-(

2001-01-26 Thread Chris Withers
Ian Sealy wrote: Dear Chris, We need to get this fixed ASAP so my boss has told me to send this message to the list and offer 400 pounds (sterling) to anyone who can fix this bug. Any takers? What version of Zope are you using? 2.2.5 on Red Hat 6.2. Zope version:

[Zope] TinyTable : filter query pb

2001-01-26 Thread Thierry Pasquier
usagers is a TinyTable this, is ok : dtml-call "REQUEST.set('usager','bruno')" dtml-in "usagers(ident=usager)" ... but, not this : why ? dtml-call "REQUEST.set('usager',AUTHENTICATED_USER)" dtml-in "usagers(ident=usager)" ... -- Thierry Pasquier centre de culture scientifique, technique

[Zope] ZServer or Zope.cgi

2001-01-26 Thread Marcus Mendes
Hello, I have a newbie question I'm using Zope on Linux and I have a file Zope.cgi (in my installation zope directory with this contents: #!/home/Zope-2.2.1-linux2-x86/pcgi/pcgi-wrapper PCGI_NAME=Zope PCGI_MODULE_PATH=/home/Zope-2.2.1-linux2-x86/lib/python/Zope

[Zope] MySQL

2001-01-26 Thread Piotr Kozbial
I have upgraded to MySQL 3.23.28 and both ZMySQLDA and ZMySQLTDA were broken.Thus I have installed latest ZMySQLDA-2.0.4 and MySQLdb 0.3.1. Ufter upgrade it does not work. I am able to search pages, ie.: http://arete.ibb.waw.pl/html/leksykon/cd_rom_report_en?nazwa_angielska=b but I am unable to

[Zope] SiteRoot 2 errors

2001-01-26 Thread Stephan Goeldi
Hallo I want to add a SiteRoot to my domain subfolder. I installed a fresh Zope 2.2.5 and in the lib/python/Products folder I extracted SiteAccess-2.0.0b4-nonbin.tgz. After this I restarted Zope. When I click to Add SiteRoot, I get the following error message: Traceback (innermost last):

Re: [Zope] Editors [OT]

2001-01-26 Thread A.J. Rossini
"GLW" == Geoffrey L Wright [EMAIL PROTECTED] writes: GLW I'm (hopefully) just about to run into a situation where I'm GLW going to start off-site development on another Zope project, GLW but I need a more secure way of editing than XEmacs/efs... One possible approach

Re: [Zope] subtransactions (was Can't reproduce)

2001-01-26 Thread Chris McDonough
Subtransactions aren't compatible with most database adapters. I'm not sure what to do about this one. - Original Message - From: "Ian Sealy" [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Friday, January 26, 2001 7:55 AM Subject: Re: [Zope] Can't reproduce :-( Dear all, We need

Re: [Zope] subtransactions

2001-01-26 Thread Chris Withers
Chris McDonough wrote: Subtransactions aren't compatible with most database adapters. How come? ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists -

Re: [Zope] Editors [OT]

2001-01-26 Thread Phil Harris
You could use STunnel to wrap Zope in SSL, www.stunnel.org. Works fine for me. Phil - Original Message - From: "A.J. Rossini" [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Friday, January 26, 2001 2:53 PM Subject: Re: [Zope] Editors [OT] "GLW" == Geoffrey L Wright [EMAIL PROTECTED]

Re: [Zope] TinyTable : filter query pb

2001-01-26 Thread Aleksander Salwa
On Fri, 26 Jan 2001, Thierry Pasquier wrote: usagers is a TinyTable this, is ok : dtml-call "REQUEST.set('usager','bruno')" dtml-in "usagers(ident=usager)" ... but, not this : why ? dtml-call "REQUEST.set('usager',AUTHENTICATED_USER)" dtml-in "usagers(ident=usager)" Because 'bruno'

[Zope] HiperDom available outside of Zope?

2001-01-26 Thread Hamish Lawson
Are the XML templating facilities of HiperDom available outside of Zope as a Python module, or are there intentions in that direction? Hamish Lawson Do You Yahoo!? Get your free @yahoo.co.uk address at http://mail.yahoo.co.uk or

RE: [Zope] Re: Lost in name Space...

2001-01-26 Thread James Sintz
You can also do the following: dtml-var "RandomGretting.Greet(_.None, _)" Jamey -Original Message- From: Prateep Siamwalla [SMTP:[EMAIL PROTECTED]] Sent: Friday, January 26, 2001 6:20 AM To: [EMAIL PROTECTED] Subject: [Zope] Re: Lost in name Space... Ok, found the

Re: [Zope] subtransactions

2001-01-26 Thread Chris McDonough
Because most databases don't have the notion of a subtransaction. - Original Message - From: "Chris Withers" [EMAIL PROTECTED] To: "Chris McDonough" [EMAIL PROTECTED] Cc: "Ian Sealy" [EMAIL PROTECTED]; [EMAIL PROTECTED] Sent: Friday, January 26, 2001 10:10 AM Subject: Re: [Zope]

[Zope] WYSIWYG editor

2001-01-26 Thread Lars Heber
Hi folks, I have been looking for a _free_ WYSIWYG HTML editor for a while now, but I didn't find anything suitable. It should accept DTML tags - not only include them within htmlbody and /body/html but replace those HTML tags by the DTML tags. It has to be WYSIWYG, not only plain HTML editor,

[Zope] Zope soon at http://serverwatch.internet.com

2001-01-26 Thread tommy b
Just thought you all might want to see this... From: "Newman, Amy" [EMAIL PROTECTED] To: "tommy b" [EMAIL PROTECTED] Subject: RE: please add zope Date: Thu, 25 Jan 2001 12:30:48 -0500 Tommy, One of our reviewers recently reviewed Zope. Look for the review to be on ServerWatch in the next week

Re: [Zope] subtransactions

2001-01-26 Thread Chris McDonough
Currently, yes. This is arguably wrong. - Original Message - From: "Chris Withers" [EMAIL PROTECTED] To: "Chris McDonough" [EMAIL PROTECTED] Cc: "Ian Sealy" [EMAIL PROTECTED]; [EMAIL PROTECTED] Sent: Friday, January 26, 2001 10:35 AM Subject: Re: [Zope] subtransactions Chris

Re: [Zope] subtransactions

2001-01-26 Thread Chris Withers
Chris McDonough wrote: Because most databases don't have the notion of a subtransaction. Hang on... how come, if a file upload needs to commit a subtransaction, that means that an SQL method you call while processing the same request also needs to support sub-transactions? confusedly, Chris

[Zope] Uptime.

2001-01-26 Thread Jason C. Leach
hi, I was reading in Linux Journal about the Netcraft survey. They mention some stats on Zope. I think a few of the hosts with really good up-times were using FreeBSD and Zope, if not that it was Linux and Zope. j. .. . Jason C. Leach ... University College of the

Re: [Zope] SiteRoot 2 errors

2001-01-26 Thread Evan Simpson
From: Stephan Goeldi [EMAIL PROTECTED] I want to add a SiteRoot to my domain subfolder. I installed a fresh Zope 2.2.5 and in the lib/python/Products folder I extracted SiteAccess-2.0.0b4-nonbin.tgz. After this I restarted Zope. When I click to Add SiteRoot, I get the following error message:

Re: [Zope] TinyTable : filter query pb

2001-01-26 Thread Bak @ kedai
-Original Message- From: Thierry Pasquier [EMAIL PROTECTED] To: [EMAIL PROTECTED] [EMAIL PROTECTED] Date: Friday, January 26, 2001 8:21 PM Subject: [Zope] TinyTable : filter query pb usagers is a TinyTable this, is ok : dtml-call "REQUEST.set('usager','bruno')" dtml-in

Re: [Zope] subtransactions

2001-01-26 Thread Phil Harris
Now that's a good question ;) - Original Message - From: "Chris Withers" [EMAIL PROTECTED] To: "Chris McDonough" [EMAIL PROTECTED] Cc: "Ian Sealy" [EMAIL PROTECTED]; [EMAIL PROTECTED] Sent: Friday, January 26, 2001 3:35 PM Subject: Re: [Zope] subtransactions Chris McDonough wrote:

Re: [Zope] 2.3 and Products

2001-01-26 Thread Steve Spicklemire
Take a look.. http://zope.nipltd.com/public/lists/dev-archive.nsf/ByKey/C0FFC7204901563A -steve "MM" == =?iso-8859-1?Q?Max M=F8ller Rasmussen?= iso-8859-1 writes: MM From: Chris McDonough [mailto:[EMAIL PROTECTED]] This is not true. The behavior is the same as before... the

Re: [Zope] Acquisition Algebra; interaction of containment and acquisition is confusing

2001-01-26 Thread Evan Simpson
From: Fred Yankowski [EMAIL PROTECTED] for the very last case, "a.b.c.x". I just can't follow why the equivalent expression isn't x.__of__(a).__of__(c.__of__(b.__of__(a))) rather than the more complex answer given: x.__of__(a).__of__(b.__of__(a)).__of__(c.__of__(b.__of__(a))) You can

Re: [Zope] Editors [OT]

2001-01-26 Thread Timothy Wilson
On Fri, 26 Jan 2001, Phil Harris wrote: You could use STunnel to wrap Zope in SSL, www.stunnel.org. Phil, Could you expand on this a bit? I would be very interested in wrapping all access to "manage" in SSL. Is that possible? -Tim -- Tim Wilson | Visit Sibley online: | Check

Re: [Zope] HiperDom available outside of Zope?

2001-01-26 Thread Martijn Pieters
On Fri, Jan 26, 2001 at 03:23:02PM +, Hamish Lawson wrote: Are the XML templating facilities of HiperDom available outside of Zope as a Python module, or are there intentions in that direction? HiperDom isn't available outside of Zope, yet. There are tentative plans where HiperDom or a

Re: [Zope] WYSIWYG editor

2001-01-26 Thread Martijn Pieters
On Fri, Jan 26, 2001 at 04:35:42PM +0100, Lars Heber wrote: Hi folks, I have been looking for a _free_ WYSIWYG HTML editor for a while now, but I didn't find anything suitable. It should accept DTML tags - not only include them within htmlbody and /body/html but replace those HTML tags

RE: [Zope] ZMySQLDA problems after upgrade

2001-01-26 Thread Ron Bickers
-Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Andy Dustman Sent: Friday, January 26, 2001 12:42 AM To: Randall F. Kern Cc: [EMAIL PROTECTED] Subject: Re: [Zope] ZMySQLDA problems after upgrade be returned to it by the query method,

Re: [Zope] LoginManager, can't get past login form

2001-01-26 Thread Fred Yankowski
Nick, Thank you! Installing the latest ZPatterns did the trick, exactly as you said. EXcellent. But I still wish I had some way to test the pieces of the application, or to at least trace their operation. ZPatterns is a bit too opaque for my taste, particularly given its complexity,

[Zope] EMail with uploaded attachments, Part II

2001-01-26 Thread Klaus Herrmann
Hi *! I figured out how it all works with dtml-mime etc, but i still have problems: How do I determinate the filename and mime-type of the uploaded file? i have input type=file size=18 maxlength=300 name=attached_file and can get my data with attached_file.read(), but how do i do it when i

[Zope] PythonScripts documentation

2001-01-26 Thread Gerald Gutierrez
Where is the latest documentation for PythonScripts located? The closest I found is http://www.zope.org/Members/4am/PythonMethod but it is dated and contains minimal information. I'm specifically interested in what I can do with them and what I cannot do with them. Thanks.

[Zope] sending variables/parameters via hyperlink

2001-01-26 Thread Horatio B. Bogbindero
hello people, i am extremely new to zope. from the time i have sent this email i would have been 4 hours old as a zope newbie. i would just like to congratulate the people responsible for zope. like i said before, it is a content managers dream come true. anyway, i seem to have a thing i

RE: [Zope] ZMySQLDA problems after upgrade

2001-01-26 Thread Ron Bickers
-Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Ron Bickers Sent: Friday, January 26, 2001 11:28 AM To: Andy Dustman; Randall F. Kern Cc: [EMAIL PROTECTED] Subject: RE: [Zope] ZMySQLDA problems after upgrade How about excluding the automatic

[Zope] SQL-based LoginManager and subtransactions

2001-01-26 Thread Fred Yankowski
I haven't been following this discussion, but it sounds like there's the potential for SQL operations performed by LoginManager to interfere with other SQL operations such as logging uploaded files, in the case where the database system does not support nested (sub-) transactions. Correct? If

RE: [Zope] ZMySQLDA problems after upgrade

2001-01-26 Thread Andy Dustman
On Fri, 26 Jan 2001, Ron Bickers wrote: How about excluding the automatic LIMIT clause if max_rows is set to 0? Would that confuse people? Oh! It already does that. So if you want to make your own LIMIT clause, just set max_rows to 0. Correct me, Andy, if this is a bad thing. That

RE: [Zope] ZMySQLDA problems after upgrade

2001-01-26 Thread Randall F. Kern
You will get 0 rows if you use max_rows=0. -Randy -Original Message- From: Ron Bickers [mailto:[EMAIL PROTECTED]] Sent: Friday, January 26, 2001 10:05 AM To: Ron Bickers; Andy Dustman; Randall F. Kern Cc: [EMAIL PROTECTED] Subject: RE: [Zope] ZMySQLDA problems after upgrade

RE: [Zope] ZMySQLDA problems after upgrade

2001-01-26 Thread Andy Dustman
On Fri, 26 Jan 2001, Randall F. Kern wrote: You will get 0 rows if you use max_rows=0. OK, I agree that this is a legit bug, and I am in the process of working up a new patch. I'll send it off-list when it's ready. -- Andy Dustman PGP: 0xC72F3F1D @ .net

RE: [Zope] ZMySQLDA problems after upgrade

2001-01-26 Thread Ron Bickers
Yeah... I just realized that's what broke my 'select LAST_INSERT_ID() as newid' query where a LIMIT clause causes a MySQL error. I had max_rows set to 0 and all of a sudden I was getting Zope errors. This worked in earlier DAs. Thanks for the upcoming fix, Andy. ___ Ron

Re: [Zope] Acquisition Algebra; interaction of containment and acquisition is confusing

2001-01-26 Thread Fred Yankowski
Thank you for describing the transformation rules in detail. With those I can mechanically create the same acquisition expression that you get. Working some further examples with this knowledge [and how can I use this knowledge to make mo' money?], I find that given a containment tree like

Re: [Zope] TinyTable : filter query pb

2001-01-26 Thread Mike Renfro
On Fri, Jan 26, 2001 at 11:39:51PM +0800, Bak @ kedai wrote: i think you want untested dtml-call "REQUEST.set('usager',AUTHENTICATED_USER.getUserName())" /untested Any way we can get this included in the Zope book? There's a section where they show using getUserName(), but this whole

Re: [Zope] Acquisition Algebra; interaction of containment and acquisition is confusing

2001-01-26 Thread Evan Simpson
From: Fred Yankowski [EMAIL PROTECTED] Now, does that bother anyone besides me? Since acquisition is intrinsic and ubiquitous in Zope, shouldn't we be concerned that it is hard to control or predict? Keep in mind that it is only the *order after containment* that has this problem. For

Re: [Zope] PythonScripts documentation

2001-01-26 Thread corey
And upon Friday of January 26, the illustrious Gerald Gutierrez spake thusly... Where is the latest documentation for PythonScripts located? The closest I found is http://www.zope.org/Members/4am/PythonMethod but it is dated and contains minimal information. I'm specifically

Re: [Zope] PythonScripts documentation

2001-01-26 Thread Chris McDonough
Corey, For Perl Scripts may want to take a look at: http://www.usenix.org/publications/library/proceedings/als2000/full_papers/a as/aas_html/index.html It's not very technical, but it gives a good overview. More docs for Perl Scripts should be coming RSN (they'll be in the help system).

Re: [Zope] PythonScripts documentation

2001-01-26 Thread Jim Washington
The new online help in 2.3 may have some answers to your questions. Do you have that? It's in Zope Help-API Reference-PythonScript -- Jim Washington Gerald Gutierrez wrote: Where is the latest documentation for PythonScripts located? The closest I found is

Re: [Zope] PythonScripts documentation

2001-01-26 Thread Andy McKay
At the moment there isn't a lot. There's also a pod in zoperl, I'll stick that up shortly... -- Andy McKay. - Original Message - From: [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Friday, January 26, 2001 12:05 PM Subject: Re: [Zope] PythonScripts documentation And upon Friday of

[Zope] ANNOUNCE: Zope 2.3.0 final released

2001-01-26 Thread Brian Lloyd
Hello all, Zope 2.3.0 final has been released - you can download it from Zope.org: http://www.zope.org/Products/Zope/2.3.0/ Zope 2.3 is focused on improving productivity, ease of use and performance. New features in the 2.3 release supporting these goals include: - Scripts

Re: [Zope] SQL-based LoginManager and subtransactions

2001-01-26 Thread Oliver Bleutgen
I haven't been following this discussion, but it sounds like there's the potential for SQL operations performed by LoginManager to interfere with other SQL operations such as logging uploaded files, in the case where the database system does not support nested (sub-) transactions. Correct?

Re: [Zope] Meaning of error?

2001-01-26 Thread Dieter Maurer
Steven Grimes writes: I'm trying to write a report for a system and When I try to view my document by clicking on the view tab at the top of the management screen I receive the following error: ! Temporarily Unavailable The resource you requested is temporarily unavailable - please

Re: [Zope] http protocol

2001-01-26 Thread Dieter Maurer
Oliver Vecernik writes: I'd like to write an http client for an embedded system to get information from Zope. For debugging I want to see the traffic between the client and Zope (http protocol). How can this be achieved? Shane's TCPWatch Dieter

RE: [Zope] Instatiate object instances :-)

2001-01-26 Thread Dieter Maurer
Tom Jenkins writes: Right, the getPhysicalPath method definately works... although I've only used the unrestrictedTraverse in python classes. I haven't delved too deeply in how to use the tuple returned by getPhysicalPath in DTML. "unrestrictedTraverse" is not available in DTML, only its

Re: [Zope] Can't reproduce :-(

2001-01-26 Thread Dieter Maurer
Ian Sealy writes: I've finally managed to replicate the bug consistently, so I've just submitted it to the Collector: http://classic.zope.org:8080/Collector/1895/view Very good! In fact, this problem was known but not recognized in the new context! The incompatibility between

Re: [Zope] subtransactions

2001-01-26 Thread Dieter Maurer
Chris McDonough writes: Currently, yes. This is arguably wrong. Can you tell us, what the semantics of subtransactions is? It has been my impression that subtransactions are a kludge, essentially implemented for ZCatalog, to reduce the amount of main memory for large transactions. Rather than

Re: [Zope] EMail with uploaded attachments, Part II

2001-01-26 Thread Dieter Maurer
Klaus Herrmann writes: ... How do I determinate the filename and mime-type of the uploaded file? i have input type=file size=18 maxlength=300 name=attached_file and can get my data with attached_file.read(), but how do i do it when i want to have filename and mime-type

Re: [Zope] PythonScripts documentation

2001-01-26 Thread Michel Pelletier
On Fri, 26 Jan 2001, Gerald Gutierrez wrote: Where is the latest documentation for PythonScripts located? The closest I found is http://www.zope.org/Members/4am/PythonMethod but it is dated and contains minimal information. I'm specifically interested in what I can do with them and

Re: [Zope] ANNOUNCE: Zope 2.3.0 final released

2001-01-26 Thread Robin Becker
Very nice. Thanks. Does this use Python 2.0 or 1.5.2? Bits of win32pipe extension under 2.2.2 don't work too well so this isn't a trivial question. Can we convert existing databases to use the newer ZClass bases? -- Robin Becker ___ Zope maillist

Re: [Zope] subtransactions

2001-01-26 Thread Chris McDonough
This is about right. - Original Message - From: "Dieter Maurer" [EMAIL PROTECTED] To: "Chris McDonough" [EMAIL PROTECTED] Cc: "Chris Withers" [EMAIL PROTECTED]; "Ian Sealy" [EMAIL PROTECTED]; [EMAIL PROTECTED] Sent: Friday, January 26, 2001 3:04 PM Subject: Re: [Zope] subtransactions

[Zope] What happened to random?

2001-01-26 Thread Bill Anderson
OK, got a problem with 2.3.0 and Python Script; one that breaks Membership :( In Python Methods, I can do this choose=random.choice And it works. However, in a Python Script in 2.3.0, it barfs, complaining about random not being a variable. I've tried self.rhandom, context.rhandom, and

[Zope] DTML namespace puzzle

2001-01-26 Thread Ron Bickers
Just when I thought I was catching on to everything, I ran into this. I'm using Zope 2.3.0 (final). I don't know if this worked the same with 2.2 because I didn't try this until today. SQLSession is handling the SESSION stuff, and I haven't had any problems with it. I have a Python Script

RE: [Zope] What happened to random?

2001-01-26 Thread Ron Bickers
I believe Python Methods did a lot of auto importing of modules. In Python Scripts, you need to import what you want. Try 'import random' or 'from random import choice' ___ Ron Bickers Logic Etc, Inc. [EMAIL PROTECTED] -Original Message- From: [EMAIL PROTECTED]

Re: [Zope] MySQL

2001-01-26 Thread Andy Dustman
On Fri, 26 Jan 2001, Piotr Kozbial wrote: I have upgraded to MySQL 3.23.28 and both ZMySQLDA and ZMySQLTDA were broken.Thus I have installed latest ZMySQLDA-2.0.4 and MySQLdb 0.3.1. MySQL-3.23.32 would be a good idea. It has at least one security fix, and a lot of bug fixes. Ufter

Re: [Zope] Zope PTK Wizard

2001-01-26 Thread Tres Seaver
"Priya Ramkumar" [EMAIL PROTECTED] wrote: I am trying to create a wizard in my portal to enable users to store information. In addition to the features of the already existing Document Wizard, I would like my Wizard to have more features like information about the category of the document,

Re: [Zope] Editors [OT]

2001-01-26 Thread Tres Seaver
In the neverending "perfect Zope editor" jihad, "Phil Harris" [EMAIL PROTECTED] wrote on the side of the angels of light: I just did a search on google and came up with some interesting Win32 versions of Vim 5.7.11: See http://vim.sourceforge.net/bin_download/00index.txt Since the

Re: [Zope] Re: Lost in name Space...

2001-01-26 Thread Prateep Siamwalla
James, Thanks for the help. Unfortunately your suggestion did not work, i got a NameError on "sayHellos" (which is a property of the RandomGreeting folder.) I managed to get it to work by two other ways. dtml-with RandomGreeting dtml-var Greet /dtml-with and dtml-var

RE: [Zope] Problem : ZCatalog

2001-01-26 Thread sean . upton
Right, use a python method, with a regular expression, like: import regsub def stringchange(self): """ Accepts a string passed as self, modifies it using a regex substitution, and returns modified This example strips multiple spaces, puts in a single one

[Zope-dev] Error Message

2001-01-26 Thread Andre Schubert
Hi all The last time i get some times the following error: 2001-01-26T08:45:55 ERROR(200) ZODB Couldn't load state for '\000\000\000\000\000\000\260\256' Traceback (innermost last): File /usr/share/zope_2.2/Zope-2.2.0-src/lib/python/ZODB/Connection.py, line 442, in setstate AttributeError:

[Zope-dev] AttributeError when adding ZClass product (PortalMembership)

2001-01-26 Thread Morten W. Petersen
Hi guys, I have a problem with a product. This product, let's call it product SuperSecret, adds a number of folderish objects to the new instance when it is created. Now, if we name the SuperSecret product instance for a, and the class instance that raises the AttributeError b, I will show you

[Zope-dev] ZCatalog FieldIndex bug in Zope 2.3.0b3

2001-01-26 Thread Chris Withers
Hi, FieldIndex's don't work quite right in 2.3. Try this: - create a Catalog with a FieldIndex called 'test' - create a DTML document with a property 'test', value 'fish' - catalog the document - now change the value of the property to 'finger' and re-catalog. If you now search for

RE: [Zope-dev] ZCatalog FieldIndex bug in Zope 2.3.0b3

2001-01-26 Thread Brian Lloyd
PS: Tabular reporting ZSearch Interfaces generated from Catalogs have quite badly b0rKen results forms, in that, for some reason, the search form ends up in a column of the results table, very confusing... Huh? I cannot reproduce this at all (or even see how it could happen, looking at

[Zope-dev] Key error using manage_changeProperties

2001-01-26 Thread Espen Sorbye Frederiksen
I am pssing the category argument to the method below. The category variable is representing a propety of the Log object. My code below works ok when I get the property (1), but fails when I try to update that property (2) with a new value. I have tried to use _[category] but it disallowes the

Re: [Zope-dev] ZCatalog FieldIndex bug in Zope 2.3.0b3

2001-01-26 Thread Chris Withers
Brian Lloyd wrote: PS: Tabular reporting ZSearch Interfaces generated from Catalogs have quite badly b0rKen results forms, in that, for some reason, the search form ends up in a column of the results table, very confusing... Huh? I cannot reproduce this at all (or even see how it

Re: [Zope-dev] ZCatalog FieldIndex bug in Zope 2.3.0b3

2001-01-26 Thread Chris McDonough
This is fixed in CVS. ChrisP works fast. :-) - Original Message - From: "Chris Withers" [EMAIL PROTECTED] To: "Chris McDonough" [EMAIL PROTECTED] Sent: Friday, January 26, 2001 11:23 AM Subject: Re: [Zope-dev] ZCatalog FieldIndex bug in Zope 2.3.0b3 Chris McDonough wrote: I've

Re: [Zope-dev] ZCatalog FieldIndex bug in Zope 2.3.0b3

2001-01-26 Thread Chris Withers
Chris Withers wrote: Okay, tracked down what's happening, can't understand why :-( Some data points before I rush off... - ZDebug doesn't like 2.3 very much :-S - Python Scripts rock ;-) However, from what ZDebug did show, it seems that the object the catalog has found ends up on the top of

Re: [Zope-dev] Server seems to stop responding.

2001-01-26 Thread Andy McKay
I think I've traced to a hack of ZCache, I nuked with much better results. I guess I'll wait for zope 2.3 Cheers. -- Andy McKay. - Original Message - From: "Chris McDonough" [EMAIL PROTECTED] To: "Andy McKay" [EMAIL PROTECTED]; [EMAIL PROTECTED] Sent: Thursday, January 25, 2001

Re: [Zope-dev] ZCatalog FieldIndex bug in Zope 2.3.0b3

2001-01-26 Thread Christopher Petrilli
On 1/26/01 11:41 AM, "Chris McDonough" [EMAIL PROTECTED] wrote: I've put the fieldindex bug in the collector. This is now fixed... It was a bizarre logic problem, but I could reproduce it easily :-) Thanks for finding this. Chris -- | Christopher Petrilli | [EMAIL PROTECTED]

Re: [Zope-dev] Passing arguments to DTML Methods

2001-01-26 Thread Jon Franz
This is an undocumented (afaik) feature of DTML methods/documents - due to the way python argument mapping works, you can pass any value into a 'local' variable in a DTML method like thus: dtml-var "myDTMLmethod(foo=5,greg=Sally)" this the above case, Sally could be a legal variable value that

[Zope-dev] FW: Re: [Zope-dev] Passing arguments to DTML Methods

2001-01-26 Thread Jon Franz
PS: my example assumes you _only_ want passed arguments to be usable to the DTML method you are calling - if you want to pass parameters And get the default namespace, you have to pass it ('_') also. My util methods that use params Only use those params (I try to keep a clean interface) - but

Re: [Zope-dev] ZCatalog FieldIndex bug in Zope 2.3.0b3

2001-01-26 Thread Christopher Petrilli
On 1/26/01 11:56 AM, "Chris Withers" [EMAIL PROTECTED] wrote: Chris Withers wrote: Okay, tracked down what's happening, can't understand why :-( Some data points before I rush off... - ZDebug doesn't like 2.3 very much :-S - Python Scripts rock ;-) However, from what ZDebug did

[Zope-dev] Fw: apparent problems with LocalFS after zope upgrade

2001-01-26 Thread Jonothan Farr
I'm getting reports of some very strange behavior with Zope 2.2.5 using the LocalFS product, which seems to involve the authentication mechanism somehow. I'm rather at a loss where to even begin troubleshooting here. If anyone has any suggestions they would be much appreciated. Thanks, --jfarr

[Zope-dev] ANNOUNCE: Zope 2.3.0 final released

2001-01-26 Thread Brian Lloyd
Hello all, Zope 2.3.0 final has been released - you can download it from Zope.org: http://www.zope.org/Products/Zope/2.3.0/ Zope 2.3 is focused on improving productivity, ease of use and performance. New features in the 2.3 release supporting these goals include: - Scripts

Re: [Zope-dev] ANNOUNCE: Zope 2.3.0 final released

2001-01-26 Thread Andy McKay
Congrats! -- Andy McKay. - Original Message - From: "Brian Lloyd" [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Friday, January 26, 2001 1:06 PM Subject: [Zope-dev] ANNOUNCE: Zope 2.3.0 final released Hello all, Zope 2.3.0 final has been released - you can download it from

[Zope-dev] Looks like 2.3.0 final didn't fix bug with copying ZCatalogs ...

2001-01-26 Thread Bill Anderson
...but the error message looks better ;^)= Installed fresh 2.3.0, and Membership, so I could finish the testing, and preop a 2.3.0 compatible release (mmm Python Scripts yummy), but upon the install trying to copy the MemberCatalog I get the following traceback. Perhaps it is an issue with