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

2000-07-04 Thread Monty Taylor
Original Message On 7/4/00, 12:47:07 AM, Andy Dustman [EMAIL PROTECTED] wrote regarding Re: [Zope] MySQL transaction support (was: MySQL Select Statements): Note also: With non-transactional databases, you would expect to get better performance by having several open connections which

Re: [Zope] Authentication, Anonymous and Public

2000-07-04 Thread Stuart Bishop
On Fri, 30 Jun 2000, Dieter Maurer wrote: Capesius, Alan writes: I'm running into a problem after implementing jcNTUserFolder in a subfolder of my site. Users can access the root level or particular subfolders anonymously. Once a user accesses the protected NTUserFolder, the

Re: [Zope] NOTICE: issue with database packing in current Zopereleases

2000-07-04 Thread Stuart Bishop
On Thu, 29 Jun 2000, Brian Lloyd wrote: Jim found a problem with the algorithm for packing the Zope database that we wanted to announce so that folks can avoid being bitten by it until the fix is out (in b4). I think this is a candidate for a Hotfix. 2.2 upgrades could be problematic and I

[Zope] uploading from client PC in MySQL thru ZSQL

2000-07-04 Thread Didier Georgieff
Hello, I'm trying to "import" a CSV text file for feeding a MySQL database. I have : * DTML method including : form method="post" action="import" enctype="multipart/form- data" input type="file" name="loadFileAnnu" input type="submit" value="Import File in MySQL" /form * ZSQL method

[Zope] site versions with zope

2000-07-04 Thread Nathalie Bernier
Hello, I'd like to modify a live site, instead of working on a mirror copy. Could someone explain me, step by step, how sessions work? Thanks Nathalie Bernier * Développeur web multiThématiques Centre Jean Monet Longlaville 54400 LONGWY

[Zope] Help needed: why is this DTML not working in zope 2 ?

2000-07-04 Thread Gilles Lavaux
Hello, I am a little bit disappointed not getting any echo from my previous question, so I report it. Maybe my dtml is wrong for zope2, but I would appreciate to have some explanation from more experienced peoples. If I can not find a solution, we will have to keep our zope1 production server,

Re: [Zope] uploading from client PC in MySQL thru ZSQL

2000-07-04 Thread Andrew Kenneth Milton
+[ Didier Georgieff ]- | | SQL used: | LOAD DATA LOCAL INFILE 'D:/Data/SIT67/AnnuaireTest.csv' | INTO TABLE annuaire FIELDS TERMINATED BY ';' Local means local to the actual mysql client (your webserver), not local to your user (browser). You

Re: [Zope] About Powered by Zope...very simple, isn't it?

2000-07-04 Thread Andrew Kenneth Milton
+[ Pierre Rougier ]- | Hi zopatistas, | well... this is not a very important thing, but I would like to remove | the picture "Powered by Zope" at the end of my Zope Pages... | is it possible..? I though it was in the "standard html header" but it |

Re: [Zope] About Powered by Zope...very simple, isn't it?

2000-07-04 Thread Oleg Broytmann
On Tue, 4 Jul 2000, Pierre Rougier wrote: well... this is not a very important thing, but I would like to remove the picture "Powered by Zope" at the end of my Zope Pages... is it possible..? I though it was in the "standard html header" but it footer Oleg.(All opinions are

Re: [Zope] About Powered by Zope...very simple, isn't it?

2000-07-04 Thread Nils Jeppe
On Tue, 4 Jul 2000, Pierre Rougier wrote: is it possible..? I though it was in the "standard html header" but it seems that it is not...gasp... Yeah it's in the standard html footer! :-) best wishes, Nils ___ Zope maillist - [EMAIL

Re: [Zope] About Powered by Zope...very simple, isn't it?

2000-07-04 Thread Robert Wohlfahrt
Hi, well... this is not a very important thing, but I would like to remove the picture "Powered by Zope" at the end of my Zope Pages... is it possible..? I though it was in the "standard html header" but it seems that it is not...gasp... it is in standard_html_footer ... Robert

Re: [Zope] problem with ZopeFind and objectValues

2000-07-04 Thread Jerome Alet
I can now answer in part: On Mon, 3 Jul 2000, Jerome Alet wrote: dtml-in "ZopeFind(this(), obj_metatypes=['Folder'])" dtml-var id - dtml-var title /dtml-in gives me the following error: """Unauthorized You are not authorized to access id.""" If I set a proxy role of manager to

[Zope] Powered By Zope logo

2000-07-04 Thread Peter Bengtsson
Dear Zpeople The "Powered by Zope" logo in the footer is slow to load for some reason, and I don't like the colour of it (nice, but not one the site I'm working on at the moment. Basically, where do I find the source for this: !--#var ZopeAttributionButton-- Yes, I know that I can create

[Zope] generate a list of date

2000-07-04 Thread F.Richter
Hello, I want generate and show a list of days in a period. For instance: (period from 2000-06-07 to 2000-06-30) 2000-06-07, 2000-06-08, 2000-06-08 ... 2000-06-30 How can I do this??? -- By Frank ___ Zope maillist - [EMAIL PROTECTED]

[Zope] Restarting with NT

2000-07-04 Thread J. Michael Mc Kay
If I stop Zope as a service from NT's Service Manager or from the Zope management interface it seems to kick and scream while restarting. In the application log I see repeated errors stating the service could not start. These repeat until the application log is full. Zope appears to be running,

Re: [Zope] Powered By Zope logo

2000-07-04 Thread Martijn Pieters
On Tue, Jul 04, 2000 at 12:44:14PM +0100, Peter Bengtsson wrote: The "Powered by Zope" logo in the footer is slow to load for some reason, and I don't like the colour of it (nice, but not one the site I'm working on at the moment. Basically, where do I find the source for this: !--#var

Re: [Zope] Help needed: why is this DTML not working in zope 2 ?

2000-07-04 Thread Shane Hathaway
Hello Gilles, I think you've been bitten by a recently solved bug in dtml-try. When 2.2.0b4 comes out, please download it and try it out with your DTML (or if you're in a hurry, download from CVS.) If 2.2.0b4 doesn't solve it, e-mail me right away. Shane Gilles Lavaux wrote: Hello, I

[Zope] Lists and external methods

2000-07-04 Thread Pieter Claerhout
Hello there, I started working with Zope a few days ago, and I'm currently having some troubles with external methods. I made an external method that returns a record like list, but this doesn't seem to work correctly The list look a bit like this: 90, "x86", "Explanation", "22/06/200" 89,

Re: [Zope] Help needed: why is this DTML not working in zope 2 ?

2000-07-04 Thread Shane Hathaway
Shane Hathaway wrote: I think you've been bitten by a recently solved bug in dtml-try. When 2.2.0b4 comes out, please download it and try it out with your DTML (or if you're in a hurry, download from CVS.) If 2.2.0b4 doesn't solve it, e-mail me right away. Oops, looks like you solved it.

Re: [Zope] Lists and external methods

2000-07-04 Thread Oleg Broytmann
On Tue, 4 Jul 2000, Pieter Claerhout wrote: I want the external method to return this in a list, where I can iterate over using the dtml-in tag, so that I can reference the different fields in each record with a name. What should the list look like so that I can accomplish this?

[Zope] Sorting a list descending using dtml-in

2000-07-04 Thread Pieter Claerhout
Hello, if I'm iterating over a list using the dtml-in tag, is it then possible to sort the items descending? Pieter Pieter Claerhout Application Support - CreoScitex Europe ___ Zope maillist - [EMAIL PROTECTED]

RE: [Zope] Sorting a list descending using dtml-in

2000-07-04 Thread Pieter Claerhout
Seems to work fine in Zope 2.1.6... Pieter -Original Message- From: Jerome Alet [mailto:[EMAIL PROTECTED]] Sent: Tuesday, July 04, 2000 3:48 PM To: Pieter Claerhout Cc: '[EMAIL PROTECTED]' Subject: Re: [Zope] Sorting a list descending using dtml-in On Tue, 4 Jul 2000, Pieter

[Zope] cookies

2000-07-04 Thread Vincent Maton
Hello !!! can you tell me how can I use the "cookies" Thank you very much ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists -

Re: [Zope] generate a list of date

2000-07-04 Thread Steve Spicklemire
How about: dtml-let today="ZopeTime()" dtml-in "_.range(10)" dtml-var "today + _['sequence-index']" fmt="%D" /dtml-in /dtml-let "F" == F Richter [EMAIL PROTECTED] writes: F Hello, I want generate and show a list of days in a period. F For instance: (period from 2000-06-07 to

[Zope] ZCatalog, subtransactions permissions

2000-07-04 Thread Eric L. Walstad
Hi All, I have a user that is trying to go thru the JobBoard tutorial. In part of the tutorial he is supposed to turn off subtransactions in his instance of ZCatalog. However, he does not have the necessary permissions to do so. I'm the one that is supposed to setup his permissions, but I

Re: [Zope] Programmierungshilfe

2000-07-04 Thread Nils Kassube
[Sorry for writing in German.] [EMAIL PROTECTED] (Bruno Nana) wrote: [Die deutschsprachige Mailing-Liste zu Zope kann man auf http://mailman.beehive.de/mailman/listinfo/zope abonnieren. Diese Liste, [EMAIL PROTECTED], ist üblicherweise englischsprachig.] Und alle diese Tabellen

[Zope] too many open files

2000-07-04 Thread Ragnar Beer
Help! Zope 2.1.6 refuses to work in the middle of an external method on my i386 running under OpenBSD 2.7. Is says: OSError [Errno 24] Too many open files: '[EMAIL PROTECTED]' I've never

Re: [Zope] too many open files

2000-07-04 Thread Andrew Kenneth Milton
+[ Ragnar Beer ]- | Help! | | Zope 2.1.6 refuses to work in the middle of an external method on my | i386 running under OpenBSD 2.7. Is says: | | OSError | [Errno 24] Too many open files:

Re: [Zope] site versions with zope

2000-07-04 Thread Diny van Gool
At 10:38 4-7-00 +0200, Nathalie Bernier wrote: Hello, I'd like to modify a live site, instead of working on a mirror copy. Could someone explain me, step by step, how sessions work? Hi, At http://www.zope.org/Documentation/Guides/ZCMG (Zope Content Manager's Guide) you'll find a section called

Re: [Zope] too many open files

2000-07-04 Thread Olivier Deckmyn
Recompile your kernel with a higher value for MAXUSERS (x4 for example) - Original Message - From: "Ragnar Beer" [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Tuesday, July 04, 2000 6:31 PM Subject: [Zope] too many open files Help! Zope 2.1.6 refuses to work in the middle of an

[Zope] [newbie] cgi-tasks howto? stupid question

2000-07-04 Thread Rajil Saraswat
hi, is there any document around which list procedures how to accomplish simple cgi tasks with dtml. say i get a input into a text box thru the browser with the name as valname. Then how do i print this valname thru dtml. ofcourse i checked out with the guides but could locate cgi calls,

Re: [Zope] [newbie] cgi-tasks howto? stupid question

2000-07-04 Thread Nils Kassube
[EMAIL PROTECTED] (Rajil Saraswat) wrote: browser with the name as valname. Then how do i print this valname thru dtml. This is easy. dtml-var valname See the rules for "Name Lookup" in the DTML Reference Guide. There are circumstances where it's not so simple... ofcourse i checked out

[Zope] Re: Traversal of ZODB

2000-07-04 Thread Steve Alexander
On Fri, 30 Jun 2000, David Trudgett wrote: I wonder if anyone has a sample Python script that traverses the ZODB to query or perform arbitrary operations on the objects found in it? My present requirement is to write a script that goes through and does some automated updating of several

Re: [Zope] Authentication, Anonymous and Public

2000-07-04 Thread Chris Withers
Dieter Maurer wrote: A user that does not log in, i.e. a user you know nothing of, gets the "Anonymous" role automatically (at least with "acl_users"). A logged in user may not get the "Anonymous" role. This does not provide additional security, because this user may simply shut down his

Re: [Zope] cookies

2000-07-04 Thread Rik Hoekstra
can you tell me how can I use the "cookies" try: dtml-call "RESPONSE.setCookie('blurk', 'nonsens')"/p dtml-if "REQUEST.cookies['blurk']" dtml-var "REQUEST.cookies['blurk']" dtml-else no blurk today /dtml-if Also see the relevant portion of the DTML reference guide

Re: [Zope] Re: Traversal of ZODB

2000-07-04 Thread David Trudgett
At 2000-07-04 20:32 +0100, Steve Alexander [EMAIL PROTECTED] wrote: On Fri, 30 Jun 2000, David Trudgett wrote: I wonder if anyone has a sample Python script that traverses the ZODB to query or perform arbitrary operations on the objects found in it? My present requirement is to write a

[Zope] RFC: is this the best way to make a referal app and a jump navmenu *2nd time*menu *2nd time*

2000-07-04 Thread George Donnelly
Basically i would like people's opinions as to whether i built these things in the "right" way or not. tia! jump menu *created a selection list and told it to pass a variable (the url of the selected item) called "url" to a method called "jump" which consists of the following: dtml-call

[Zope] What is the best way to do this?

2000-07-04 Thread Alex Gould
Hello zope-masters, I humbly ask your advice on several matters. I am making an internal website for a statewide student activist group with many members. It will hopefully feature discussion boards, a contact database, and a calendar of events. I want to make the users of the site

RE: [Zope] What is the best way to do this?

2000-07-04 Thread Jens Vagelpohl
alex, IMHO when you try to do stuff using ZClasses and DTML and it starts looking too complex to you then it is. DTML is made for presentation, not for driving an application. a very sound architectural approach, and one that scales very well as your site and organzation grows, is a base of

[Zope] WorldPilot and UW-IMAP?

2000-07-04 Thread Charlie Wilkinson
Greets, I'm experiencing an issue with WorldPilot not showing the body of messages that have attachments. I can only guess that this is because WorldPilot was designed for use with the Cyrus IMAP server and I'm using it on a stock RedHat system, which I presume sports UW-IMAP. I've searched

Re: [Zope] [newbie] cgi-tasks howto? stupid question

2000-07-04 Thread Nils Kassube
[EMAIL PROTECTED] (Rajil Saraswat) wrote: i tried out this but this isnt working out for me. can you point out the error. The DTML source is okay. This should work. when i submit the form the print page is outputted but the value of the textbox(valname) is not outputted. whats wrong?

[Zope] Comparing two dates WITH time?

2000-07-04 Thread Nils Jeppe
Hello All, I need help again. How do I compare two dates that include full timestamps? If I try date_updated = ZopeTime() it works only for dates that do not include times... as soon as you have a time in the date_updated field, If the date_updated contains only a date (200/07/04 for

[Zope] dtml-var null

2000-07-04 Thread Clinton Roy
the following: dtml-var notes null="nbsp;" just doesn't seem to be working. any hints? ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists -

[Zope-dev] Re: Comments on ZPatterns

2000-07-04 Thread Phillip J. Eby
At 03:10 PM 6/28/00 +0100, Chris Withers wrote: 1. Too much jargon... by far... Lots of complicated words that are meanlingless to the layman and don't help to convey the concepts. Yep, like "Acquisition" and "object publishing". :) Seriously, that is very much the level we're talking about

Re: [Zope-dev] More comments on ZPatterns

2000-07-04 Thread Phillip J. Eby
At 10:06 AM 7/3/00 -0500, Steve Spicklemire wrote: Seriously, I'm trying to get it all figured out, and I thought maybe if I attempted to do something 'real' with it I would at least learn what I *don't* understand. Well.. I've learned a *lot*! (about what I don't understand.. ) ;-) The source

Re: [Zope-dev] ZPatterns: DropZone example

2000-07-04 Thread Phillip J. Eby
At 05:26 PM 6/28/00 +0100, Steve Alexander wrote: The suggested specialists in the Accounting framework are: Invoices Orders Customers Products What I'm finding is that these are just the White-box specialists. A clean design would seem to want all the specialists above, plus at least

Re: [Zope-dev] ZPatterns Specialist Question

2000-07-04 Thread Phillip J. Eby
At 11:54 AM 7/3/00 +0100, Chris Withers wrote: Just a quickie: If, as the the ZPatterns Wiki states, 'Specialists are not classes', then why is there a 'Specialist' python class in the ZPatterns distribution? Specialists are instances of the class "Specialist". They are not themselves

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

2000-07-04 Thread Jephte CLAIN
"Phillip J. Eby" wrote: Nope. The two levels of methods (get/retrieve and new/create) are there to seperate Rack-level concerns from implementation concerns. getItem() and newItem() handle maintenance of Rack-level invariants such as the retrieval cache, while retrieveItem() and

[Zope-dev] site versions with zope

2000-07-04 Thread Nathalie Bernier
Hello, I'd like to modify a live site, instead of working on a mirror copy. Could someone explain me, step by step, how sessions work? Thanks Nathalie Bernier * Développeur web multiThématiques Centre Jean Monet Longlaville 54400 LONGWY

Re: [Zope-dev] Help needed: why is this DTML not working in zope 2 ?

2000-07-04 Thread Chris Withers
You could try moving stuff to the new dtml style for starters: dtml-var standard_html_header and the like. That might help, if not let us know.. cheers, Chris Gilles Lavaux wrote: Hello, I am a little bit disappointed not getting any echo from my previous question, so I report it.

Re: [Zope-dev] Help needed: why is this DTML not working in zope 2 ?

2000-07-04 Thread Gilles Lavaux
Hello Lee !--#var PUBLIC_Doc-- doesn't change anything, same error. (you are right, I can use the name directly , but I have some other piece of code where I have to use the _[_['']] construction, so it has to work...) But I found something: In my 'PUBLIC_Doc' document I display image with a

Re: [Zope-dev] Help needed: why is this DTML not working in zope 2 ?

2000-07-04 Thread Chris Withers
Gilles Lavaux wrote: But I found something: In my 'PUBLIC_Doc' document I display image with a !--# var image_name-- tag, my problem disappear if I use !--#var "image_name"--, someone can explain this?? Are you sure the space after the # isn't your problem? I would STRONGLY recommend

[Zope-dev] Fwd: [Zope-PTK] Area based roles?

2000-07-04 Thread Monty Taylor
Original Message On 7/4/00, 12:45:29 PM, Monty Taylor [EMAIL PROTECTED] wrote regarding [Zope-PTK] Area based roles?: Hi all. I've got an idea of something I'm trying to implement, and I'm wondering if the concept is of use to anyone else. I've got an Intranet up in PTK. (What a

Re: [Zope-dev] Help needed: why is this DTML not working in zope 2 ?

2000-07-04 Thread Gilles Lavaux
Argh!!! no, I made a typo error : it was !--#var image_name--.the syntax was good. Ok, I will use the new syntax in my new sites. But for my old site, I will not modify my ~500 dtml methods, except if there is a way to automate the change. Gilles -Original Message- From: Chris Withers

[Zope-dev] Re: [Zope-PTK] Roles, Groups, Security and Group Membership

2000-07-04 Thread Monty Taylor
Original Message On 7/4/00, 1:22:04 PM, Chris Withers [EMAIL PROTECTED] wrote regarding [Zope-PTK] Roles, Groups, Security and Group Membership: Monty Taylor wrote: Am I making any sense at all? Does anyone see either a need for doing this or a way to do it? If it requires changes to

[Zope-dev] ZEO Replication/Cache

2000-07-04 Thread Monty Taylor
I just installed an instance of ZEO Storage Server with a client on the same machine and a client on a different machine. So far, it seems to work reasonably well, with one exception. None of the changes I've made on one client seem to propagate to the other client unless I restart the other

[Zope-dev] Re: [Zope] site versions with zope

2000-07-04 Thread Diny van Gool
At 10:38 4-7-00 +0200, Nathalie Bernier wrote: Hello, I'd like to modify a live site, instead of working on a mirror copy. Could someone explain me, step by step, how sessions work? Hi, At http://www.zope.org/Documentation/Guides/ZCMG (Zope Content Manager's Guide) you'll find a section called

Re: [Zope-dev] ZCatalog lexicon bug is back?

2000-07-04 Thread Dieter Maurer
Chris Withers writes: I seem to remember Michel being a little less than happy when he saw that code. Quite frankly, I still don't have much confidence in (Z)Catalog (still no docs for all the cool stuff, dodgy bugs and few responses when they're raised...) which is a shame since

Re: [Zope-dev] Help needed: why is this DTML not working in zope 2 ?

2000-07-04 Thread Steve Alexander
Steve Alexander wrote: Gilles Lavaux wrote: Argh!!! no, I made a typo error : it was !--#var image_name--.the syntax was good. Ok, I will use the new syntax in my new sites. But for my old site, I will not modify my ~500 dtml methods, except if there is a way to automate the

Re: [Zope-dev] Help needed: why is this DTML not working in zope 2 ?

2000-07-04 Thread Steve Alexander
Steve Alexander wrote: An external method for automated change from old syntax to new syntax follows. * Use at your own risk * No warranty implied or given * Use on a copy of your main Zope site * Back up data.fs three times before starting * Not guarenteed not to spin your

Re: [Zope-dev] ZCatalog lexicon bug is back?

2000-07-04 Thread Chris Withers
Dieter Maurer wrote: I am very interested in ZCatalog. I promiss that I will look into it, when I come to 2.2. Thanks, Documentation of the cool stuff which is already there, and making it work 100% reliably are the two main things... cheers, Chris

Re: [Zope-dev] ZPatterns: DropZone example

2000-07-04 Thread Scott Parish
Thus spake Phillip J. Eby ([EMAIL PROTECTED]): That's all quite true, but it would probably be simplest to do such a thing using AttributeProviders and SheetProviders in the white-box specialists. It does seem reasonable to have those providers talk to an AccountingProcessor object if you

Re: [Zope-dev] ZPatterns: DropZone example

2000-07-04 Thread Phillip J. Eby
At 02:21 AM 7/5/00 +, Scott Parish wrote: Does anybody out there have even the slightest clue about how to go about using AttributeProviders and SheetProviders? A select few terse hints on this subject would really help us (me) figure it out enough to start working on some howto's. You