Re: [Zope] Old Zope

2000-07-31 Thread R. David Murray
On Mon, 31 Jul 2000, Luis Cortes wrote: > Does anybody know where I might still be able to download Zope 2.1.6? > > Thank ahead of time for any help, If you look at the URL you would access to download 2.2.0, and replace the version number with 2.1.6, I think you'll find you can still downloa

Re: [Zope] Zpatterns makefile problem

2000-07-31 Thread R. David Murray
On Mon, 31 Jul 2000, Owen Smith wrote: > make[1]: *** No rule to make target > `/usr/lib/python1.5/config/Makefile', needed by `sedscript'. Stop. > make[1]: Leaving directory > `/usr/local/dc/zope/lib/python/Products/ZPatterns' > make: *** [boot] Error 2 > > Where am I going wrong? > I know /usr

Re: [Zope] Zope and large files strategies?

2000-07-31 Thread R. David Murray
On Mon, 31 Jul 2000, Marcin Kasperski wrote: > Are there any limitations for placing large (say 15 MB) files inside > zope databases? What people running zope services and having to serve > such a files usually do - place them in zope or serve them with apache > (placing links inside zope web)? N

Re: [Zope] ZCatalog updating

2000-07-31 Thread R. David Murray
On Mon, 31 Jul 2000, Aaron Williamson wrote: > I am convinced this is a stupid question that has been answered a > hundred times already, but after scouring zope.org and the archives, I > still don't know the answer, so... > > How can I automatically update my ZCatalog when items have been > adde

Re: [Zope] getslice Error?

2000-07-31 Thread R. David Murray
On Mon, 31 Jul 2000, Marko MARKOVIC wrote: > > (ns_entrydate[8:],ns_entrydate[5:7],ns_entrydate[:4]))"> > size="10"> > > > ns_entrydate is a field of my query. What is the type of ns_entrydate by the time it is used in this method? > Error Type: AttributeError > Error Value: __getslice__ [.

Re: [Zope] search on www.zope.org

2000-07-29 Thread R. David Murray
On Fri, 28 Jul 2000, ethan mindlace fremen wrote: > Actually, - is treated as a continuation (ala hyphen) so searching for > dtmlin works fine. > > _ is a stop word, so searching for "mod pcgi" works. > > I'm going to note this on the search page. > > I'm looking into changing this, but Splitte

Re: [Zope] Displaying "Lines"? was: form to a email in a correctpresentation ?

2000-07-29 Thread R. David Murray
On Fri, 28 Jul 2000, Tim Cook wrote: > Other than iterating through the property is there a way to > display or present the lines property for edit without the > containing ['brackets', '&', 'ticks']? Not that I know of. But the iteration is a pretty simple dtml-in loop, so I guess nobody has h

Re: [Zope] Batchprocessing with multiple conditions?

2000-07-28 Thread R. David Murray
On Tue, 25 Jul 2000, Peter Arvidsson wrote: > I have objects of a certain meta-type. They have some properties and one > of the properties is a boolean. How do I make a dtml-in loop among those > objects with the boolean set to yes? I dont want it to traverse any > other value at all only those th

[Zope] working with datetime

2000-07-27 Thread Leichtman, David J
Is there an easy way to increment the month or year of the DateTime object? Adding a numeric value increments the day. Incrementing the year is easily doable, but incrementing the month is significantly more difficult. So I'm just curious if there's a function that will actualy modify the parts

Re: [Zope] while

2000-07-26 Thread Leichtman, David J
But that's more like a for loop. No test condition. Basically, I want to keep redoing a method until a condition is met. -Original Message- From: Daniel Rusch [mailto:[EMAIL PROTECTED]] Sent: Wednesday, July 26, 2000 3:19 PM To: Leichtman, David J Cc: '[EMAIL PROTECTED]&#x

Re: [Zope] Re: Folderish objects and that BASE tag...

2000-07-26 Thread R. David Murray
On Mon, 24 Jul 2000, Chris Withers wrote: > > I belive that it is returning: > > > > http://my.zope/site/file.html/index_html > > I wonder what index_html that is then? :S >From lib/python/OFS/Image.py (which also implements generic file object): def index_html(self, REQUEST, RESPONSE):

[Zope] while

2000-07-26 Thread Leichtman, David J
Is there an easy way to simulate the functionality of a while loop in DTML? ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/l

Re: [Zope] How to require an @ symbol in email form field??

2000-07-21 Thread R. David Murray
On Tue, 18 Jul 2000, Duncan Booth wrote: > Use javascript to check that all required fields are present before > the form is actually submitted. Here is some of the code I use: Note, however, that using Javascript to do the checking client side is only useful as a user convenience. If you have

Re: [Zope] Re: Folderish objects and that BASE tag...

2000-07-21 Thread R. David Murray
On Mon, 17 Jul 2000, Chris Withers wrote: > If you go to: > http://my.zope/site/file.html/ > > It will just return the DTML document :-) > > I wonder if it is redirecting to http://my.zope/site/file.html? I belive that it is returning: http://my.zope/site/file.html/index_html --RDM

Re: [Zope] gvib InterBase DA, undefined symbol crypt

2000-07-20 Thread David Trudgett
At 2000-07-21 00:40 -0400, Jeff Hoffman <[EMAIL PROTECTED]> wrote: >On Thu, 20 Jul 2000, David Trudgett wrote: > > > Hi all, > > > > After having successfully installed the gvib InterBase DA on a test > machine > > running Red Hat Linux 6.1, I'

[Zope] gvib InterBase DA, undefined symbol crypt

2000-07-20 Thread David Trudgett
t's probably more likely a generic setup problem, rather than anything to do with the product itself. Thanks. David Trudgett ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding

Re: [Zope] Re: Zope pcgi broken ???

2000-07-18 Thread David Elkins
strcpy(r->errmsg, ERR103_UNABLE_VERIFY_RUNNING); onError(E_503, "pcgiVerifyProc failed", r); } */ } But you're fix works around this problem nicely. David ___ Zope maillist - [EMAIL PROTECTE

Re: [Zope] Urgent Problem -> CMG - script is not working

2000-07-17 Thread R. David Murray
On Tue, 18 Jul 2000, Sven Hohage wrote: > I know that's described in the CMG but the builder-script is not working. "Invalid >syntax". > The most import thing is to be able to clone an object and then to change the >propertys. > Please mail me a version that's working because tomorrow I have to

Re: [Zope] (no subject)

2000-07-17 Thread R. David Murray
On 14 Jul 2000, Karl Anderson wrote: > __bobo_traverse__ is another attribute that the object may have to > drive the publishing process, but I haven't needed to understand why > it's useful yet :) Isn't that where he'd hook in to do exactly what he wants? To have an (arbitrary) object "eat" sub

[Zope] Re: [Zope-dev] CalendarTag fix for Zope 2.2

2000-07-17 Thread Ibañez Palomar Juan David
Shane already told me about this bug, the latest release (0.9.17) is fixed. > > Here is a small patch to make the lovely calendar tag play nice with > DT_Util.namespace() in Zope 2.2: > > $ diff -c lib/python/Products/Calendar/CalendarTag.py \ > lib/python/Products/Calendar/CalendarTag.py.org

Re: [Zope] Class Refactoring Question

2000-07-14 Thread R. David Murray
On Thu, 13 Jul 2000, James W. Howe wrote: > I've developed a couple of simply Python classes which I'm using as base > classes for some ZClasses that I've developed. I now realize that both of > these Python classes could benefit from obtaining behavior from another > class. Will I complete h

Re: [Zope] uncatalog of absent id?

2000-07-14 Thread R. David Murray
On Thu, 13 Jul 2000, Nitesh Dhanjani wrote: > Im fairly new to the Zope world. Im trying to delete a PTK folder, and get > this error: > > Zope Error > Zope has encountered an error while publishing this resource. > > Error Type: ValueError > Error Value: Uncatalog of absent id '/icds/Members

Re: [Zope] Re: Re: [Zope] LocalFS Documentation

2000-07-13 Thread R. David Murray
On Thu, 13 Jul 2000, Kelvin Cheong wrote: > I'm puzzled...there isn't any upload at the bottom of the page...but there > has always been an upload at the top of the page in the Zope content > management interface (along with "Contents", "Edit", "View", > "Properties"...etc). Was the LocalFS uploa

[Zope] (no subject)

2000-07-13 Thread Leichtman, David J
I've previously been a Perl programmer. I did a lot of stuff where I would have multiple links with different options. Ex. 1234 2345 Then, in script.pl, I would pick up the extra info on the other side from $PATH_INFO. The problem in Zope is that there is no "end" to the address. Serving from A

[Zope] Linux user group

2000-07-13 Thread CURTIS David
Greetings, I am a member of the a Linux users group and I have been asked to do a demo on ZOPE because I am using it and many members are curious. I consider myself a ZOPE newbie, because use I use ZOPE to access some really simple databases. I have NOT done any special python programming (

Re: [Zope] Aligning Images With Text

2000-07-12 Thread R. David Murray
On Wed, 12 Jul 2000, Peter Be wrote: > If you use .tag you can only control ALT, HEIGHT, WIDTH and BORDER > Look for these things in the Image module and see if you can add ALIGN. As far as I can see from the source, tag should handle arbitrary arguments. The comments certainly say that it does.

Re: [Zope] Aligning Images With Text

2000-07-12 Thread R. David Murray
On Wed, 12 Jul 2000, Terry Babbey wrote: > Now if only I could get my dtml-if statement working. > > > I believe this should work (mostly tested): Note that this will be true if the id exists anywhere in the acquisition path. --RDM ___ Zope maill

Re: [Zope] Aligning Images With Text

2000-07-12 Thread R. David Murray
On Wed, 12 Jul 2000, Terry Babbey wrote: > Here is my code: > > > > > What I would like to do is align the picture to the right of my web > page. If I was programming html I would do it like this: src=T043PIC align=right> Untested, but I copied most of it from a working method: --RDM __

Re: [Zope] .dtml files

2000-07-12 Thread R. David Murray
On Wed, 12 Jul 2000, Daniel Rusch wrote: > I have found function calls such as: > manage_roleForm=HTMLFile('roleEdit', globals()) which I believe creates > an HTML document template from the named file. But, what is the > mechanism that calls/displays mange_roleForm? Actually, it creates a render

Re: [Zope] How to uninstall a product such as PTK or KnowledgeKit

2000-07-12 Thread R. David Murray
I'm not saying this will fix it, but did you try restarting Zope? --RDM ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/list

[Zope] RE: [Zope-dev] Problem with Zope

2000-07-12 Thread R. David Murray
On Wed, 12 Jul 2000, Tina Goyne (TT) wrote: > we have actually narrowed the problem down a little more. If we use > Netscape--there are no problems. The problem seems to be with IE--have you > heard of a resolution? > > BTW - I can view the file on the network server. No, I hadn't heard about

[Zope] RE: [Zope-dev] Problem with Zope

2000-07-12 Thread R. David Murray
On Wed, 12 Jul 2000, Tina Goyne (TT) wrote: > click on the folder I created--it opens the folder, but it is as if the > folder is empty. If I view the file, it opens Adobe Reader--but the page is If the folder appears empty, how do you view the file? When viewing the file, the fact that it open

Re: [Zope] Cookie Question

2000-07-11 Thread David Brown
I've found that just ... is sufficient. The cookies end up in the namespace. At 01:04 PM 7/12/2000 +1000, Terry Kerr wrote: >maybe the cookie name doesn't exist. > >try > >Rob Pratt wrote: > > > Hello. > > > > Here's what I'm trying to do: > > > > > > > > ... do something using data from

[Zope] Re: [Zope-dev] Problem with Zope

2000-07-11 Thread R. David Murray
On Tue, 11 Jul 2000, Tina Goyne (TT) wrote: > I am a novice Zope user--my web master left my company and I have been > pegged with the responsibility of maintaining our internal website. I am > having a problem adding a new folder and then adding a file to the folder. > The file is located on ano

Re: [Zope] Stupid Question Time

2000-07-11 Thread R. David Murray
On Tue, 11 Jul 2000, Jerome ALET wrote: > ' and " are equivalent Not quite true. dtml only recognizes " for surrounding dtml expressions. But you are right that they are equivalent in python. > () are for functions or methods To call functions or methods: blah(somearg). But also used for grou

Re: [Zope] Howto store objects??

2000-07-11 Thread R. David Murray
On Tue, 11 Jul 2000, Mario Premke wrote: > Do I have to import these files as objects > and store them within Zope or is it possible > to store them on the local filesystem and > make a Link via DTML to access these files ??? The latter. Take a look at the LocalFS product. --RDM

Re: [Zope] R: [Zope] dtml-in and maps...

2000-07-11 Thread R. David Murray
On Tue, 11 Jul 2000, Marcel Preda wrote: > looks like the variable that you are using in > is noat a sequence (list || tuple) > > I suppose that your var is a dictionary > > > Insted of : > > you have to use: > as a list > || > as a tuple Note that this gives you one iteration of the dtm

Re: [Zope] DTML?

2000-07-11 Thread R. David Murray
On Tue, 11 Jul 2000, Chris Withers wrote: > Tino Wildenhain wrote: > > I want that too. When we are over it, how about replacing (or at least > > aliasing) > > these - variables to _ ? sequence-item, sequence-index etc. comes to > > mind. > > IF you've got a patch that will do this, please mail i

Re: [Zope] DTML?

2000-07-10 Thread R. David Murray
On Mon, 10 Jul 2000, Chris Withers wrote: > (Who just spent 1/2 hour figuring out how to do a multi-language site in > Zope, and now after 6hrs of trying has given up doing a recursive tree > copy to get the old site into the new structure with a DTML method or > two and is resorting to ugly hacky

Re: [Zope] data record exceeds transaction record (was C:\ProgramFiles\WebSite>"...)

2000-07-10 Thread R. David Murray
On Fri, 7 Jul 2000, Jonathan DESP wrote: > I'm getting a problem, I don't understand what it is, my friend and me > didnot find the problem too. [] > data record exceeds transaction record at 34224435 This may not be of any help, but I got this kind of error when I was trying to build a Zope

Re: [Zope] Installed Products

2000-07-09 Thread R. David Murray
On Sun, 9 Jul 2000, Tim Cook wrote: > So all the really cool, useful stuff is being written in Python > instead of ZClasses? Is there a specific reason for this? > Speed? Capability? ZClasses are a relatively recent addition. Some people swear by them, some people swear at them. Actually

Re: [Zope] Installed Products

2000-07-09 Thread R. David Murray
On Sun, 9 Jul 2000, Tim Cook wrote: > looked like in the MI. I know I can use an editor or file viewer > to get to the code. But why is it not available in the MI or what > am I missing in building my product(s)? Because it is a Python based product and not a ZClass based product? Having a web i

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

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

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

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

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

2000-07-06 Thread David Trudgett
he 1.3.9, and I noticed that multiple instances of Zope.cgi started up to service incoming requests, but apparently Zope wasn't responding. I just restarted Apache and everything was fine again. Is this a known problem with Zope that has been addressed in 2.2? Thanks. David Trudgett

Re: [Zope] newbie questions

2000-07-06 Thread R. David Murray
On Fri, 7 Jul 2000, David Trudgett wrote: > I don't understand this advice. Couldn't the file change while being read? > Wouldn't a better way be to pack the database and use the Data.fs.old file > as the backup? If you are a belt-and-suspenders type, sure . Data.fs on

Re: [Zope] newbie questions

2000-07-06 Thread David Trudgett
o the var >directory. I don't understand this advice. Couldn't the file change while being read? Wouldn't a better way be to pack the database and use the Data.fs.old file as the backup? David Trudgett ___ Zope maillist - [

Re: [Zope] RE:How do I merge form & URL vars into sql easily

2000-07-06 Thread R. David Murray
On Fri, 7 Jul 2000, Michael Blewett wrote: > trial and error (and guidance from this list), I came up with these > conclusions (which I'm sure someone will shoot down if I am wrong): > 1) The request object you are setting with your REQUEST.set command is like > a big bucket that gets passed bet

Re: [Zope] Python or DTML

2000-07-06 Thread R. David Murray
On Thu, 6 Jul 2000, Peter Bengtsson wrote: > I know that Python is integrated _very_ closly to the Zope core, but to use > a Python module you'll have to create an External Method and a file in the > Extensions folder; > and this might be slower than using DTML. Right? > > Basically, how much fas

Re: [Zope] WorldPilot and UW-IMAP?

2000-07-05 Thread R. David Murray
On Wed, 5 Jul 2000, Charlie Wilkinson wrote: > I've searched around and not found too much detail about UW vs. Cyrus > for WorldPilot. Can anyone enlighten me as to whether or not my problems My memory of the posts to the mailing list is that UW-IMAP has a number of bugs that WorldPilot tickles.

Re: [Zope] Zope and Security

2000-07-05 Thread R. David Murray
On Wed, 5 Jul 2000, Tom Scheidt wrote: > information online, but Im concerned about security issues, > such as entering social security #s etc. > > I have Zope running with Apache v1.3.x Zope has pretty strong internal security and delegation ability. If you couple that with SSL support either t

Re: [Zope] problem with ZopeFind and objectValues

2000-07-05 Thread R. David Murray
On Tue, 4 Jul 2000, Jerome Alet wrote: > In fact if I give this method a proxy role of Manager then it works fine > if I access directly to this method from my browser. However if I call > this method from inside another dtml method then it seems that the method > loose its proxy role of manager.

[Zope] DCOracle question again

2000-07-05 Thread David A Lipsky
. If anyone has any other ideas, I'd appreciate the help. -David Lipsky > I was wondering if you could help me with a problem I've been having > with DCOrale, connecting to Oracle8i. > > > import DCOracle > > conn = DCOracle.Co

Re: [Zope] The story with 900 files/Zope hanging..

2000-07-05 Thread R. David Murray
for solving that problem ? Here you can read > what David said, maybe it's a clue: I don't know about a solution to your problem, but I seem to remember Shane releasing a version of BTreeFolder recently (can't find it in the Zope news, though), which is what you really probably

Re: [Zope] What's wrong with this code?

2000-07-05 Thread R. David Murray
On Mon, 3 Jul 2000, Andrew Kenneth Milton wrote: > Because 'renderedHeader' is already set? > You want to change it to renderedFooter in the footer... Actually (you've doubtless already figured this out) you'll need to make it a counter incramented in the header and decramented in the footer so t

Re: [Zope] Re: Traversal of ZODB

2000-07-04 Thread David Trudgett
At 2000-07-04 20:32 +0100, Steve Alexander <[EMAIL PROTECTED]> wrote: >On Fri, 30 Jun 2000, David Trudgett wrote: > > I wonder if anyone has a sample Python script that traverses the ZODB to > > query or perform arbitrary operations on the objects found in it? My > >

Re: [Zope] Traversal of ZODB

2000-07-03 Thread R. David Murray
On Fri, 30 Jun 2000, David Trudgett wrote: > I wonder if anyone has a sample Python script that traverses the ZODB to > query or perform arbitrary operations on the objects found in it? My > present requirement is to write a script that goes through and does some > automated

Re: [Zope] Proxy role bug (or feature)

2000-07-03 Thread R. David Murray
On Fri, 30 Jun 2000, Ng Pheng Siong wrote: > 2. ngps adds a user in 'junk' called 'user2', with roles 'owner', > 'manager' and 'proxy_for_agf'. > > 3. Login as 'user2'; 'user2' is now able to assign the role 'proxy_for_agf' > to the above-mentioned DTML method 'view_agf'. > > > This proxy role

[Zope] basic FSSession question

2000-07-03 Thread Leichtman, David J
I'm probably missing something really key here, but I'm having difficulty doing multiple sessions in FSSession. I have a session and then, say, take some form data and push it to the session. If I'm on a different machine (different cookie / different SessionUID), and I get different form data an

[Zope] Search Interface

2000-06-29 Thread David Trudgett
I will need to do sooner or later anyway, to get a better understanding of how it all works). Thanks for any assistance. David Trudgett ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML enc

[Zope] Traversal of ZODB

2000-06-29 Thread David Trudgett
I wonder if anyone has a sample Python script that traverses the ZODB to query or perform arbitrary operations on the objects found in it? My present requirement is to write a script that goes through and does some automated updating of several dozen DTML documents. Thanks. David Trudgett

[Zope] Zope for Client / Server Game advice seeked

2000-06-29 Thread David Stidolph
e new technology with a intereasting purpose. Thanks in advance,   David Stidolph (or email [EMAIL PROTECTED] for work email)

Re: [Zope] DCOracle Problem

2000-06-29 Thread David A Lipsky
True, but the stored procedure I am calling is intended to return many rows of data (tens of thousands on occasion). I need a cursor for that. >On Thu, 29 Jun 2000, David A Lipsky wrote: >> curs = conn.cursor() >> conn.procedures.some_stored_procedure(curs) > > Do n

[Zope] DCOracle Problem

2000-06-29 Thread David A Lipsky
rsors: c._describe() File "/usr/lib/python1.5/DCOracle/ociCurs.py", line 130, in _describe if rc!=1007: self._error() File "/usr/lib/python1.5/DCOracle/ociCurs.py", line 109, in _error raise error, (rc, oci_.OracleErrorMessage(self._c.l

Re: [Zope] DTML question

2000-06-28 Thread R. David Murray
On Wed, 28 Jun 2000, Luke Tymowski wrote: > If the subfolder is down 2, then size=1 works, size=2 works, but size=3 > returns everything. > > By down 2 I mean like the example code above (folder I want to query is two > levels down). > > Maybe it's a 2.2 bug? Maybe you need the 'orphan' paramet

Re: [Zope] ZCatalog counting?

2000-06-28 Thread R. David Murray
On Tue, 27 Jun 2000, Steve Spicklemire wrote: > OK.. how about one more little special case > > There are > > > > 0 > > items of type Folder. Um...yep. Just actually looked at my code, and I do indeed have that special case in my working code . That probably makes the set/l

Re: [Zope] range with variables

2000-06-28 Thread R. David Murray
On Tue, 27 Jun 2000, Armin Wappenschmidt wrote: > # <-- that's the problem!! > > > >do something > > > > > > > How can I set the variable "start" from a user given input? If the user input is the value of a field in a form that was submitted, just refer to the name of

Re: [Zope] Re[2]: [Zope] CASE tools and Zope

2000-06-28 Thread R. David Murray
On Wed, 28 Jun 2000, Alexander Chelnokov wrote: > As i realize, ZSQL methods are merely SQL statements for data > manipulation - select, insert, delete and so on. But some application > logic and data integrity rules may be IMHO wrapped into ZClasses > instead of triggers and stored procedures. It

Re: [Zope] ZCatalog counting?

2000-06-27 Thread R. David Murray
On Tue, 27 Jun 2000, Rik Hoekstra wrote: > To quote a mail by RD Murray from a gew days ago: > > How do I find the size of the results returned by the catalog? > > <-- the results' length --> > Hmm. That wasn't my code. I'd suggest instead (untested, but I've used similar code in my own

Re: [Zope] Can't override standard_error_message on NotFound?

2000-06-27 Thread R. David Murray
On Mon, 26 Jun 2000, matt wrote: > I'm having some problems with standard_error_message on 2.2.0b2. According to the >mailing list archives I should be able to override NotFound errors (I even >cut-n-pasted http://www.zope.org/standard_error_message/view_source into my own >standard_error_mess

Re: [Zope] parsing strings in DTML

2000-06-26 Thread R. David Murray
On Mon, 26 Jun 2000, Timothy Wilson wrote: > > , ... etc. > > Don't I run into trouble with nested DTML here? No, inside the quotes you are in python, not dtml, so no nesting is required. Just reference parse_address (though you've got it in the wrong place if it already has a value...) --R

Re: [Zope] parsing strings in DTML

2000-06-26 Thread R. David Murray
On Mon, 26 Jun 2000, Timothy Wilson wrote: > "REQUEST.set('parsed_address', _.string.join(old_address, '$')"> except for This is exactly correct. Inside the quotes you are in python, and so you can reference variables from the namespace by their unadorned name. > Second question... Once I've go

Re: [Zope] Generating products that perform a smart clone of a mastersite?

2000-06-26 Thread R. David Murray
On Mon, 26 Jun 2000, [iso-8859-1] Hamish Lawson wrote: > What I think I need to do is to develop a facility that makes a > tutor's site into a product. Instantiating such a generated product > should make a smart clone of the master site, smart in the sense that > only active objects are actual

RE: [Zope] Moving Z Classes around

2000-06-26 Thread R. David Murray
On Mon, 26 Jun 2000, Brian Lloyd wrote: > future to move ZClasses around, but something will still need > to be done about existing instances created from a class that > moves. So far we have avoided the hard thinking required to If there are no instances to worry about, could one export the Z

Re: [Zope] Stupid question of the day

2000-06-24 Thread R. David Murray
On Sat, 24 Jun 2000, Dieter Maurer wrote: > Andy McKay writes: > > How do I find the size of the results returned by the catalog? > ><-- the results' length --> > Or you can use the variable 'sequence-length'. Remember that if you want to use it in an expr you have to say _['seque

Re: [Zope] Is DTML a bastardized form of XML, or valid XML?

2000-06-22 Thread David Shaw
> just wondering if DTML is actually a valid form of XML, or a bastardized > version of XML created specifically for ZOPE. I've done a little reasearch > on XML, and I it seems like DTML tags such as: > aren't really valid XML forms. The following would make more sense: > > or > This form i

Re: [Zope] Internationalization 2nd post

2000-06-20 Thread R. David Murray
On Tue, 20 Jun 2000, Dan Rusch wrote: > How are my fellow Zopers handling Internationalization, especially text. Check out the list of mailing lists in the resources section of zope.org. You'll find a mailing list for ZIP, the Zope Internationalization Project, complete with archives. --RDM __

Re: [Zope] Pointers in zope ??? object1 --> object2

2000-06-20 Thread R. David Murray
On Tue, 20 Jun 2000, NABETH Thierry wrote: > I had also thought that I could store in this field, the url of the object. > From this url, I would then be able to get the object. > (since you can call an kind of method by /) > But it didn't work. > For instance > > > > > raise an error.

Re: [Zope] TAG for file date

2000-06-20 Thread CURTIS David
using the latest version of Zope 2.1.6. If you see where I failed, please let me know. Thank you in advance for any information. :-) >>> [EMAIL PROTECTED] 06/20/00 02:52AM >>> CURTIS David wrote: > > Greetings, > > I have a database file that gets copied via a

Re: [Zope] html templates?

2000-06-19 Thread R. David Murray
On Mon, 19 Jun 2000, Christian Scholz wrote: > Imagine writing simple html templates with some custom tags which are quite > abstract like . Then write some Python Product (or there might > be one Product to make this happen a little simpler) which implements these > tags. Insofar as I understood

[Zope] Need to use a 'date' data type in sqltest

2000-06-19 Thread Jones, David H
I need to include a test of a date in a DTML variable referenced in a sqltest tag in ZSQL. From reading documentation and testing, it does not appear that the 'date' data type is supported. Can anyone confirm/infirm this and suggest a solution/workaround? Regards, David H. Jo

[Zope] TAG for file date

2000-06-19 Thread CURTIS David
Greetings, I have a database file that gets copied via a cron job at night. I would to display the new the new file date in an htlm document using Zope. What I would like is a tag that displays the date of a specific file. Is there such a dynamic tag? I am thinking something like copied-fi

[Zope] Beta tutorial does not work

2000-06-14 Thread CURTIS David
Greeting, When I try to add the Zope Tutorial, I get Python.exe Stack overflow(0xcfd) Address 0x1e1281bf.

[Zope] Zope Beta traceback does not seem to work correctly

2000-06-14 Thread CURTIS David
Greetings, How does the traceback differ in the the new Beta Zope? I seem to get confusing results with the traceback. Can some one explaing the correct way to perform a traceback.

Re: [Zope] Newbie alert! Frustration right off the bat...

2000-06-13 Thread R. David Murray
On Tue, 13 Jun 2000, Rob Brandt wrote: > The beginning of the tutorial says to create the ZAcme folder under my > root installation. I take this to mean at the main manage entry point, When you create the folder there are a couple of checkboxes on the creation screen. One says "create public

[Zope] Zope Beta Can't create folders as superuser!

2000-06-13 Thread CURTIS David
I get the following error when I try to create a new folder as superuser. Zope Error Zope has encountered an error while publishing this resource. Error Type: SuperCannotOwn Error Value: Objects cannot be owned by the superuser

[Zope] BETA BUG Authorization Bug!!

2000-06-13 Thread CURTIS David
Greetings, I have just finished upgrading to the beta version and am having this error show up in the Netscape browser window. IT occurs when I try to query an odbc database. Am using NT and Access database. Any ideas to fix or should I go back a version. The error listed is Authorizatio

[Zope] Beta Zope Error

2000-06-13 Thread CURTIS David
Greetings, I keep getting the Zope pop up password box in many menus. I also keep getting a access denied error when quering database records. What is wrong here? I am able to query records using the test menus but not within the Zope SQL methods. David A. Curtis Oregon State Marine

Re: [Zope] How do I do...

2000-06-13 Thread R. David Murray
On Mon, 12 Jun 2000, Andre van der Vlies wrote: > However, if I want to use a "Utility.()" which uses something in > "Sql" I am at loss Furthermore I have the feeling that this isn't > the way it was ment to be... > > Is there a 'correct' way of doing this??? Wait for the re-release of the T

Re: [Zope] ZCatalog in python

2000-06-13 Thread R. David Murray
On Sun, 11 Jun 2000, Dieter Maurer wrote: > The Find machinery (and therefore, ZCatalog) uses the > method "objectItems" to locate the children of an object. > > If such a method does not exist or does not return the sequence > of children, the catalog will not find them. That shouldn't matter f

Re: [Zope] Zope 2.2 beta 1 released

2000-06-12 Thread R. David Murray
On Mon, 12 Jun 2000, Brian Lloyd wrote: > Zope 2.2.0 beta 1 has been released - you can download it from > Zope.org: > http://www.zope.org/Products/Zope/2.2.0b1/ Either the -src file name is wrong, or the file is wrong, because it still says 2.2.0a1. I think it's the file, 'cause the control pan

Re: [Zope] Zope on OpenBSD

2000-06-11 Thread David Brown
Don't use the version from the ports tree. Build and install Python yourself -- the ports tree that comes with the OpenBSD 2.6 disk builds an older version of Python. Then download, build and install your own copy of Zope from the source version. It's actually VERY EASY to build and install Zop

[Zope] Referencing sql field in a direct traversal

2000-06-09 Thread Jones, David H
following code: Now I want to generalized the DTML method to work with any query. I would like to reference the fields, but haven't figured out how to. Can someone tell me how to reference the fields and field names returned in a direct traversal. Regards, David H. Jones Boeing Phantom

Re: [Zope] Zope, Apache/NT, Reliability issues

2000-06-09 Thread R. David Murray
On Fri, 9 Jun 2000, J. Michael Mc Kay wrote: > The conversation below suggests that pcgi passes requests to Zope. I am > confused about this because I am told this is a Website issue, but when > explained in it's simplest terms (below) it appears to be a pcgi or Zope > issue. > > The error I am

Re: [Zope] Re: [ZCommerce] Secure storage of credit card info

2000-06-08 Thread R. David Murray
On Thu, 8 Jun 2000, Bill Anderson wrote: > Personally, I would store the actual data on a seperate server, not > accessible to the public. Mmm. Yes, that makes it more secure. Still leaves the question of encryption/decryption of the data and key management, but it makes the cracking a lot less

[Zope] Secure storage of credit card info

2000-06-08 Thread R. David Murray
OK, any of you out there who have thought about ecommerce, cryptography, and zope, I've got a design question for you. Actually, this question is independent of zope, but I need to solve it in a zope context. You have a ZCommerce site. You accept credit cards, and securely communicate with a CC

Re: [Zope] Problems uploading large attachments

2000-06-08 Thread R. David Murray
On Thu, 8 Jun 2000, Cary O'Brien wrote: > Also, couldn't seem to run strace on the zope process. I > started under strace but the system went bezerk opening > sockets or something. Is there any way to start a > single-process non-threaded zope server? I've noticed this, too, under BSDI 4.1 an

Re: [Zope] search on search results, dynamically

2000-06-08 Thread R. David Murray
On Thu, 8 Jun 2000, Philipp Dunkel wrote: > amount of results, e.g. if my ZClass would handle Cars, > they first see 500 car-objects, then they specify only reds, > they get 200 results from the 500. Now they can specify a price > and again the amount goes from 200 to say 50. > This means I have t

[Zope] Several users having problem accessing field names of a ZSQL Method

2000-06-07 Thread Jones, David H
what mistake I (we) am making. Version information: Zope version: Zope 2.1.6 (binary release, python 1.5.2, win32-x86) Python version: 1.5.2 (#0, Jul 30 1999, 09:52:18) [MSC 32 bit (Intel)] Regards, David H. Jones Boeing Phantom Works, Mathematics and Computing Technology 425-865-6

Re: [Zope] Greetings,

2000-06-07 Thread R. David Murray
On Wed, 7 Jun 2000, ethan mindlace fremen wrote: > CURTIS David wrote: > > I wish to use use the data of the database file in my html code. For example, > > this database was last updated on 06/06/2000. I suppose that there must be a >dynamic html tag that zope uses. Wh

<    2   3   4   5   6   7   8   >