[Zope] restrictedTraverse

2000-09-15 Thread Chris Withers
Steve Alexander wrote: You can use restrictedTraverse('slash/delimited/path') AFAIK, that's not available in DTML... Am I wrong? cheers, Chris ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts

Re: [Zope] Python 1.6 makes Zope not work?!

2000-09-15 Thread Toby Dickenson
Though I am a newbie Zope developer, it was very kindly explained to me that a bug in Python 1.6 was being ticked by Zope 2.2.1 FYI, all previous version too. Toby Dickenson [EMAIL PROTECTED] ___ Zope maillist - [EMAIL PROTECTED]

[Zope] Connecting to a remote Oracle Server: thanks for the help!

2000-09-15 Thread Celio Guimaraes
Dear DCOracle experts: Thanks for your expeditious help! As a beginner Oracle user I had no idea that it was sufficient to edit properly the tnsnames.ora file in order to connect to an external server. Your hints also helped me to debug a client only Oracle 8 installation! Celio Guimaraes

[Zope] Re: Adding a new property over http

2000-09-15 Thread Jon Franz
Heres a snip of DTML that adds a property to the parent if the property doesn't exist. If you create a ZClass with this, it will modify the parent folder when called from within a DTML document, if you do it as a DTML Method, it will modify the parent document. dtml-if "hasProperty('z_count')"

[Zope] (Correction) Re: Adding a new property over http

2000-09-15 Thread Jon Franz
In the previous email, this line: dtml-call "manage_addProperty(NewName, NewValue)" Should have been: dtml-call "manage_addProperty(NewName, NewValue, 'tokens')" ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope

Re: [Zope] SQLRelay vanish ??

2000-09-15 Thread Roman Milner
"DG" == Didier Georgieff [EMAIL PROTECTED] writes: DG Hello, Since several days, the {HYPERLINK DG "http://www.firstworks.com/"}http://www.firstworks.com/ web DG site is unavailable. (SQLRelayDA and SQLRelayDA). DG Any information about the SQLRelay future, and download site ?

Re: [Zope] Help with Zope 'pitch'

2000-09-15 Thread Tony McDonald
At 11:35 am +0100 15/9/00, [EMAIL PROTECTED] wrote: I hear Zope learning curves are steep, so I wonder if anyone can suggest how I can persuade Managers that it is worth investing time and effort. To do many things is dead easy. This includes things like database lookups and reuse of web page

Re: [Zope] restrictedTraverse - yay! :-)

2000-09-15 Thread Steve Alexander
Dennis Nichols wrote: At 9/15/00 10:05 AM, Chris Withers wrote: So: dtml-var "restrictedTraverse('slash/delimited/path')" absolute_url will work as I expect it to? Well, I don't know what you expect :-) When I try to save such a construct with the handy-dandy Change button I get

Re: [Zope] restrictedTraverse - yay! :-)

2000-09-15 Thread Dennis Nichols
At 9/15/00 10:05 AM, Chris Withers wrote: So: dtml-var "restrictedTraverse('slash/delimited/path')" absolute_url will work as I expect it to? Well, I don't know what you expect :-) When I try to save such a construct with the handy-dandy Change button I get Document Template Parse Error

Re: [Zope] Zope Crash!!!

2000-09-15 Thread Chris McDonough
You have started another Zope process while one is already running. - Original Message - From: [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Friday, September 15, 2000 11:14 AM Subject: [Zope] Zope Crash!!! In my computer Zope goes down frequently, and i don4t know why ... Mi

Re: [Zope] restrictedTraverse - yay! :-)

2000-09-15 Thread Andrew Kenneth Milton
+---[ Dennis Nichols ]-- | At 9/15/00 10:05 AM, Chris Withers wrote: | So: | | dtml-var "restrictedTraverse('slash/delimited/path')" absolute_url | | will work as I expect it to? | | Well, I don't know what you expect :-) When I try to save such a construct | with the

RE: [Zope] Pluggable brains

2000-09-15 Thread Stuart Foster
I would like to understand how to do this in Zope also. I've done similar things in Delphi and C++. But am having a little trouble seeing how to do it in Zope. Below is a snippet from a document that was suggested however It's not clear how the data is "Wrapped" by the class. Can someone explain

Re: [Zope] Zope Crash!!!

2000-09-15 Thread Aitor Grajal
I have only one z2.py running, and run all day and night ;-), but sometimes (only managing Zope, not running other process z2.p) , this exception jump, but I haven´t two process, only have one. I want know why crashIt´s very rare Thanks *** REPLY SEPARATOR *** On

Re: [Zope] Zope Crash!!!

2000-09-15 Thread Andrew Kenneth Milton
+---[ Aitor Grajal ]-- | | | I have only one z2.py running, and run all day and night ;-), | but sometimes (only managing Zope, not running other process z2.p) , this exception |jump, | but I haven´t two process, only have one. | I want know why crashIt´s very rare

Re: [Zope] Zope Crash!!!

2000-09-15 Thread Aitor Grajal
Do you have something else running on port 8080 ? No , I think;-) If you do (like squid), then when you press 'Restart' on the Control Panel then something else might grab the port. Heee!!! if I try Restart, Zope no restart It also could be that the port is lingering and is

[Zope] Broken 'What's New' on Zope.org?

2000-09-15 Thread J. Atwood
Is it just me or is the 'What's New' Feature on Zope.org been broken for months? I get.. System Unavailable This site is currently experiencing technical difficulties. Please contact the site administrator for moreinformation. For additional technical information, please refer to the HTML

Re: [Zope] Broken 'What's New' on Zope.org?

2000-09-15 Thread Chris McDonough
This is a longstanding bug. Send complaints to [EMAIL PROTECTED] - Original Message - From: [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Friday, September 15, 2000 12:31 PM Subject: [Zope] Broken 'What's New' on Zope.org? Is it just me or is the 'What's New' Feature on Zope.org been

Re: [Zope] Zope Crash!!!

2000-09-15 Thread Aitor Grajal
You have started another Zope process while one is already running. No, I sure of this. The Zope is running normally, but then suddenly down. ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross

[Zope] ZOPE - Size reduction ???

2000-09-15 Thread George
I recently transformed my web site into a zope site. It's fantastic no question about that but I am a bit warried about the size of the web site. I already had to ask for user quota increase and it looks like I'll have to do it again soon. I got rid of the tutorial, products I did not need, the

Re: [Zope] Zope Crash!!!

2000-09-15 Thread Aitor Grajal
I have now Zope in . If you do (like squid), then when you press 'Restart' on the Control Panel then something else might grab the port. Heee!!! if I try Restart, Zope no restart And the exception is : exceptions.SystemExit Zope has exited normally. Traceback (innermost

Re: [Zope] Broken 'What's New' on Zope.org?

2000-09-15 Thread J. Atwood
I looked at the source once and tried to figure it out. Mostly it looks like they keep it all in a catalog (duh) and set a cookie as to your last visit. When login and go to the 'What's New' page they check the cookie, compare it against the items recently added and show you the list. I guess it

Re: [Zope] Zope Crash!!!

2000-09-15 Thread Aitor Grajal
It´s normal that when start Zope , Zope run two process z2.py ??? why??? If I only run one time Zope. Steps : 1 - Kill all z2 processor reboot the server... 2 - start Zope 3 - ps -auxwww | grep python | grep z2 --- Two process z2. 4 - stop Zope 5 - ps -auxwww | grep python | grep

Re: [Zope] Broken 'What's New' on Zope.org?

2000-09-15 Thread Maik Roeder
Hi Chris ! Chris Withers wrote: Chris McDonough wrote: This is a longstanding bug. Send complaints to [EMAIL PROTECTED] If anyone fixes it, please let us all know... I'm looking for just the same functionality for a site here adn I was hoping to do a view_source for the answer

Re: [Zope] How to generate an Object ID automatically

2000-09-15 Thread Andy McKay
There are many different options one simple way I used at the beginning was to base it on date and time: dtml-call "REQUEST.set('id','Faqs'+_.str(_.int(ZopeTime(" dtml-with "Faqs.createInObjectManager(REQUEST['id'], REQUEST)" ... This creates an id along the lines of Faqs958889275 -

Re: [Zope] ZOPE - Size reduction ???

2000-09-15 Thread Shane Hathaway
[EMAIL PROTECTED] wrote: I recently transformed my web site into a zope site. It's fantastic no question about that but I am a bit warried about the size of the web site. I already had to ask for user quota increase and it looks like I'll have to do it again soon. I got rid of the tutorial,

RE: [Zope] Pluggable brains

2000-09-15 Thread Dieter Maurer
Stuart Foster writes: Below is a snippet from a document that was suggested however It's not clear how the data is "Wrapped" by the class. Can someone explain this. I would be will to document it if I can figure this out. You wrap via the "Advanced Tab" of a Z SQL method. Dieter

[Zope] Newbie - Zope won't start

2000-09-15 Thread John VanDyk
I downloaded and installed Zope for Linux as per the instructions at zope.org. When I try to start Zope with ./start I get a report that it has started up on ports 8080, 8021, and 8099. Then I get this: Traceback (innermost last): File "/usr/zope/Zope-2.2.1-linux2-x86/z2.py", line 708, in

Re: [Zope] Newbie - Zope won't start

2000-09-15 Thread marwin98
Hi, my first posting here - and hopefully helpful :) At 22:13 15.09.00, John VanDyk wrote: When I try to start Zope with ./start ... Then I get this: Traceback (innermost last): File "/usr/zope/Zope-2.2.1-linux2-x86/z2.py", line 708, in ? pf = open(PID_FILE, 'w') IOError: [Errno 13]

Re: [Zope] Newbie - Zope won't start

2000-09-15 Thread J. Atwood
Read the /doc/INSTALL When you run install you should give it the username and group ./install -g nobody -u nobody Try that and start it again. J From: John VanDyk [EMAIL PROTECTED] Date: Fri, 15 Sep 2000 15:13:43 -0500 To: [EMAIL PROTECTED] Subject: [Zope] Newbie - Zope won't start I

[Zope] ImplicitAcquirerWrapper

2000-09-15 Thread Chalu Kim
Has anyone run into this problem? Zope Error Zope has encountered an error while publishing this resource. Error Type: SystemError Error Value: Failed to import class ImplicitAcquirerWrapper from module Acquisition Thanks in advance. begin:vcard

[Zope] repost of ImplicitAcquirerWrapper

2000-09-15 Thread Chalu Kim
Apology of sending multipart. Has anyone run into this problem? Zope Error Zope has encountered an error while publishing this resource. Error Type: SystemError Error Value: Failed to import class ImplicitAcquirerWrapper from module Acquisition Thanks in advance.

RE: [Zope] how to change the 'Zope' realm/resource??

2000-09-15 Thread Dimitrios Andrakakis
--- Dieter Maurer [EMAIL PROTECTED] wrote: [various interesting stuff] Ok, I've *got* to ask this: Isn't it somewhere in the code ? I know, I know... few people are willing to recompile just for this (let alone the ones that have used the .rpm way). But if I want to, I *suppose* it'll just take

Re: [Zope-dev] ODBC Error

2000-09-15 Thread Rik Hoekstra
There _was_ a patch available (can't find it now, search the maillist archives) Rik ___ Zope-Dev maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML encoding! ** (Related lists -

Re: [Zope-dev] Advice on DTMLDocument

2000-09-15 Thread Steve Alexander
Andy McKay wrote: Hi there, Well a while ago I came across a bug that I couldnt cut and paste and object. A few people helped me out on that, thanks. Ive had a week of squishing bugs and finally got to this one. The reason why? I was subclassing DTMLDocument but using my own __init__

[Zope-dev] Discussion Story Building Mediums

2000-09-15 Thread Chris Withers
Ken Manheimer wrote: Convenient for what? If you've ever tried to support a community through a mailling list, you'll quickly notice that questions, and their corresponding answers, repeat. A lot. The problem is that while maillists are great for keeping people up-to-date on the business

RE: [Zope-dev] I feel your Wiki Pain ;-)

2000-09-15 Thread Toby Dickenson
| 1. No threading. On several occasions I have made comments in a Wiki | that were subsequently ignored - I guess because they got lost in the and from the WikiNG proposal: For more elaborate editorial and commentary annotations, i can see layered documents, using mixin

[Zope-dev] RequestContainer ?

2000-09-15 Thread Steve Alexander
There's a RequestContainer instance at the top of the acquisition list, as accessed through aq_parent or through aq_inner.aq_parent. Previously, with recursive acquisition hacks, you could tell that you were at the end of the trail because aq_parent returned None. Unfortunately, RequestContainer

Re: [Zope-dev] HiperDOM xmlc

2000-09-15 Thread Paul Everitt
I'm surprised that no one responded to this. (Or maybe people did and our continual email server problems have lost it.) I'd like to congratulate Hiperlogica, because they have (ding ding ding) the _right answer_! :^) Seriously, we at Digital Creations have been quietly formulating a proposal

[Zope-dev] DISCUSS: XHTML Templates proposal

2000-09-15 Thread Paul Everitt
Howdy folks. As advertised in my last email, below is our Fishbowl Proposal on a new template architecture. Some notes: 1) This mostly replaces DTML. As mentioned, the goal isn't necessarily to get DTML removed from Zope. Rather, most of the audience will see it little or none of the time.

[Zope-dev] AUTHENTICATED_USER.has_role !!

2000-09-15 Thread Maulin Doshi
Hello all, Please read the following code: ** dtml-if "AUTHENTICATED_USER.has_role('Vorstand')" dtml-with vorstand hello dtml-in neuanmeldungen_sql start=query_start dtml-if sequence-start pa

Re: [Zope-dev] DISCUSS: XHTML Templates proposal

2000-09-15 Thread Toby Dickenson
On Fri, 15 Sep 2000 08:28:40 -0400, Paul Everitt [EMAIL PROTECTED] wrote: Note On Jargon The choice of term for the presentation object has been contentious. Right now the list of choices include: template, view, page, or stylesheet. This proposal doesn't make the decision on the jargon.

[Zope-dev] ZOracleDA not working with 2.2.1?

2000-09-15 Thread Federico Di Gregorio
Hi *, after upgrading to latest Zope we are having problems with the ZOracleDA product. The first SQLMethod **after** a call to an external method using DCOracle to update the db, fails with an error saying that the connection is closed. (connection can't be re-opened, the only way out

[Zope-dev] Re: Discussion Story Building Mediums

2000-09-15 Thread Ken Manheimer
*This message was transferred with a trial version of CommuniGate(tm) Pro* On Fri, 15 Sep 2000, Chris Withers wrote: Ken Manheimer wrote: Convenient for what? If you've ever tried to support a community through a mailling list, you'll quickly notice that questions, and their

Re: [Zope-dev] I feel your Wiki Pain ;-)

2000-09-15 Thread Ken Manheimer
*This message was transferred with a trial version of CommuniGate(tm) Pro* On Fri, 15 Sep 2000, Rik Hoekstra wrote: ironyAt the WikiNG discussion page I wrote the following remarks, that I think not everyone will read/irony (The territory is just ripe for irony, because we're talking about

RE: [Zope-dev] I feel your Wiki Pain ;-)

2000-09-15 Thread Ken Manheimer
*This message was transferred with a trial version of CommuniGate(tm) Pro* [I'm running out of time here, so pardon the brief responses. Make no mistake, though - i'm glad to be having this discussion! It's good to be getting this input, seeing suggestions for other ways to look at this

[Zope-dev] Making copies of ExtensionClass instances

2000-09-15 Thread Greg Ward
Hi all -- I don't imagine I'm the first one to have this problem, but I don't see anything obvious in either the source or docs for ExtensionClass that helps: how do you make a copy of an ExtensionClass instance? The 'copy' module can't handle it, because it dispatches on type, and 1) it

Re: [Zope-dev] ZOracleDA not working with 2.2.1?

2000-09-15 Thread Matthew T. Kromer
[EMAIL PROTECTED] wrote: Hi *, after upgrading to latest Zope we are having problems with the ZOracleDA product. The first SQLMethod **after** a call to an external method using DCOracle to update the db, fails with an error saying that the connection is closed. (connection can't

Re: [Zope-dev] DISCUSS: XHTML Templates proposal

2000-09-15 Thread Phillip J. Eby
At 02:02 PM 9/15/00 +0100, Toby Dickenson wrote: On Fri, 15 Sep 2000 08:28:40 -0400, Paul Everitt [EMAIL PROTECTED] wrote: Note On Jargon The choice of term for the presentation object has been contentious. Right now the list of choices include: template, view, page, or stylesheet. This

Re: [Zope-dev] HiperDOM xmlc

2000-09-15 Thread Lalo Martins
On Fri, Sep 15, 2000 at 08:21:21AM -0400, Paul Everitt wrote: I'm surprised that no one responded to this. (Or maybe people did and our continual email server problems have lost it.) Me too. I'd like to congratulate Hiperlogica, because they have (ding ding ding) the _right answer_! :^)

Re: [Zope-dev] HiperDOM xmlc

2000-09-15 Thread Shane Hathaway
[EMAIL PROTECTED] wrote: The only thing I _don't_ feel good about this kind of template is that, in practice, we will probably lose the benefits of things like dtml-var standard_html_header - meaning, when you want to change the header of your site, you'll have to edit all your templates. I

Re: [Zope-dev] aq_.* names reserved?

2000-09-15 Thread Dieter Maurer
Steve Alexander writes: I'm hacking around with some external methods called aq_containment and aq_context. I just found out that I can't call them from DTML. I can call them from the URL line of a browser just fine. If I rename them to a_containment and a_context, they work from

Re: [Zope-dev] RequestContainer ?

2000-09-15 Thread Dieter Maurer
Steve Alexander writes: There's a RequestContainer instance at the top of the acquisition list, as accessed through aq_parent or through aq_inner.aq_parent. Previously, with recursive acquisition hacks, you could tell that you were at the end of the trail because aq_parent returned

Re: [Zope-dev] DISCUSS: XHTML Templates proposal

2000-09-15 Thread Paul Everitt
[EMAIL PROTECTED] wrote: IMHO, view, page, and stylesheet don't make the grade due to conflicts/confusion with unrelated technologies (e.g. MVC, "server pages", CSS, etc.). On the other hand, reading the "What is styles?" material at: http://www.w3.org/Style/ ...makes me think that the

Re: [Zope-dev] DISCUSS: XHTML Templates proposal

2000-09-15 Thread jpenny
On Fri, Sep 15, 2000 at 04:55:53PM -0700, Paul Everitt wrote: [EMAIL PROTECTED] wrote: IMHO, view, page, and stylesheet don't make the grade due to conflicts/confusion with unrelated technologies (e.g. MVC, "server pages", CSS, etc.). On the other hand, reading the "What is styles?"

Re: [Zope-dev] HiperDOM xmlc

2000-09-15 Thread Lalo Martins
On Fri, Sep 15, 2000 at 03:17:00PM -0400, Shane Hathaway wrote: [EMAIL PROTECTED] wrote: The only thing I _don't_ feel good about this kind of template is that, in practice, we will probably lose the benefits of things like dtml-var standard_html_header - meaning, when you want to change

Re: [Zope-dev] Re: Discussion Story Building Mediums

2000-09-15 Thread Michael Bernstein
Ken Manheimer wrote: Clearly, i agree that the absence of those things in the wiki is a problem - i state that directly in the "problems to be addressed" section! *The* thing to understand here is that we're currently in a position where neither wikis nor maillists, in themselves, provide