[Zope-dev] ZPatterns example update....

2000-12-28 Thread Steve Spicklemire
Hi Folks, The Dumb ZPatterns example is updated. Now there is some more realistic object referencing going on, borrowing of code snippets between Specialists and suchlike. There is also more in the way of reasonable documentation, though everything is in flux, and it still doesn't resemble

Re: [Zope-dev] ZPatterns question

2000-12-28 Thread Steve Spicklemire
Hi Christian, Well, nobody else answered that I saw... so I'll take a crack at your questions "CS" == Christian Scholz [EMAIL PROTECTED] writes: CS Hi there! CS Finally I managed to get a basic understanding of how to do CS things with ZPatterns ;-) So seems quite cool :)

Re: [Zope-dev] ZPatterns question

2000-12-28 Thread Steve Alexander
Steve Spicklemire wrote: CS 2. Is it planned to provide something like a virtual folder CS which acts like a normal object manager but is controlled via CS ZPatterns (so actually something like Folder with Customizer CS Support just without the "anchor" in ZODB. (would

Re: [Zope-dev] ZPatterns question

2000-12-28 Thread Steve Alexander
Steve Alexander wrote: return getattr(container.path.to.somewhere, name) That's the simple version, and it won't give the traversed-to object the correct context most of the time. To do that, I'd need to use an external method, and use the __of__ method to give the returned object

[Zope] ImportError on Zope 2.3.0 alpha 1

2000-12-28 Thread Wolfgang Strobl
The following method worked on 2.2.4, but fails on 2.3.0a1: dtml-call "REQUEST.set('newdoc','tdoc')" dtml-call "manage_addProduct['OFSP'].manage_addDTMLDocument(newdoc,newdoc,file =URL)" dtml-with "_.getitem(newdoc)" dtml-call "manage_addProperty('newprop','hello','string')" /dtml-with

Re: [Zope] is it possible to import from Excel

2000-12-28 Thread Johan Carlsson
When on a windows platform, I prefer to define an ODBC datasource on the excel spreadsheet, write ZSQL method that selects the fields to be imported, write a DTML method that iterates on returned records and call another ZSQL method that writes into Gadfly. You may need to handle

[Zope] index_html woes - solved!

2000-12-28 Thread Dario Lopez-Kästen
However this is not working, anymore I might add. I cannot say what I have done wrong. The only thing I've done is to add and remove SiteRoots with SiteAccess2 (which btw i cannot make work, and has caused my zope to die abruptly, w/o leaving trace in the logs). I don't know if this is

RE: [Zope] ImportError on Zope 2.3.0 alpha 1

2000-12-28 Thread Brian Lloyd
There was a typo in the a1 release - that is fixed for a2. Thanks! Brian Lloyd[EMAIL PROTECTED] Software Engineer 540.371.6909 Digital Creations http://www.digicool.com -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of

[Zope] Z-Commerce components

2000-12-28 Thread Spicklemire, Jerry
Jason wonders: Looking for an e-commerce tool to use for a Zope-based site for artists to share, display and sell 'net art' and more. Also to allow sponsors to do just that. snip 1. What do you recommend for taking credit card purchases online with Zope? The Wampum Generator is available

Re: [Zope] Turn Off Rampant Capitalization?

2000-12-28 Thread Kyler B. Laird
On Thu, 28 Dec 2000 12:44:24 -0500 you wrote: It Seems That Zope Likes To Capitalize Just About Every Word It Gets Hold Of. Is There A Good Way To Turn This Off? I Can Think Of Some Kludges, But I'd Like To Avoid Them. How do you mean? Which of the following is a proper noun or acronym?

[Zope] Turn Off Rampant Capitalization?

2000-12-28 Thread Kyler B. Laird
It Seems That Zope Likes To Capitalize Just About Every Word It Gets Hold Of. Is There A Good Way To Turn This Off? I Can Think Of Some Kludges, But I'd Like To Avoid Them. Thanks. --kyler ___ Zope maillist - [EMAIL PROTECTED]

Re: [Zope] Turn Off Rampant Capitalization?

2000-12-28 Thread Chris McDonough
Hi Kyler, AFAIK, there is no routine which capitalizes the words in management tabs. They just all happen to be capitalized literally. Is this what you mean? - Original Message - From: "Kyler B. Laird" [EMAIL PROTECTED] To: "Chris McDonough" [EMAIL PROTECTED] Cc: [EMAIL PROTECTED]

Re: [Zope] Turn Off Rampant Capitalization?

2000-12-28 Thread Kyler B. Laird
On Thu, 28 Dec 2000 13:34:57 -0500 you wrote: AFAIK, there is no routine which capitalizes the words in management tabs. They just all happen to be capitalized literally. Is this what you mean? Yeah, tabs and everywhere else. I was guessing that some routine was responsible because I see

Re: [Zope] Turn Off Rampant Capitalization?

2000-12-28 Thread Chris McDonough
Kyler, How do you mean? - Original Message - From: "Kyler B. Laird" [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Thursday, December 28, 2000 12:21 PM Subject: [Zope] Turn Off Rampant Capitalization? It Seems That Zope Likes To Capitalize Just About Every Word It Gets Hold Of.

Re: [Zope] Zope eating CPU/RAM - how do I find the culprit?

2000-12-28 Thread Dieter Maurer
Cees de Groot writes: ... excessive CPU/memory consumption ... If you use Zope 2.2.x, you can try to access the debug tools in the "Control Panel". They will show you, which request is active (to more easily reproduce and analyse the problem) and how the reference counts are changed. Dieter

[Zope] Problem with a calling a stored procedure which returns data (Help!)

2000-12-28 Thread jonathan
Hello, I have a stored procedure in sybase that I would like to run. How do I do this, I can't seem to find it anywhere. The stored procedure is supposed to return several records. I am using the SybaseDAv2. Thanks! Happy Holidays!! :) -jon -Original Message-

Re: [Zope] How to make two racks work under one specialist?

2000-12-28 Thread Steve Spicklemire
Hi Dirksen.. try this: WITH Deliverables.getItem(self.id) COMPUTE name=((RESULT is _.None) and 'none available') or RESULT.name What are you using as the 'load by accessing attribute' attribute? -steve ___ Zope maillist - [EMAIL PROTECTED]

[Zope] Turn Off Rampant Capitalization?

2000-12-28 Thread Spicklemire, Jerry
Kyler said: it'd be great if someone would say something like "Oh, yeah, just set 'capitalize_everything' to 'off'..." i can't tell you where to look, but as for "what" to look for, try searching for: string.capwords( or, in dtml entity syntax: dtml.capitalize- good luck! jerry s.

[Zope] Re: Z-Commerce components

2000-12-28 Thread Jason Cunliffe
The Wampum Generator is available at: http://www.zope.org/Members/ngarcia/WampumGenerator Thanks! Do you know is anyone _using_ Wampum : a. For handling real transactions, or is it still in development stages ? b. With Etailer's Zope kit? - Jason

[Zope] RE: Z-Commerce components

2000-12-28 Thread Spicklemire, Jerry
Jason asked: Do you know is anyone _using_ Wampum : a. For handling real transactions, or is it still in development stages ? b. With Etailer's Zope kit? This URL will have to be "reconstituted, but check out: http://zope.nipltd.com/public/lists/commerce-archive.nsf/1201f301bbb3337c802

RE: [Zope] Z-Commerce components

2000-12-28 Thread Loren Stafford
Check out: http://www.codeit.com/codeit/964459526/index_html -- Loren -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Jason Cunliffe Sent: Wednesday, December 27, 2000 16:10 To: [EMAIL PROTECTED] Subject: [Zope] Z-Commerce components Hi Looking for

[Zope] Urgent Help, raise CorruptedTransactionError, message

2000-12-28 Thread Daniel Rusch
When I try to start zope I get the following error. root@capsprodt1:/home/caps/test/zope$ Traceback (innermost last): File "/home/caps/test/zope/z2.py", line 386, in ? exec "import "+MODULE in {} File "string", line 1, in ? File "/home/caps/test/zope/lib/python/Zope/__init__.py", line

[Zope] python scripts to import data into ZODB...

2000-12-28 Thread Jonathan B. York
Howdy, I want to import some data into the ZODB and I found this How-To, http://www.zope.org/Members/michel/HowTos/ZODB-How-To, but there are errors in the example code and I haven't been able to get it to work right. Can anyone point to any other information or example code that does

Re: [Zope] Zope eating CPU/RAM - how do I find the culprit?

2000-12-28 Thread Chris McDonough
Turning on detailed logging at startup might help too... read about the -M argument in the z2.py script and read my Howto regarding "How To Track Down Hangs" at http://www.zope.org/Members/mcdonc/HowTos/DEBUG-LOG "Cees de Groot" [EMAIL PROTECTED] wrote in message 92ghr3$jf3$[EMAIL

Re: [Zope] Urgent Help, raise CorruptedTransactionError, message

2000-12-28 Thread Chris McDonough
Daniel, You may wish to try the fsrecover script (shipped with Zope) or Ty Sarna's "tranalyzer" product to figure out where the bad transaction is and truncate your Data.fs to that point. There is a how-to on Zope.org by Itamar about doing just this at this location:

Re: [Zope] Zope eating CPU/RAM - how do I find the culprit?

2000-12-28 Thread Cees de Groot
Dieter Maurer [EMAIL PROTECTED] said: Cees de Groot writes: ... excessive CPU/memory consumption ... If you use Zope 2.2.x, you can try to access the debug tools in the "Control Panel". They will show you, which request is active (to more easily reproduce and analyse the problem) and how the

RE: [Zope] Turn Off Rampant Capitalization?

2000-12-28 Thread Ron Bickers
-Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Kyler B. Laird Sent: Thursday, December 28, 2000 12:52 PM To: Chris McDonough Cc: [EMAIL PROTECTED] Subject: Re: [Zope] Turn Off Rampant Capitalization? Which of the following is a proper noun or

[Zope] Question on __roles__

2000-12-28 Thread Cees de Groot
I have encapsulated most bits of my software in a product. One part simply shows database objects, and I've made a base class to handle most of the showing and editing stuff. In the base class, I keep a tab on what methods etc. are used for viewing and for editing, and I use these in the

Re: [Zope] Zope eating CPU/RAM - how do I find the culprit?

2000-12-28 Thread Cees de Groot
[EMAIL PROTECTED] said: Turning on detailed logging at startup might help too... read about the -M argument in the z2.py script and read my Howto regarding "How To Track Down Hangs" at http://www.zope.org/Members/mcdonc/HowTos/ DEBUG-LOG Thanks! That looks promising! -- Cees de Groot

[Zope] How to change time stamp format of zope's debug information?

2000-12-28 Thread Dirksen
In debug mode, the time stamps displayed are in GMT format. How can I change it to my time zone? Dirksen __ Do You Yahoo!? Yahoo! Photos - Share your holiday photos online! http://photos.yahoo.com/ ___

Re: [Zope] How to make two racks work under one specialist?

2000-12-28 Thread Dirksen
Hi Steve, It works! Thank you. Still there's a couple of things to be cleared. What's the use of 'otherwise' clause? And is it true that the 1st 'with' clause fails, the whole skinscript process fails (so one 'with' clause is all one skinscript can put up with)? Dirksen