Re: [Zope] Broken products in 2.2 - bug?

2000-07-20 Thread Peter Arvidsson
The strange thing is that the product itself is not broken only all the instances become broken everytime I restart... Peter Dieter Maurer skrev: Peter Arvidsson writes: Is products treated in a different way in 2.2 final than in 2.1.6? When I restart Zope all instances of my (and

[Zope] Login manager and ZPatterns - error

2000-07-20 Thread Demos Economacos
I had an older version of LoginManager (0.3) installed on my default Zope installation (2.1.6) running on a RH 6.3 Linux. I downloaded and installed LoginManager 0.8.6 and then things started getting weird. LoginManager and PTK were both being reported as broken products. So, spent about 4

Re: [Zope] Login manager and ZPatterns - error

2000-07-20 Thread Mathias Bengtsson
What version of ZPatterns do you have. I experienced this problem earlier and realized that in the file SheetProviders.py in the ZPatterns library some verison of ZPatterns totally lack the SheetProverContainers. I run on ZPatterns 0-3-0 and I had it up'n'running. /Mathias Bengtsson Demos

[Zope] Re: LoadSite can create a corrupted data.fs ?

2000-07-20 Thread Steve Alexander
Jonathan Desp wrote: Thanks alot ! Do you know how to put a small description for each results you are getting on a search engine, if you go to www.atomasoft.com and search "Nanotechnology" you'll get several several result, but with no description like at my past site www.atoma.f2s.com

[Zope] Scarry BTreeFolder eats my 'contents' tab

2000-07-20 Thread Dirksen Lau
Just as soon as I restarted Zope after placing the BTreeFolder in the Products dir, wham! all my files were disappeared!! It took me quite a while to collect the pieces of my minds and pulled them together again when I discovered through FTP that my files were still inside Zope. Back in the

[Zope] URL quoting in python

2000-07-20 Thread Kapil Thangavelu
is there a way to get a url-encoded/quoted variable in pythonish dtml ? what i am trying to do dtml-call "RESPONSE.redirect(URL1+'?foo_bar='+foobar)" Kapil ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No

Re: [Zope] URL quoting in python

2000-07-20 Thread Chris Withers
Kapil Thangavelu wrote: what i am trying to do dtml-call "RESPONSE.redirect(URL1+'?foo_bar='+foobar)" dtml-call "RESPONSE.redirect(URL1+'?foo_bar='+foobar)" url_quote dtml-call "RESPONSE.redirect(URL1+'?foo_bar='+foobar)" url_quote_plus dependent on whether you want spaces coded as + or %20

Re: [Zope] Reversing acquisition?

2000-07-20 Thread Stephen Harrison
Luciano Ramalho wrote: [EMAIL PROTECTED] wrote: The effect I would like to achieve is: when user access http://myserver/, content of /text_object_1 and /text_object_2 will be shown while user access http://myserver/subfolder/, content of /subfolder/text_object_1 and

Re: [Zope] ZEO and a front end...

2000-07-20 Thread Bill Anderson
Curtis Maloney wrote: On Thu, 20 Jul 2000, Bill Anderson wrote: Toby Dickenson wrote: On Tue, 18 Jul 2000 16:08:48 -0600, Bill Anderson [EMAIL PROTECTED] wrote: I might be reading more into his words than was intended, but I think this demonstrates the problem. Distributing

[Zope] Stability fun on NT

2000-07-20 Thread Andy Gates
So Zope choked last night, stopped responding (no serious load, only me tinkering with pages), and when I get to check the event log it's full of: "The application, ./python.exe, generated an application error The error occurred on 7/20/2000 @ 10:49:15.625 The exception generated was c005

Re: [Zope] Stability fun on NT

2000-07-20 Thread Chris Withers
Andy Gates wrote: So Zope choked last night, stopped responding (no serious load, only me tinkering with pages), and when I get to check the event log it's full of: "The application, ./python.exe, generated an application error The error occurred on 7/20/2000 @ 10:49:15.625 The

[Zope] ZDiscussions and Zope 2.2

2000-07-20 Thread Gidon Friedman
hi Anybody tried to use ZDiscussion with Zope 2.2 ? I somehow can't manage to get it to work First I wasn't able to use 'regenerate method' because of a TypeError : keyword parameter redefined then i copied the methods by hand, but each time i try to view a non-empty Topic (as Manager)

Re: [Zope] Stability fun on NT

2000-07-20 Thread Andy Gates
Message-ID: [EMAIL PROTECTED] Priority: NORMAL X-Mailer: Execmail for Win32 5.1 Build (9) MIME-Version: 1.0 Content-Type: Text/Plain; charset="us-ascii" How much disk space / RAM have you got? 1.8Gb free on the Zope drive, 256Mb RAM, dual PIII-500 processors. What size is data.fs? 4.5Mb -

Re: [Zope] Stability fun on NT

2000-07-20 Thread Phil Harris
Andy, You don't give us much to go on, but I'll just say that I've been using Zope on NT for about 18 months and have seen no real instability problems at all. The worst that happens is when I reboot the machine :) Fill in some more detail, NT Service Pack level, Zope ver, NT build number

Re: [Zope] Stability fun on NT

2000-07-20 Thread Andy Gates
Message-ID: [EMAIL PROTECTED] Priority: NORMAL X-Mailer: Execmail for Win32 5.1 Build (9) MIME-Version: 1.0 Content-Type: Text/Plain; charset="us-ascii" ...and now it's working again, for a while, and I haven't done anything. Don't like this. AndyG

[Zope] dtml-in with sequence problems

2000-07-20 Thread Jarkko Veijalainen
i have this external method called Imap_methods. Why zope refused to pass '[EMAIL PROTECTED]' string to my method. Is there something wrong with my syntax. dtml-in Imap_methods('[EMAIL PROTECTED]') ... do my stuff here (question 2)

Re: [Zope] ZDiscussions and Zope 2.2

2000-07-20 Thread J. Atwood
Are you using the old ZDiscussions or ZUBB? I have not had the time to fix ZUBB to work with 2.2 but will try this weekend. J From: Gidon Friedman [EMAIL PROTECTED] Date: Thu, 20 Jul 2000 12:33:58 +0200 To: [EMAIL PROTECTED] Subject: [Zope] ZDiscussions and Zope 2.2 hi Anybody tried

[Zope] Anyone built a classifieds or review product?

2000-07-20 Thread J. Atwood
On my list of products that I would like to build / help build ZCLassifieds: A product that allows users to post classifieds for sale with categories, pictures, start and end dates, email contacts, etc. Could be anonymous or require a log in that plays upon the strengths of Zope. ZReview: A

Re: [Zope] cookies

2000-07-20 Thread J. Atwood
http://www.zope.org/Members/BwanaZulia/cookies/index_html That should help. J From: "Vincent Maton" [EMAIL PROTECTED] Date: Tue, 4 Jul 2000 15:45:55 +0200 To: "Zope" [EMAIL PROTECTED] Subject: [Zope] cookies Hello !!! can you tell me how can I use the "cookies" Thank you very much

[Zope] pb impoting objects from 2.1.6 to 2.2.0

2000-07-20 Thread Didier Georgieff
Hello, I'm importing on Zope 2.2/Win98 a ZopeFolder/XML export done on Zope 2.2.0/Linux I get this error Error Type: KeyError Error Value: id Any thought about a bad export or a pb between 2.1.6/2.2 ? Traceback (innermost last): File

[Zope] length of an object

2000-07-20 Thread Brown Fox
Hello, i want to know the size of an image or a file. With dtml-var "_.len(object)" i count objects, but for the length? Thanks, Bruno __ Do You Yahoo!? Il tuo indirizzo gratis e per sempre @yahoo.it su http://mail.yahoo.it

Re: [Zope] length of an object

2000-07-20 Thread Chris Withers
Brown Fox wrote: i want to know the size of an image or a file. With dtml-var "_.len(object)" i count objects, but for the length? For images or file objects, I think you can try for: dtml-var "file_or_image.length" cheers, Chris ___ Zope

Re: [Zope] ZDiscussions and Zope 2.2

2000-07-20 Thread Gidon Friedman
I used the old ZDiscussions 0.2, but i installed the new ZDiscussions 0.3.2 now, and the results are _exactly_ the same. cheers gidon Are you using the old ZDiscussions or ZUBB? I have not had the time to fix ZUBB to work with 2.2 but will try this weekend. J

[Zope] Re: Returned mail: User unknown

2000-07-20 Thread Mathias Bengtsson
When I installed ZPatterns. I first untared in zope root as usual. Then standing in the /zope/lib/python/Products/ZPatterns/ library i da a copy of the makefile two steps above cp ../../Makefile.pre.in (ypu probaly done this but anyways) then i run make -f Makefile.pre.in boot then

Re: [Zope] length of an object

2000-07-20 Thread Maik Roeder
Hi ! Chris Withers wrote: Brown Fox wrote: i want to know the size of an image or a file. With dtml-var "_.len(object)" i count objects, but for the length? For images or file objects, I think you can try for: dtml-var "file_or_image.length" Isn't it nice we have the Snippets

Re: [Zope] ZDiscussions and Zope 2.2

2000-07-20 Thread J. Atwood
Good.. that means that it was an inherited problem. :) J From: Gidon Friedman [EMAIL PROTECTED] Date: Thu, 20 Jul 2000 15:08:25 +0200 To: "J. Atwood" [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Subject: Re: [Zope] ZDiscussions and Zope 2.2 I used the old ZDiscussions 0.2, but i installed

Re: [Zope] Changing my session identity

2000-07-20 Thread Jim Washington
How does one become Anonymous User without stopping/restarting the browser? Is there a special username/password for that? -- Jim Washington Chris McDonough wrote: Oops... sorry... dtml-raise Unauthorized Unauthorized. /dtml-raise Shortcuts on the brain. :-) -Original

[Zope] Working with Lists

2000-07-20 Thread Terry Babbey
Here is my code and my error. dtml-in "_.getitem(ProgCode,0).CL" dtml-let item=sequence-item dtml-var "item[0]" /dtml-let BR /dtml-in Zope has encountered an error while publishing this resource. Error Type: IndexError Error Value: string index out of range CL is a

[Zope] two problems.

2000-07-20 Thread Gregory Haley
hi folks, the first of these should be as simple to solve as anything, but i cannot figure it out. the second may be more complicated, and perhaps there is a good tutorial on it that someone could point out to me (though i did not find exactly what i am looking for in the zope list of how-to's,

[Zope] Re: Shane's Acquisition Understander

2000-07-20 Thread Chris Withers
"James W. Howe" wrote: I was just trying the "showaq" external method you posted on zope.org. Perhaps I just don't have things defined quite correctly, but when I try to use the method I get an error on the line which reads: base = getattr(obj, aq_base, obj) Argh! I knew I'd be bitten

[Zope] Search Interface Gone arwy! Red! No, Blue.....ahhhh.....

2000-07-20 Thread Sean G Richards
Here is my search interface and SQL method. search_query: dtml-var standard_html_header form action="search_result" method="get" h2dtml-var document_title/h2 input name="select_statment" value="select * from courses_description " input name="where_statement" value=" where subject = 'ee'"

Re: [Zope] Changing my session identity

2000-07-20 Thread Meeting Maker Webmaster
Hello, At 15:30 19.07.2000 +, you wrote: does anybody know a possibility to change the identity during a browser process, without killing all clients and logging in again? In the "Tracker" product, you will find two DTML Methods that will enable you to change the identity. They are

RE: [Zope] URL quoting in python

2000-07-20 Thread Chris McDonough
I often create an external method for this... em: def url_quote(s): import urllib return urllib.quote_plus(s, safe='') Silly, but it works. I think the alternative is to hack the DT_Util.py module in the DocumentTemplate directory to expose urllib or a derived function. -Original

RE: [Zope] Changing my session identity

2000-07-20 Thread Oleg Broytmann
On Thu, 20 Jul 2000, Chris McDonough wrote: No, unfortunately, you need to stop and restart the browser. Is there a UserFolder that stores users in ZODB and uses cookie-based authentication? Oleg.(All opinions are mine and not of my employer) Oleg Broytmann

[Zope] Re: [Zope-Annce] July 20th Zope Weekly News

2000-07-20 Thread Simon Michael
ethan mindlace fremen [EMAIL PROTECTED] writes: o Wikis are now searchable - and they have history, too! This was a little bumpy, with Steve Alexandar pointing out a search bug. Yay! where can we see this ? -Simon ___ Zope maillist -

Re: [Zope] Changing my session identity

2000-07-20 Thread jpenny
On Thu, Jul 20, 2000 at 11:38:23AM -0400, Chris McDonough wrote: No, unfortunately, you need to stop and restart the browser. Well, netscape 4.73 at least identifies http://server:8080 and http://server.whatever.com:8080 as separate authentication domains. So, you can use one as your

Re: [Zope] Search Interface Gone arwy! Red! No, Blue.....ahhhh.....

2000-07-20 Thread Oleg Broytmann
Wow, wow, very interesting! On Thu, 20 Jul 2000, Sean G Richards wrote: form action="search_result" method="get" h2dtml-var document_title/h2 input name="select_statment" value="select * from courses_description " input name="where_statement" value=" where subject = 'ee'" input

Re: [Zope] URL quoting in python

2000-07-20 Thread Chris Withers
How about doing the equivalent on html_quote in python? Chris Chris McDonough wrote: I often create an external method for this... em: def url_quote(s): import urllib return urllib.quote_plus(s, safe='') Silly, but it works. I think the alternative is to hack the

[Zope] ZPatterns and LoginManager

2000-07-20 Thread Demos Economacos
To: Mathias Bengtsson [EMAIL PROTECTED], [EMAIL PROTECTED] MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii I am still having a little trouble - I am newbie, so please excuse my dumb questions :) When I do the make, I get make: *** No rule to make target `DynPersist.c',

Re: [Zope] two problems.

2000-07-20 Thread Gerard Metrailler Jr.
Hello, At 15:28 20.07.2000 +, Gregory Haley wrote: 1. i am exploring using zope 2.2 on my local machine, the installation went fine, but now when i try to create anything from superuser, i get an error that says: Error Type: SuperCannotOwn Error Value: Objects cannot be owned

[Zope] Zope/Apache/ProxyPass

2000-07-20 Thread Joshua Brauer
I'm having trouble getting Zope and Proxy Pass to work the way I expect Specifically if you look at this site: http://www.bmb.colostate.edu:8111/ it's really supposed to proxypass to webdev.bmb.colostate.edu, but the ProxyPassReverse directive doesn't seem to clean/modify/correct the base

[Zope] NESTED IN STATEMENTS AND PASSING VARIABLES in DTML

2000-07-20 Thread Theodore Patrick
What is the DTML syntax for nested in statements. Here is an example. EXAMPLE 1: NO VARIABLE PASSING GOAL: loop 4 times and with each loop run the category_method and print out the results: dtml-in "1,2,3,4" dtml-in "category_method(id='1')"

[Zope] Accessing DTML Methods through the monitor_client

2000-07-20 Thread darryl
Can anyone give me a push down the path of using the monitor client to access DTML methods. I have a s simple methods that returns a value from a SQL call. The method looks like this: dtml-in getSampledtml-var sample/dtml-in I would like to examine sample in the monitor. -D

[Zope] Infoworld Review of Zope

2000-07-20 Thread Brad Clements
Sorry if this has been posted already, I'm in digest mode on this list. http://www.infoworld.com/articles/mt/xml/00/07/17/000717mtzope.xml Is ZEO really $25K? Brad Clements,[EMAIL PROTECTED] (315)268-1000 http://www.murkworks.com (315)268-9812 Fax

RE: [Zope] Infoworld Review of Zope

2000-07-20 Thread Chris McDonough
No. He got it wrong. ZEO is open-sourced, free, and available for download and has been since ~ a month ago. Write to the InfoWorld guy and tell him. :-) -Original Message- From: Brad Clements [mailto:[EMAIL PROTECTED]] Sent: Thursday, July 20, 2000 1:46 PM To: [EMAIL PROTECTED]

Re: [Zope] Reversing acquisition?

2000-07-20 Thread Luciano Ramalho
Thank you very much for the correction. However, after checking your Wiki references, I must say I still don´t understand the difference between context and containment (these are words that I naively used as synonyms in my message). In http://www.zope.org/Wikis/zope-dev/AcquisitionUsage we

Re: [Zope] Scarry BTreeFolder eats my 'contents' tab

2000-07-20 Thread Shane Hathaway
Dirksen Lau wrote: Just as soon as I restarted Zope after placing the BTreeFolder in the Products dir, wham! all my files were disappeared!! It took me quite a while to collect the pieces of my minds and pulled them together again when I discovered through FTP that my files were still

Re: [Zope] Infoworld Review of Zope

2000-07-20 Thread Shane Hathaway
Chris McDonough wrote: No. He got it wrong. ZEO is open-sourced, free, and available for download and has been since ~ a month ago. Write to the InfoWorld guy and tell him. :-) InfoWorld is notorious for misreporting then never retracting. We may need a letter-writing campaign. :-)

[Zope] Reversing acquisition?

2000-07-20 Thread Spicklemire, Jerry
Ramalho wrote: """ - Containment: Search the object, then its container, then the container's container, and so on. Ignore objects not in this chain. - Context: Search the objects in precisely the reverse of the order in which they were mentioned, so "A.B.C.D" is always searched in the order

Re: [Zope] Changing my session identity

2000-07-20 Thread Karl Anderson
[EMAIL PROTECTED] writes: On Thu, Jul 20, 2000 at 11:38:23AM -0400, Chris McDonough wrote: No, unfortunately, you need to stop and restart the browser. Well, netscape 4.73 at least identifies http://server:8080 and http://server.whatever.com:8080 as separate authentication domains. So,

Re: [Zope] How to skip processing the rest of a dtml document?

2000-07-20 Thread Robert Wohlfahrt
Hi, But if one of de if clauses evaluates true, I like it returns for example a sentences displaying an error. Try to use something like a flag: html head dtml-if expression1 dtml-call "REQUEST.set('myFlag',1)" ... do something ... /dtml-if dtml-if expression2

Re: [Zope] Infoworld Review of Zope

2000-07-20 Thread Chris Withers
On Thu, 20 Jul 2000, Brad Clements wrote: Sorry if this has been posted already, I'm in digest mode on this list. http://www.infoworld.com/articles/mt/xml/00/07/17/000717mtzope.xml This article is so innaccurate it's scary :( Is ZEO really $25K? No, it is open source and free ;-) Chris

[Zope] Display the icon of a meta_type

2000-07-20 Thread Gerard Metrailler Jr.
Hello, I am facing a little problem ;-) I am using a ZCatalog object on my site. When I do a query, I want the results do display the meta_type of the document found with it's icon. I've seen that on Zope.org and loved this idea... the only problem is that it is a method on zope.org that

[Zope] RE: Reversing acquisition?

2000-07-20 Thread Spicklemire, Jerry
"B" is acquirable by "C" and "D", because it is within the context of a common container, "A". However, some other object, "E" that is acquired from higher up the containment chain may be affected by the nature of the "B" that is available to "D". Because of that, the "E" may appear differently

[Zope] Incorrect Article: Zope Costly enterprise option

2000-07-20 Thread Eric L. Walstad
Hi Tom and the editors at InfoWorld, In regards to your article titled "Zope is a powerful open-source server" FYI, ZEO is now open source and free. It's been that way since March 2000. Is it possible to fix your article before too many folks get the wrong idea? Here's a link to all the

Re: [Zope] NESTED IN STATEMENTS AND PASSING VARIABLES in DTML

2000-07-20 Thread jpenny
On Thu, Jul 20, 2000 at 12:27:01PM -0500, Theodore Patrick wrote: What is the DTML syntax for nested in statements. Here is an example. EXAMPLE 1: NO VARIABLE PASSING GOAL: loop 4 times and with each loop run the category_method and print out the

Re: [Zope] Anyone built a classifieds or review product?

2000-07-20 Thread Bill Anderson
"J. Atwood" wrote: On my list of products that I would like to build / help build ZCLassifieds: Yes, but I lost the hard drive that one was on A product that allows users to post classifieds for sale with categories, pictures, start and end dates, email contacts, etc. Could be

RE: [Zope] NESTED IN STATEMENTS AND PASSING VARIABLES in DTML

2000-07-20 Thread Theodore Patrick
THANKS A TON!!! I just found that the following solutions works also: I think the only difference is the id is evaluated in the namespace variable before invoking the SQL_METHOD dtml-in "active_category_method()" dtml-in "category_method(id=(_['id']))" size=100 start=query_start

Re: [Zope] NESTED IN STATEMENTS AND PASSING VARIABLES in DTML

2000-07-20 Thread Peter Sabaini
this should work too (untestet): dtml-in "active_category_method()" dtml-in "category_method(id=id)" size=100 start=query_start id=dtml-var idseq=dtml-var seqvid=dtml-var vid /dtml-in /dtml-in ('id' var should be put on the namespace by 'active_category_method()' and gets

Re: [Zope] Reversing acquisition?

2000-07-20 Thread Shane Hathaway
Luciano Ramalho wrote: Thank you very much for the correction. However, after checking your Wiki references, I must say I still don´t understand the difference between context and containment (these are words that I naively used as synonyms in my message). In

[Zope] Product Developer's Guide

2000-07-20 Thread Chris McDonough
I hadn't anticipated Michel adding a link to the Product Developer's Guide project outline in the docs wiki into the Zope Weekly News this week (http://www.zope.org/Wikis/Docs/ProductDevelopersGuide)... to all how-to writers, if you see your how-to referenced in there, it doesn't mean that we're

[Zope] Linux.com interview with Ethan Fremen

2000-07-20 Thread Martijn Pieters
http://www.linux.com/interviews/2720/64/ -- Martijn Pieters | Software Engineermailto:[EMAIL PROTECTED] | Digital Creations http://www.digicool.com/ | Creators of Zope http://www.zope.org/ | ZopeStudio: http://www.zope.org/Products/ZopeStudio

RE: [Zope] A Description with a Search Engine using the advanced ZCatalog program ?

2000-07-20 Thread Chris McDonough
The ZCatalog doesn't return the actual object that is indexed. It returns a representation of the object in the form of a "brain" which you can use to reference the object. dtml-in Catalog dtml-with sequence-item dtml-var "Catalog.getobject(data_record_id_).myMethod()"br

[Zope] Zope/Apache/ProxyPass

2000-07-20 Thread Joshua Brauer
I'm having trouble getting Zope and Proxy Pass to work the way I expect Specifically if you look at this site: http://www.bmb.colostate.edu:8111/ it's really supposed to proxypass to webdev.bmb.colostate.edu, but the ProxyPassReverse directive doesn't seem to clean/modify/correct the base

[Zope] Atomasoft.com is ready, fresh, clean and cool, high tech.

2000-07-20 Thread Jonathan Desp
Hi Zope members, So now Atomasoft is up and running, working. Feel free to comment, and if you see some mistake/bad request/Scripts Errors/Server problems, just email to [EMAIL PROTECTED] I don't thinks there is problem because my supporters at my list made some test and checking. (Is it too

[Zope] Zope-killer: zSQL method that crashes Zope

2000-07-20 Thread Andy Gates
Here's a thing. Those problems I was having with some sort of Zope-killing page have been tracked down to a particular zSQL method. The zSQL method is duff, in that is should fail - the perils of late-night coding on decaf, I fear - but it should fail neatly with a Zope error, not crash out

Re: [Zope] ZDiscussions and Zope 2.2

2000-07-20 Thread Júlio Dinis Silva
I'm using ZDiscussions 1.0 on 2.2 with no problems. Regards, Júlio Dinis Silva From: "J. Atwood" [EMAIL PROTECTED] To: Gidon Friedman [EMAIL PROTECTED] CC: [EMAIL PROTECTED] Subject: Re: [Zope] ZDiscussions and Zope 2.2 Date: Thu, 20 Jul 2000 10:28:36 -0400 Good.. that means that it was an

[Zope] GUF, 2.2 and SQL

2000-07-20 Thread Andy McKay
Hi. Well Ive done a clean install of GUF and 2.2. Ive followed the instructions to the letter in installing SQL for GUF and no matter what I do I cannot get the damn thing to work. I have even set all users to have access to all things. And that doesnt work. Has anyone else had this total

Re: [Zope] Zope-killer: zSQL method that crashes Zope

2000-07-20 Thread Chris Withers
Andy Gates wrote: The poison SQL is this: select (dtml-var field, field2) from tablename where (field1= dtml-sqlvar parameter1 type=string and dtml-var field '') Now I guess our code wasn't like this, but I do remember that we've had similar

Re: [Zope] Zope-killer: zSQL method that crashes Zope

2000-07-20 Thread Shane Hathaway
Chris Withers wrote: Andy Gates wrote: The poison SQL is this: select (dtml-var field, field2) from tablename where (field1= dtml-sqlvar parameter1 type=string and dtml-var field '') Now I guess our code wasn't like this, but I do

Re: [Zope] Zope-killer: zSQL method that crashes Zope

2000-07-20 Thread Chris Withers
Shane Hathaway wrote: I have a strong suspicion that nearly all bugs like this are the result of a stack overflow. It may be worth the effort to either: (1) Create a modified Python that would catch stack overflows before they happen Couldn't the code that catches infinite recursion be

[Zope] ZBabel performance??

2000-07-20 Thread technews
Hi, I was able to install and test the ZBabel product. Very nice product indeed!! I have a question about performance.. I saved the translated text into an MySQL database, and ZBabel automatically inserted the text to be translated into the database, I went ahead and translated the text, and

Re: [Zope] Display the icon of a meta_type

2000-07-20 Thread Maik Roeder
Hi Gerard ! "Gerard Metrailler Jr." wrote: Hello, I am facing a little problem ;-) I am using a ZCatalog object on my site. When I do a query, I want the results do display the meta_type of the document found with it's icon. I've seen that on Zope.org and loved this idea... the only

[Zope] ODBC in 2.2

2000-07-20 Thread Andy McKay
In case anyone else didnt read my thread there is an apparently known but not seemingly well documented problem with ODBC in Zope 2.2. The solution is here: !--StartFragment--Index: RDB.py === RCS file:

Re: [Zope] URL quoting in python

2000-07-20 Thread Chris Withers
[EMAIL PROTECTED] wrote: dtml-call "RESPONSE.redirect(URL1+'?foo_bar='+foobar)" url_quote dtml-call "RESPONSE.redirect(URL1+'?foo_bar='+foobar)" url_quote_plus Sorry, brain defect on my part: didn't notice the -call :( I see someone alerady posted what I should have said... It also

RE: [Zope] URL quoting in python

2000-07-20 Thread Chris McDonough
Didn't happen for me (Zope 2.2b4). I got Invalid attribute name, "url_quote", for tag dtml-call "REQUEST.set('URL', URL2+'?action=Add Material Infoproduct_number='+product_number)" url_quote, on line 195 of index_html It also fails for dtml-return... It looks like url_quote is

Re: [Zope] ZBabel performance??

2000-07-20 Thread Andrew Kenneth Milton
+[ [EMAIL PROTECTED] ]- | Hi, | | I was able to install and test the ZBabel product. | Very nice product indeed!! I have a question about performance.. Thanks :-) [...snip...] | However my concern that if the page is accessed by thousands | of

[Zope] gvib InterBase DA, undefined symbol crypt

2000-07-20 Thread David Trudgett
Hi all, After having successfully installed the gvib InterBase DA on a test machine running Red Hat Linux 6.1, I'm not having the same luck on the production box running RH 6.0. Here's what happens: $ python import gvib Traceback (innermost last): File "stdin", line 1, in ? File

Re: [Zope] Powered by Oasis?

2000-07-20 Thread Tim Cook
Martijn Pieters wrote: OAsis is not a publishing framework. It's their version and competitor of SourceForge. Code Catalog, another Zope server run by Open Avenue, gives plenty of credit to Zope. The Powered by OAsis button is, the way I understand it, more a 'site hosted by' credit.

Re: [Zope] ZBabel performance??

2000-07-20 Thread Andrew Kenneth Milton
+[ [EMAIL PROTECTED] ]- Snip... | translated. However my concern that if the page is accessed by thousands | of people, does Zope cache the translated text and serve it? does ZBabel I've added caching of phrase lookups using the ZSQL Methods

Re: [Zope] Enitity syntax and 2.2

2000-07-20 Thread andres
And how about: dtml.missing-REQUEST.form['foo']; That is, allow expressions to be used. I guess this makes the entity syntax act more like dtml-var. This would allow a really clear syntax for refilling input type=text tags with previously entered values in a form.

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

2000-07-20 Thread Jeff Hoffman
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'm not having the same luck on the production box running RH 6.0. Here's what happens: $ python import gvib Traceback

Re: [Zope] ZPatterns and LoginManager

2000-07-20 Thread Mathias Bengtsson
That's right. Copy the Makefile.pree.in.boot from the python library in your zope. Then do as you said yourself. run make -f Makefile.pre.in boot, then run make. Then your'e home free /Mathias Demos Economacos wrote: To: Mathias Bengtsson [EMAIL PROTECTED], [EMAIL PROTECTED]

Re: [Zope] second step (many of You are going to laungh ;-)

2000-07-20 Thread Martijn Pieters
On Wed, Jul 19, 2000 at 09:21:01PM +0200, Vincent wrote: I just download Zope today, and I am wondering how I am going to start toding something. May somebody tell me whath is the first step to do to put a custom HTML page into ZOPE ? (I started the server, I can access the 'manage'

[Zope] TR: - I got my answer, Tks - second step (many of You are going to laungh ;-)

2000-07-20 Thread Vincent
Hi, Thanks a lot for all your answers, I just write a few examples and It is workgin well. Thanks again, and very sorry to sent my query to both lists... ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No

[Zope] Re: [Zope-dev] second step (many of You are going to laungh ;-)

2000-07-20 Thread Michael Monsen
On Wed, 19 Jul 2000, Vincent wrote: [snip] May somebody tell me whath is the first step to do to put a custom HTML page into ZOPE ? (I started the server, I can access the 'manage' tools - server:8080/manage), I guess I need to creat my HTML page with notepad, ultraedit or whatever,

[Zope] second step (many of You are going to laungh ;-)

2000-07-20 Thread Vincent
Hi, I just download Zope today, and I am wondering how I am going to start toding something. May somebody tell me whath is the first step to do to put a custom HTML page into ZOPE ? (I started the server, I can access the 'manage' tools - server:8080/manage), I guess I need to creat my HTML

[Zope-dev] Broken instances when upgrading from 2.1.6 to 2.2

2000-07-20 Thread noa
Hello, I create a ZClass which subclasses ZCatalog, in my 2.1.6 zope. Then I move the Data.fs to a 2.2 and all the instances of mt ZClass show up as broken This object is broken because the unknown product that created it is no longer installed or is installed incorrectly. (...) The

Re: [Zope-dev] Acquisition/cDocumentTemplate bug

2000-07-20 Thread Shane Hathaway
Oleg Broytmann wrote: Anyone is working on it? Should I put this into Collector or Tracker? Already there. The Zope project manager is gone for the week. Shane On Mon, 17 Jul 2000, Shane Hathaway wrote: This is an excellent bug analysis. I suggest that we create a new

Re: [Zope-dev] Zope Add-on Installation

2000-07-20 Thread Chris Withers
Shane Hathaway wrote: I've created a patch that allows you to create redistributable archives with the distribution tab. It's checked in to CVS on a branch. This is what was needed for us to start using the distribution tab more frequently. Great :-) Thanks again Shane... Is the patch

[Zope-dev] Namespace passing proposal

2000-07-20 Thread Shane Hathaway
Zopistas, I've added a proposal to the fishbowl. It's a relatively safe change that would simplify a certain things, but it could break existing code and I'd like to know what you think. Please comment in the Wiki. Actually, even if you don't have anything to say you might be able to learn

Re: [Zope-dev] Zope 2.2.0 and SiteAccess 2.0.0b2 -- doesn't work?

2000-07-20 Thread Otto Hammersmith
Works great for me. Did you read http://www.zope.org/Members/4am/SiteAccess2/upgrading and do the steps listed there? The one thing I did have to change was my access rule. I had been using the hack where you append /Z/ to manage interface URI's so they don't get rewritten. What I had was

Re: [Zope-dev] getting request variables values

2000-07-20 Thread Leonardo Kenji Shikida
that's the point: dtml-var REQUEST gives me the value of SSL_CLIENT_EMAIL, that is a HTTPS environment variable but trying to get dtml-var "REQUEST.SSL_CLIENT_EMAIL" don't work. any tips? Leonardo Kenji Shikida Webmind - Brazil Office - Original Message - From: Jim Washington [EMAIL

RE: [Zope-dev] getting request variables values

2000-07-20 Thread Chris McDonough
Make a DTML method named "req" in your root folder: dtml-var REQUEST View it and send the contents to the list. -Original Message- From: Leonardo Kenji Shikida [mailto:[EMAIL PROTECTED]] Sent: Thursday, July 20, 2000 4:05 PM To: [EMAIL PROTECTED] Subject: Re: [Zope-dev] getting

Re: [Zope-dev] getting request variables values

2000-07-20 Thread Steve Alexander
Leonardo Kenji Shikida wrote: here it is. Try using dtml-var "REQUEST['SSLL_CLIENT_IEMAIL']" instead. Kenji SSL_CLIENT_IEMAIL [EMAIL PROTECTED] -- Steve Alexander Software Engineer Cat-Box limited http://www.cat-box.net ___ Zope-Dev

Re: [Zope-dev] Redirecting from the manage interfaces.

2000-07-20 Thread Chris Withers
Erik Enge wrote: On Wed, 19 Jul 2000, Chris Withers wrote: Why I'm asking is 'cos it'd be really nice not to have to keep re-writing UI when there's perfectly good stuff available in the management interface, things like add forms, edit forms, etc... Exactly. Great, so how do we

Re: [Zope-dev] getting request variables values

2000-07-20 Thread Evan Simpson
The value you're after is stored in the 'environ' section of the request. Unlike 'other' and 'cookies' keys, 'environ' keys can't generally be fetched as attributes or keys of REQUEST. You need to access them as REQUEST.environ['keyname']. Cheers, Evan @ digicool 4-am

Re: [Zope-dev] getting request variables values

2000-07-20 Thread Leonardo Kenji Shikida
A-ha! This worked! thanks! Leonardo Kenji Shikida Webmind - Brazil Office - Original Message - From: Chris McDonough [EMAIL PROTECTED] To: 'Leonardo Kenji Shikida' [EMAIL PROTECTED]; [EMAIL PROTECTED] Sent: Thursday, July 20, 2000 7:44 PM Subject: RE: [Zope-dev] getting request

[Zope-dev] Re: [Zope] second step (many of You are going to laungh ;-)

2000-07-20 Thread Martijn Pieters
On Wed, Jul 19, 2000 at 09:21:01PM +0200, Vincent wrote: I just download Zope today, and I am wondering how I am going to start toding something. May somebody tell me whath is the first step to do to put a custom HTML page into ZOPE ? (I started the server, I can access the 'manage'

Re: [Zope-dev] second step (many of You are going to laungh ;-)

2000-07-20 Thread Michael Monsen
On Wed, 19 Jul 2000, Vincent wrote: [snip] May somebody tell me whath is the first step to do to put a custom HTML page into ZOPE ? (I started the server, I can access the 'manage' tools - server:8080/manage), I guess I need to creat my HTML page with notepad, ultraedit or whatever,

  1   2   >