Re: [Zope-dev] BTreeFolder released

2000-07-07 Thread Toby Dickenson
On Mon, 03 Jul 2000 16:51:23 -0400, Shane Hathaway [EMAIL PROTECTED] wrote: I had some inspiration today and discovered a simple way to write a BTreeFolder implementation. Wahay! http://www.zope.org/Members/hathawsh/BTreeFolder/ It works better than I thought it would. It allows you to store

RE: [Zope-dev] Request for amplification on new Product permissions API.

2000-07-07 Thread Brian Lloyd
So, what do I need to do to allow controlled access to this object? I understand that Shopper, inheriting from SimpleItem, already has the access to unprotected subobjects flag. And I'd rather protect the object correctly, anyway grin. I tried adding an ac_permissions structure to the

Re: [Zope-dev] BTreeFolder released

2000-07-07 Thread Martijn Pieters
On Fri, Jul 07, 2000 at 01:06:06PM +0100, Toby Dickenson wrote: I'm interested, but don't have time to install it at the moment. Could someone post a gif of it's user interface please? Shane 'borrowed' Guido's time machine to post the following before you asked this:

Re: [Zope-dev] BTreeFolder released

2000-07-07 Thread Martijn Pieters
On Fri, Jul 07, 2000 at 09:10:38PM +0200, Martijn Pieters wrote: Shane 'borrowed' Guido's time machine to post the following before you asked this: http://www.zope.org/Members/hathawsh/BTreeFolder-announce Heh, I also made Shane move the screenshot to keep or News page clean.. =) So the

Re: [Zope-dev] package descriptions

2000-07-07 Thread Michael Bernstein
ethan mindlace fremen wrote: Michael Bernstein wrote: Please change the page so both the title and the description have the same background color, but that the color is alternated between grey and white for odd and even Products. Ok, well, I've given that a try. Some people think I

Re: [Zope] Problems shutting down Zope

2000-07-07 Thread Firestar
--Original Message-- From: Chris McDonough [EMAIL PROTECTED] To: Firestar [EMAIL PROTECTED] Sent: July 7, 2000 5:05:55 AM GMT Subject: Re: [Zope] Problems shutting down Zope This is a 'normal' message. Zope 2.2 releases suppress the error message on shutdown. Phew...for once, i

[Zope] Number of zope processes on Linux and OpenBSD

2000-07-07 Thread Ragnar Beer
Howdy! I have a question concerning the number of running zope processes: I used to run Zope under Linux and there was always more than a handful of zope processes running. Now I switched to OpenBSD and there is only one. How comes? I guess the more zope processes I have running the more

Re: [Zope] Problems shutting down Zope

2000-07-07 Thread ulrich . schreiner
with zope 2.2.0a1 there was a problem with the tutorial and Gadfly read the last chapter here, perhaps it meets your problem: http://www.zope.org/Products/Zope/2.2.0a1/upgrading_to_220 /usc

Re: [Zope] Reusing standard_html_header/footer

2000-07-07 Thread Michael Gutmann
On Thu, 6 Jul 2000, Bill Anderson wrote: Michael Gutmann wrote: ... Not quite sure I understand what you are trying to do but ... Well, okay, not exactly, since we're talking acquisition not inheritance. But, the idea is the same. He wants to display the previous standard_html_header,

[Zope] SSL,Zope and Users in Zope

2000-07-07 Thread Michael Arndt
a) what do i have to to to use SSL and Zope ? normaly i use Apache and Zope. Has anyone Apache SSL or mod_ssl and Zope as Platform ? b) User Admin: if i define users i two disjunct Contexts of Zope, can i somehow merge this accounts or does that mean they have to be defined at root context ?

[Zope] Re: [Zope-Annce] ANN: Forthcoming Zope Book

2000-07-07 Thread David Hodgkinson
Amos Latteier [EMAIL PROTECTED] writes: We're excited about the book and think that it will fill an important hole the current official Zope docs. Most importantly, have you chosen an animal for the front cover yet? -- Dave Hodgkinson, http://www.hodgkinson.org

Re: [Zope] Number of zope processes on Linux and OpenBSD

2000-07-07 Thread Oleg Broytmann
On Fri, 7 Jul 2000, Ragnar Beer wrote: Howdy! I have a question concerning the number of running zope processes: I used to run Zope under Linux and there was always more than a handful of zope processes running. Now I switched to OpenBSD and there is only one. How comes? I guess the more

[Zope] Re: [ZDP] Re: [Zope-Annce] ANN: Forthcoming Zope Book

2000-07-07 Thread Rik Hoekstra
We're excited about the book and think that it will fill an important hole the current official Zope docs. Most importantly, have you chosen an animal for the front cover yet? Aren't there any pictures of Zopes? Rik ___ Zope maillist -

Re: [Zope] Re:Web Site newbie

2000-07-07 Thread Andy Gates
Message-ID: [EMAIL PROTECTED] Priority: NORMAL X-Mailer: Execmail for Win32 5.1 Build (9) MIME-Version: 1.0 Content-Type: Text/Plain; charset="us-ascii" Most stuff 90% of sites do can be done in Zope and ZServer is great for that. To serve from ZServer I think files have to be in Zope (but I

[Zope] SQLSession path

2000-07-07 Thread wai
Hi All, Using SQLSession v 0.2.9, hit by this problem : Zope Error Zope has encountered an error while publishing this resource. AttributeError Sorry, a Zope error occurred. !-- Traceback (innermost last): File

Re:[Zope] Newbie: Date checking?

2000-07-07 Thread Andy Gates
Message-ID: [EMAIL PROTECTED] Priority: NORMAL X-Mailer: Execmail for Win32 5.1 Build (9) MIME-Version: 1.0 Content-Type: Text/Plain; charset="us-ascii" Is better to put some mor lines from Traceback Exception To see the modul and the line Here it is: Traceback (innermost last): File

[Zope] Re: [ZDP] Re: [Zope-Annce] ANN: Forthcoming Zope Book

2000-07-07 Thread David Hodgkinson
Rik Hoekstra [EMAIL PROTECTED] writes: We're excited about the book and think that it will fill an important hole the current official Zope docs. Most importantly, have you chosen an animal for the front cover yet? Aren't there any pictures of Zopes? A basselope would be

[Zope] Re: [squishdot] Re: Squishdot giving error DateTimeError?newbie

2000-07-07 Thread Chris Withers
[EMAIL PROTECTED] wrote: I am on zope 2.1.6 In some post i saw that timezone can be changed. My timezone is India GMT+530. I was looking through the DateTime.py code where the timezones are listed. it is now giving Error:DateTimeError ErrorValue:UnrecognisedTimeZone

Re: [Zope] Stability - can you give us some advice?

2000-07-07 Thread J. Atwood
I have about 8 Zope websites of varying sizes and complexities. Early on when I was developing in Zope I had it hang a few times but since then (and I have done a lot of stuff for the last six months) I have really never had it hang. Two of the sites use PostgreSQL (6.5.3 and 7.0) and four of

Re: [Zope] Is Zope slow?

2000-07-07 Thread J. Atwood
I have a lot of time and exposure to Tomcat so it made it easy for me to run those tests (BTW, now in production, on the same machine Zope is about 3 times faster!) but none really with PHP or Mason. In the end of the day, though, as most of the people have been saying on this list, you

Re: [Zope] Patch to DateTime.py

2000-07-07 Thread Rajil Saraswat
Hi, I am a newbie to zope and squish. My squishdot starts giving errors after midnight. the offending error is Unrecognised Time Zone in DateTime.py I am on GMT+530(India). As i donot know python, can you please tell where i should add this timezone in DateTime.py, so this problem is resolved.

[Zope] RE : Redirect when not authenticated

2000-07-07 Thread Frederic Quin
Hi, I am not sure to understand your problem but maybe you can use the following meta HTML tag which redirect the user where you want... head meta http-equiv="Refresh" CONTENT="0 ; URL=new_url_html" /head If the DTML Method containing those lines is in a secured folder, you can add a Proxy

Re: [Zope] Which PostGreSQL DA should I use?

2000-07-07 Thread Cary O'Brien
On Fri, 07 Jul 2000, Eric L. Walstad wrote: OK, I am thinking about going from MySQL to PostgreSQL for its transactions and subqueries. I am curious which DA I should use and why. I see that I can choose from: 1. SQLRelay 2. ZPoPyDA 3. ZPyGreSQLDA Which are you using and

Re: [Zope] Which PostGreSQL DA should I use?

2000-07-07 Thread Oleg Broytmann
On Fri, 7 Jul 2000, Cary O'Brien wrote: allowing m threads, but n (nm) concurrent PostgreSQL queries. It is impossible in PostgreSQL, and no DA could fix this. Oleg.(All opinions are mine and not of my employer) Oleg Broytmann Foundation for Effective

RE: [Zope] Is Zope slow?

2000-07-07 Thread Coleman, Bryan
Was that Zap or Zope/Medusa. I have run some benchmarks that favored apache serving the same "static" content that Zope/Medusa was serving. - Bryan Patrick Coleman Questcon Technologies (336)273-2428 [EMAIL PROTECTED] -Original Message- From: Andy McKay [SMTP:[EMAIL PROTECTED]]

Re: [Zope] Re: FSSession buglette

2000-07-07 Thread Pavlos Christoforou
On Fri, 7 Jul 2000, Paul Gresham wrote: Hi, Yep, I'm definitely running 0-4-0, I think the fact that I did something naughty caused the rename (and therefore the commit) to fail, when it expected to work. An exception in the commit then caused Zope to stop all commits. What is worrying is

[Zope] Problem with database packing (major data loss)

2000-07-07 Thread Richard Taylor
We have discovered a rather nasty problem. On Zope 2.1.6 if you you pack the database with '0' in the days box and then pack it again with '1' in the days box bad things happen. In our case the first pack resulted in a Data.fs of 17MBytes (not bad from a started point of nearly 2GBytes) the

[Zope] FYI - poss. reindex_object alleged 'bug' workaround

2000-07-07 Thread Jeff Sasmor
Zopers and PyCoders- I was having a problem with ZCatalog-- namely, editing the properties of a CatalogAware item (in a custom form) after creation resulted in no change to the indexed value in the Catalog. I know about reindex_object and was using that-- so it wasn't just that I was leaving

RE: [Zope] Which PostGreSQL DA should I use?

2000-07-07 Thread kedai
- SQLRelay, i have compiled and installed, but i can't figure out how to use it. i cant start the listener without an error.( can't bind something). and i'm not too sure how how the connect string looks like if i have a user with no password. but i think this may be the best solution,

RE: [Zope] Patch to DateTime.py

2000-07-07 Thread Brian Lloyd
The people who want this site want the local time, not UTC+0 that strftime enforces. So, I created a tiny patch which adds _.DateTime().strfltime(), which works identically, except it passes LOCALTIME instead of GMTIME. It's tiny, it's simple, but it's REALLY

[Zope] Calculate difference between time input?

2000-07-07 Thread Peter Arvidsson
How do I calculate the difference between two times I get from a from? Lets say time a = 09:45 and time b = 11:15 Then I want to calculate the difference. How do I calculate it? I'd also like to know how to get the answers in differen formats. For example caculating the input above I want to be

Re: [Zope] Problem with database packing (major data loss)

2000-07-07 Thread Martijn Pieters
On Fri, Jul 07, 2000 at 02:20:00PM +0100, Richard Taylor wrote: We have discovered a rather nasty problem. On Zope 2.1.6 if you you pack the database with '0' in the days box and then pack it again with '1' in the days box bad things happen. In our case the first pack resulted in a Data.fs

Re: [Zope] Is Zope slow?

2000-07-07 Thread J. Atwood
Well, i don't think my site will ever get that much hits:) Anyway, i check out Digicool website on this ZEO thing, and it seems that they charge abt $25,000 for this product alone(+consulting)? Not to belittle their effort, but that's a huge amount of money, considering that everything

Re: [Zope] Calculate difference between time input?

2000-07-07 Thread Shane Hathaway
Peter Arvidsson wrote: How do I calculate the difference between two times I get from a from? Lets say time a = 09:45 and time b = 11:15 Then I want to calculate the difference. How do I calculate it? I'd also like to know how to get the answers in differen formats. For example

Re: [Zope] Problem with database packing (major data loss)

2000-07-07 Thread Richard Taylor
Brian Lloyd [EMAIL PROTECTED] writes: On Zope 2.1.6 if you you pack the database with '0' in the days box and then pack it again with '1' in the days box bad things happen. In our case the first pack resulted in a Data.fs of 17MBytes (not bad from a started point of nearly 2GBytes) the

[Zope] DTML method to add a folder and put image inside

2000-07-07 Thread John Verzani
Zope has me stumped. I want to make a _simple_ form and process to add a folder then insert into that folder some properties and an image. Here is what I am trying with my DTML method for processing the form request: dtml-call "manage_addFolder(REQUEST['id'],REQUEST['title'])" dtml-with

[Zope] Unquoting a string.

2000-07-07 Thread Gregory Haley
Hi, I am trying to pass a column id through a ZMySQL method call. The thing looks like this: UPDATE venapoll SET dtml-sqlvar resp type=string = last_insert_id(+1) WHERE poll_num = 3; where resp is a value passed in by a dtml method and can have the value of resp0, resp1, resp3, etc. These

RE: [Zope] Redirect Back

2000-07-07 Thread Chris McDonough
You may either use Javascript's history method or use RESPONSE.REDIRECT(REQUEST['HTTP_REFERER']). The former is preferred as the latter isn't always accurate nor available. -Original Message- From: Aaron Williamson [mailto:[EMAIL PROTECTED]] Sent: Friday, July 07, 2000 11:45 AM To:

RE: [Zope] Redirect Back

2000-07-07 Thread Chris McDonough
Oops, sorry, not RESPONSE.REDIRECT, instead RESPONSE.redirect. -Original Message- From: Chris McDonough [mailto:[EMAIL PROTECTED]] Sent: Friday, July 07, 2000 11:54 AM To: 'Aaron Williamson'; [EMAIL PROTECTED] Subject: RE: [Zope] Redirect Back You may either use Javascript's

[Zope] http://www.zope.org: HORRIBLE HTML

2000-07-07 Thread Svante Kleist
Has anybody tried to validate the Zope homepage? Like so: URL: http://validator.w3.org/check?uri=http%3A%2F%2Fwww.zope.org%2F My attention was drawn to this sad fact when I reported (was I thought was) a bug in Mozilla: URL: http://bugzilla.mozilla.org/show_bug.cgi?id=44757 Is Zope

[Zope] DTMLDocument content - html quoted or not

2000-07-07 Thread Aleksander Salwa
I have ZClass (called Artykul) which subclasses DTMLDocument. This class has a method, used to view document, which appends some special stuff to document's content. For some reasons I don't want to put this stuff directly into document's data. In mentioned method, to render document, I wrote:

[Zope] Error Value: managemanage_editForm

2000-07-07 Thread kwan
hi, I am using Zope 2.1.6 and Squishdot 0.4.1 Squishdot works greate and works the way as I want. However, I cannot edit the permission setting for a squishdot site. Whenever I try to change something I got AttributeError and the Error value is 'managemanage_editForm' So I tried to change the

[Zope] Problem with _[xyz]

2000-07-07 Thread Christian Zagrodnick
Hi all, shouldn't dtml-var xyz and dtml-var "_['xyz']" return the same result? Well - I don't know why but only the 1st is working. (top.German.ActualPages is a folder; tThisIs... is a dtml-method) 1: dtml-with "top.German.ActualPages" dtml-var tThisIsTheXYZDocument /dtml-with 2: dtml-with

RE: [Zope] Number of zope processes on Linux and OpenBSD

2000-07-07 Thread Ron Bickers
I went the other way around and wondered why my single MySQL process on FreeBSD was now a dozen or so on Linux. As already mentioned, Linux assigns a process ID to every thread, so all threads show in the process list. On the BSDs (and probably most, if not all other UNIX OSs), threads are not

Re: [Zope] http://www.zope.org: HORRIBLE HTML

2000-07-07 Thread Nils Jeppe
On Fri, 7 Jul 2000, Svante Kleist wrote: Has anybody tried to validate the Zope homepage? Like so: URL: http://validator.w3.org/check?uri=http%3A%2F%2Fwww.zope.org%2F I think this can be mostly attributed to the people who built zope.org. If I validate some pretty plain standard page, I get

RE: [Zope] Unquoting a string.

2000-07-07 Thread Ron Bickers
dtml-sqlvar does quoting of strings to aid in placing them in SQL queries. Use just dtml-var resp instead of dtml-sqlvar ... ___ Ron Bickers Logic Etc, Inc. [EMAIL PROTECTED] -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of

Re: [Zope] Problem with _[xyz]

2000-07-07 Thread Jim Washington
Hi, Christian Christian Zagrodnick wrote: Hi all, shouldn't dtml-var xyz and dtml-var "_['xyz']" return the same result? if xyz is a simple variable, yes. Well - I don't know why but only the 1st is working. (top.German.ActualPages is a folder; tThisIs... is a dtml-method) 1:

Re: [Zope] http://www.zope.org: HORRIBLE HTML

2000-07-07 Thread Martijn Pieters
On Fri, Jul 07, 2000 at 06:35:36PM +0200, Svante Kleist wrote: Has anybody tried to validate the Zope homepage? Like so: URL: http://validator.w3.org/check?uri=http%3A%2F%2Fwww.zope.org%2F My attention was drawn to this sad fact when I reported (was I thought was) a bug in Mozilla:

Re: [Zope] Newbie: Build Object Names

2000-07-07 Thread Dieter Maurer
Terry Babbey writes: I am trying to build my object names and it is not working. Here is my code done in three ways and only one way works. #1 dtml-var "ProgCode+'AR'" Use: dtml-var "_[ProgCode + 'AR']" Dieter ___ Zope maillist - [EMAIL

[Zope] FSSession used in Python???

2000-07-07 Thread Dan Narkiewicz
I want to write my own Product in python that uses FSSession to store a very minimum amount of information... For the life of me i cannot figure out how to correctly create an instance of an FSSession that can be manipulated inside my own python written Zope product... Any help would be..

[Zope] Learn Zope

2000-07-07 Thread Paul Aviles
What is the best document to learn Zope? THX ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce

Re: [Zope] Learn Zope

2000-07-07 Thread Alex Gould
Paul Aviles wrote: What is the best document to learn Zope? Try some of the guides at: http://www.zope.org/Documentation hopefully there will soon be an actual book (this would be great for me!) http://www.zope.org/Wikis/Docs/ZopeBook -- Building highways to reduce traffic is like

[Zope] Standard footer changed in tutorial?

2000-07-07 Thread Frank Isaacs
I'm working on the tutorial in version 2.2b3 (I know, it's a beta, caveat emptor...) I did lesson 4, discussing the footer and putting the e-mail link to "webmaster" in. Then I went to lesson 5, and the footer appeared to have been changed back to the default footer (the zope gif image and link

Re: [Zope] Standard footer changed in tutorial?

2000-07-07 Thread Martijn Pieters
On Fri, Jul 07, 2000 at 04:40:37PM -0400, Frank Isaacs wrote: PS: And how about the code for the zope link? It seems to be invisible, but it would be nice to be able to include it if you modify the standard footer. (I suppose I could copy and paste from a rendered html page, but... isn't it

[Zope] delete objet via a form

2000-07-07 Thread FR Chalaoux
Hi Zopper, The Use case == 1/ Display file objets from a folder 2/ Select objets to delete 3/ Delete these objets 4/ Refresh the document My solution is based on 2 DTML methods but it does not work for me. The documents are not deleted and no refresh of the page. Help is welcome.

Re: [Zope] Unquoting a string.

2000-07-07 Thread Gregory Haley
Hi, Yes, I had tried that, but, I had some little a syntax problem that was causing zope to throw an error, and I thought it was because it didn't like the use of dtml-var in an sql call. From the advice here, and in a second response, I looked more closely at the error message and discovered

Re: [Zope] Redirect Back

2000-07-07 Thread Andy McKay
And Javascripts back function is javascript:history.back() so i think RESPONSE.redirect('javascript:history.back()') - Original Message - From: "Chris McDonough" [EMAIL PROTECTED] To: "Chris McDonough" [EMAIL PROTECTED]; "'Aaron Williamson'" [EMAIL PROTECTED]; [EMAIL PROTECTED] Sent:

[Zope] C:\Program Files\WebSiteC:\Program Files\WebSite\bin\python.exeC:\Program FC:\Program F

2000-07-07 Thread Jonathan DESP
Hi, I'm getting a problem, I don't understand what it is, my friend and me didnot find the problem too. It's not a problem of size, because I have it on my computer, and I can easily handle that amount of size. Also, it's not the size limit inside Zope, because I have another data.fs, and it's

Re: [Zope] Problem with database packing (major data loss)

2000-07-07 Thread Bill Anderson
Nigel Head wrote: Brian, FWIW, I have a follow-on problem (CVS version from last night) ... I can now never pack at all as it always complains that a pack to a later date has already been done. I did a complete fresh install and tried a pack as the very first thing ... same problem. Any