Re: [Zope-dev] Re: [Zope] Optimization and speed

2000-07-17 Thread Toby Dickenson
On Sat, 15 Jul 2000 13:19:33 -0700, Stephan Richter [EMAIL PROTECTED] wrote: I take that back in the previous mail to Steve about the large table. We have one and I split the header from the rest as you suggested. But since it is not streaming the information, it will still pop up all at once.

[Zope-dev] Multi-homed objects?

2000-07-17 Thread Chris Withers
Is there any reason why an object cannot be contained in more than one Folder in the ZODB? Apparently what I'm talking about is very similar to hard linking in UNIX... I can't think of any reasons why this would be bad but I can't think how to implement an 'Add hard link to this object'

[Zope-dev] Acquisition/cDocumentTemplate bug

2000-07-17 Thread Dieter Maurer
Recently, several posters have reported strange "AttributeError __call__" exceptions. The most precise was a report by Oleg Broytmann: /index_html DTML Document dtml-var standard_html_header /standard_html_headerDTML Method dtml-with

Re: [Zope-dev] Multi-homed objects?

2000-07-17 Thread Oleg Broytmann
On Mon, 17 Jul 2000, Chris Withers wrote: Is there any reason why an object cannot be contained in more than one Folder in the ZODB? Apparently what I'm talking about is very similar to hard linking in UNIX... Hardlinks are prohibited on directories; and 5 minutes ago you said all

Re: [Zope-dev] Multi-homed objects?

2000-07-17 Thread Chris Withers
Oleg Broytmann wrote: Hardlinks are prohibited on directories; and 5 minutes ago you said all objects are foldersih :) I'm not sure if my statement applies in this situation... ;-) Hardlinks are prohibited on directories because it'd cause infinite loops on traversing. Hmm, would

[Zope-dev] ZPatterns: Coad Object Models

2000-07-17 Thread Steve Alexander
Hi Folks, After the ZPatterns chat on Friday, it looked like a few people were thinking of getting into Peter Coad's book "Object Models: Strategies, patterns and applications". I've just received my copy, and I'll be starting it later today. I intend to use a Wiki to record my observations

Re: [Zope-dev] Multi-homed objects?

2000-07-17 Thread Shane Hathaway
Chris Withers wrote: Oleg Broytmann wrote: Hardlinks are prohibited on directories; and 5 minutes ago you said all objects are foldersih :) I'm not sure if my statement applies in this situation... ;-) Hardlinks are prohibited on directories because it'd cause infinite loops

Re: [Zope-dev] Multi-homed objects?

2000-07-17 Thread Shane Hathaway
Chris Withers wrote: Shane Hathaway wrote: This could be part of a "visitor" interface I've been pondering in the back of my mind. It would be capable of traversing, performing an arbitrary function, and never falling into a recursive trap. Cool :-) Let me know when it's available

Re: [Zope-dev] Wstring

2000-07-17 Thread Toby Dickenson
On Mon, 17 Jul 2000 21:05:06 +0800, "Sin Hang Kin" [EMAIL PROTECTED] wrote: hello : Does anyone known how to patch Zope2.2 for Wstring? If you mean my wstring patches that were developed for 2.1.6, you will find some updated patches at the original location, www.zope.org/Members/htrd/wstring

Re: [Zope-dev] Multi-homed objects?

2000-07-17 Thread Chris Withers
Shane Hathaway wrote: Can you see any weirdities that might occur from having an object as an attribute of more than one object manager / folder? The recursion problem, for one. Hmmm, how much of Zope would need changing to use the visitor interface? Also, if you change the object in

Re: [Zope-dev] Multi-homed objects?

2000-07-17 Thread Oleg Broytmann
On Mon, 17 Jul 2000, Chris Withers wrote: How does it work in Unix? (that seems to be a good baseline :-) On UNIX symlink is not a link - it is a text file, that contains a name of resource. The name could points to nowhere, or to resource, even to other symlink... Oleg.(All

RE: [Zope-dev] Question: circumventing the full fishbowl for small changes...?

2000-07-17 Thread Brian Lloyd
I've reviewed the introduction to the fishbowl process and its description of creating a project proposal wiki document and such, and the full process a project should take. However, I have 2 very small but useful additions to Zope I wish to make. Both additions are already

[Zope-dev] 2.2 annoying nit

2000-07-17 Thread Martijn Faassen
Hi there, I see that the 2.2 still has this annoying, and seemingly completely unnecessary minor change in the tab order: Tabs for folder in 2.1: Contents View Properties Import/Export Security Undo Find Tabs for folder in 2.2: Contents Import/Export Properties View Find Security Undo

[Zope-dev] The Application object

2000-07-17 Thread Jeff K. Hoffman
Hello, What is the easiest way for me to get ahold of the Application object at run-time? I am writing a Product that needs to access some things in the Control_Panel, and need the app object to get there. I know how to do it given a reference to an object in the ZODB (getPhysicalRoot(),

RE: [Zope-dev] The Application object

2000-07-17 Thread Chris McDonough
I'm not sure I understand. What is AppSingleton? What does the Instance() method do? -Original Message- From: Jeff K. Hoffman [mailto:[EMAIL PROTECTED]] Sent: Monday, July 17, 2000 11:54 AM To: [EMAIL PROTECTED] Subject: [Zope-dev] The Application object Hello, What is the

RE: [Zope-dev] The Application object

2000-07-17 Thread Jeff K. Hoffman
On Mon, 17 Jul 2000, Chris McDonough wrote: I'm not sure I understand. What is AppSingleton? What does the Instance() method do? Sorry I wasn't clear enough. The Singleton is a design pattern from the Gang of Four book that fits this situation well. It is a class that is meant to control

RE: [Zope-dev] The Application object

2000-07-17 Thread Chris McDonough
Sorry I wasn't clear enough. The Singleton is a design pattern from the Gang of Four book that fits this situation well. It is a class that is meant to control access to the one and only instance of a global variable. I was just using that as a frame of reference, though; Zope has no

Re: [Zope-dev] The Application object

2000-07-17 Thread Shane Hathaway
Chris McDonough wrote: Sorry I wasn't clear enough. The Singleton is a design pattern from the Gang of Four book that fits this situation well. It is a class that is meant to control access to the one and only instance of a global variable. I was just using that as a frame of

Re: [Zope-dev] The Application object

2000-07-17 Thread Jeff K. Hoffman
On Mon, 17 Jul 2000, Shane Hathaway wrote: The way to get the root application object is to open a connection to the ZODB and get the 'Application' object from the list of root objects. There is an easy shortcut: import Zope app = Zope.app() app now refers to a *copy* of the root

RE: [Zope-dev] The Application object

2000-07-17 Thread Chris McDonough
So it's kosher then to reimport the Zope module and use app() in a constructor method, Shane? I was always afraid it would do something horrible. -Original Message- From: Jeff K. Hoffman [mailto:[EMAIL PROTECTED]] Sent: Monday, July 17, 2000 1:11 PM To: Shane Hathaway Cc: Chris

Re: [Zope-dev] The Application object

2000-07-17 Thread Shane Hathaway
Chris McDonough wrote: So it's kosher then to reimport the Zope module and use app() in a constructor method, Shane? I was always afraid it would do something horrible. You certainly should not call reload(Zope), but the semantics of import are smart enough to only execute the module the

Re: [Zope-dev] The Application object

2000-07-17 Thread Shane Hathaway
"Jeff K. Hoffman" wrote: Do I need to commit or abort even if I don't make changes to the application object? The only thing I need it for is to get to the Control_Panel; I am instantiating ZClass instances in the constructor of a Python class, i.e.: class MyClass: def __init__(self,

Re: [Zope-dev] The Application object

2000-07-17 Thread Shane Hathaway
Chris McDonough wrote: So it's kosher then to reimport the Zope module and use app() in a constructor method, Shane? I was always afraid it would do something horrible. Now that I've read this again I realize what you're saying. You're right, what happens is you get two connections

RE: [Zope-dev] The Application object

2000-07-17 Thread Chris McDonough
How about a class attribute? class MyClass: myAttr2 = 'Default' def getMyAttr1(self): return self.myAttr1 def getMyAttr2(self): return self.myAttr2 If myAttr2 needs to be a ZClass instance, just grab it inside the class. -Original Message- From: Jeff K.

Re: [Zope-dev] Zope crashing on

2000-07-17 Thread Shane Hathaway
Steve Alexander wrote: Zope 2.1.6 I'm using a "walk the tree" method of updating instances of a Python class, using an external method. Is there any reason that the following excerpt from an external method would cause Zope to crash shortly after it's been run on all suitable objects?

Re: [Zope-dev] Errors causing half rendered pages

2000-07-17 Thread Martijn Pieters
On Sun, Jul 16, 2000 at 10:38:41PM +0100, Chris Withers wrote: Dieter Maurer wrote: I saw this only when buggy HTML was generated. When I viewed the HTML source my Netscape browser sometimes showed me blinking parts that located the errors. Nope, this was with IE... I viewed source

Re: [Zope-dev] The Application object

2000-07-17 Thread Martijn Pieters
On Mon, Jul 17, 2000 at 12:21:42PM -0400, Jeff K. Hoffman wrote: On Mon, 17 Jul 2000, Chris McDonough wrote: I'm not sure I understand. What is AppSingleton? What does the Instance() method do? Sorry I wasn't clear enough. The Singleton is a design pattern from the Gang of Four book

Re: [Zope-dev] Errors causing half rendered pages

2000-07-17 Thread Chris Withers
Martijn Pieters wrote: THis rings vague bells of IIS or some other proxy server or somthing converting LF tp CRLF but not updating the Content-Length header, thus having your browser drop part of the transmission. I could be talking absolute nonsense of course. To much work on ZopeStudio I

Re: [Zope-dev] Multi-homed objects?

2000-07-17 Thread Chris Withers
Terry Kerr wrote: Where would the object aquire its attributes from? Would it try one of its folders, then the other? Which order would it choose? Now that's a very good question ;-) Probably from the folder you referenced it from and then normal acquisition from then on... cheers,

Re: [Zope-dev] The Application object

2000-07-17 Thread Yves-Eric Martin
On Mon, 17 Jul 2000 12:50:27 -0400 Shane Hathaway [EMAIL PROTECTED] wrote: import Zope app = Zope.app() get_transaction().commit() I am doing just that in the next version of zzLocale (Zope interface internationalization product) I was about to release. I figured it out from the "Zope

[Zope-dev] Re: [Zope] DTML?

2000-07-17 Thread Dieter Maurer
R. David Murray writes: 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

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] ZCatalog

2000-07-17 Thread Chris McDonough
Jonathan, Please respond to the list as well as to me so others can benefit. What's happening here is that your catalog is named "s". I should have noticed this the first time around. But I didn't. The bit you want is: a href="dtml-var "s.getpath(data_record_id_)"" dtml-var title Whether

Re: [Zope] MetaPublisher DB - was linuxworld article

2000-07-17 Thread Gerard Metrailler Jr.
Hello, At 22:28 16.07.2000 +, Chris Withers wrote: Mark Pratt wrote: Sorry if that's a dumb question ;-) no, it`s not a dumb question. MetaPublisher is open source. Written in Zope? Where can I find out more? Give a look at

[Zope] Zope Knowledge Base on www.faqts.com

2000-07-17 Thread Fiona Czuczman
Hi All, It seems the consensus is that my working on a zope knowledge base would be appreciated so I'll take up the challenge The issue of where to enter the questions was a tough one... zdp.zope.org or zope.faqts.com (FAQTs still need to set this up, currently

Re: [Zope] MetaPublisher DB - was linuxworld article

2000-07-17 Thread Mark Pratt
hi, On Sun, 16 Jul 2000, Chris Withers wrote: Mark Pratt wrote: Sorry if that's a dumb question ;-) no, it`s not a dumb question. MetaPublisher is open source. Written in Zope? its a zope product. Where can I find out more? you can either use Zope Treasures

Re: [Zope] ZCatalog

2000-07-17 Thread Oleg Broytmann
On Mon, 17 Jul 2000, Chris McDonough wrote: Jonathan Desp wrote: if you know the answer just email me at [EMAIL PROTECTED] (my site is almost ready at www.atomasoft.com , there are 2 pages to write + the search engine to fix, is it possible for zope to use - http://www.htdig.org/ ?)

Re: [Zope] Zope build script

2000-07-17 Thread Oleg Broytmann
On Sat, 15 Jul 2000, Bill Anderson wrote: and running w_pcgi.py or wo_pcgi.py and watch them compile the produtcs and sometimes spit out syntax errors in them... Very often, 'fcourse, but anyway I always have "fromwin" binary around. Oleg.(All opinions are mine and not of

Re: [Zope] ZCatalog

2000-07-17 Thread Jonathan Desp
Thank you very much Chris, I have a project in my head for Zope, I might be able to help Zope soon :) I'm not talking about money though.. ;-) - Original Message - From: "Chris McDonough" [EMAIL PROTECTED] To: "Jonathan Desp" [EMAIL PROTECTED]; [EMAIL PROTECTED] Sent: Monday, July

Re: [Zope] ZCatalog

2000-07-17 Thread Jonathan Desp
Hi Chris, If I type "Zope" on the Zope.org search engine, I can see this - Found 918 items matching "zope" What is the script behind that, because I'd like to do it for my site too. I didnot find the How to, for that. - Original Message - From: "Chris McDonough" [EMAIL PROTECTED]

Re: [Zope] linuxworld article

2000-07-17 Thread Graham Chiu
In article [EMAIL PROTECTED], Firestar [EMAIL PROTECTED] writes http://www.linuxworld.com/linuxworld/lw-2000-07/lw-07-penguin_2.html Hmm...what is your opinion on the article above? I'm interested to see the author's comparison btwn Enhydra and Zope. The author creates a straw man ( a shoe shop

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

2000-07-17 Thread Oleg Broytmann
On Mon, 17 Jul 2000, Chris Withers wrote: Since all objects in Zope are folderish, they should all get redirected if they don't have a / on the end. Documents/Methods aren't, m? And I certainly don't want trailing slash on url like http://my.zope/site/file.html :) Oleg.(All

RE: [Zope] linuxworld article

2000-07-17 Thread Gijs Reulen
Well Gijs, you've got some points right in what you're saying BUT... If you know some HTML and Stylesheets why don't you revamp the interface yourself. I have. I was not talking of myself. I do not care much anymore for the visual aspect of the interface. However, for new users it could be

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

2000-07-17 Thread Chris Withers
Oleg Broytmann wrote: Documents/Methods aren't, m? Yes they are... http://site/com/folder/object may now look like a folder to you, but what if you want to excecute a method on a folder? It becomes: http://site/com/folder/object/method So, in effect, object should be treated as a

Re: [Zope] linuxworld article

2000-07-17 Thread Chris Withers
Gijs Reulen wrote: I also think that interfacing with stuff like Dreamweaver is very important. Totally agree... What about Dreamweaver UltraDev? It has support for Coldfusion and various other similar offerings but not Zope. I'd say that's pretty important to sort out... That said, Zoep

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

2000-07-17 Thread Oleg Broytmann
On Mon, 17 Jul 2000, Chris Withers wrote: And I certainly don't want trailing slash on url like http://my.zope/site/file.html :) Why not? It'd then get the default file for: http://my.zope/site/file.html/ What is "defaul file" if file.html is DTML Document? Anyway the URL looks bad;

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

2000-07-17 Thread Chris Withers
Oleg Broytmann wrote: On Mon, 17 Jul 2000, Chris Withers wrote: And I certainly don't want trailing slash on url like http://my.zope/site/file.html :) Why not? It'd then get the default file for: http://my.zope/site/file.html/ What is "defaul file" if file.html is DTML

Re: [Zope] linuxworld article

2000-07-17 Thread Chris Withers
Graham Chiu wrote: The author creates a straw man ( a shoe shop built upon a shoe object ) without mentioning that Zope users can use a relational database instead to build their store. I think that's a Zope Documentation problem ;-) And he is not aware of the way that many here use editors

Re: [Zope] Long Data Type

2000-07-17 Thread Dieter Maurer
Ronnie Sengupta writes: Can anybody who has succesfully managed to insert text data (greater than 2k or 4k) into Oracle 8i 8.1.6 with DCOracle version 1.3.1 please explain how it is to be done. I have seen several other posts in this mailing list. But nothing fruitful. The same

[Zope] Cannot uncheck boolean properties in 2.2b3 fixed in 2.2?

2000-07-17 Thread Wolfgang Strobl
On 3 Jul 2000, 1:55 Ron Bickers wrote: In 2.2b3, after setting a boolean property to "checked", it will not save when trying to "uncheck" it. I reported this to the Collector already (751). As a workaround, you can just delete it and readd it since it defaults to unchecked. The

[Zope] Creating folders in LocalFS

2000-07-17 Thread Aaron Williamson
I have a LocalFS object within a directory, and in the same directory I have a method which I want to use (among other things) to create new folders within the LocalFS object, which is called "pictures." If I try pictures.manage_addFolder(id) the folder gets stuck in the directory it is called

[Zope] Re: [Zope-dev] SQL-Methods

2000-07-17 Thread Dieter Maurer
Andre Schubert writes: i ave a problem, i do some sql-queries in my python product and would return the results like the ZSQLMethods. How do i have to return the data and field names from my python product to an dtml document so that i can work with it like ZMYSQL. "dtml-in" expects its

Re: [Zope] DTML Problem (from the newbie hair ripper category)

2000-07-17 Thread Dieter Maurer
Darin Lee writes: Here is the proverbial rub. If I want to *test* for the presence of "navigation_name" so I can print "title_or_id" if it's not defined, Zope simply skips the "navigation_name" property. It's like it always evaluates to false! dtml-in "objectValues(['Category'])"

Re: [Zope] Zboard 0.1 released

2000-07-17 Thread Graham Chiu
In article [EMAIL PROTECTED], rainlood [EMAIL PROTECTED] writes Hello. I want to announce this. http://www.zope.org/Members/rainlood/Zboard/ Umm, what is it? -- Regards, Graham Chiu gchiuatcompkarori.co.nz http://www.compkarori.co.nz/index.php Powered by Interbase and Zope

Re: [Zope] linuxworld article

2000-07-17 Thread George Donnelly
as a newbie i am kind of glad that there are no slick interfaces. i want to learn. i dont need to be coddled. :-) is it important for zope to be "big" like MS and oracle? [lets think about that for a second; do you really want to say that zope should be like MS or MS products? yeah MS has some

Re: [Zope] linuxworld article

2000-07-17 Thread Chris Withers
George Donnelly wrote: i thought oss was supposed to be different ... ? :-/ Yes, but that doesn't mean it should be a pain in the ass to use and learn ;-) cheers, Chris ___ Zope maillist - [EMAIL PROTECTED]

Re: [Zope] suggestions for what to run in front of ZEO'ed zopes for failover?

2000-07-17 Thread Toby Dickenson
On Fri, 14 Jul 2000 14:12:33 -0600, Bill Anderson [EMAIL PROTECTED] wrote: Roman Milner wrote: I'm wondering if anyone can suggest something good to run in front of 2 zopes talking to a zeo server - for failover and load balancing. I have been using a tool called 'balance' which works

Re: [Zope] Long Data Type

2000-07-17 Thread Satheesh Babu
I'm using DCOracle compiled with 8.1.5 client on NT4.0. Oracle SQL has a limitation of around 5K string literal size, which prevents any manipulation of bigger strings. One way to do this is to split strings using python/DTML at this level and then insert one by one - I'm using this for pure

[Zope] PCGI and 2.2.0 final horribly broken?

2000-07-17 Thread Bill Anderson
I can't get this combo to work at all. All I get is """ C-Runtime errno: Connection refused PCGI Error: (102) failure during connect to ZServer """ Anyone have any suggestions? File permissions are fine... Bill -- Do not meddle in the affairs of sysadmins, for they are easy to annoy, and

[Zope] ZEO and a front end...

2000-07-17 Thread Bill Anderson
Toby Dickenson wrote: On Fri, 14 Jul 2000 14:12:33 -0600, Bill Anderson [EMAIL PROTECTED] wrote: Roman Milner wrote: I'm wondering if anyone can suggest something good to run in front of 2 zopes talking to a zeo server - for failover and load balancing. I have been using a tool

[Zope] Enitity syntax and 2.2

2000-07-17 Thread Chris Withers
Hi, Just wondering if the entity syntax has been updated in 2.2 yet so I could do something like the following: dtml.url-/folder/object/method; cheers, Chris ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope **

Re: [Zope] 2.2 installation problem on Linux

2000-07-17 Thread Andy Pahne
not for me. everything worked fine on my redhat 6.0 box. first I thought upgrading would be a nightmare but after all it took me 10 minutes and all my sites are up and running smoothly :-) andy Hi, this seams to be a bugglet in the final distribution, the pcgi_wrapper is not build by the

Re: [Zope] Case sensitivity

2000-07-17 Thread Tino Wildenhain
Hi, Ian Sparks wrote: One of my pet peeves with web servers is that : mysite.com/Members is different to : mysite.com/members (but there is no difference between MYSITE.COM and mysite.com) is there any way of making Zope case-insensitive? Most web-servers are case-sensitive.

Re: [Zope] Case sensitivity

2000-07-17 Thread Chris Withers
Tino Wildenhain wrote: You only have to type your links carefully, what is somewhat simplyer with dtml-var object url even simpler with dtml.url-object; :-) cheers, Chris ___ Zope maillist - [EMAIL PROTECTED]

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

2000-07-17 Thread Toby Dickenson
On Mon, 17 Jul 2000 05:45:49 -0600, Bill Anderson [EMAIL PROTECTED] wrote: I'm wondering if anyone can suggest something good to run in front of 2 zopes talking to a zeo server - for failover and load balancing. I One disadvantage is that solution is that each Zope will have poor

[Zope] The Wizards of Zope (was Linuxworld Article)

2000-07-17 Thread Richard Moon
At 19:34 17/07/00 +0900, you wrote: as a newbie i am kind of glad that there are no slick interfaces. i want to learn. i dont need to be coddled. :-) Most of us do though ! The one thing that attracted me to Zope at the beginning was the ZSearch (using SQL Methods) Interface Wizard. Within an

[Zope] ColdFusion-Zope converter

2000-07-17 Thread John Leach
Anyone have one of these ? (or tips on writing such a thing?) John Leach http://www.bosware.com.au ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists -

Re: [Zope] PCGI and 2.2.0 final horribly broken?

2000-07-17 Thread Oleg Broytmann
On Mon, 17 Jul 2000, Bill Anderson wrote: I can't get this combo to work at all. All I get is I have no problems connecting to PCGI-only or to ZServer+PCGI (I am using mod_pcgi2)... Oleg.(All opinions are mine and not of my employer) Oleg Broytmann Foundation for

Re: [Zope] ColdFusion-Zope converter

2000-07-17 Thread Phill Hugo
John Leach wrote: Anyone have one of these ? (or tips on writing such a thing?) John Leach http://www.bosware.com.au Ouch. As far as I know CF has a few hundred tags available. Zope/DTML offers only about 10-20 but provides the same underlying features in Python via the expr="" attribute.

Re: [Zope] Enitity syntax and 2.2

2000-07-17 Thread Shane Hathaway
Chris Withers wrote: Hi, Just wondering if the entity syntax has been updated in 2.2 yet so I could do something like the following: dtml.url-/folder/object/method; Hmm. Nope. Ought to be though, IMHO. Collector? Shane ___ Zope maillist

[Zope] PropertySheet Question

2000-07-17 Thread Darin Lee
Hi everyone, I want to do something very simple: I have a ZClass propertysheet with an integer property called "views" Every time I load the page, I would like to increment this value by one, and write it back to the propertysheet. (Yep, a good old-fashioned access counter) Sounds easy

[Zope] SECURITY ROLES and DTML-IN

2000-07-17 Thread Theodore Patrick
I am having trouble rendering a DTML IN in ZOPE 2.2.0 to any user regardless of roles. I have allocated the proper rights to all objects used and nothing happens. The IN will not let any user view its contents. DTML IN I am using an IN in a DTML Document to render the contents of an SQL_Method

Re: [Zope] Enitity syntax and 2.2

2000-07-17 Thread Chris Withers
Shane Hathaway wrote: Just wondering if the entity syntax has been updated in 2.2 yet so I could do something like the following: dtml.url-/folder/object/method; Hmm. Nope. *grumble* *mumble* *moan* ;-) Ought to be though, IMHO. Collector? Damn right... and done:

[Zope] Zope Components and ZPatterns

2000-07-17 Thread RC Compaan
In trying to install ZPatterns on linux the install fails during the "make" part of the install, complaining about a non-existant ExtensionClass.h, which should be in the Zope Components directory (also not existent). I noticed on the mailing list that one should do a rebuild if you install from

RE: [Zope] upgrade to 2.2 and zsql methods problems

2000-07-17 Thread Brian Lloyd
I have the exact same problem. Júlio Hi guys - For those of you (I've mostly heard ODBC adapter users) having authorization problems with your SQL methods, heres the scoop: Database connections use one of two classes in the framework for wrapping up result data returned from queries.

Re: [Zope] PropertySheet Question

2000-07-17 Thread Chris Withers
Darin Lee wrote: I want to do something very simple: I have a ZClass propertysheet with an integer property called "views" Every time I load the page, I would like to increment this value by one, and write it back to the propertysheet. (Yep, a good old-fashioned access counter) Access

RE: [Zope] SECURITY ROLES and DTML-IN

2000-07-17 Thread Brian Lloyd
I am having trouble rendering a DTML IN in ZOPE 2.2.0 to any user regardless of roles. I have allocated the proper rights to all objects used and nothing happens. The IN will not let any user view its contents. Theodore - I bet you're running into the same problem as the folks using

[Zope] Zope 2.0 Startup

2000-07-17 Thread Michael Arndt
Hello i use Apache / Zope with 2.1.0 2.1.6 i can without problems start Zope With Zope 2.2 i get (after making the pcgi Wrappper and providing the new Zope.cgi to apache/cgi-bin Dir) No such file or directory PCGI Error: (102) failure during connect to ZServer Explanation: The

RE: [Zope] ZCatalog

2000-07-17 Thread Chris McDonough
Jonathan, See http://www.zope.org/SiteIndex/search/view_source -Original Message- From: Jonathan Desp [mailto:[EMAIL PROTECTED]] Sent: Monday, July 17, 2000 4:38 AM To: Chris McDonough; [EMAIL PROTECTED] Subject: Re: [Zope] ZCatalog Hi Chris, If I type "Zope" on the

[Zope] mySQL - Z SQL - dtml-var

2000-07-17 Thread Gijs Reulen
Why does this not work inside a Z SQL Method (using MySQL) ?! INSERT INTO test1 ( id, content, phone ) VALUES ( dtml-var 12.12, dtml-sqlvar content type=nb, dtml-sqlvar phone type=nb optional ) According to the doc I should be able to use dtml-var statements in Z SQL Methods. However, this

[Zope] Select in ZSQL

2000-07-17 Thread Diego Rodrigo Neufert
Hi... I'm having problems with this select statement in ZQL using a MySQL db: select table1.id, table2.id from table_x table1, table_y table2 I got this error: Error, exceptions.ValueError: Duplicate column name, id Anyone know how to get this working? -- --- Diego

RE: [Zope] SECURITY ROLES and DTML-IN

2000-07-17 Thread Theodore Patrick
Brian, Thanks a ton. The patch worked perfectly! As it turns out I was using ODBC with Oracle. Everything works great. Rendering results perfectly. Thanks for the prompt response. As always! Theodore E. Patrick Ishophere.com -Original Message- From: Brian Lloyd [mailto:[EMAIL

Re: [Zope] Zboard 0.1 released

2000-07-17 Thread Patrick Phalen
[rainlood, on Mon, 17 Jul 2000] :: Hello. :: I want to announce this. :: :: http://www.zope.org/Members/rainlood/Zboard/ Thanks, but you seem to have forgotten to include the documentation and a brief description of what Zboard is/does. ;-) ___

[Zope] Error loggin in as acl user

2000-07-17 Thread vaibhav
Hi, I added an acl user as a manager. But it does not accept the password when I log in. Zope 2.2.0 does not allow the superuser to do anything :( I can't add a mailhost unless I log in as another user. Please help...my CEO has a gun to my head.

Re: [Zope] GUF Authentication Problems

2000-07-17 Thread Mario Premke
Yes, I made the proxy roles ... Before that Zope said: you are not authorized to access emUserAuthentication/em But meaanwhile I turned to Zope-2.2.0 and I recognized "Login Manager" in the Available Objects. Is that the Login MAnager which was formerly distributed as a Product and hence makes

[Zope] Re: [Metapublisher] how to get the Catlog to find MP entries? (2ndpost)post)

2000-07-17 Thread Sebastian Luehnsdorf
hi! On Thu, 29 Jun 2000, George Donnelly wrote: i have several MP instances in subfolders and need to present the most recent mp entries from any/all of the these MP instances on my index_html page in the zope root. when i add a Z search interface in the zope root it only offers me the

Re: [Zope] Select in ZSQL

2000-07-17 Thread jan
Diego Rodrigo Neufert wrote: Hi... I'm having problems with this select statement in ZQL using a MySQL db: select table1.id, table2.id from table_x table1, table_y table2 I got this error: Error, exceptions.ValueError: Duplicate column name, id Because you *have* identical (duplicate)

Re: [Zope] Select in ZSQL

2000-07-17 Thread Aaron Williamson
I'm having problems with this select statement in ZQL using a MySQL db: select table1.id, table2.id from table_x table1, table_y table2 I got this error: Error, exceptions.ValueError: Duplicate column name, id Try: select table1.id, table2 AS id2 from table_x table1, table_y table2

[Zope] Problem on install DCOracle

2000-07-17 Thread gustavo
Hi List, I newbie in Zope and Python. I tried to install DCOracle, but it didn't work properly: make -f Makefile.pre.in boot PYTHON=python rm -f *.o *~ rm -f *.a tags TAGS config.c Makefile.pre python sedscript rm -f *.so *.sl so_locations VERSION=`python -c "import sys; print

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

2000-07-17 Thread Stacy Formby
Hello, I am new to Zope; since our webmaster left I'm trying to make small changes to the website. We have a standard registration form that collects information from users (first name, last name, email, company name, etc.) All of the fields are required, except address 2, address3. Great.

[Zope] Creating folders in LocalFS

2000-07-17 Thread Dan L. Pierson
Aaron Williamson writes: I have a LocalFS object within a directory, and in the same directory I have a method which I want to use (among other things) to create new folders within the LocalFS object, which is called "pictures." If I try pictures.manage_addFolder(id) the folder gets

[Zope] Re: GUF Permission Problem

2000-07-17 Thread Mario Premke
Hi - You were absolutely right !!! Thanks a lot! There is still a problem remaining in my User-Authentication. In the DTML-method userList I have the SQL-Method : dtml-return "sql_get_user_list()" When I write the usernames in userList everything goes well. Usind the SQL-method results in the

[Zope] Printing data from a external python method.

2000-07-17 Thread jesse
Hello, I'm creating a smart forms type product, similar to Smarter Forms. However, smarter forms, while a good product, is not as user friendly or as smooth running as we would like. What I am doing is creating a Index, which calls the form, which once completed posts to the external

Re: [Zope] Creating folders in LocalFS

2000-07-17 Thread Chris Withers
"Dan L. Pierson" wrote: Folder creation isn't really supported in LocalFS at the moment. Very low level support is there (module function _save_Folder) but it's not intended to be called externally and there doesn't seem to be any path to call it. There is certainly not a local definition

[Zope] Problem with Zope 2.2.0 and changing a ZClass property

2000-07-17 Thread Jochen Knuth
Hi, trying to update a ZClass based Product to Zope 2.2.0 i get the following Error and Traceback: Error Type: ValueError Error Value: Invalid property value: wrapped object Traceback (innermost last): File /usr/local/Zope-2.2.0/lib/python/ZPublisher/Publish.py, line 222, in publish_module

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

2000-07-17 Thread Bill Anderson
Toby Dickenson wrote: On Mon, 17 Jul 2000 05:45:49 -0600, Bill Anderson [EMAIL PROTECTED] wrote: I'm wondering if anyone can suggest something good to run in front of 2 zopes talking to a zeo server - for failover and load balancing. I One disadvantage is that solution is that

Re: [Zope] Problem with Zope 2.2.0 and changing a ZClass property

2000-07-17 Thread Jochen Knuth
Hi Shane, Shane Hathaway wrote: Jochen Knuth wrote: Hi, trying to update a ZClass based Product to Zope 2.2.0 i get the following Error and Traceback: [traceback deleted] The error occurs in a method i defined in a ZClass. The beginning of the method is: dtml-var

[Zope] Urgent Problem - CMG - script is not working

2000-07-17 Thread Sven Hohage
Hallo, I've got an urgent problem. I' like to add websites by using forms which decide about the new content( upload a logo, new text,etc.). 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

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"

Re: [Zope] (no subject)

2000-07-17 Thread Chris Withers
"Leichtman, David J" wrote: I've previously been a Perl programmer. I did a lot of stuff where I would have multiple links with different options. Ex. a href="/path/script.pl/1234"1234/abr a href="/path/script.pl/2345"2345/abr You can do this and more with a SiteAccess access rule and

  1   2   >