Re: [Zope-dev] Request for comments: Directory storage

2000-06-08 Thread Petru Paler
From my naive understanding, would this help with the problem ZODB has with regard to folders with many objects? Would a person who is using DirectoryStorage not necessarily be required to partition their objects into an artificially derived hierarchical directory structure? No, these

RE: [Zope-dev] Request for comments: Directory storage

2000-06-08 Thread Toby Dickenson
The version I sent to the list assumes a '/' directory separator. I'm releasing a fixed version (a snapshot of my working code) in a couple of seconds. Thats fine on windows too (a backslash is only required on the standard command line, but everywhere else a / is ok too) I do

RE: [Zope-dev] Request for comments: Directory storage

2000-06-08 Thread Petru Paler
I don't have the two on comparable machines :-( Do you have a standard benchmark for comparing the relative performance FileStorage/DirectoryStorage on reiser fs? Not yet. I have been using a script which just creates/retrieves objects from the ODB but I guess something more serious is

[Zope-dev] Can't add propertysheets to ZClasses in 2.2

2000-06-08 Thread Kevin Dangoor
I've already submitted this to the collector, but I wanted to make sure that I'm not the only one with this problem. Using the CVS Zope, if I create a ZClass, I am unable to add a Property Sheet because of an error (missing "__len__"). I find it hard to believe that I'm the first person to try

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

2000-06-08 Thread Charlie Derr
~ ~ I am a new Zope user and am attempting to access field names of a ~ ZSQL method. I have read and tried to use the How-To : "Access ~ the field names and fields of any arbitrary ZQSL query" by teyc. ~ The code suggested there has not worked. ~ ~ For example, when I use the code: ~ ~ dtml-in

[Zope] Unless not quite the opposite of if?

2000-06-08 Thread Curtis Maloney
Greetings, I'm sure this should be obvious to me... but I can't seem to get this code to work. It's supposed to send you to another page if a var has not been passed... dtml-unless parmName dtml-call "RESPONSE.redirect('some.url.here')" /dtml-unless The problem is, when i test the

[Zope] Problems with SybaseDA

2000-06-08 Thread A J Wilson
Hi I have installed Zope-2.1.6 on my PC (Pentium running Mandrake 7) and it seems to work fine. However, I have tried installing the SybaseDA and am having trouble. I have downloaded and installed the common Sybase libraries, set the SYBASEpath, complied it without errors and moved the

Re: [Zope] Python, Zope, and PowerPoint slides

2000-06-08 Thread Rik Hoekstra
[...] * Amos released updated "Zope training material", http://www.zope.org/Members/Amos/TrainingSlidesAnnounce that he and Michel Pelletier have been working on for the past couple weeks. There are twenty slide presentations which cover such topics as DTML, application

[Zope] ZEO ..again ;)

2000-06-08 Thread Bill Anderson
OK, after reveiwing the ZEO FAQ, I realized that we seem to be a few weeks behind schedule. Is there any updates on a time frame? I know this would certainly help amk out with his project, and would certainly help me out, even in non-zope apps (I am working on moving a Sybase/Zope setup to

Re: [Zope] Problems with SybaseDA

2000-06-08 Thread Bill Anderson
A J Wilson wrote: Hi I have installed Zope-2.1.6 on my PC (Pentium running Mandrake 7) and it seems to work fine. However, I have tried installing the SybaseDA and am having trouble. I have downloaded and installed the common Sybase libraries, set the SYBASE path, complied it without

[Zope] Links between DTML language and Python language...

2000-06-08 Thread QUIN Frédéric
Hello all, In the last mail I sent, I explaint my problem to know if a specified item is in a list. Oleg helped me and said that : "Learn Python". Now, I wonder if there are strong links between DTML language and Python language. Because, in the DTML language reference, you can find nothing

Re: [Zope] Python, Zope, and PowerPoint slides

2000-06-08 Thread Anders Holmbech Nielsen
[...] * Amos released updated "Zope training material", http://www.zope.org/Members/Amos/TrainingSlidesAnnounce that he and Michel Pelletier have been working on for the past couple weeks. There are twenty slide presentations which cover such topics as DTML,

Re: [Zope] Python, Zope, and PowerPoint slides

2000-06-08 Thread Rik Hoekstra
snip IIRC Pavlos Christoforou made a Zope product that creates pdf from stx files (goes to look it up) Yes. See http://www.zope.org/Members/gaaros/ZpdfDocument I was quite exited when I saw this pdf possibility but I can't seem to get it to work. I'm running Zope on my Win NT4.0. But I have

RE: [Zope] Greetings,

2000-06-08 Thread Cornelis J. de Brabander
dtml-var name="bobobase_modification_time" It's called that for hysterical reasons. nicely put cb ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists -

[Zope] ZServer (Zope 2.1.6) thread synchronization bug -- with workaround

2000-06-08 Thread Dr. Dieter Maurer
ZServer contains a thread synchronization bug exposed when the HTTP streaming protocol (i.e. RESPONSE.write) is used. For large responses, the reponse is written to a temporary file and the distribution thread receives "file_part_producer" requests. Writing to the tempfile uses "seek = write" in

RE: [Zope] How do you changing web port address of Zserver installedas ase rvice on Win NT4? rvice on Win NT4?

2000-06-08 Thread Cornelis J. de Brabander
I am looking for some guidance on how to change the web port address of my Zserver. I can use the -P option START.BAT file and start it manually but I haven't been able to figure out how to change it when I am starting the Zserver up as a service on a WinNT 4 box. It works fine on port 8080

[Zope] Re: [ZDP] Links between DTML language and Python language...

2000-06-08 Thread Rik Hoekstra
In the last mail I sent, I explaint my problem to know if a specified item is in a list. Oleg helped me and said that : "Learn Python". Now, I wonder if there are strong links between DTML language and Python language. Because, in the DTML language reference, you can find nothing meaning that.

Re: [Zope] WebObjects

2000-06-08 Thread Gregor Hoffleit
On Wed, Jun 07, 2000 at 04:10:03PM +0100, Chris Withers wrote: Michael Bernstein wrote: As I recall (from a WebObjects demonstartion I sat through a long time ago), WO creates the most godawful mangled URLs that I had ever seen. As a result, a WO site cannot be spidered by search

Re: [Zope] Links between DTML language and Python language...

2000-06-08 Thread Oleg Broytmann
On Thu, 8 Jun 2000, QUIN Frédéric wrote: In the last mail I sent, I explaint my problem to know if a specified item is in a list. Oleg helped me and said that : "Learn Python". Now, I wonder if there are strong links between DTML language and Python language. Because, in the DTML language

[Zope] FW: troubles with installing zope

2000-06-08 Thread Andy Gayton
Hi, I'm trying to install zope on an alpha box running CompaqTrue64 4.0F. I've created a seperate account to run zope under. I've installed zope under this user's home directory. Down the track I was hoping to link zope with apache, but for the moment I'm just trying to get it to work with

[Zope] Re: [Zope-dev] possible security flaw? - and, request for a phoneconference.conference.

2000-06-08 Thread Stuart 'Zen' Bishop
On Wed, 7 Jun 2000, Jon Franz wrote: Basically, if a user with manager privileges to a folder changes their password to be empty, then anyone (from permitted domains) can access the management screen for that folder Without Logging On... Zope assumes that you are the user without the

[Zope] Zope URLS (was re: WebObjects)

2000-06-08 Thread Chris Withers
Gregor Hoffleit wrote: Regarding wget: AFAICS, the problem is that traditionally in a static web server, if you try to access a URL like 'http://host/xyz' (without trailing slash), the server will return you an error '301 Moved permanently' and will point you to the new location

Re: [Zope] stupid question I guess

2000-06-08 Thread Tony McDonald
At 7:07 pm +0100 7/6/00, josh on wrote: sure - where is it? :) great question, it took me ages to finds this again, I think it could be linked from zope resources, or documentation, it is in in the zdp: http://zdp.zope.org/projects/zfaq/faq/DTML#951171060 this is a link to the appropriate

[Zope] creating object from method

2000-06-08 Thread Pierre Rougier
Hi all, Well, I didn't find it in the ZQR, I have a product which is able to create instantiate an object of a ZClass (using a factory). (so, I can add my special object from the Add list) In a dtml method, I want to create (instantiate) a new object of this ZClass.. I tried

Re: [Zope] Zope URLS (was re: WebObjects)

2000-06-08 Thread Rik Hoekstra
Gregor Hoffleit wrote: Regarding wget: AFAICS, the problem is that traditionally in a static web server, if you try to access a URL like 'http://host/xyz' (without trailing slash), the server will return you an error '301 Moved permanently' and will point you to the new location

Re: [Zope] Zope.org Hidden Stats

2000-06-08 Thread Tony McDonald
Hi all, under /Software this is shown. The machine is running RedHat 6.1. The Zope installation is a CVS checkout with fairly conservative updating. The content is served completely out of the Zope database. Apache is used as the web server in front of Zope.org, using PCGI to integrate with

[Zope] Plea: sequence-item and sequence_item in 2.2?

2000-06-08 Thread Tony McDonald
Hi all, Can I make a plea that the .diff patch that Jonothan Farr posted a while back be included into the 2.2 release? http://www.zope.org/Members/jfarr/Patches/dtml-in-sv I believe it would help a lot of newbies and delay the (inevitable :) day when they *really* need to use the _ namespace

Re: [Zope] Zope URLS (was re: WebObjects)

2000-06-08 Thread Oleg Broytmann
On Thu, 8 Jun 2000, Rik Hoekstra wrote: so what is the use of the /? Couldn't all Zope URLs end without a /? This effectiveley stops all websuckers. Oleg.(All opinions are mine and not of my employer) Oleg Broytmann Foundation for Effective Policies [EMAIL

Re: [Zope] Zope.org Hidden Stats

2000-06-08 Thread Oleg Broytmann
On Thu, 8 Jun 2000, Tony McDonald wrote: If you're running Zope from behind Apache/PCGI then you *have* to run Zope single threaded. Am I correct? No, you r not! Yoy can run multithreading ZServer and connect Apache to it via PCGI. There are two PCGI servers in Zope - single-threaded and

[Zope] Zope URLS

2000-06-08 Thread Chris Withers
Rik Hoekstra wrote: so what is the use of the /? Couldn't all Zope URLs end without a /? I'm afraid this is the whole problem and it's caused by relative urls. Say you're at http://host/x/y where y is a container that renders index_html to be displayed, and in that index_html you haev a ref:

[Zope] Re: ZSQL Bug in 2.1.6 [patch]

2000-06-08 Thread Chris Withers
Phill, The zope list ([EMAIL PROTECTED]) is great for this sort of question ;-) Phill Hugo wrote: Sorry to bother you. I've a quick question regarding acqusition in ZSQL methods. When I pass args the method ignores the REQUEST stuff unless I specify it in the args list. Is there a way to

Re: [Zope] Plea: sequence-item and sequence_item in 2.2?

2000-06-08 Thread Chris Withers
Tony McDonald wrote: Can I make a plea that the .diff patch that Jonothan Farr posted a while back be included into the 2.2 release? http://www.zope.org/Members/jfarr/Patches/dtml-in-sv Pretty Please :-) Chris ___ Zope maillist - [EMAIL

[Zope] create object...

2000-06-08 Thread Pierre Rougier
hi, following my question of this morning, I tried that: dtml-with "Control_Panel.Products.Objet_BIB_Product.ObjetBIB.createInObjectManager(Key, REQUEST)" which create me the object, but in the Control_Panel.Products.Objet_BIB_Product Folder I would like it to be created in the current

[Zope] mssql system dsn hangs causing zope to be no more

2000-06-08 Thread julio dinis
Hi Zopistas! After some time of heavy use of the site the zserver goes zombie, and even restarting will put zope automatically zombie, never more. If I remove the system dsn I use with zodbc and restart zope, then zope runs like a ferrari. I than create again the odbc system dsn and everything

Re: [Zope] Plea: sequence-item and sequence_item in 2.2?

2000-06-08 Thread Steve Drees
At 6/8/00 11:43:00 AM, you wrote: Hi all, Can I make a plea that the .diff patch that Jonothan Farr posted a while back be included into the 2.2 release? http://www.zope.org/Members/jfarr/Patches/dtml-in-sv I have yet to hear a downside to this patch. I second that motion. The patch has

Re: [Zope] www.zope.org cataloging server problem?

2000-06-08 Thread ethan mindlace fremen
ethan mindlace fremen wrote: Hung Jung Lu wrote: I have been trying to catalog a "News Item" and a "Product Release" inside www.zope.org, but I get the error I'm working on this one. Now fixed. ethan mindlace fremen zopatista community liason

Re: [Zope] FSSession newbie problem

2000-06-08 Thread Marcello Lupo
Pavlos Christoforou wrote: Hi Marcello On Wed, 7 Jun 2000, Marcello Lupo wrote: and macically i obtain the same error. this is the code i used: dtml-call FSSession dtml-unless "FSSession.has_key('cart')" dtml-call "FSSession.set('cart',{})" /dtml-unless dtml-call

Re: [Zope] FW: troubles with installing zope

2000-06-08 Thread ethan mindlace fremen
Andy Gayton wrote: Hi, I'm trying to install zope on an alpha box running CompaqTrue64 4.0F. I've created a seperate account to run zope under. I've installed zope under this user's home directory. Stack overflow: pid 23282, proc python, addr 0x14085ffe8, pc 0x120038c18 Which zope

Re: [Zope] WorldPilot - Regular messages are attachments?

2000-06-08 Thread Paul Gresham
Be careful here ... I think you'll also find that should you try to download the attachement, It'll kill Zope. If you're running Zope with -D it'll restart, otherwise you'll find you have no web site after trying to download. I'm not sure what it does to kill Zope as there is no error, just

Re: [Zope] Zope.org Hidden Stats

2000-06-08 Thread Tony McDonald
At 10:52 am + 8/6/00, Oleg Broytmann wrote: On Thu, 8 Jun 2000, Tony McDonald wrote: If you're running Zope from behind Apache/PCGI then you *have* to run Zope single threaded. Am I correct? No, you r not! Yoy can run multithreading ZServer and connect Apache to it via PCGI. There

RE: [Zope] Re: [Zope-dev] possible security flaw? - and, request for a phone conference. conference.

2000-06-08 Thread Brian Lloyd
Basically, if a user with manager privileges to a folder changes their password to be empty, then anyone (from permitted domains) can access the management screen for that folder Without Logging On... Zope assumes that you are the user without the password and treats you as if

[Zope] ZCatalog and plurals (wordnet?)

2000-06-08 Thread George Runyan
does ZCatalog support plurals? zope.org is not, maybe its not running thew latest n' greatest version of ZCatalog (for good reasons?). anyway - if search for 'logo' on zope.org you get nothing, but if you search for 'logos' you get what I was looking for (to make some .ico files :) does someone

Re: [Zope] creating object from method

2000-06-08 Thread Kevin Dangoor
Take a look at: http://www.zope.org/Members/taz/addZClasses Kevin - Original Message - From: "Pierre Rougier" [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Thursday, June 08, 2000 6:57 AM Subject: [Zope] creating object from method Well, I didn't find it in the ZQR, I have a

Re: [Zope] dtmll-in variables

2000-06-08 Thread josh on
Hi, I am trying to only perform a task if there are less than a certain amount of records returned by a query. Jonothan gave me the variable name for the record count: is there an easy way to get a record count of total number of items or iterations returned by a dtml-in tag? dtml-var

[Zope] creating objects... and change properties..

2000-06-08 Thread Pierre Rougier
Well, I am sorry to send three messages a day, but I am really desappointed... I use the following code: dtml-with "manage_clone(livre1,Key,REQUEST)" dtml-call "manage_changeProperties( EntryType=REQUEST['Type'], author=Author, title=Title, year=Year, publisher=Publisher,

[Zope] ZCatalog and Search Results

2000-06-08 Thread Aaron Payne
Hi all, I have a zcatalog. I use the methods generated by Z Search Interface to search the catalog. These methods will not recognize new additions to the catalog. After adding a coupon instance, the catalog search fails to find the new coupon or even the the old coupons. The add method of

[Zope] R: [Zope] dtmll-in variables

2000-06-08 Thread Marcel Preda
dtml-in linescontributed line:dtml-var contentbr dtml-var sequence-lengthbr dtml-if "sequence-length == 10" WHOOP WHOOP /dtml-if /dtml-in There are ten lines returned by this query but zope sees the line: dtml-if "sequence-length == 10" and thinks I am trying to say sequence

[Zope] Wrong mime type sent by Zope on every page

2000-06-08 Thread Andrew Diller
Hello: It was just brought to my attention that Zope (using Zserver) is sending the wrong MIME type of all its pages. Here is the header from zope: (some lines have been cut) -- HTTP/1.0 200 OK Server: Zope/Zope 2.1.6 (source release, python 1.5.2, linux2) ZServer/1.1b1 Date:

[Zope] Importing/Exporting ZClasses

2000-06-08 Thread Pete Kazmier
Hi, I know I've read this somewhere before but I can't seem to find it at all on zope.org or the mail archives. I need help importing a ZClass. I successfully export a python product called 'Gateway' and then I successfully export my ZClass 'ZGateway' which is based on the 'Gateway' product.

Re: [Zope] mssql system dsn hangs causing zope to be no more

2000-06-08 Thread Harald Ragger
Julio: what version of zope do you run? harald - Original Message - From: "julio dinis" [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Thursday, June 08, 2000 1:49 PM Subject: [Zope] mssql system dsn hangs causing zope to be no more Hi Zopistas! After some time of heavy use of the

Re: [Zope] WorldPilot - Regular messages are attachments? (PatchFix)

2000-06-08 Thread Bryan Stillwell
On Thu, 8 Jun 2000, Paul Gresham wrote: Be careful here ... I think you'll also find that should you try to download the attachement, It'll kill Zope. If you're running Zope with -D it'll restart, otherwise you'll find you have no web site after trying to download. I'm not sure what it does

[Zope] Getting a specific user role

2000-06-08 Thread Mabe, Brad
Forgive me if this has been covered before. I am implementing a login/security scheme through the use of GUF and SQL methods. My user and role information is kept in a SQL database and a user can have more than one role assigned to him/her. What I would like to do is check if a specific role

[Zope] localFS for existing files

2000-06-08 Thread Satheesh Babu
Hi, I've a folder tree on the filesystem with around 75 sub-folders and 3000 image (jpg) files arranged in these folders. When I make a localFS object to mapto this folder, I'm able to browse the tree, but clocking on the individual files fail giving an error message saying "set_objTime

[Zope] generic user folder 1.2.4

2000-06-08 Thread technology
Hello guys: today I have installed Generic user folder 1.2.4 Zope version 2.1.6 redhat 6.1 on apache with zope.cgi I have untared the tgz into the top level in /home/Zope I have restarted the zope several times. When I go to Zope management and "add new item" + "Generic user folder" I get

[Zope] OReilly Open Source conference

2000-06-08 Thread Jeff Sasmor
Hi Zopistas, Anyone else in this list going to the OReilly Open Source SW convention July 17-20?. Anyone interested in having an informal Zopista.party.dinner.beerfest.splunge (or whatever...) one night during the con or perhaps Sunday nite July 16? If enough people are interested I'll try

Re: [Zope] Wrong mime type sent by Zope on every page

2000-06-08 Thread Martijn Pieters
On Thu, Jun 08, 2000 at 11:51:03AM -0400, Andrew Diller wrote: It was just brought to my attention that Zope (using Zserver) is sending the wrong MIME type of all its pages. Here is the header from zope: (some lines have been cut) -- HTTP/1.0 200 OK Server: Zope/Zope

Re: [Zope] Wrong mime type sent by Zope on every page

2000-06-08 Thread Chris Withers
Martijn Pieters wrote: You probably did a 'HEAD' request, at which point Zope doesn't render the page, but rather only acknowledges it's existence by returning above (bogus) response. That's not very search engine friendly :( The head should return the same type as the real document otherwise

[Zope] LocalFS from DTML

2000-06-08 Thread Oliver Frommel
Hi, how can I use the LocalFS product programmatically, i.e. add new files using DTML, then get back to the index_html of the calling folder, instead of using manage_upload? I do the same thing with images using my own form and this DTML code: dtml-call

RE: [Zope] Plea: sequence-item and sequence_item in 2.2?

2000-06-08 Thread Brian Lloyd
Hi all, Can I make a plea that the .diff patch that Jonothan Farr posted a while back be included into the 2.2 release? http://www.zope.org/Members/jfarr/Patches/dtml-in-sv I have yet to hear a downside to this patch. I second that motion. The patch has allowed me to clean up my code

[Zope] Re: SQLSession and lexical token problems

2000-06-08 Thread Hung Jung Lu
--- In [EMAIL PROTECTED], Jason Lee [EMAIL PROTECTED] wrote: I'm trying to use SQLSession, and not having much luck. The other two choices are FSSession and HappySession. FSSession is File-System-based. HappySession is RAM-based. HappySession is very easy to install and use. You don't need to

Re: [Zope] Wrong mime type sent by Zope on every page

2000-06-08 Thread Martijn Pieters
On Thu, Jun 08, 2000 at 06:59:29PM +0100, Chris Withers wrote: Martijn Pieters wrote: You probably did a 'HEAD' request, at which point Zope doesn't render the page, but rather only acknowledges it's existence by returning above (bogus) response. That's not very search engine friendly

[Zope] Problems uploading large attachments

2000-06-08 Thread Cary O'Brien
I am using confera to help coordinate some development work I would like people to be able to upload large (100k) attachments into the system so the documents can be shared by people at different sites. I find that things work fine for small attachments, but for larger attachments, Zope is

[Zope] search on search results, dynamically

2000-06-08 Thread Philipp Dunkel
Hi out there, I have a Catalog that indexes ZClasses (only one type). Now I want to show the user all Instances in a list when they come to the page. The user should be able to use a search form to tailor down the amount of results, e.g. if my ZClass would handle Cars, they first see 500

[Zope] dtml-tree with data from multiple tables

2000-06-08 Thread Lance Kurisaki
I'd like to generate a tree with data from different SQL tables depending on the tree level. In other words, the first level data comes from one table, second level comes from another. How can the branches_expr expression determine what the current tree level is? Can I pass a parameter to let

Re: [Zope] Wrong mime type sent by Zope on every page

2000-06-08 Thread Chris Withers
Martijn Pieters wrote: But what if there are side effects to calling the document? What should happen? I don't want a counter to go up or anything just because a HEAD was called on the object. This is not as black-and-white and simple an issue. The web is an imperfect medium, but returning

Re: [Zope] Re: ZSQL Bug in 2.1.6 [patch]

2000-06-08 Thread Rik Hoekstra
The zope list ([EMAIL PROTECTED]) is great for this sort of question ;-) Phill Hugo wrote: Sorry to bother you. I've a quick question regarding acqusition in ZSQL methods. When I pass args the method ignores the REQUEST stuff unless I specify it in the args list. Is there a way to pass one

Re: [Zope] dtml-tree with data from multiple tables

2000-06-08 Thread Rik Hoekstra
I'd like to generate a tree with data from different SQL tables depending on the tree level. In other words, the first level data comes from one table, second level comes from another. How can the branches_expr expression determine what the current tree level is? Can I pass a parameter to

Re: [Zope] Wrong mime type sent by Zope on every page

2000-06-08 Thread Andrew Diller
You are correct. I see it now: 3:56pm imp:[~] : %; telnet www.HOST.upenn.edu 8080 Trying XXX.91.72.121... Connected to XXX.XXX.UPENN.EDU (XXX.91.72.121). Escape character is '^]'. GET /pn21/secnet/section_text HTTP/1.0 HTTP/1.0

[Zope] Re: dtml-tree with data from multiple tables

2000-06-08 Thread Lance Kurisaki
I'd like to generate a tree with data from different SQL tables depending on the tree level. In other words, the first level data comes from one table, second level comes from another. How can the branches_expr expression determine what the current tree level is? Can I pass a parameter to let

[Zope] PARENTS

2000-06-08 Thread Tom Scheidt
Hi All, I can't get dtml-with PARENTS[1] to work. I want it reference the folder containing the folder containing the document, but i get: Error Type: KeyError Error Value: PARENTS[1] Thanks. Tom Scheidt | www.falsemirror.com | [EMAIL PROTECTED]

Re: [Zope] PARENTS

2000-06-08 Thread Rik Hoekstra
-Original Message- From: Tom Scheidt [EMAIL PROTECTED] To: [EMAIL PROTECTED] [EMAIL PROTECTED] Date: donderdag 8 juni 2000 22:07 Subject: [Zope] PARENTS Hi All, I can't get dtml-with PARENTS[1] to work. I want it reference the folder containing the folder containing the document,

RE: [Zope] Wrong mime type sent by Zope on every page

2000-06-08 Thread Brian Lloyd
But what if there are side effects to calling the document? What should happen? I don't want a counter to go up or anything just because a HEAD was called on the object. This is not as black-and-white and simple an issue. The web is an imperfect medium, but returning a junk

Re: [Zope] PARENTS

2000-06-08 Thread Bill Anderson
Tom Scheidt wrote: Hi All, I can't get dtml-with PARENTS[1] Have you tried dtml-with "PARENTS[1]" ? I dont recall why ATM, but my rule-of-thumb is that if you are calling ALLCAPS (ie. REQUEST,PARENTS...) wrap it in quotes. ___ Zope maillist

[Zope] ANN: ZUBB 0.3.2 (Zope Ultimate Bulletin Board)

2000-06-08 Thread J. Atwood
http://www.zope.org/Members/BwanaZulia/ZUBB/ A few bugs fixed. A few more features added. Almost ready for prime time. Take a look and email me with your comments. If you are using it and would like to be linked to as an "example" site please send me the url. The idea is to make sure the

RE: [Zope] Wrong mime type sent by Zope on every page

2000-06-08 Thread Dan L. Pierson
Brian Lloyd writes: What if we change this to: if a 'content_type' attribute exists, it is used else if the object's id seems to have a file extension (. in the id), try to use guess_content_type else if there is a 'default_content_type' attribute, use that

RE: [Zope] Wrong mime type sent by Zope on every page

2000-06-08 Thread Brian Lloyd
-Original Message- From: Dan L. Pierson [mailto:[EMAIL PROTECTED]] Sent: Thursday, June 08, 2000 3:47 PM To: Brian Lloyd Cc: 'Chris Withers'; Martijn Pieters; Andrew Diller; [EMAIL PROTECTED] Subject: RE: [Zope] Wrong mime type sent by Zope on every page Brian Lloyd writes:

Re: [Zope] PARENTS

2000-06-08 Thread Rik Hoekstra
-Original Message- From: Tom Scheidt [EMAIL PROTECTED] To: Rik Hoekstra [EMAIL PROTECTED] Date: donderdag 8 juni 2000 22:27 Subject: Re: [Zope] PARENTS The wierd thing is: dtml-with PARENTS gives me the parent folder. (notice no quotes) ? strange dtml-with PARENTS[1] gives me "Error

[Zope] user contributions to Zope.org

2000-06-08 Thread Graham Chiu
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 This has been mentioned before, but some sites like the main PHP one allow visitors to add comments to web pages. My thought was that this should be relatively easy to implement with the Zope.org site. A small form at the bottom of each page, URL0

RE: [Zope] sort_order???

2000-06-08 Thread michael angelo ruberto
hey that worked perfectly! thanks! most of my problems always seem to have solutions right under my nose. ;) -mike- -Original Message- From: Charlie Derr [mailto:[EMAIL PROTECTED]] Sent: Wednesday, June 07, 2000 11:25 PM To: [EMAIL PROTECTED] Subject: FW: [Zope] sort_order??? You saw

Re: [Zope] Unless not quite the opposite of if?

2000-06-08 Thread Dieter Maurer
Curtis Maloney writes: On Thu, 08 Jun 2000, Curtis Maloney wrote: ... The problem is, when i test the page, it seems to pass over that that, and go right on with the page. So, I tried to be a little more explicit: dtml-unless "REQUEST.has_key('parmName')" ...

Re: [Zope] Help on synchronous methods?

2000-06-08 Thread Dieter Maurer
Craig Allen writes: How can I synchronize external method completion with DTML method invocation? [and do I need to?] A single request is executed by a single thread. Inside this thread, all invocations are serial (and therefore synchronized). Different requests may be executed by different

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

2000-06-08 Thread Dieter Maurer
Jones, David H writes: For example, when I use the code: dtml-in SQL.names dtml-let vname=sequence-item vvalue="SQL()[0][_['sequence-index']]" dtml-var vname, dtml-var vvaluebr /dtml-let /dtml-in I get the error: Error Type: KeyError Error

Re: [Zope] Q: Accessing ZSQL methods from Python

2000-06-08 Thread Dieter Maurer
[EMAIL PROTECTED] writes: my question is what type or value is returned by a ZSQL method that is invoked from Python? ZSQL methods return "Shared.DC.ZRDB.Results.Results" instances. Such an instance essentially behaves like a sequence of objects each describing one result row. These objects

Re: [Zope] FW: troubles with installing zope

2000-06-08 Thread Dieter Maurer
Andy Gayton writes: I'm trying to install zope on an alpha box running CompaqTrue64 4.0F. I've created a seperate account to run zope under. I've installed zope under this user's home directory. This seemed to bring up the server ok, however there was a PROBLEM statement:

Re: [Zope] PARENTS

2000-06-08 Thread Chris Withers
Bill Anderson wrote: Tom Scheidt wrote: Hi All, I can't get dtml-with PARENTS[1] Have you tried dtml-with "PARENTS[1]" ? I dont recall why ATM, but my rule-of-thumb is that if you are calling ALLCAPS (ie. REQUEST,PARENTS...) wrap it in quotes. The all-caps things isn't the

Re: [Zope] Wrong mime type sent by Zope on every page

2000-06-08 Thread Chris Withers
Brian Lloyd wrote: What if we change this to: if a 'content_type' attribute exists, it is used else if the object's id seems to have a file extension (. in the id), try to use guess_content_type else if there is a 'default_content_type' attribute, use that It would be

[Zope] Re: FSSession newbie problem

2000-06-08 Thread Hung Jung Lu
--- In [EMAIL PROTECTED], Marcello Lupo [EMAIL PROTECTED] wrote: and macically i obtain the same error. this is the code i used: dtml-call FSSession dtml-unless "FSSession.has_key('cart')" dtml-call "FSSession.set('cart',{})" /dtml-unless dtml-call "FSSession['carrello'].update(REQUEST.form)" I

[Zope] Guide to writing a Python Product for Zope?

2000-06-08 Thread Chris Withers
"Dan L. Pierson" wrote: Sounds pretty good. Setting 'default_content_type' can then be another item in the unwritten Guide to Writing a Zope Product. Well, hopefully this will actually get written sometime and we can all stop scratching our heads everytime we want to know how to do something.

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 to

[Zope] ZSearch interface

2000-06-08 Thread Vaibhav
Hi, I tried to add a zsearch interface as per the zcatalog tutorial. When I type a keyword in the raw field, I get the message "There was no data matching this Catalog query." How do I create a search form in my folder? Hope someone can help. Regards.

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 and

[Zope] redirecting from inside a frame

2000-06-08 Thread Fusion Group
I'm attempting to submit a form from inside of a frame, and depending on the information submitted, redirect to a new page which I no longer want displayed inside of that frame. I want the new page to displayed in the full browser window, but not a new window. Any help would be greatly

[Zope] worldpilot and imap: readonly access

2000-06-08 Thread paul beard
worldpilot has issues with imap when the INBOX is open by some other application . . . . . should be able to display and allow composition of email (pine does this, for example, if I have my mail open in another imap client). Zope Error Zope has encountered an error while publishing this

Re: [Zope] ZCatalog and Search Results

2000-06-08 Thread Jason Spisak
Aaron Payne: Hi all, Hi Aaron. I have a zcatalog. I use the methods generated by Z Search Interface to search the catalog. These methods will not recognize new additions to the catalog. After adding a coupon instance, the catalog search fails to find the new coupon or even the the

Re: [Zope] redirecting from inside a frame

2000-06-08 Thread Phil Harris
Chad, Before I attempt an answer to your question, can I ask you a favour? Please don't send HTML encoded mail to the list, lesser mortals use crappy mailers and have trouble reading it 8¬) Thanks in advance. If I understand you correctly you want the form to goto a full browser rather than

Re: [Zope] Getting a specific user role

2000-06-08 Thread Jason Spisak
Mabe, Brad writes: Forgive me if this has been covered before. There's no real great documentation on using the security API, and it's changing a bit anyway. I am implementing a login/security scheme through the use of GUF and SQL methods. My user and role information is kept in a SQL

Re: [Zope] ANN: ZUBB 0.3.2 (Zope Ultimate Bulletin Board)

2000-06-08 Thread Graham Chiu
In article [EMAIL PROTECTED], J. Atwood [EMAIL PROTECTED] writes Take a look and email me with your comments. If you are using it and would like to be linked to as an "example" site please send me the url. Hi, Looks good. A couple of comments: How about default sorting the message threads so

Re: [Zope] user contributions to Zope.org

2000-06-08 Thread Graham Chiu
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 In article [EMAIL PROTECTED], Shane Hathaway [EMAIL PROTECTED] writes Not to put down your idea, but in what way is this not addressed? Because you can comment directly on the object in question - Eg. point out some Zope Zen, or errors in products

RE: [Zope] FW: troubles with installing zope

2000-06-08 Thread Andy Gayton
Thank you for your replys. Andy I could then point my browser at the server on 9080 and get the introductory Andy page. However, if I try to do anything else, like go to admin page or quick Andy start documentation, the server raises the following debug message and the Andy browser says

Re: [Zope] PARENTS

2000-06-08 Thread Bill Anderson
Chris Withers wrote: Bill Anderson wrote: Tom Scheidt wrote: Hi All, I can't get dtml-with PARENTS[1] Have you tried dtml-with "PARENTS[1]" ? I dont recall why ATM, but my rule-of-thumb is that if you are calling ALLCAPS (ie. REQUEST,PARENTS...) wrap it in quotes.

  1   2   >