Re: [Zope] Using aquisition inside a dtml method of a product ?

2000-12-08 Thread Andreas Jung
On Thu, Dec 07, 2000 at 10:07:25PM -0500, Tres Seaver wrote: Could it be that you don't derive your product class (directly or indirectly) from Acquisition.Implicit? Otherwise, I'm stumped. I use just the code you describe inside the PTK, for instance. Yes, that was the problem. I took the

[Zope] ZPatterns terminology

2000-12-08 Thread Dario Lopez-Kästen
From: "Cees de Groot" [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Friday, December 08, 2000 8:16 AM Chris Withers [EMAIL PROTECTED] said: ...I disagree, ZPatterns only major flaw is that its totally immersed in its own jargon which very few people understand :-( That said, my

Re: [Zope] New version of book uploaded

2000-12-08 Thread Holger Hoffmann
Hi, Michel Pelletier wrote: Greetings, Read this carefully, you may end up with a free, signed copy of the Zope book. Chapter 9: Searching and Categorizing Content Searching Catalogs Searching from Python Here is a Python Method called relevantSectionNews that accepts

Re: [Zope] New version of book uploaded

2000-12-08 Thread [EMAIL PROTECTED]
On Friday 08 December 2000 09:07, Michel Pelletier wrote: Greetings, Read this carefully, you may end up with a free, signed copy of the Zope book. hee's a shot, don't know whether it's been pointed out or not ---8-- Python MethodsYou can use Python, a scripting language, to script

Re: [Zope] New version of book uploaded

2000-12-08 Thread [EMAIL PROTECTED]
On Friday 08 December 2000 09:07, Michel Pelletier wrote: Greetings, Read this carefully, you may end up with a free, signed copy of the Zope book. as ypu said, this whole chapter still uses python methods. not sure whther it's been pointed out or not. sent earlier without the URL. here

Re: [Zope] New version of book uploaded

2000-12-08 Thread Michel Pelletier
On Fri, 8 Dec 2000, Bak@kedai wrote: On Friday 08 December 2000 09:07, Michel Pelletier wrote: Greetings, Read this carefully, you may end up with a free, signed copy of the Zope book. as ypu said, this whole chapter still uses python methods. Actually, the copy of the chapter

[Zope] Strange Catalog problem.

2000-12-08 Thread Didier Georgieff
Hello, I'm using a modified (french, adding programatically and new classes but the ground features are untouched) Yihaw on 2.2.4 (linux). I've got a strange behaviours (YihawNews boxes don't show the new items) until i found that "old" (before upgrading to 2.2.2 + 2.2.4 update) items on the

[Zope] dtml-var date fmt=Date does not work!

2000-12-08 Thread Thomas Volkmar Worm
Hi, trying the example dtml-var date fmt=Date from the DTML-Documentation, page 3, leads to the following result when viewing the page. Why? I am using Zope 2.2.4. I get the same results on W98/WNT and Linux. Without this tag, the page works. Regards Thomas {PRIVATE}{PRIVATE

Re: [Zope] New version of book uploaded

2000-12-08 Thread [EMAIL PROTECTED]
On Friday 08 December 2000 17:35, you wrote: On Fri, 8 Dec 2000, Bak@kedai wrote: On Friday 08 December 2000 09:07, Michel Pelletier wrote: Greetings, Read this carefully, you may end up with a free, signed copy of the Zope book. as ypu said, this whole chapter still uses

Re: [Zope] ZNavigator

2000-12-08 Thread Olaf Zanger
Jonas Juselius schrieb: Yes I have an idea... ;-) Due to some changes in Zope2, the ZNavigator broke... Try to get the latest version (2.02) from www.zope.org/Members/jonas/ZNavigator/ and install the examples from that distro instead. thanks for the tip, but didn't help, sorry

Re: [Zope] ZPatterns

2000-12-08 Thread Chris Withers
"Magnus Heino (Rivermen)" wrote: Are there any more docs or any examples available now than a couple of months ago? Maybe I simple products that does things the ZPatterns way, and explains why and how would be just great. The problem, and this I totally agree with PJE, Ty Sarna and the

Re: [Zope] New version of book uploaded

2000-12-08 Thread [EMAIL PROTECTED]
On Friday 08 December 2000 17:35, Michel Pelletier wrote: On Fri, 8 Dec 2000, Bak@kedai wrote: On Friday 08 December 2000 09:07, Michel Pelletier wrote: Greetings, Read this carefully, you may end up with a free, signed copy of the Zope book. as ypu said, this whole chapter

[Zope] Zope newsgroups

2000-12-08 Thread Thomas Volkmar Worm
Hi, are there newsgroups about zope? Regards Thomas ___ 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

[Zope] StructuredText with Metapublisher content

2000-12-08 Thread olpa
Hi, when I render a DTML-Method abc containing structured text content with dtml-var abc fmt=structured-text, the output is correctly rendered. when I render the content of a MetaPublisher entry with dtml-var "mp_entries..." fmt=structured-text, then the output is not correctly rendered. Only

Re: [Zope] Cut/copy/paste problems

2000-12-08 Thread Oleg Broytmann
Hi! i knew that! :) btw, there's currently sparse document on mod_pcgi2. i'd like to change that, but i need info from you (the author ..straight from the horses mouth - so to speak) or snippets from your httpd.conf. do i need to have Zope.cgi available? i think i do since otherwise,

[Zope] RE: Strange Catalog problem.

2000-12-08 Thread Søren Roug
I think you should do "Find Items to ZCatalog" and do a clean index of the whole website. Apparently "Update Catalog" doesn't touch the old invalid pointers in the index. Also, for Yihaw you must find object of all types otherwise it won't catalog the subclassed objects! The correct behaviour

RE: [Zope] ZPatterns

2000-12-08 Thread Magnus Heino (Rivermen)
I simple products that does things the ZPatterns way, and explains why and how would be just great. The problem, and this I totally agree with PJE, Ty Sarna and the other people who're using ZPatterns and fully understand it, is that they are using it to do their jobs and so really

[Zope] RE: Strange Catalog problem.

2000-12-08 Thread Didier Georgieff
Le 8 Dec 2000, à 11:44, Søren Roug a écrit : I think you should do "Find Items to ZCatalog" and do a clean index of the whole website. Yes. But problem is to get the *whole* objects or nothing but can't get only the Yihaw objects and subclassed objects (see below). I guess it's a ZCatalog

[Zope] RE: Strange Catalog problem.

2000-12-08 Thread Søren Roug
|| Apparently "Update Catalog" doesn't touch the old invalid || pointers in the index. || || Yes. Is it a feature or a bug ? Because this causes a lot of || trouble when || you want to transfer a 2.1.6 to 2.2.x site (because of the || lack of subclass || objets proposal when you want to

Re: [Zope] New version of book uploaded

2000-12-08 Thread Jochen Knuth
Hi, Michel Pelletier wrote: Greetings, Read this carefully, you may end up with a free, signed copy of the Zope book. ... So without further a-do here's the URL. Have fun! http://www.zope.org/Members/michel/ZB/ -Michel ok, it's not in the book itself but linked from it

Re: [Zope] ZPatterns

2000-12-08 Thread Rik Hoekstra
Cees de Groot wrote: Chris Withers [EMAIL PROTECTED] said: ...I disagree, ZPatterns only major flaw is that its totally immersed in its own jargon which very few people understand :-( That said, my impression is that if you can wade through the b/s, it's more than worth the effort...

Re: [Zope] New version of book uploaded

2000-12-08 Thread Jochen Knuth
and another one: http://www.zope.org/Members/michel/ZB/RelationalDatabases.html Figure 10-5: The Add form for Z SQL Methods As usual, you must specify an id and title for the ZSQL Method. In addition you need to select a Database Connection to use with this Z SQL Methods. Give this new method

Re: [Zope] ZPatterns terminology

2000-12-08 Thread Steve Spicklemire
Have you seen: http://www.zope.org/Members/sspickle/DumbZPatternsExample there is an upgrade in the works. ;-) I'm working out the kinks with a way to do documentation/modeling with ZPatterns. Hopefully within a week or two... -steve "Dario" == Dario Lopez-Kästen [EMAIL PROTECTED] writes:

Re: [Zope] New version of book uploaded

2000-12-08 Thread Jochen Knuth
Hi, Jochen Knuth wrote: and another one: http://www.zope.org/Members/michel/ZB/RelationalDatabases.html sorry, another cache bug. Jochen -- -- Jochen Knuth WebMaster http://www.ipro.de IPRO GmbH Phone ++49-7152-93330

Re: [Zope] ZNavigator

2000-12-08 Thread Olaf Zanger
well, i installed navigator_demo.zexp and the ZNavigator folder from 2-00 and 2-01 respectively that i downloaded yesturday didn't help, but solution solution: delete navigator_demo/simple_demo/infobar/nonsens and simple_demo works your selection of objekt names, bar entries and the

Re: [Zope] New version of book uploaded

2000-12-08 Thread Jochen Knuth
(this time after several attempts to reload) Michel Pelletier wrote: Greetings, Read this carefully, you may end up with a free, signed copy of the Zope book. http://www.zope.org/Members/michel/ZB/AppendixA.html return: Returns data The return tag stops executing DTML and returns data.

[Zope] Is it Possible 2: Get resolution!

2000-12-08 Thread Stoonsdesign
Quote: "ASP Sux, Php isOK, but ZOPE RULEZ!" Stoons (me) friday 8th dec. 2000. Q: Is it posible to get the current users SCREEN-RESOLUTION (without using Javascript!)..? Stoons = )

Re: [Zope] Authentication Problem : External method returning object

2000-12-08 Thread Sean McGrath
Here is the external method "testexternal": class AClass: [Dieter Maurer] You will need (or something like this): __access_to_unprotected_subobjects__= 1 def __init__(self): It works a treat. Thanks! Sean

Re: [Zope] Using aquisition inside a dtml method of a product ?

2000-12-08 Thread Tres Seaver
On Fri, 8 Dec 2000, Andreas Jung wrote: On Thu, Dec 07, 2000 at 10:07:25PM -0500, Tres Seaver wrote: Could it be that you don't derive your product class (directly or indirectly) from Acquisition.Implicit? Otherwise, I'm stumped. I use just the code you describe inside the PTK, for

Re: [Zope] FW: [Zope] FTP for ZClass hierarchies

2000-12-08 Thread Tres Seaver
M. Adam Kendall" [EMAIL PROTECTED] wrote: ARGH.. Spoke too soon.. just figured out how to override it so it actually WILL let you get to methods of inner Zclasses. And yes, I have tried to save back to the methods and they save fine.. The next thing to try to tackle is how to make FTP

[Zope] Microsoft IIS 4.0 and Zope

2000-12-08 Thread Petter Enholm
Hi, This may be more of a Microsoft IIS questions than Zope question, but I give it a shot! I have installed Zope (on port 8080) on a Windows NT 4.0 server with IIS 4.0, followed to Howto that explains how to set up PCGI with IIS, and all works very well. I can access Zope through

Re: [Zope] Is it Possible 2: Get resolution!

2000-12-08 Thread Stephan Richter
Q: Is it posible to get the current users SCREEN-RESOLUTION (without using Javascript!)..? Since Zope is a server-side application, it is completely ignorant to client settings. It can get only variables from the HTTP environment settings. Since Javascript is a client side language, it can get

[Zope] ZEXP filesize

2000-12-08 Thread peter bengtson
How (and if) is it possible to deduce the total size of a website from the filesize of Exported ZEXP files in Zope? If it's not possible to find a formula for the ratio of zopestuff and htmlstuff, is there any other way of getting a good estimate of "how big a site is"? Cheers, Peter

[Zope] HELP! - DTML Variables

2000-12-08 Thread Mohan Baro
In the code segment : dtml-in expr="find_employee(employee_id='XXX')" size=50 start=query_start dtml-if sequence-start How do I declare a variable such as intEmployee='123456' so that I can use it as: dtml-in expr="find_employee(employee_id=dtml-var intEmployee)" size=50

[Zope] Re: sorry to bother you again

2000-12-08 Thread Chris McDonough
- Original Message - From: "Matt" [EMAIL PROTECTED] To: "Chris McDonough" [EMAIL PROTECTED] Sent: Friday, December 08, 2000 4:46 AM Subject: sorry to bother you again No problem... I'd like to keep it on the mail list, so other folks can get the benefit. Chris, I found the following

Re: [Zope] persistence and dictionaries

2000-12-08 Thread Chris McDonough
Thanks for the reply, that is really useful. There are a couple of things though that still don't add up. Firstly, you say below, as do all the ZODB documents that "Custom" classes can certainly persist, they just need to mix in the "Persistence.Persistent" class as a base class. Well, in

Re: [Zope] Is it Possible 2: Get resolution!

2000-12-08 Thread Oleg Broytmann
On Fri, 8 Dec 2000, Stoonsdesign wrote: Q: Is it posible to get the current users SCREEN-RESOLUTION (without using Javascript!)..? You can't, and you don't need. Even if you get the resolution, you'd have hard times generating HTML for that resolution: HTML is very bad concerning strict

RE: [Zope] dtml-var date fmt=Date does not work!

2000-12-08 Thread Mohan Baro
this is what I use to get the current time. dtml-var "_.DateTime()" fmt=Date Mohan. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Thomas Volkmar Worm Sent: Friday, December 08, 2000 4:42 AM To: [EMAIL PROTECTED] Subject: [Zope] dtml-var date

Re: [Zope] Another Zope E-Commerce Site Online

2000-12-08 Thread Brad Clements
On 8 Dec 2000, at 8:14, Cees de Groot wrote: The nice thing about the checkout sequence is that you can move backwards at any time without losing the entered data. Also you can jump out to shop more, jump to the privacy, shipping and returns policy and your entered data isn't lost. As

[Zope] Why I Love Zope: Success Stories (BEWARE: sappy stuff inside)

2000-12-08 Thread J. Atwood
I run at least 7 or 8 Zope sites of varying shapes and sizes for about a year now and everyone once in awhile I just have to take a moment and reflect upon how much easier Zope has made my "web" life. There are some of my stories (que the music) - Recently someone took notice of a FAQ on one

RE: [Zope] Microsoft IIS 4.0 and Zope

2000-12-08 Thread Menard . Jean-Francois
Hi Petter, I have the same problem. Could you tell me if you find a way? I hope someone on this list have an answer! -Message d'origine- De : Petter Enholm [mailto:[EMAIL PROTECTED]] Envoyé : vendredi 8 décembre 2000 07:53 À : [EMAIL PROTECTED] Objet : [Zope] Microsoft IIS

Re: [Zope] Microsoft IIS 4.0 and Zope

2000-12-08 Thread Petter Enholm
The easiest thing to do (for me now) is to add Apache as front-end web-server for both IIS and Zope. The access to documentation, well tested and documented rules for rewriting, lots of HOW-TO's, mailing lists etc makes this a good choice - open source rules! Any comments on running Apache as

Re: [Zope] HELP! - DTML Variables

2000-12-08 Thread peter bengtson
You can't have DTML inside DTML. The dtml- stuff is to tell Zope that this is not HTML. The correct answer is: dtml-in expr="find_employee(employee_id=AUTHETICATED_USER.getUserName())" size=50 start=query_start cheers, peter - Original Message - From: Mohan Baro To: [EMAIL PROTECTED]

Re: [Zope] Why I Love Zope

2000-12-08 Thread Ivan Cornell
If anyone else has similar stories it would be nice to hear them. Well, I've only been using Zope for 6 weeks now, I've already launched one site based totally on it in my spare time: http://www.noonsite.com , a site for cruising sailors. Early days for it, but I've already got my father

Re: [Zope] DTML-LET problems

2000-12-08 Thread Ivan Cornell
Mohan Baro wrote: Why doesn't the following code work? How do I achieve the desired functionality? dtml-let the_current_user="dtml-var "AUTHENTICATED_USER.getUserName()"" dtml-var the_current_user /dtml-let Mohan. You can't embed dtml within dtml. Try: dtml-let

Re: [Zope] ZEXP filesize

2000-12-08 Thread Shane Hathaway
peter bengtson wrote: How (and if) is it possible to deduce the total size of a website from the filesize of Exported ZEXP files in Zope? If it's not possible to find a formula for the ratio of zopestuff and htmlstuff, is there any other way of getting a good estimate of "how big a site

Re: [Zope] Why I Love Zope: Success Stories (BEWARE: sappy stuff inside) (you're not alone)

2000-12-08 Thread peter bengtson
Well done J. I've almost been struggling to convince my tech. dir. about Zope. By now I've almost given up, and I just say. "Zope is better. That's it. Take it or leave it." I was asked to build a intranet site for my company. I installed a Squishdot and changed the logo in the top lefthand

Re: [Zope] Is it Possible 2: Get resolution!

2000-12-08 Thread Marcin Kasperski
Oleg Broytmann wrote: On Fri, 8 Dec 2000, Stoonsdesign wrote: Q: Is it posible to get the current users SCREEN-RESOLUTION (without using Javascript!)..? You can't, and you don't need. Even if you get the resolution, you'd have hard times generating HTML for that resolution: HTML is

RE: [Zope] DTML-LET problems

2000-12-08 Thread Mohan Baro
Thanks Ivan Peter, It work!. Mohan. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Ivan Cornell Sent: Friday, December 08, 2000 10:25 AM To: Mohan Baro Cc: [EMAIL PROTECTED] Subject: Re: [Zope] DTML-LET problems Mohan Baro wrote: Why doesn't

[Zope] DTML-LET problems

2000-12-08 Thread Mohan Baro
Why doesn't the following code work? How do I achieve the desired functionality? dtml-let the_current_user="dtml-var "AUTHENTICATED_USER.getUserName()"" dtml-var the_current_user /dtml-let Mohan. ___ Zope maillist - [EMAIL PROTECTED]

RE: [Zope] DTML-LET problems

2000-12-08 Thread Andy Dawkins
Mohan try this, dtml-let the_current_user="REQUEST.AUTHENTICATED_USER.getUserName()" dtml-var the_current_user /dtml-let -AndyD -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Mohan Baro Sent: 08 December 2000 14:41 To: [EMAIL PROTECTED]

Re: [Zope] Why I Love Zope: Success Stories (BEWARE: sappy stuffinside)

2000-12-08 Thread Bak @ kedai
-Original Message- From: J. Atwood [EMAIL PROTECTED] To: [EMAIL PROTECTED] [EMAIL PROTECTED] Date: Friday, December 08, 2000 10:35 PM Subject: [Zope] Why I Love Zope: Success Stories (BEWARE: sappy stuff inside) I run at least 7 or 8 Zope sites of varying shapes and sizes for about a

[Zope] acl_users glitch?

2000-12-08 Thread Anthony Monta
Is anyone else running into this problem with 2.2.4? I've created a role called "Faculty" that has all the powers of "Manager" except "Change Permissions." However, when a user with this role tries to open an acl_users folder (say, in a subfolder) while using the management screen, there's

[Zope] security - am I going crazy ?

2000-12-08 Thread Aleksander Salwa
Few days ago I found that on site that I'm currently working on, everybody can add DTMLMethods and Documents (and maybe do more, I haven't checked yet, but I think it's bad enough !) by simply entering URL http://www.mysite.com/manage_addDTMLMethod?id=q1title=qq1file=qqq1 After that Zope sends

Re: [Zope] security - am I going crazy ?

2000-12-08 Thread Shane Hathaway
Aleksander Salwa wrote: Few days ago I found that on site that I'm currently working on, everybody can add DTMLMethods and Documents (and maybe do more, I haven't checked yet, but I think it's bad enough !) by simply entering URL

[Zope] Failed upgrade to 2.2.4 - solutions?

2000-12-08 Thread Luke Tymowski
Hello, I've just tried and failed to upgrade to 2.2.4 from 2.2.2. A python instance starts up and slowly swallows the CPU, ending with 99% of the CPU. A second python instance starts and doesn't do anything naughty. If I issue a ./stop, the second python instance ends properly, but the

Re: [Zope] Failed upgrade to 2.2.4 - solutions?

2000-12-08 Thread Michel Pelletier
On Fri, 8 Dec 2000, Luke Tymowski wrote: Hello, I've just tried and failed to upgrade to 2.2.4 from 2.2.2. A python instance starts up and slowly swallows the CPU, ending with 99% of the CPU. A second python instance starts and doesn't do anything naughty. If I issue a ./stop,

[Zope] Adding users to acl_users

2000-12-08 Thread Mike Kelland
Hi everyone, I tried to add the manage_users thing that someone referred me to (sorry that I don't remember who) and got the following error: Error Type: KeyErrorError Value: __cmp__ my code is as follows: table width="600" border="0" cellpadding="3" cellspacing="1"tr class="one"td

[Zope] image resize

2000-12-08 Thread Leichtman, David J
Is there a way to do a dynamic image resize in Zope? I know PHP has that ability, and I was hoping that Zope had something similar. And I'm not talking about height and width atributes in the img tag. I mean actually creating, on-the-fly, a new duplicate of the image that's a different size.

Re: [Zope] strange ZClass method problem

2000-12-08 Thread Bill Anderson
Didier Georgieff wrote: Hello, * I have 2 Folders (Yihaw ZClass instances) * both folders have News objects (cataloged) I put the news on the front page via (this is taken from Yihaw, simplified for the demonstation, but still have the problem) this code dtml-in "Catalog(

Re: [Zope] acl_users glitch?

2000-12-08 Thread Shane Hathaway
Anthony Monta wrote: Is anyone else running into this problem with 2.2.4? I've created a role called "Faculty" that has all the powers of "Manager" except "Change Permissions." However, when a user with this role tries to open an acl_users folder (say, in a subfolder) while using the

[Zope] strange ZClass method problem

2000-12-08 Thread Didier Georgieff
Hello, * I have 2 Folders (Yihaw ZClass instances) * both folders have News objects (cataloged) I put the news on the front page via (this is taken from Yihaw, simplified for the demonstation, but still have the problem) this code dtml-in "Catalog( meta_type='Yihaw News Item',

Re: [Zope] security - am I going crazy ?

2000-12-08 Thread Aleksander Salwa
On Fri, 8 Dec 2000, Shane Hathaway wrote: You're right. It's because of a "legacy" issue. Here's a quick patch that plugs the hole: [...] This is not perfect, however. I'm working on a better solution. Thanks a lot ! It works for me. [EMAIL PROTECTED]

Re: [Zope] persistence and dictionaries

2000-12-08 Thread Chris McDonough
Huh. If they do, it's by chance only. I'd be hard-pressed to explain it. Do they inherit from *anything*? - Original Message - From: "Matt" [EMAIL PROTECTED] To: "Chris McDonough" [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Sent: Friday, December 08, 2000 2:30 PM Subject: Re: [Zope]

Re: [Zope] Zope 2.2.4 dying under Solaris 2.6

2000-12-08 Thread Michael Best
I'd like to thank everyone for the suggestions, we do have a C/Python inhouse product that is attached to this Zope. With the suggestions that were mentioned I should be able to confirm if that is the source of the problem fairly shortly. It is currently my number one culprit. I will have to

Re: [Zope] image resize

2000-12-08 Thread J. Atwood
Check out Zphoto on Zope.org.. http://www.zope.org/Members/Drew/Photo J At 1:42 PM -0600 12/8/2000, Leichtman, David J wrote: Is there a way to do a dynamic image resize in Zope? I know PHP has that ability, and I was hoping that Zope had something similar. And I'm not talking about height and

[Zope] SECURITY alert and hotfix release

2000-12-08 Thread Brian Lloyd
Hi all, Aleksander Salwa has brought a security issue to our attention that affects all Zope versions up to and including Zope 2.2.4. We have released a Hotfix product to address the issue that can be downloaded from zope.org. (Thanks to Aleksander for finding this and to Shane

[Zope] NIST meeting: Defining Standard, Scriptable Objects forCAD/CAE/CAM/PDMCAD/CAE/CAM/PDM

2000-12-08 Thread Steve Waterbury
"Defining Standard, Scriptable Objects for CAD/CAE/CAM/PDM" Date: December 13th Time: 10:00 AM - 4:00 PM Location: NIST, Building 225, Room A54 - for directions and maps to NIST, see: http://www.nist.gov/public_affairs/maps/nistmaps.html * If you plan to come, you MUST

Re: [Zope] Failed upgrade to 2.2.4 - solutions?

2000-12-08 Thread Michel Pelletier
On Fri, 8 Dec 2000, Luke Tymowski wrote: Hello To enable profiling, restart the Zope process with the environment variable PROFILE_PUBLISHER defined. The value of this variable should be the full system path to a file that will be used to dump a profile report when the

Re: [Zope] persistence and dictionaries

2000-12-08 Thread Matt
Chris, this was my original confusion the two places below where you say "You can put instances which do not inherit from Persistence.Persistent in your database. They just won't "stick". They'll hang around until the server is restarted or for an undetermined amount of time during normal

[Zope] Applying hotfix to running zope

2000-12-08 Thread Oliver Sturm
Hi, is there a way to apply a patch like the current hotfix product to a running zope without restarting the process? MfG, Oliver Sturm -- GUI (gooey): What your computer becomes after spilling your coffee on it. -- Oliver Sturm / [EMAIL PROTECTED] Key ID: 71D86996 Fingerprint: 8085 5C52

Re: [Zope] Applying hotfix to running zope

2000-12-08 Thread Shane Hathaway
Oliver Sturm wrote: is there a way to apply a patch like the current hotfix product to a running zope without restarting the process? It might be possible with some future hotfixes, but not this one, since it modifies the initialization procedure. Shane

Re: [Zope] Re: [Zope-Annce] SECURITY alert and hotfix release

2000-12-08 Thread Shane Hathaway
Andrew Kuchling wrote: On Fri, Dec 08, 2000 at 03:48:52PM -0500, Brian Lloyd wrote: The hotfix will work for all versions of Zope 2.2.0 and higher. A future version of Zope will contain the fix for this issue, and you will be able to uninstall the hot fix after upgrading. A slight

Re: [Zope] persistence and dictionaries

2000-12-08 Thread Matt
Ok, here are some of the offending bits out of my boringplus product which I can send again if people want. I have another product that keeps a dictionary of cookies so I can see how many times someone uses the back button to access the same forms page again. This worked as expected, where

Re: [Zope] Disabling Services : WebDAV

2000-12-08 Thread ethan mindlace fremen
Chris Withers wrote: Great :-( Any other way to turn WebDAV off? Not sure about Zopes supprot and not sure if I like the protocol on production servers anyway ;-) As I'm sure someone has explained, WebDAV is just HTTP on crack. HTTP requests go like so: GET / HTTP/1.0 Webdav requests

Re: [Zope] Failed upgrade to 2.2.4 - solutions?

2000-12-08 Thread Luke Tymowski
Hello To enable profiling, restart the Zope process with the environment variable PROFILE_PUBLISHER defined. The value of this variable should be the full system path to a file that will be used to dump a profile report when the process restarts or exits.

Re: [Zope] persistence and dictionaries

2000-12-08 Thread Jonothan Farr
Maybe I'm mistaken, but it seems like you can put an instance of an object that doesn't inherit from Persistent into the ZODB just fine, but its contents won't persist, so you'll always end up with a copy of the object as it was first added to the database. --jfarr - Original Message -

[Zope] Weird ZCatalog problem... bug?

2000-12-08 Thread sean . upton
On my developmet box, I'm using Zope 2.2.1 and ZCatalog to index ZClass-based classified ad objects; for some reason on sort="title" in the dtml-in Catalog ... I get inconsistent results. I perform a search and get incorrect results. I then click refresh, get results sorted differently, then

Re: [Zope] Failed upgrade to 2.2.4 - solutions?

2000-12-08 Thread Luke Tymowski
Michel Pelletier wrote: bash$: export PROFILE_PUBLISHER=/home/luke/sw/zopeProfile.txt bash$: python z2.py -D Tried that. Nothing written to the text file. But I did get this after doing a control-c ... --- File "z2.py", line 537, in ? Traceback (innermost last): File "z2.py", line 719, in

Re: [Zope] Microsoft IIS 4.0 and Zope

2000-12-08 Thread Phil Harris
That's exactly what I do, use Apache and ProxyPass to provide a unified URLspacebetween IIS and Zope. Works well! - Original Message - From: "Petter Enholm" [EMAIL PROTECTED] To: [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Sent: Friday, December 08, 2000 3:17 PM Subject: Re: [Zope]

[Zope] Re: [Zope-Annce] SECURITY alert and hotfix release

2000-12-08 Thread Andrew Kuchling
On Fri, Dec 08, 2000 at 03:48:52PM -0500, Brian Lloyd wrote: The hotfix will work for all versions of Zope 2.2.0 and higher. A future version of Zope will contain the fix for this issue, and you will be able to uninstall the hot fix after upgrading. A slight modification to the patch makes

Re: [Zope] persistence and dictionaries

2000-12-08 Thread Jonothan Farr
Oops. You snipped the contents of MoreStuff.addStuff(). No way to tell what's going on without that! --jfarr - Original Message - From: "Matt" [EMAIL PROTECTED] To: "Jonothan Farr" [EMAIL PROTECTED]; [EMAIL PROTECTED] Sent: Friday, December 08, 2000 2:39 PM Subject: Re: [Zope]

[Zope] PythonMethod (0.1.6) ZEO weirdnesss

2000-12-08 Thread Dyon Balding
Hi, We've got a 2 client ZEO cluster working fine, with a number of PythonMethods (ver 0.1.6). When I tried adding a 3rd ZEO client, which I am pretty sure is set up in the same way as the other clients, PythonMethods created via the original clients barf when viewed on the new client.

[Zope] Submit your software to BlueChillies.com

2000-12-08 Thread Joseph Hadinata
Hi, We are pleased to inform you that we have launched a new website containing shareware, freeware and demoware resources. We have invested a great deal of time and money in making BlueChillies.com the best shareware and freeware website. BlueChillies.com lists Windows, Macintosh, BeOS, DOS,

Re: [Zope] persistence and dictionaries

2000-12-08 Thread Matt
um, nope, that's all there is to that class I'll attach the whole product Matt Jonothan Farr wrote: Oops. You snipped the contents of MoreStuff.addStuff(). No way to tell what's going on without that! --jfarr - Original Message - From: "Matt" [EMAIL PROTECTED] To:

Re: [Zope] persistence and dictionaries - new light

2000-12-08 Thread Matt
I tried a few things out it seems the following is happening : the methods that seemed to be activating persistence when I thought they shouldn't are called through my handle to the manage_edit ... i.e. in the product I sent this was anything called within def manage_edit(self, title,

Re: [Zope] Another Zope E-Commerce Site Online

2000-12-08 Thread Cees de Groot
[EMAIL PROTECTED] said: [ an awful lot on the workings of his ecommerce site ] Thanks, Brad. A lot of very useful information, and it'll surely help me in building version 2 of our stuff (v1 was a quick 1.5wk hack because of deadlines, I can now take things "easy", like in 1.75wks :-)).

Re: [Zope] ZPatterns

2000-12-08 Thread Cees de Groot
[EMAIL PROTECTED] said: The basic problem as I experience it is not so much the jargon, because you get used to it. That's what they told me about Perl, too. And because I couldn't get used to that mess, I switched to Python (maybe zPatterns was written for the wrong language? ;-}) -- Cees

RE: [Zope-dev] SQLAlias Memory Leak?

2000-12-08 Thread Brian Lloyd
OK, I've put this into the Collector. I'm intrigued as to what the operating procedure is with the Collector though - there appear to be a large number of Pending jobs. Does that mean that Digital Creations haven't even looked at them, or that they just haven't done anything about them?

Re: [Zope-dev] Significance of the ZODB split?

2000-12-08 Thread John D. Heintz
The Sourceforge exposure gives people like me with an itch to scratch a place to work on a publicly visible branch of ZODB for my two proposals without breaking anything or relying on patch files continually. John Heintz PS My proposals are ExplicitTransactions and PersistentBlob ;-) Michel

[Zope-dev] problems with webdav MOVE and COPY

2000-12-08 Thread Joseph Wayne Norton
Hello. I tried to use some of the webdav functions in zope but ran into some trouble with the MOVE and COPY operations. One issue seems to be that the method "getSecurityManager" is not imported into the file zope-2.2/lib/python/webdav/Resource.py. def dav__validate(self, object, methodname,

Re: [Zope-dev] Turning acquisition off selectively.

2000-12-08 Thread Jim Fulton
Chris Withers wrote: [EMAIL PROTECTED] wrote: That is, with a simple method, and not disabling the Acqusition class, something like self.aq_disabled('attribute') . So kindof the inverse of using Aquisition.Explicit and using the aq_acquire method? What you describe would be really

Re: [Zope-dev] Turning acquisition off selectively.

2000-12-08 Thread matt
Surely you jest ? I may be out of line, I am quite new to Zope and have only made a few python products, but the nice thing I felt Acquisition.Implicit gave was a sense of being able to put a method into an environment and let it "discover" what was around it. Aquisition.Explicit I thought was

[Zope-dev] using SybaseDA to connect to MS SQL

2000-12-08 Thread Neil K
Thanks to everyone for their assistance yesterday. I feel like I'm really close to making this work now, but I can't get the Product to connect. I always get "Invalid connection string". One thing that puzzles me is the distinction between 'Server' and 'Datasource'. If Datasources are what we're

[Zope-dev] zope ftp site

2000-12-08 Thread Josh Zeidner
hi, This may be a redundant question, but how can I download zope products via FTP? -josh _ Get more from the Web. FREE MSN Explorer download : http://explorer.msn.com

Re: [Zope-dev] Significance of the ZODB split?

2000-12-08 Thread Robin Becker
In article [EMAIL PROTECTED], Jeremy Hylton [EMAIL PROTECTED] writes "RB" == Robin Becker [EMAIL PROTECTED] writes: RB Anyone know why AM Kuchling needs to split off a Sourceforge RB project based on ZODB? I really liked the ZEO examples, but RB where's this going? It is the most