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

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

[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

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

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

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

[Zope] PTK cannot import DemoPortal

2000-07-17 Thread Nestor A. Diaz L.
Hi, i have a little problem trying to import the DemoPortal.zexp, i use Debian GNU/Linux 2.2 with debian zope package, and the DemoPortal doesn't import, i notice too that there is no "Portal" into the Add list. Any ideas? !-- Traceback (innermost last): File

[Zope] Writing a Zope Help System

2000-07-17 Thread J. Atwood
Has anyone posted a help on writing Zope help into your product for 2.2? J ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists -

[Zope] ZClasses gripe

2000-07-17 Thread Andy McKay
I hate to do something in ZClasses, but I did today just because I didnt have the energy to write in Python. Oh how I wish I had. It was all so simple except for "DestinationURL" not being implemented or being used patchily. It would be really great if we were able to write our own destination

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

2000-07-17 Thread Terry Kerr
Where would the object aquire its attributes from? Would it try one of its folders, then the other? Which order would it choose? 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

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

2000-07-17 Thread ethan mindlace fremen
Fiona Czuczman wrote: 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,

Re: [Zope] mySQL - Z SQL - dtml-var

2000-07-17 Thread Dieter Maurer
Gijs Reulen writes: 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 returns an error: Error,

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

2000-07-17 Thread Dieter Maurer
Stacy Formby writes: Is there a way to require at least an "@" sign in the email field? The powers that be think this would be useful. You can do it on the client with javascript or on the server with dtml-if "'@' in mailfield" !-- okay code -- dtml-else

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

2000-07-17 Thread Curtis Maloney
On Tue, 18 Jul 2000, Bill Anderson wrote: Your multiple Zopes can all serve all of these sections, however theres not enough storage for each machine to hold all the sections simultaneously. As I understand ZEO, each machine _doesn't_ hold the site. The ZEO clients (servers) communicate

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

2000-07-17 Thread Bill Anderson
Curtis Maloney wrote: On Tue, 18 Jul 2000, Bill Anderson wrote: Your multiple Zopes can all serve all of these sections, however theres not enough storage for each machine to hold all the sections simultaneously. As I understand ZEO, each machine _doesn't_ hold the site. The ZEO

[Zope] Confera

2000-07-17 Thread Tom Scheidt
Is there a way to make the newest messages show up on top? Tom Scheidt | www.falsemirror.com | [EMAIL PROTECTED] --- ___ Zope maillist - [EMAIL PROTECTED]

[Zope] Tim's Gripe Of The Week -- was: [Zope] (no subject)

2000-07-17 Thread Tim Cook
Hi all, I have given myself permission to post this gripe. Thank You g While I do use the list archives and I try to get others that are new to Zope to do the same. I have a gripe for the Zen Masters. It's the subject line above. Granted most of the "No Subject" mail starts with a newbie

Re: [Zope] Re: Zope 2.2.0 Startup

2000-07-17 Thread ethan mindlace fremen
Chris Withers wrote: Indra Gunawan wrote: I've just install Zope 2.2.0 from 2.1.6 but when I run the start.bat it seems the startup process took a very2 long time compared to the usual, is it normal? Did you just copy the Data.fs ? If so, your old zope had a Data.fs.index that greatly

Re: [Zope] Creating Factory Objects (Products)

2000-07-17 Thread Firestar
Haha, thanks for the 'wisdom' cookies:) Here are the last two lines of the traceback: File /usr/local/Zope-2.1.6/lib/python/OFS/Application.py, line 249, in __bobo_traverse__ (Object: ApplicationDefaultPermissions) File /usr/local/Zope-2.1.6/lib/python/ZPublisher/HTTPResponse.py, line 511, in

[Zope] product docs Re: [Zope] Zope docs ??

2000-07-17 Thread ethan mindlace fremen
[EMAIL PROTECTED] wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Anynoe recommend any documentation on Zope; esp. extending it with Python methods; besides the ZOpe.org stuff? Beehive has a zclasses tutorial availiable for DM25 at http://www.beehive.de . I would recommend zclasses

Re: [Zope] Zboard 0.1 released

2000-07-17 Thread ethan mindlace fremen
rainlood wrote: Hello. I want to announce this. http://www.zope.org/Members/rainlood/Zboard/ Rainlood, thank you for making a product for Zope! It helps your product get more widespread use when you add a description to the product. There is also an informative document on how to do

[Zope] Importing exchange rates

2000-07-17 Thread Adrian Madrid
I need to obtain the current exchange rates for the yen, mark, etc. with at least once a day, preferrably every other 15". Is there an easy way to do this in Zope? Adrian ___ Zope maillist - [EMAIL PROTECTED]

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

2000-07-17 Thread ethan mindlace fremen
Curtis Maloney wrote: Yes, however his point is that by having each Zope instance 'predominantly' serving one portion of the site, its cache will contain more objects relevant, and thus be just that little bit faster. Personally, I find this such a simple idea that it MUST be good. (o8 So

  1   2   >