[Zope-dev] 2.3.0. Unindex_object Tried To Unindex Nonexistent

2001-01-29 Thread Andy Dawkins
I'm having some more problems with the ZCatalog in Zope 2.3.0 I've got a name error in the file UnTextIndex.py Error Type: NameError Error Value: i I believe this is occuring when the catalog tries to unindex an object that isn't currently indexed. The traceback reports line 332: File

[Zope-dev] Zope on OpenBSD 2.8 problem solved

2001-01-29 Thread Alexander Limi
Hi, For those of you wishing to run Zope on OpenBSD 2.8, here is a solution. The reason it doesn't work in the first place is a thread bug in the OpenBSD 2.8 release version. The solution is to use the libc_r from OpenBSD 2.7 for the Zope instance. Thanks to Jason Ish for the howto, I thought I

[Zope-dev] Broken FTP ZClass PUT 2.3.0

2001-01-29 Thread Sean Treadway
Hi all, I have recently upgraded to 2.3.0 and it has broken my FTP support. When I try to do an FTP upload to an instance of my ZClass, it fails because it is calling the default PUT of a webdav.Collection instead of the PUT of my python base class. My setup is such: A Python product with a

Re: [Zope-dev] 2.3.0. Unindex_object Tried To Unindex Nonexistent

2001-01-29 Thread Christopher Petrilli
Steve is right, though I fixed that problem when it snuck up on me, but apparantly it never got merged into the branches correctly. Don't we all love CVS? I personally had a problem with using 'i' as anything but a iterator variable. Chris -- | Christopher Petrilli | [EMAIL PROTECTED] -

Re: [Zope-dev] ZDebug patch for 2.3.0

2001-01-29 Thread Shane Hathaway
Chris Withers wrote: The patch below got ZDebug working with Zope 2.3.0 for me. Hope I didn't miss anything ;-) Good job, Chris! I patched it in a similar way. I planned to release a new version as soon as I was sure it worked well with 2.3. Shane --- debugsecuritypolicy.py.old Sun Jan

Re: [Zope-dev] 2.3.0 release badness

2001-01-29 Thread Shane Hathaway
[EMAIL PROTECTED] wrote: Of course, embedding the style in the page (a-la the Zope management interface) gets around this problem, but this is not an option for us. This is a known bug in Netscape. The management interface does user-agent sniffing; "Mozilla/4*" that doesn't contain the string

RE: [Zope-dev] Unable to clear proxy roles in Zope 2.3.0

2001-01-29 Thread Brian Lloyd
In Zope 2.2.x, one can clear the proxy roles for one method by unseleting all proxy roles. In Zope 2.3.0, this lets to this error: You must select one or more proxy roles. Is it a bug, or is it done in a different fashion? cheers Dirksen Its a bug - or actually a misguided bug fix

Re: [Zope-dev] 2.3.0 release badness

2001-01-29 Thread Steve Alexander
Shane Hathaway wrote: [EMAIL PROTECTED] wrote: Of course, embedding the style in the page (a-la the Zope management interface) gets around this problem, but this is not an option for us. This is a known bug in Netscape. I'm intrigued to know what causes it (in more detail than "race

Re: [Zope-dev] 2.3.0 release badness

2001-01-29 Thread Shane Hathaway
Steve Alexander wrote: Shane Hathaway wrote: [EMAIL PROTECTED] wrote: Of course, embedding the style in the page (a-la the Zope management interface) gets around this problem, but this is not an option for us. This is a known bug in Netscape. I'm intrigued to know what

Re: [Zope-dev] 2.3.0 release badness

2001-01-29 Thread Chris Withers
Shane Hathaway wrote: It seems to occur on Unix versions only AFAIK. When you visit a page with linked CSS, visit another page, and come back, sometimes a portion of the page is replaced with the text of the CSS. I don't have a URL. i've had a nice variant of this in Windoze Nutscrape.

RE: [Zope-dev] 2.3.0 release badness

2001-01-29 Thread Seb Bacon
FWIW, I recall having similar problems with external JavaScript files in NS - it seemed that the onload event of the body is triggered *before* the external JS is loaded into the namespace. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Steve

Re: [Zope-dev] 2.3.0 release badness

2001-01-29 Thread Adrian Hungate
Does the same occur if you serve using something else ('DTML Method', 'File', 'ZStyleSheet' etc) I have noticed problems with Netscapes handling of Text/CSS stylesheets. It appears that long or particularly complex stylesheets that can be (And here is the kicker) downloaded too quickly, do not

[Zope-dev] LoginManager and ZPatterns

2001-01-29 Thread Morten W. Petersen
Hi fellow zopers, I don't know if it's a bug or feature, but whenever I try to access parental objects from a user object in python code, I can't seem to find anything. That is, whenever I call acl_users.getItem('user123').getParentNode() (the acl_users is a LoginManager instance) it returns

Re: [Zope-dev] 2.3.0 release badnessboundary=------------F1F4CF9CD0D0AF0E5520717B

2001-01-29 Thread Dieter Maurer
[EMAIL PROTECTED] writes: This is a multi-part message in MIME format. --F1F4CF9CD0D0AF0E5520717B Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Do you already know that we do not like MIME messages in this list? I've just updated to 2.3.0

Re: [Zope-dev] asynchat producer ready() method patch.

2001-01-29 Thread Dieter Maurer
Donovan Baarda writes: On Sun, Jan 28, 2001 at 09:31:07PM +0100, Dieter Maurer wrote: Donovan Baarda writes: I remember reading ages ago on a wishlist for ZServer that someone was thinking of adding blocking support to producers. This patch adds support for just that in a

Re: [Zope-dev] Re: Refresh and debugging product creation issues.....

2001-01-29 Thread Shane Hathaway
Jaan Kaer wrote: It seems that on page http://www.zope.org/Members/hathawsh/Refresh is still only link to the old version (2000/05/15) of Refresh product :-( Could you please put there also link to the version where you are corrected the "multiple names in the product add list problem"? I

[Zope-dev] Storing session objects in a ZODB

2001-01-29 Thread Andy McKay
I want to store the session objects (from CoreSessionTracking) in the ZODB so that users can save preferences (set in a Session) and call them back later. Just thinking that the easiest way to something is to pickle it, but pickling it in the ZODB which then pickles it, seems daft. Someone

[Zope-dev] zope 2.3.0 upgrade bug: inituser trashes existing user

2001-01-29 Thread Zope mailing lists
I have not thoroughly tested this, but I have done it twice to make sure I could reproduce the error I saw in the specific circumstances I saw it. I suspect the bug is generic, but don't have the time to prove it right now. My setup: INSTANCE_HOME style setup. Zpatterns installed in 2.3.0 tree

Re: [Zope-dev] ZDebug patch for 2.3.0

2001-01-29 Thread Itai Tavor
Thanks! Good to have ZDebug back. But... it kills LoginManager, which uses an exception to render the login page. This patch will fix the problem: --- DTMLDebug.py.old Fri Sep 15 09:25:14 2000 +++ DTMLDebug.pyTue Jan 30 10:45:43 2001 @@ -217,6 +217,9 @@ elif exc_type is

Re: [Zope-dev] Storing session objects in a ZODB

2001-01-29 Thread Chris McDonough
You won't be able to session data objects from the RAM-based container without special treatment in your main storage, because "under the hood" the internal data container uses a mounted RAM-based storage. See the section in the help/CoreSessionTracking.stx file that ships with the release named

Re: [Zope-dev] 2.3.0 release badness

2001-01-29 Thread Martijn Faassen
Chris Withers wrote: [snip] Sometimes, it'll just sit there redirecting back to the css page infinitely.. yum :-S Yeah, I've seen that kind of weirdness show up too occasionally; some kind of infinite css getting loop in Netscape. A couple of times I've seen it blow up the server logs; I

Re: [Zope-dev] 2.3.0 release badness

2001-01-29 Thread Martijn Faassen
[EMAIL PROTECTED] wrote: I've just updated to 2.3.0 release using CVS. My CSS serving has subsequently broken. The CSS serving worked fine with the CVS code from 2.3.0b2. I didn't get to check b3 - we had a public holiday on Friday and that meant that the one working day assigned to the b3

Re: [Zope-dev] zope 2.3.0 upgrade bug: inituser trashes existing user

2001-01-29 Thread Shane Hathaway
Zope mailing lists wrote: The problem is that the inituser *replaced* the single existing user in the acl_users folder. This must be a bug. Nope, it's intentional. Think about this scenario: you install Zope for the first time by running the install script. You see a lot of messages but you

Re: [Zope-dev] Possible TransparentFolders bug?

2001-01-29 Thread Itai Tavor
I thought this problem was gone, but I was wrong. I deleted everything from the database that isn't directly involved in this problem. I also deleted all Transparent Folders. http://yourserver:8080/method_A still works. http://yourserver:8080/method_A/manage_main shows the path as /method_A.

[Zope-dev] LoginManager and Control_Panel - The Never Ending Story

2001-01-29 Thread Itai Tavor
Hi, I posted several questions about this problem, but got no replies. I thought I'd try again with a bit more information. The problem is accessing Control_Panel from a folder that contains a LoginManager. I tested the same setup using a plain acl_users and found one difference. Zope/

[Zope] Best way to upgrade an existing Zope installation?

2001-01-29 Thread Etienne Labuschagne
Hi there Maybe this has been answered a million times, but I can't find it. What is (generally) the best way to upgrade an existing Zope installation? (Including products, etc.) Must I export/import everthing, can I just copy the data.fs file or install the new Zope right over the old one (and

Re: [Zope] ANNOUNCE: please have a look at ZDatabaseTool

2001-01-29 Thread Olaf Zanger
hi there, according to what i have seen on the homepage it seems like ZDatabaseTool is the missing link to push zope to a all in one solution. until now we solved most of our stuff with znolkwizard. this is a great product for what it is designed. it has some shortcomes though. ZDatabaseTool

[Zope] Rewriting al a mod_rewrite in apache?

2001-01-29 Thread andreas rippel
I'm looking for a feature like mod_rewrite-module in apache. Concret: transforming all path-components of the http-requests to lowercase. Is SiteAccess an idea, I couldn't find examples or documenation for that? Thanks. -- Andreas Rippel Universitt Kaiserslautern Fachbereich

Re: [Zope] Core Session

2001-01-29 Thread Chris Withers
josh on wrote: Is core session a part 2.3? I thought it was, but it doesn't look like it made it into 2.3.0 :-( Any ideas when it will land? cheers, Chris ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope **

Re: [Zope] Products and Zope 2.3

2001-01-29 Thread Chris Withers
"David K. Trudgett" wrote: This brings up the question: are there any significant products that don't yet work with Zope 2.3? Squishdot for one ;-) cheers, Chris ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope

Re: [Zope] How can a document know its own URL?

2001-01-29 Thread Chris Withers
Joachim Werner wrote: Can anyone tell me how to use DTML to get at the URL for the document being displayed? dtml-var URL That's not really correct. That's the url of the current request, which may well not be the url of the object you're currently displaying. dtml-var

Re: [Zope] namespace problems

2001-01-29 Thread Chris Withers
Chris Withers wrote: How would I do the URL redirect using an equivalent to the dtml-call "RESPONSE.redirect(URL1)" that's in the DTML Method below? context.RESPONSE.redirect(URL1) D'Oh... Either replace it with: context.REQUEST.RESPONSE.redirect(URL1) ...or do the following:

Re: [Zope] License

2001-01-29 Thread Chris Withers
Olaf Zanger wrote: is the product planned to ship under GPL or an corresponding licence? Please don't shit it under GPL, it makes it much less useful :-S A variant of the Zope License would be much mroe friendly :-) cheers, Chris ___ Zope

Re: [Zope] Best way to upgrade an existing Zope installation?

2001-01-29 Thread iap_y2fun.com
My configuration: 1. The key is to use INSTANCE_HOME , ex. set it to be /home/zope 2. install products in /home/zope/Products, /home/zope/import 3. untar your zope tar ball in /usr/local/, ex. Zope-2.3.0-src 4. make a symbolic link for zope, ex $cd /usr/local $ln -s Zope-2.3.0-src zope

[Zope] let problem (or just a stupid newbie)

2001-01-29 Thread Hans de Wit
Hello, I was trying the following dtml-method (just from the book) in my Zope 2.3.0 Windows NT installation dtml-var standard_html_header dtml-let person="'Bob'" dtml-var person dtml-var standard_html_footer And when i pushed the save changes button, i got this: "No closing tag, for tag

[Zope] Re: Zope 2.3 uses Python 1.5.2

2001-01-29 Thread Robin Becker
In article [EMAIL PROTECTED], Chris Withers [EMAIL PROTECTED] writes Robin Becker wrote: Does this use Python 2.0 or 1.5.2? 1.5.2 cheers, Chris yes I found that out now and still have problems with popen3. -- Robin Becker ___ Zope maillist -

[Zope] don't read let problem

2001-01-29 Thread Hans de Wit
I forgot the /dtml-let Sorry for disturbing you Met vriendelijke groeten, Hans de Wit [EMAIL PROTECTED] ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists -

Re: [Zope] Python script safety

2001-01-29 Thread Chris Withers
Robin Becker wrote: Yes, I can use External Methods if I have access to the machine, but those 'trusted' scripts could be just as easily handled by a 'Trusted Python Scripts' Zope object which didn't have all the rather (as you say yourself) pointless safety checks. Then I could handle the

Re: [Zope] License

2001-01-29 Thread Oleg Broytmann
On Mon, 29 Jan 2001, Chris Withers wrote: Olaf Zanger wrote: is the product planned to ship under GPL or an corresponding licence? Please don't shit it under GPL, it makes it much less useful :-S A variant of the Zope License would be much mroe friendly :-) OH, NO, PLEASE NOT AGAIN :(

[Zope] We get problems Zope is backed up!

2001-01-29 Thread 3dfestival - WebMaster
Does anybody have a solution for our big problem? How do we backup in another way...? When our Zope-site is being backed up we have different probs... We have (kind of) have figured out that the problem is only (!) occuring when we change something on our site OR somebody adds something to our

Re: [Zope] let problem (or just a stupid newbie)

2001-01-29 Thread Oleg Broytmann
On Mon, 29 Jan 2001, Hans de Wit wrote: dtml-var standard_html_header dtml-let person="'Bob'" dtml-var person dtml-var standard_html_footer [skip] Document Template Parse Error: (see above) But of course. dtml-let must be closed with /dtml-let Oleg. Oleg Broytmann

Re: [Zope] License

2001-01-29 Thread Andrew Kenneth Milton
+---[ Oleg Broytmann ]-- | On Mon, 29 Jan 2001, Chris Withers wrote: | Olaf Zanger wrote: | | is the product planned to ship under GPL or an corresponding licence? | | Please don't shit it under GPL, it makes it much less useful :-S | A variant of the Zope License

Re: [Zope] License

2001-01-29 Thread Oleg Broytmann
On Mon, 29 Jan 2001, Andrew Kenneth Milton wrote: | is the product planned to ship under GPL or an corresponding licence? | | Please don't shit it under GPL, it makes it much less useful :-S | A variant of the Zope License would be much mroe friendly :-) | |OH, NO, PLEASE NOT AGAIN

[Zope] user creation authentification

2001-01-29 Thread Ralf Kraemer
Hello all first question is it possible to create users "not using" the zope management interface ??? i tried a lot using the editUsers.dtml from zope and it works , but i dont like the response . i would like to see my own pages, not the management screens second question i would like

RE: [Zope] let problem (or just a stupid newbie)

2001-01-29 Thread Etienne Labuschagne
Hi there You must close the dtml-let tag like below (exactly what the error said ;) dtml-var standard_html_header dtml-let person="'Bob'" dtml-var person -- /dtml-let dtml-var standard_html_footer -Original Message- From: Hans de Wit [mailto:[EMAIL

Re: [Zope] We get problems Zope is backed up!

2001-01-29 Thread Kevin Teague
Does anybody have a solution for our big problem? Heh-he. "Zope is backed up" makes it sound like Zope is a toilet in bad need of a plumber. Sorry, couldn't resist :) We are using Zope v2.2.4 running in Apache on a Linux-machine Perhaps using the rsync technique here would make the

Re: [Zope] Products and Zope 2.3

2001-01-29 Thread Tim Cook
"iap_y2fun.com" wrote: I can't import EventFolder due to "tuple have no method 'append'" error. I am not sure if someone else encountered the same problem? I imported a slightly modified version (cosmetics basically) of EventFolder without problems. You may want to try that again. May not

Re: [Zope] user creation authentification

2001-01-29 Thread seb bacon
ralf, is it possible to create users "not using" the zope management interface ??? i would like to log in some user with my own login screen or how can i edit the default userauthentification screens from the browser (Netscape/IE/opera) ? my advice: in order to accomplish the second task

[Zope] problems with URL passing again

2001-01-29 Thread Horatio B. Bogbindero
here is a piece of code from article.html: centertable width=60%trtd bcenter*dtml-var pass_id*/center/b dtml-in "articles.objectValues()" dtml-var expr="id==pass_id" dtml-if expr="id == pass_id" pbdtml-var title/b dtml-var sequence-item/p /dtml-if /dtml-in /td/tr/table/center then i access it

Re: [Zope] License

2001-01-29 Thread ender
On Monday 29 January 2001 01:41, Chris Withers wrote: Olaf Zanger wrote: is the product planned to ship under GPL or an corresponding licence? Please don't shit it under GPL, it makes it much less useful :-S A variant of the Zope License would be much mroe friendly :-) cheers, Chris

Re: [Zope] License

2001-01-29 Thread Chris Withers
Chris Withers wrote: Please don't shit it under GPL, it makes it much less useful :-S *embarrassed laughs* Man, what a typo... I actually meant ship, beleive it or not. And the reason I asked is 'cos, as I understand it, if I use a GPL-licensed product in a product/solution I provide,

RE: [Zope] License

2001-01-29 Thread Fabrice FRANK
I really agree, do NOT change the license terms. Fabrice FRANK mailto:[EMAIL PROTECTED] Chef de projet Extranet BOPACK T.E.A Z.A La Claire Voie 76520 Franqueville Tl. 02 32 86 52 69 Fax. 02 32 86 52 51 -Message d'origine- De : [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]De la

Re: [Zope] problems with URL passing again

2001-01-29 Thread Oleg Broytmann
On Mon, 29 Jan 2001, Horatio B. Bogbindero wrote: dtml-var expr="id==pass_id" dtml-if expr="id == pass_id" Sometimes id is not a string, but a function to call: id(). To force Zope renders it to string always write _['id']. Zope 2.3 has getId() that is always function. Oleg.

Re: [Zope] License

2001-01-29 Thread Gregor Hoffleit
On Mon, Jan 29, 2001 at 12:58:35PM +, Chris Withers wrote: And the reason I asked is 'cos, as I understand it, if I use a GPL-licensed product in a product/solution I provide, then I have to do that for free and open source it too, which often isn't an option :-( Nope, that's wrong. If

Re: [Zope] License

2001-01-29 Thread Jerome Alet
On Mon, 29 Jan 2001, Chris Withers wrote: And the reason I asked is 'cos, as I understand it, if I use a GPL-licensed product in a product/solution I provide, then I have to do that for free and open source it too, which often isn't an option :-( Of course you DON'T have to do your work for

[Zope] ZObjectManager

2001-01-29 Thread Gordon Bergström
Dear Group. I have made a Product and a Class that is ZObjectManager. But how do I create Object instances within the instance of the Class? I want to do this programmaticly. Reagrds Gordon Bergstrm ___ Zope maillist - [EMAIL PROTECTED]

Re: [Zope] Core Session

2001-01-29 Thread Chris Withers
Chris McDonough wrote: Any ideas when it will land? Nope. It's pretty stable now, but any release that shows up in the core depends on a new BTree implementation, which has been slow in the making. rats... although I'd love to see a snappy new BTree implementation... got lots of

Re: [Zope] Core Session

2001-01-29 Thread Chris McDonough
Any ideas when it will land? Nope. It's pretty stable now, but any release that shows up in the core depends on a new BTree implementation, which has been slow in the making. ___ Zope maillist - [EMAIL PROTECTED]

[Zope] [Zope+SybDA]Multiplexed or not ?

2001-01-29 Thread Tony Moutaux
Hi list! I run: -zope 2.2.4 -python 1.5.2 - solairs (sunos5) on ES450 and the ZopeSybase DA v2. I am not sure if the SQL transactions are multiplexed (I mean that I can run several SQL requests at the same time). I try : /A/firstZSQLMethod - firstSybDA /B/anotherZSQLMethod - anotherSybDA, but on

Re: [Zope] ANNOUNCE: please have a look at ZDatabaseTool

2001-01-29 Thread Andreas Heckel
Olaf Zanger wrote: hi there, according to what i have seen on the homepage it seems like ZDatabaseTool is the missing link to push zope to a all in one solution. Thanks for the flowers ;-) until now we solved most of our stuff with znolkwizard. this is a great product for what it is

Re: [Zope] MYSQL Problem

2001-01-29 Thread Andy Dustman
On Sun, 28 Jan 2001, Jens Grewen wrote: I installed mySQL-3.23.32 mySQLdb 0.3.1 ZmySQLDA 2.0.4 When I change to mediumint (database field description) I get the expected 233. How can I fix this. You just did. :) If a mediumint is big enough for you, use that. As Ron points out,

Re: [Zope] License

2001-01-29 Thread Andreas Heckel
EVERYTHING SNIPED! PLEASE allow ME to choose the license freely and PLEASE STOP the flamewar on this thread! You can find tons of these licence discussions not only on this list and there is nothing new to say. -- Andreas

Re: [Zope] problems with URL passing again

2001-01-29 Thread Horatio B. Bogbindero
dtml-var expr="id==pass_id" dtml-if expr="id == pass_id" Sometimes id is not a string, but a function to call: id(). To force Zope renders it to string always write _['id']. Zope 2.3 has getId() that is always function. a million thanks to you and may the gods bless you!

Re: [Zope] ANNOUNCE: please have a look at ZDatabaseTool

2001-01-29 Thread Andreas Heckel
Olaf Zanger wrote: hi there, tested the printing facility (nicely done by pdf). it crashes * acrobat reader 4.05 on win98 and * the pdf/ps/ghostview part of konqui doesn't like it either, it works though under * acrobat reader 4.0 on suse 7.0 Hi Olaf, thanks for your feedback.

Re: [Zope] ZObjectManager

2001-01-29 Thread peter bengtson
Here we go... 'Hitrate' is the whole product. HitrateText_add() is a method you find _inside_ the ZClass called 'HitratePage' (notice the dtml-with statm.) NoRedir is a variable I send to that method to tell it not to redirect anywhere. dtml-with

Re: [Zope] ANNOUNCE: please have a look at ZDatabaseTool

2001-01-29 Thread Jerome Alet
On Mon, 29 Jan 2001, Andreas Heckel wrote: BTW: Why I'm not surprised the trouble starts with Win ;-) Oh, please !!! Please don't start a new flamewar here ;-)) bye, Jerome Alet ___ Zope maillist - [EMAIL PROTECTED]

[Zope] How to upgrade to 2.3 (no differential install?)

2001-01-29 Thread Brad Clements
I'm running Zope 2.2 on RH Linux 7 I see that there's no 2.2-to-2.3 .tar file.. Why? What's the correct way to upgrade my existing Zope installation? -- Call me stupid, I can't find the proper command line switch to get tar to ignore the top level directory name Zope-2.3.0-linux2-86 Do I

RE: [Zope] missing FCNTL.py after building Zope 2.3 on Python 1.5.2

2001-01-29 Thread Brian Lloyd
Are there any comments regarding the missing of a module named FCNTL.py ? It happens that I just built Zope 2.3 from source on a Python 1.5.2 installation and after compiling and building successfully just after the "./start" command, Zope crases with a "no module named FCNTL" . This is

Re: [Zope] namespace problems

2001-01-29 Thread Gary Lowder
I really appreciate your help, but I continue to have problems with this line, and this is turning into a quest of sorts ;) . When I use "context.REQUEST.RESPONSE.redirect(URL1)" in my python script I get "NameError URL1". When I bind _ as you suggested, and use "_.RESPONSE.redirect(URL1)" I

[Zope] Re: [Zope-dev] Creating a namespace

2001-01-29 Thread Casey Duncan
Stephan Richter wrote: Hello everyone, I want to make my own name space with the following situation: class X: attributes = {'foo': 'bar'} x = X() Then I want to use it like that: dtml-with x dtml-var foo /dtml-with The result should be : bar I found out

Re: [Zope] namespace problems

2001-01-29 Thread Chris Withers
Gary Lowder wrote: When I use "context.REQUEST.RESPONSE.redirect(URL1)" in my python script I get "NameError URL1". That should be: RESPONSE = context.REQUEST.RESPONSE URL1 = context.REQUEST['URL1'] RESPONSE.redirect(URL1) When I bind _ as you suggested, and use "_.RESPONSE.redirect(URL1)"

Re: [Zope] Python script safety

2001-01-29 Thread Gerald Gutierrez
At 10:18 AM 1/29/2001 +, you wrote: Robin Becker wrote: Yes, I can use External Methods if I have access to the machine, but those 'trusted' scripts could be just as easily handled by a 'Trusted Python Scripts' Zope object which didn't have all the rather (as you say yourself)

Re: [Zope] user creation authentification

2001-01-29 Thread Gerald Gutierrez
in order to accomplish the second task effectively you should look at LoginManager; in doing so you will find answers to your first question. however, you may find you need to refer a lot to the mailing list archives to get LoginManager installed ;) I've read that the LoginManager does not

Re: [Zope] ANNOUNCE: please have a look at ZDatabaseTool

2001-01-29 Thread Olaf Zanger
hi there Andreas Heckel schrieb: Olaf Zanger wrote: hi there, tested the printing facility (nicely done by pdf). it crashes * acrobat reader 4.05 on win98 and * the pdf/ps/ghostview part of konqui doesn't like it either, it works though under * acrobat reader 4.0 on suse

Re: [Zope] ANNOUNCE: please have a look at ZDatabaseTool

2001-01-29 Thread Olaf Zanger
hi andreas, according to what i have seen on the homepage it seems like ZDatabaseTool is the missing link to push zope to a all in one solution. Thanks for the flowers ;-) that's for free :-) until now we solved most of our stuff with znolkwizard. this is a great product for what

[Zope] porting from Python Methods to PythonScripts in 2.3.0; LoginManager too

2001-01-29 Thread Fred Yankowski
I just installed Zope 2.3.0 and I'm planning how to port my sites from 2.2.5. It looks like I'll have to: + Copy over the Products I installed, _except_ + Don't copy over SiteAccess and PythonMethods. + Delete the PythonMethods product from the Control_Panel/Products management folder. Will

[Zope] Catalogaware ZCLass and deleting

2001-01-29 Thread Sven Hohage
Hello, I try to delete a Catalogware ZClass with subobjects that are also ZClasses. That's my method to delete a Class: -- dtml-in "objectValues('ZClassPage')" dtml-let x=sequence-item dtml- if "in_work" dtml-call "manage_delObjects([x.id])" /dtml-if

[Zope] RESPONSE.redirect

2001-01-29 Thread Oliver Vecernik
Hi all, I'd like to show a page and after a few seconds I'd like to redirect to another page. If I simply add !--#call "RESPONSE.redirect"-- it is done immediately. How can I achieve a delay of a couple of seconds? Oliver ___ Zope maillist - [EMAIL

Re: [Zope] ANNOUNCE: please have a look at ZDatabaseTool

2001-01-29 Thread Andreas Heckel
Olaf Zanger wrote: hi there Andreas Heckel schrieb: Olaf Zanger wrote: hi there, tested the printing facility (nicely done by pdf). it crashes * acrobat reader 4.05 on win98 and * the pdf/ps/ghostview part of konqui doesn't like it either, it works though

Re: [Zope] Creating a namespace

2001-01-29 Thread Dieter Maurer
Stephan Richter writes: I want to make my own name space with the following situation: class X: attributes = {'foo': 'bar'} x = X() Then I want to use it like that: dtml-with x dtml-var foo /dtml-with The result should be : bar I found out

Re: [Zope] porting from Python Methods to PythonScripts in 2.3.0; LoginManager too

2001-01-29 Thread Evan Simpson
From: "Fred Yankowski" [EMAIL PROTECTED] + Don't copy over SiteAccess and PythonMethods. + Delete the PythonMethods product from the Control_Panel/Products management folder. Will I have to manually convert each existing Python Method to a PythonScript, or are they essentially the same

Re: [Zope] porting from Python Methods to PythonScripts in 2.3.0; LoginManager too

2001-01-29 Thread Fred Yankowski
After browsing the Zope-dev list (I guess that's _yet another_ list I need to follow) I found a note about creating the 'access' file manually with zpasswd.py. After doing that, LoginManager seems to come up cleanly in Zope 2.3.0. And now I can see that my Python Methods come in broken,

[Zope] Ithy Trigger Fingers (was Re: [Zope] License)

2001-01-29 Thread Bill Anderson
Andreas Heckel wrote: EVERYTHING SNIPED! PLEASE allow ME to choose the license freely and PLEASE STOP the flamewar on this thread! You can find tons of these licence discussions not only on this list and there is nothing new to say. Come on people, this is not a flme war. Nobody is

Re: [Zope] License

2001-01-29 Thread Bill Anderson
Fabrice FRANK wrote: I really agree, do NOT change the license terms. Ummm .. the software in questions has _no_ license terms yet. Bill ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross

Re: [Zope] CacheManagers are cool :)

2001-01-29 Thread ender
On Monday 29 January 2001 10:15, Seb Bacon wrote: I've just been experimenting with the RAM Cache manager, and FWIW I thought I'd share my findings: I ran some simple tests using ab against a single, dynamic page which has some display logic both in the filesystem product and dtml. I cached

RE: [Zope] Products and Zope 2.3

2001-01-29 Thread Ron Bickers
-Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Chris Withers Sent: Monday, January 29, 2001 4:35 AM To: David K. Trudgett Cc: [EMAIL PROTECTED] Subject: Re: [Zope] Products and Zope 2.3 "David K. Trudgett" wrote: This brings up the

Re: [Zope] RESPONSE.redirect

2001-01-29 Thread ender
On Monday 29 January 2001 09:14, Oliver Vecernik wrote: Hi all, I'd like to show a page and after a few seconds I'd like to redirect to another page. If I simply add !--#call "RESPONSE.redirect"-- it is done immediately. How can I achieve a delay of a couple of seconds? Oliver meta

Re: [Zope] porting from Python Methods to PythonScripts in2.3.0;LoginManager too

2001-01-29 Thread Jim Washington
The text of an external method for converting Python Methods to Python Scripts was posted to the list a while back. I forget who because I just copied and pasted at the time. Anyway, credit to whoever, and apologies for not having the name. I took that and made something that works for me as a

RE: [Zope] PCGI and MS-IIS on Nt5

2001-01-29 Thread Max M
From: Paul Zwarts so, technically I did set it up correctly, but I want to configure the default document so when I just put in: http://localhost For that the easiest solution is to put a redirect in your root to: http://localhost/scripts/zope.pcgi either through a server setting or through an

RE: [Zope] RESPONSE.redirect

2001-01-29 Thread Max M
From: [EMAIL PROTECTED] Oliver Vecernik I'd like to show a page and after a few seconds I'd like to redirect to another page. If I simply add !--#call "RESPONSE.redirect"-- it is done immediately. How can I achieve a delay of a couple of seconds? First you should send the page you want to show,

Re: [Zope] PCGI and MS-IIS on Nt5

2001-01-29 Thread Andy McKay
I suffered similar problems when I tried IIS on Windows 2k. Some people have reported success however, so there must be some knack to this. I found http://my.server.com/zope.pcgi worked but http://my.server.com/zope.pcgi/as/asd didn't... If you get it working I'd love to know how. Sorry I cant

[Zope] BUG? Strange behaviour of external methods after update

2001-01-29 Thread Dieter Maurer
A colleague of mine has developed an external method and installed it as a SiteAccess access rule. He made a programming error that caused a TypeError exception to be raised. He recognized his fault and corrected the external method. Then, the strange behaviour started: The access rule

Re: [Zope] We get problems Zope is backed up!

2001-01-29 Thread Dieter Maurer
3dfestival - WebMaster writes: Does anybody have a solution for our big problem? How do we backup in another way...? When our Zope-site is being backed up we have different probs... We have (kind of) have figured out that the problem is only (!) occuring when we change something on

[Zope] LocalFS on 2.3.0

2001-01-29 Thread Tim Cook
I "thought" LocalFS worked. But now when I import something with a LocalFS defined or attempt to create a new one here's the traceback on: Zope Version Zope 2.3.0 (binary release, python 1.5.2, linux2-x86) Python Version 1.5.2 (#10, Dec 6 1999, 12:16:27) [GCC 2.7.2.3] System Platform

[Zope] CoreSessionTracking and ConflictError

2001-01-29 Thread Randall F. Kern
I've been porting my product from my own private session manager to use CoreSessionTracking 0.6, and am having a problem with lots of conflict errors. I've got a session_id_mgr in the root, configured as per defaults, and a session_data_mgr also in the root, using the RAM base container. Then I

Re: [Zope] How can a document know its own URL?

2001-01-29 Thread Dieter Maurer
Chris Withers writes: Joachim Werner wrote: Can anyone tell me how to use DTML to get at the URL for the document being displayed? dtml-var URL That's not really correct. That's the url of the current request, which may well not be the url of the object you're

Re: [Zope] CoreSessionTracking and ConflictError

2001-01-29 Thread Chris McDonough
There is info about this in the docs. - Original Message - From: "Randall F. Kern" [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Monday, January 29, 2001 4:12 PM Subject: [Zope] CoreSessionTracking and ConflictError I've been porting my product from my own private session manager to

Re: [Zope] CacheManagers are cool :)

2001-01-29 Thread Seb Bacon
I've just been experimenting with the RAM Cache manager, and FWIW I thought I'd share my findings: ... There was no significant improvement where there were no concurrent requests. very cool. although i find the lack of improvement on a non concurrent requests a bit strange if its a

Re: [Zope] CoreSessionTracking and ConflictError

2001-01-29 Thread Chris McDonough
Oh, wait, I just reread that. I only skimmed it first, sorry. Are you saying that you get a conflict error on every access to the session mgr after you've had one conflict error? I haven't experienced any failure mode like this. Any concurrent write access to the session container has the

Re: [Zope] porting from Python Methods to PythonScriptsin2.3.0;LoginManager too

2001-01-29 Thread Jim Washington
Hi, Fred I discovered another bug in it. Where it changes stuff with "self[", it changes it to "container.", which is wrong, but a simple edit. new code: import string ids = container.objectIds('Python Method') oldscriptsuffix='.old' #replace all self. with the following: #change to context

  1   2   >