Re: [Zope-dev] ZPatterns and ZCLasses

2000-11-22 Thread Joachim Schmitz
On Tue, 21 Nov 2000, Phillip J. Eby wrote: At 11:08 AM 11/21/00 +0100, Joachim Schmitz wrote: I have an existing ZClass/Data Structure like this RecruitingPlatform Company Recruiting Candidates Student Profiles Address Highschool IT

Re: [Zope-dev] Conflict Errors

2000-11-22 Thread Ender
Chris Withers wrote: i'm no expert but deeply nested data structures in a single object are rife with possibilities for conflict errors. if data might be changing concurrently in the structures or frequently changing you would be better off to switch the structure to nested persistent objects.

[Zope-dev] Interface localization: zzLocale 0-0-4a release

2000-11-22 Thread Yves-Eric Martin
Hello, Since the SkinnableAndLocalizable project is on hold, and since people here in Japan and other non-english speaking countries have repeatedly expressed their wish for localized versions of Zope, I decided to continue zzLocale development and turn it into an actually usable

Re: [Zope-dev] ZPatterns: Methods of specialits

2000-11-22 Thread Steve Spicklemire
Hi Roch'e, I'm guessing that getAllContactsForCustomer is a "DTML Method". If I remember correctly the third argument is a 'mapping object' that can be used to augment the effective namespace available to the method. Passing _.None should do nothing (I'm guessing you could just use

Re: [Zope-dev] ZPatterns Project Help!

2000-11-22 Thread Steve Spicklemire
Hi Ben, GAPs are sort of deprecated at this point in favor of SkinScript. In SkinScript you might do something like this: WITH accounts.getItem(self.account_id) COMPUTE account_object=RESULT or more carefully... WITH accounts.getItem(self.account_id) COMPUTE account_object=(RESULT is

Re: [Zope-dev] Conflict Errors

2000-11-22 Thread Toby Dickenson
On Tue, 21 Nov 2000 17:03:17 +, Chris Withers [EMAIL PROTECTED] wrote: It happens when more than one thread tries to modify the same object in storage at the same time. It's Zope's equivalent of record-locking... It's normal. There's no corruption or anything, it's telling you that it

Re: [Zope-dev] Conflict Errors

2000-11-22 Thread Chris McDonough
Hurm, well, it appears to happen when we're doing a lot of sequential write to a product (automated bulk data upload), but the thing that triggers it off is actually trying to read a page from the same area of the site... confusing. Although that could also be a one-off coincidence...

RE: [Zope-dev] ZPatterns Project Help!

2000-11-22 Thread bentzion
Thanks for answering Steve. Unfortunitly I am working with version 0.3 of ZPatterns so I have to use GAP. When I try to translate your Skinscript into GAP like this "attrsexprs:account_object=(RESULT is _.None) and NOT_FOUND or RESULT" and I try to access the object's id with dtml-var

Re: [Zope-dev] ZPatterns and ZCLasses

2000-11-22 Thread Phillip J. Eby
At 10:29 AM 11/22/00 +0100, Joachim Schmitz wrote: I created a FwCS and in it a customizer, but in my list of to customize object types are only meta_types listed, which have the Base class "_ZClass_for_DataSkin",. Is this a requirement, and if yes, is there a way to add this to existing

Re: [Zope-dev] ZPatterns: Methods of specialits

2000-11-22 Thread Phillip J. Eby
At 12:41 PM 11/22/00 +0200, Roch'e Compaan wrote: I have a specialist Contacts and for Contacts I have a method getAllContactsForCustomer. Whenever I want to call this method I have to pass on the whole namespace and the object itself to get it to work eg: getAllContactsForCustomer(this(), _,

RE: [Zope-dev] ZPatterns Project Help!

2000-11-22 Thread Phillip J. Eby
At 10:21 AM 11/22/00 -0500, [EMAIL PROTECTED] wrote: Thanks for answering Steve. Unfortunitly I am working with version 0.3 of ZPatterns so I have to use GAP. When I try to translate your Skinscript into GAP like this "attrsexprs:account_object=(RESULT is _.None) and NOT_FOUND or RESULT"

Re: [Zope-dev] Interface localization: zzLocale 0-0-4a release

2000-11-22 Thread Michel Pelletier
Can we see a screenshot of what the Zope managment interface looks like in Japanese? (just a personal curiousity) -Michel Yves-Eric Martin wrote: Hello, Since the SkinnableAndLocalizable project is on hold, and since people here in Japan and other non-english speaking countries

[Zope-dev] ANNOUNCE: PartitionedFileStorage

2000-11-22 Thread Shane Hathaway
For all who are interested in breaking database size barriers without moving to Oracle or Berkeley Storage, here's something to try out. http://www.zope.org/Members/hathawsh/PartitionedFileStorage I *highly* recommend you back up Data.fs before installing. What is known to work: - Reads and

[Zope-dev] zwiki ZUnit support added

2000-11-22 Thread Simon Michael
This is great, Lalo! Thanks. I checked in ZUnit support to ZWiki-cvs, and the first couple of unit tests. Suddenly, I feel all Extreme! FWIW, here's how I run the tests. I made a TestRunner called ZWikiTests, pointing to "Products.ZWiki.TestSuite". I have these rules in a makefile:

[Zope] PyWinTypes15.dll

2000-11-22 Thread Mechtild Hofmann
Hello, I am looking for "PyWinTypes15.dll", but can't find it, Can someone send me the .dll for Win NT ? When I want to start LocalFS zope send an error, that the PyWinTypes15.dll is not in the right folder. Thank you very much Mechtild-- in der Heimat tut sich was: http://www.wolterdingen.de

[Zope] vCalendar

2000-11-22 Thread Kaeidinejad, Shahram
Hi, who can help me about "vCalendar". I need some example of vCalendar. So can I understand it better. bye Shahram ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related

RE: [Zope] Having troubles starting Zope.

2000-11-22 Thread Dany Rioux
Hi Chris, I should have stated that I didn't upgrade Zope. I mean: it's the same installation I had before except for the Hotfix which I got from zope.org I checked this file, though I don't know anything about python, and it doesn't seem to touch the core of zope's files. About installing from

Re: [Zope] vCalendar

2000-11-22 Thread Morten W. Petersen
[Shahram Kaeidinejad] | Hi, Hi, | who can help me about "vCalendar". I need some example of vCalendar. So can | I understand it better. Have a look at these RFCs: http://www.imc.org/2445 http://www.imc.org/2446 http://www.imc.org/2447 HTH. -Morten

[Zope] is it possible to see whether any user is using a perticular zope object

2000-11-22 Thread subrahmanyan kalathur
hi, I got your reply. thanks. Actually my problem is not that. I am doing some web based stuff. So it is natural that more than one users can access the same page at the same time. So in my project, if such a situation comes then at least one user will get the error message. To avoid that I am

Re: [Zope] vCalendar

2000-11-22 Thread Olivier Deckmyn
I think you mean : http://www.imc.org/rfc2445 http://www.imc.org/rfc2446 http://www.imc.org/rfc2447 Regards - Original Message - From: "Morten W. Petersen" [EMAIL PROTECTED] To: "Kaeidinejad, Shahram" [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Sent: Wednesday, November 22, 2000 10:12 AM

Re: [Zope] vCalendar

2000-11-22 Thread Thomas Ackermann
On Wed, Nov 22, 2000 at 10:12:15AM +0100, Morten W. Petersen wrote: Have a look at these RFCs: http://www.imc.org/2445 http://www.imc.org/2446 http://www.imc.org/2447 As usually: *** Error code 404 Access denied, or file does not exist WN/2.2.5 *** Byebye, --

[Zope] sort

2000-11-22 Thread Mechtild Hofmann
Hello again, I want to sort catalog results e.g. by title alphabetical. But when I type sort_on='title' I see the titles in order by bobobase-modification-time. What I am doing wrong ? Thanks for help Mechtild-- in der Heimat tut sich was: http://www.wolterdingen.de konteXXt -

Re: [Zope] Search and replace

2000-11-22 Thread tom smith
on 21/11/00 3:05 am, Ender at [EMAIL PROTECTED] wrote: Sadly this is a constraint of zope ide's being browser based (or based on current browsers). I would eagerly like to help out with a project that would like to see this changed. Building such an interface with gnome or kde would be

Re: [Zope] Date

2000-11-22 Thread Tom Deprez
Hum, but then you also have to take into account the possible year change. But a nice idea. Tom. At 23:17 21/11/2000 +0100, Dieter Maurer wrote: Tom Deprez writes: Does someone knows how to calculate the date after 6 months of a certain date? eg ZopeTime() + 6 months? Is there an

Re: [Zope] Pseudo E-Mail Address validation

2000-11-22 Thread Frank Tegtmeyer
e-mail address exists or not, when you actually send a mail to the user, but a quick-n-dirty check would be nice. Maybe even complete RFC-compliancy as implemented in some Perl-Modules? (spaces, "@" sign, dot-notation etc.) There is a "monster" regular expression made by Tom Christiansen I

Re: [Zope] Question about security

2000-11-22 Thread Phil Harris
You need to use the same method as you would to create a user, manage_users. If you look at the Zope Quick Reference you will see that it can take a parameter called submit which can be 'Add...','Add', 'Edit' or 'Change'. If you use the 'Change' variant you can change the password as you

RE: [Zope] Having troubles starting Zope. Now: compiling Zope

2000-11-22 Thread Dany Rioux
Ok, so running dns/imap/mail/apache/zope/samba/nfs/mysql/snmb/sshd and all the rest of the normal services running (not forgetting the php/cgi/etc modules of apache) and compiling shouldn't be a problem? :) I have to admit the box is not receiving that much traffic but I wouldn't want to slow

RE: [Zope] Having troubles starting Zope. Now: compiling Zope

2000-11-22 Thread Dany Rioux
I don't really care about my end :) Only the user's :) But I think it would be a nice idea to implement. I'll give it some thoughts. Dany -Original Message- From: ucntcme [mailto:ucntcme]On Behalf Of Bill Anderson Sent: Wednesday, November 22, 2000 6:14 AM To: Dany Rioux Subject: Re:

Re: [Zope] ZClass/DTML Document transparency

2000-11-22 Thread Stefan H. Holek
On Tue, 21 Nov 2000, Dieter Maurer wrote: Randall Kern writes: In the case of DTML Documents, the following works fine: dtml-var sequence-item In the case of ZClasses, I have to use something like this: dtml-with sequence-item dtml-var index_html

RE: [Zope] Having troubles starting Zope. Now FIXED!

2000-11-22 Thread Dany Rioux
I fixed it. All I had to do was reinstall the zope .deb and it started alright. The content is still there (though I was almost scared to death having thought of doing backups AFTER the reinstallation) and all is good. Well, almost. Now that it's fixed and all is back to normal, I will try to

Re: [Zope] is it possible to see whether any user is using a perticular zope object

2000-11-22 Thread Chris Withers
subrahmanyan kalathur wrote: So it is natural that more than one users can access the same page at the same time. So in my project, if such a situation comes then at least one user will get the error message. Why? Zope is a multi-threaded we bserver capable of handling several simultaneous

Re: [Zope] is it possible to see whether any user is using a perticular zope object

2000-11-22 Thread Chris Withers
Okay, firstup, keep CC:'ing [EMAIL PROTECTED] so other people can help, and so other people can _get_ help from any answers you find... subrahmanyan kalathur wrote: so now I am getting the error. What is this error? (the lines starting with 'traceback:' are really useful...) what is that

Re: [Zope] is it possible to see whether any user is using a perticular zope object

2000-11-22 Thread subrahmanyan kalathur
hi, when I use the DTML method which include call to SQL methods, if someone is also using that DTML Method then either of us get the error message. And the error message is as follows. Error Type: SyntaxError Error Value: unexpected token sequence.near :: "\012Q_name = 'q24'"*''

Re: [Zope] is it possible to see whether any user is using a perticular zope object

2000-11-22 Thread Chris Withers
subrahmanyan kalathur wrote: Error Type: SyntaxError Error Value: unexpected token sequence.near :: "\012Q_name = 'q24'"*'' *** current state = 231 expects: 'EXCEPT', '+', ')', 'HAVING', '-', 'UNION', 'AND', 'GROUP', '*', ';', 'OR', 'ORDER', 'INTERSECT',

Re: [Zope] is it possible to see whether any user is using a perticular zope object

2000-11-22 Thread subrahmanyan kalathur
hi I am n using gadfly database. This is not the problem of ZSQL method.(I think) Because when only one user is working there won't be any problem. It seems like when more than one users access the same table it gives the error message. That is why when more than one users try to access the

Re: [Zope] Gadfly

2000-11-22 Thread Chris Withers
subrahmanyan kalathur wrote: I am n using gadfly database. That'll be your problem. It's not exactly the most robust database in the world... You problems will go away if you move to MySQL, PostGres, Oracle, etc... or stop using RDBMS'es altogether... cheers, Chris

Re: [Zope] Date

2000-11-22 Thread Mario Olimpio de Menezes
On Wed, 22 Nov 2000, Tom Deprez wrote: Hum, but then you also have to take into account the possible year change. But a nice idea. Tom. At 23:17 21/11/2000 +0100, Dieter Maurer wrote: Tom Deprez writes: Does someone knows how to calculate the date after 6 months of a certain date?

Re: [Zope] is it possible to see whether any user is using a perticular zope object

2000-11-22 Thread Phil Harris
Have you tried using any other dbms to alleviate the problem. - Original Message - From: "subrahmanyan kalathur" [EMAIL PROTECTED] To: "Chris Withers" [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Sent: Wednesday, November 22, 2000 11:03 AM Subject: Re: [Zope] is it possible to see whether any

Re: [Zope] is it possible to see whether any user is using a perticular zope object

2000-11-22 Thread subrahmanyan kalathur
No, I haven't used any other DBMS. I have almost finished working in this gadfly. So I can't change now. Because there is no time to change it now. So please give me the solution. thanks yours, K.H.Subrahmanyan ( [EMAIL PROTECTED] ) ___ Zope

Re: [Zope] is it possible to see whether any user is using a perticular zope object

2000-11-22 Thread Phil Harris
In reality changing the dbms shouldn't cause too many problems (I'd give it a day to get the conversion done myself). Try MySQL or Interbase as they work fine on Win32 (which if I remember correctly is what you use?) Phil - Original Message - From: "subrahmanyan kalathur" [EMAIL

Re: [Zope] Support for PHP?

2000-11-22 Thread seb bacon
* [EMAIL PROTECTED] [EMAIL PROTECTED] [001121 21:02]: This was discussed about a month ago. check the archive. conclusion was that you can do anything with dtml that php does, though with perhaps a little bit more indirection. and you can do _more_ in python than in php.

RE: [Zope] is it possible to see whether any user is using a perticular zope object

2000-11-22 Thread Dany Rioux
Hi, Same as you, i tried to use this gadfly thing when I started and even when choosing it I received a message from zope telling me that it wasn't the real thing/unreliable/etc. I *think* there is a more stable GadFly somewhere but I would advise you to go with mySQL which I use and never had

[Zope] Exception msg rendering

2000-11-22 Thread seb bacon
LoginManager displays a login form by calling a page something like this: dtml-raise "'LoginRequired'" html form action="foo" !-- some form doohickeys -- /form /html /dtml-raise this works fine on one of my boxen but not the other. The bust one raises the exception but

Re: [Zope] Gadfly

2000-11-22 Thread Tim Cook
Chris Withers wrote: subrahmanyan kalathur wrote: I am n using gadfly database. That'll be your problem. It's not exactly the most robust database in the world... You problems will go away if you move to MySQL, PostGres, Oracle, etc... or stop using RDBMS'es altogether... I

Re: [Zope] random object with properties

2000-11-22 Thread Kevin Worth
At 11:21 PM +0100 11/21/00, Dieter Maurer wrote: Kevin Worth writes: I'm trying to find/write a method that will choose a random image from a folder (easy, using the random how-to) But I also want to display the caption for the image, which is a property of that image. This

[Zope] Error Installing PKT

2000-11-22 Thread Dany Rioux
I just installed PKT and I can't import DemoPortal.zexp. I get this error --PASTE Zope Error Zope has encountered an error while publishing this resource. Error Type: ImportError Error Value: No module named PythonMethod.PythonMethod -/PASTE I would guess I'm

[Zope] Multiple ZODBC sources

2000-11-22 Thread Capesius, Alan
I need to join tables from two ODBC sources, one MS Access one SQL. ZODBC DA seems to be limited to one data source at a time. Is there any way to join tables from two different sources? Alan Capesius, MCSE+20 Technical Support Engineer Sysmex Corporation of America [EMAIL PROTECTED]

Re: [Zope] Multiple ZODBC sources

2000-11-22 Thread Andrew Kenneth Milton
+---[ Capesius, Alan ]-- | I need to join tables from two ODBC sources, one MS Access one SQL. | | ZODBC DA seems to be limited to one data source at a time. Is there any way | to join tables from two different sources? Write a method to copy the results from Access

Re: [Zope] Multiple ZODBC sources

2000-11-22 Thread Phil Harris
Link the SQL table into Access and then use both from Zodbcda connected to Access. hth Phil - Original Message - From: "Capesius, Alan" [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Wednesday, November 22, 2000 3:56 PM Subject: [Zope] Multiple ZODBC sources I need to join tables from

Re: [Zope] Multiple ZODBC sources

2000-11-22 Thread Chris Gray
I wonder if something like this would work: dtml-in selectFromTable1 dtml-in selectFromTable2 dtml-if idFromTable1 = idFromTable2 display parts of the two records /dtml-if /dtml-in /dtml-in Might be more efficient to make one of the dtml-ins a dtml-with and find

RE: [Zope] Error Installing PKT

2000-11-22 Thread Steve Drees
Zope Error Zope has encountered an error while publishing this resource. Error Type: ImportError Error Value: No module named PythonMethod.PythonMethod You are missing PythonMethod. ___ Zope maillist - [EMAIL PROTECTED]

Re: [Zope] Multiple ZODBC sources

2000-11-22 Thread Chris Gray
Another thing that would work: dtml-in selectFromTable1 dtml-in expr="selectFromTable2(id=_['id'])" display record /dtml-in /dtml-in Chris On Wed, 22 Nov 2000, Phil Harris wrote: Link the SQL table into Access and then use both from Zodbcda connected to Access. hth

Re: [Zope] Error Installing PKT

2000-11-22 Thread Stefan H. Holek
On Wed, 22 Nov 2000, Dany Rioux wrote: Error Value: No module named PythonMethod.PythonMethod I would guess I'm missing some module. Anyone can tell me which one it is? Well, you seem to be missing PythonMethods ;) You must get them from the CVS. See http://www.zope.org/Resources/CVS_info

[Zope] New releases of Zwiff and ZCVSMixin...

2000-11-22 Thread Steve Spicklemire
For those who are paying attention ;-) there are new releases of Zwiff and ZCVSMixin at zope.org. There will be a new DumbZPatternsExample later today or tomorrow... The Zwiff release has been updated with the latest patches of ming and now has lots of working examples. You download the

RE: [Zope] Error Installing PKT. FIXED

2000-11-22 Thread Dany Rioux
I should have guessed :) Either I misread the install docs or it wasn't mentioned... Thanks to Stefan and Steve. It's installed and working. Dany :) -Original Message- From: Stefan H. Holek [mailto:[EMAIL PROTECTED]] Sent: Wednesday, November 22, 2000 12:54 PM To: Dany Rioux Cc: Zope

Re: [Zope] Pseudo E-Mail Address validation

2000-11-22 Thread Martin Winkler
At 10:58 22.11.2000, Frank Tegtmeyer wrote: There is a "monster" regular expression made by Tom Christiansen I think. A link is on http://www.perl.com/pub/doc/manual/html/pod/perlfaq9.html#How_do_I_check_a_valid_mail_addr Yes, I know this link - especially the absolutely voodoo-style regex by

[Zope] Speaking of Python Methods....

2000-11-22 Thread Steve Drees
What's the PythonMethod equivalent of: dtml-with callTypes dtml-var "_.getitem(_.str(2)).Name" /dtml-with -- Steve Drees SysAdmin/Software Developer/Web Geek/Chief Bottle Washer "A problem well-stated is a problem half-solved." http://www.christianmp3zone.com/savanna

RE: [Zope] Speaking of Python Methods....

2000-11-22 Thread Brian Lloyd
What's the PythonMethod equivalent of: dtml-with callTypes dtml-var "_.getitem(_.str(2)).Name" /dtml-with I should guess: callTypes['2'].Name Brian Lloyd[EMAIL PROTECTED] Software Engineer 540.371.6909 Digital Creations http://www.digicool.com

[Zope] Where does ZClassID come from?

2000-11-22 Thread Stefan H. Holek
How is the class id of a ZClass computed? From the filename? Does this mean I cannot have MyZClass-0-0-1.zexp because the name must not change? TIA Stefan -- Things work better when plugged in ___ Zope maillist - [EMAIL PROTECTED]

[Zope] Executing Z SQL Methods via a URL request

2000-11-22 Thread Nick McDowell
Hi, I have a Z SQL method that requires an id value which it users to perform a select statement. I am trying to pass this id value via a URL, which calls a DTML method who in turn calls the Z SQL Method. I have been using URL which looks like: http://localhost/getarticle.html?id=23.

[Zope] Free Zope Web space?

2000-11-22 Thread Diarmaid Lynch
Hi, I'm creating an online newspaper for my school but unfortunately don't have Zope / Web server. Is there anywhere on the web that would serve this for free. Has "Zope-Geocities" been created yet?? Your help would be greatly appreciated. ___

Re: [Zope] Search and replace

2000-11-22 Thread Ender
Mario Olimpio de Menezes wrote: On Tue, 21 Nov 2000, Lee Hunter wrote: On the other hand I actually *like* the Zope management interface - in fact, so far I've found it to be very easy to understand and a total pleasure to use. It just doesn't offer some things that I must have -

Re: [Zope] Search and replace

2000-11-22 Thread Ender
tom smith wrote: on 21/11/00 3:05 am, Ender at [EMAIL PROTECTED] wrote: Sadly this is a constraint of zope ide's being browser based (or based on current browsers). I would eagerly like to help out with a project that would like to see this changed. Building such an interface with

Re: [Zope] Pseudo E-Mail Address validation

2000-11-22 Thread Ender
Martin Winkler wrote: Hi all, For a subscription tool of a mailing list I'd like to quick-check the e-mail address our users type. Is there a little product/method etc. available that does this? I know that you can only be sure whether an e-mail address exists or not, when you actually

[Zope] sending thousands of emails in the background (returning thewebpage immediately) ? webpage immediately) ?

2000-11-22 Thread chas
Going back about 10 months to a problem I had before. Goal: an end-user fills in a form on a webpage and clicks the 'submit' button. As a result, thousands of customized e-mail messages are sent. Problems: (i) The msgs are customized so Mailman is not appropriate. also,

Re: [Zope] Gadfly

2000-11-22 Thread Cees de Groot
Tim Cook [EMAIL PROTECTED] said: You problems will go away if you move to MySQL, PostGres, Oracle, etc... or stop using RDBMS'es altogether... I agree. Unless there is a compelling reason, such as sharing tables with another application. Why not just use ZODB. Life can't be simplier! g Will

Re: [Zope] External Methods

2000-11-22 Thread Edward Muller
I'm a little new to the python sde of zope and haven't done much with the other side (dtml,etc), but am getting back into it...So here is how I think you can do it (note: I've done this myself recently...I'm writing a product, that started off as a collection of external methods)... So you have

[Zope] Re: Zope and Websphere

2000-11-22 Thread rob . sheppard
There's a round-up of "the Best Web Application Servers" in this month's Linux Magazine (Nov - 8 ball on cover). It includes Zope and WebSphere. Its not really a comparison though, but it might give you some ideas. You could also get some ideas from Kemalus' "Guide for Corporate Decision

[Zope] Re: Zope and Websphere

2000-11-22 Thread rob . sheppard
There's a round-up of "the Best Web Application Servers" in this month's Linux Magazine (Nov - 8 ball on cover). It includes Zope and WebSphere. Its not really a comparison though, but it might give you some ideas. You could also get some ideas from Kemalus' "Guide for Corporate Decision

Re: [Zope] Free Zope Web space?

2000-11-22 Thread Chris Withers
Diarmaid Lynch wrote: I'm creating an online newspaper for my school but unfortunately don't have Zope / Web server. Is there anywhere on the web that would serve this for free. Has "Zope-Geocities" been created yet?? http://www.nipltd.net/free.html Hope this helps, Chris

Re: [Zope] Gadfly

2000-11-22 Thread Chris Withers
Cees de Groot wrote: Tim Cook [EMAIL PROTECTED] said: You problems will go away if you move to MySQL, PostGres, Oracle, etc... or stop using RDBMS'es altogether... I agree. Unless there is a compelling reason, such as sharing tables with another application. Why not just use ZODB. Life

[Zope] Still have error importing DemoPortal.zexp with PTK 0.9.2

2000-11-22 Thread Andrews, Martin
I am trying to install PPT 0.9.2. After installing PythonMethod from CVS I am still getting an error when trying to import DemoPortal.zexp. Any clues? Zope Error Zope has encountered an error while publishing this resource. Error Type: SystemError

Re: [Zope] Gadfly

2000-11-22 Thread Edward Muller
On Wed, 22 Nov 2000, Chris Withers wrote: Cees de Groot wrote: Tim Cook [EMAIL PROTECTED] said: You problems will go away if you move to MySQL, PostGres, Oracle, etc... or stop using RDBMS'es altogether... I agree. Unless there is a compelling reason, such as sharing tables

[Zope] Re: is it possible to see whether any user is using a perticular zope object

2000-11-22 Thread Dieter Maurer
subrahmanyan kalathur writes: Now I would like to know is it possible to know if any body is using the zope object. I mean , if one user is running one DTML method , I want to know that one user is using that object. Is there any DTML tag for that. No. The standard Zope objects do

Re: [Zope] random object with properties

2000-11-22 Thread Dieter Maurer
Kevin Worth writes: dtml-let photo="_.whrandom.choice(objectValues('Photo'))" dtml-var photo dtml-with photo dtml-if caption/dtml-if /dtml-with This does not work with a "Photo" from the ZPhoto product. Anyone know why? It grabs the caption from the folder containing

Re: [Zope] Zope / DCOracle / ZOracleDA / Oracle 7.3.3 crash/respawn problem

2000-11-22 Thread Dieter Maurer
Chris Beaumont writes: Unfortunately, if what you meant was to remove the -DDCOracle8 flag from the end of my Setup file and recompile, that didn't do it. Zope is still crashing and restarting on perhaps one out of every 100 requests. It seems to be more common when it hasn't been

[Zope] Analysing Zope startup problems (was: [Zope] zope 2.24b1upgrade on win98 crashing. errno 9?) upgrade on win98 crashing. errno 9?)

2000-11-22 Thread Dieter Maurer
jimbo writes: IOError: [Errno 9] Bad file descriptor Whenever there is a Zope startup problem, you should edit the command line starting Zope (in "start.bat"). Add "STUPID_LOG_FILE=zope.log". Start Zope. Of cause, it will crash again. Look into "zope.log". Maybe you have a change to see what

Re: [Zope] Date

2000-11-22 Thread Dieter Maurer
Tom Deprez writes: Hum, but then you also have to take into account the possible year change. But a nice idea. This is handled by the Python "mktime" and "localtime/gmtime". You need not to worry about. Dieter ___ Zope maillist - [EMAIL

Re: [Zope] External Methods

2000-11-22 Thread Dieter Maurer
Kini Natekar writes: I have got a html form which accepts an input from the user. This input has to be passed to a Python script, as a parameter, which is added as an external method in zope. Is there any way to do this ? Your method: def my_method(REQUEST): '''my_method

RE: [Zope] Multiple ZODBC sources

2000-11-22 Thread Capesius, Alan
Thanks All, I was hoping I had missed a clean way to do this. :) Access provides link tables, but what if I had two SQL servers? I thought (still thinking) about the Access link table solution, but I'm not sure I want the ODBC linking through Access to get to SQL. MS SQL Server also supports

Re: [Zope] External Methods

2000-11-22 Thread Phil Harris
Wouldn't it be better to pass in self? As in: def my_method(self,REQUEST=None): '''my_method interpreting *REQUEST*.form.''' if REQUEST is None: REQUEST=self.REQUEST # safety_valve in case you forget to pass in REQUEST form= REQUEST.form # this is a dictionary containing form

[Zope] ZCatalog: setting default to AND (not OR).

2000-11-22 Thread The Doctor What
All good usability books (I'm going to just cite one: "Designing Web Usability: The Practice of Simplicity" by Jakob Nielsen http://www.useit.com/jakob/webusability/ ) say searches should be ANDed by default. ZCatalog is ORed by default. How do I change this behavior? Ciao! -- Room Service?

[Zope] BUG: Nasty dtml-sendmail bug - Zope 2.2.4b1, Zope 2.1.6

2000-11-22 Thread Dieter Maurer
Today, I spend 3 hours to analyse a nasty dtml-sendmail bug (Zope 2.1.6): Zope reported an SMTP exception: "recipient required" It turned out that the "messageText" that arrived in "Products.MailHost.MailHost.send" started with an empty line. Therefore, "decapitate" could not find the

Re: [Zope] Speaking of Python Methods....

2000-11-22 Thread Dieter Maurer
Steve Drees writes: What's the PythonMethod equivalent of: dtml-with callTypes dtml-var "_.getitem(_.str(2)).Name" /dtml-with To get the object: getattr(callTypes,'2').Name then you must do something with it. "dtml-var" would render it. This means call it, if it is callable and

Re: [Zope] Executing Z SQL Methods via a URL request

2000-11-22 Thread Dieter Maurer
Please do *NOT* send HTML mails into this list! Nick McDowell writes: I have a Z SQL method that requires an “id” value which it users to perform a select statement. I am trying to pass this “id” value via a URL, which calls a DTML method who in turn calls the Z SQL Method. When I

[Zope] zope basics

2000-11-22 Thread Katherine Allard
Using Zope, I have managed to put together a nice site for friends to create folders, pagesand upload images, etc. But there are some fundamentals that are eluding me. I am able to 'register' a new user through a form to create a new acl_user. But I cannot figure out how to let them login

Re: [Zope] Question about security

2000-11-22 Thread Tres Seaver
Harris Peter [EMAIL PROTECTED] wrote: I'm sorry, I must be missing something. The API reference I have doesn't contain any such thing. Neither does the Zope book, before anyone else suggests that. The DTML on zope.org uses a method that isn't recognised by the standard User Folder, so no

Re: [Zope] ZCatalog: setting default to AND (not OR).

2000-11-22 Thread Andy McKay
add in an and between terms eg: foo and bar -- Andy McKay, Developer. ActiveState. - Original Message - From: "The Doctor What" [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Wednesday, November 22, 2000 2:36 PM Subject: [Zope] ZCatalog: setting default to AND (not OR). All good

[Zope] Zope with Microsoft Access

2000-11-22 Thread Mike Kelland
Hi, this is my first posting to the list, and about my 4th day working with Zope. I have a bit of a problem. All my code so far is working well. Just the following section is defying my attempts to make it run. What it does is to update a field in the database (to allow employees to quickly

[Zope] How to get authentiedcated user name in pythong method?

2000-11-22 Thread Dirksen
How can I do that just as dtml-var "AUTHENTICATED_USER.getUserName()" in dtml? I don't want to pass AUTHENTICATED_user as a parameter. A hint please. cheers Dirksen __ Do You Yahoo!? Yahoo! Shopping - Thousands of Stores. Millions of Products.

Re: [Zope] Zope with Microsoft Access

2000-11-22 Thread Chris Gray
Isn't the problem your else tags? Remove them and I think you'll get the effect you wanted. As it stands the condition: dtml-if "_['sequence-key'][6:9] == mykey[9:12]" is never true. Chris On Wed, 22 Nov 2000, Mike Kelland wrote: Hi, this is my first posting to the list, and about my 4th

Re: [Zope] Zope with Microsoft Access

2000-11-22 Thread [EMAIL PROTECTED]
You may not be entering UpdateHours. Try dtml-var "0/0" just before the call to UpdateHours. Or some other obvious way to know if your entering it. Here's how I coded the same kind of thing. Although I'm reading the Zope book right now to see how I should have done it. The book is good and I

[Zope] Python Script demo site

2000-11-22 Thread Evan Simpson
A few announcements. First, in the interests of sanity and getting things moving, I'm choosing the only name other than "Python Method" to get a positive score in the naming poll. I like it, Guido likes it, the community sort of likes it, so it's official. Zope 2.3 will introduce "Python

Re: [Zope] How to get authentiedcated user name in pythong method?

2000-11-22 Thread Phil Harris
self.REQUEST.AUTHENTICATED_USER.getUserName() - Original Message - From: "Dirksen" [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Thursday, November 23, 2000 1:33 AM Subject: [Zope] How to get authentiedcated user name in pythong method? | How can I do that just as dtml-var

Re: [Zope] Zope with Microsoft Access

2000-11-22 Thread [EMAIL PROTECTED]
From: "Mike Kelland" [EMAIL PROTECTED] What does dtml-var "0/0" actually do? Looks like all it would do is divide by zero which *has* to be some kind of error. Yelp, that's exactly what it does. My goal was to prove one way or another that a bit of code was executed. Divide by zero is one

Re: [Zope] ZCatalog: setting default to AND (not OR).

2000-11-22 Thread The Doctor What
I'm sorry. I seem to have not explained myself very well. I want ZCatalog to use AND by default. I think the extended behaviour, being able to AND and OR keywords together is fine. I'm only concerned with the default behaviour (with *no* OR or AND keywords). When I first used zope.org's

[Zope] neat trick

2000-11-22 Thread magnus
Just wanted to share something that I thought was kind of neat (if obvious). I often present properties from a property sheet, and this is an easy way to do it: Assuming there are three fields in the property sheet, called field1, field2 and field3. table trthName/ththValue/th/tr dtml-in

[Zope] Re: is it possible to see whether any user is using a perticular zope object

2000-11-22 Thread subrahmanyan kalathur
As you want to serialize access to your database, you might be interested in locking. Search the (searchable) list archive for "lock" and "locking" to find more information about it. For locking, too, my "SharedResource" can help you. *HOWEVER*, I follow other posters: it is probably much

[Zope] [Urgent] Zope good for multiprocessor hardware

2000-11-22 Thread Andreas Tille
On Thu, 16 Nov 2000 Andreas Tille wrote: we intent to buy new web server hardware. We want to run Debian GNU/Linux on a Sun system. I wonder if zope could profit from a multi-processor architecture on such a system. Zope server starts several threads. So could they be split over the

Re: [Zope] Microsoft Access database

2000-11-22 Thread Diny van Gool
At 23:07 22-11-00 -0500, John Cappelletti wrote: [...] What is the process for connecting to a MS Access database? Can it be done? Yes, it can. I'm running Zope 2.2.0 on Windows98 with Access97. You'll have to use the ZODBCDA product. In Windows98: - Use the Control Panel - ODBC connection -

  1   2   >