[Zope] Zope Knowledge Base on www.faqts.com
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 http://www.faqts.com/knowledge-base/index.phtml/fid/295/lang/ though there's not much there yet :) I decided to go with FAQTs for a couple of reasons. - the admin behind the site, for sending out summaries etc, is great. - I'll be working off the one site for python and zope. Basically it just makes the job easier for me. Thanks. Fiona Czuczman ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
Re: [Zope] MetaPublisher DB - was linuxworld article
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 http://www.zope-treasures.com or go directly to beehive's website to find out more about MetaPublisher. regards, mark -- mark pratt (managing director) [EMAIL PROTECTED] beehive elektronische medien GmbH http://www.beehive.de phone: +49 30 847-82 0 fax: +49 30 847-82 299 ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
Re: [Zope] ZCatalog
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/ ?) > > I don't think HTDig can index Zope content because Zope content isn't > available via the filesystem. htDig does not index files on filesystem; exactly other way around - it index sites via HTTP/FTP. I've never tried it on Zope, and I DO expect problems - Zope really had problems with robots 'cause Zope does not send redirect on folderish objects (to force trailing slashes). But if all your HREFs contain neccessary trailing slashes, I am pretty sure htDig will happily index your site. Oleg.(All opinions are mine and not of my employer) Oleg Broytmann Foundation for Effective Policies [EMAIL PROTECTED] Programmers don't die, they just GOSUB without RETURN. ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
Re: [Zope] Zope build script
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 my employer) Oleg Broytmann Foundation for Effective Policies [EMAIL PROTECTED] Programmers don't die, they just GOSUB without RETURN. ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
Re: [Zope] ZCatalog
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 17, 2000 3:06 AM Subject: Re: [Zope] ZCatalog > 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: > > "> > > > Whether you use "raw" or "title" depends on what you want to see. If > you want to see the "raw" DTML that makes up the object that gets > referenced in the catalog as a link, use "raw". If you want to see the > title as a link, use "title". > > If your catalog isn't named "s", and the DTML is actually wrong where it > says "", change "s" to whatever the > catalog is named. > > What Zope is doing: > > 1. Iterating over the catalog in batches of fifty responses in the line > that says: > > > > 2. Doing some stuff at the beginning of the batch (all the "if > sequence-start" stuff) > > 3. Showing results, if any with a link (the bit you're adding) > > 4. Doing some stuff at the end of a batch (all the "if sequence-end" > stuff) > > 5. Showing a meaningful message if there were no results. > > > > Jonathan Desp wrote: > > > > yes, so I quess: > > > > "> > > > > > > will become: > > > > "> > > > > > > then I did it, > > > > here I tryed my search: > > > > http://www.atomasoft.com/gosearch > > > > and it's not working. > > > > All is great with my source or I need to shutdown zope if I want to see the > > result working.. ? > > > > Do you know if there is any other changing to do? > > > > here is my new source again: > > > > > > > > > > > > > > > > > > (Previous results) > > > > > > > > > > > > > > Raw > > > > > > > > > > > > "> > raw> > > > > > > > > > > > > > > > > > > (Next results) > > > > > > > > > > > > > > > > There was no data matching this query. > > > > > > > > > ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
Re: [Zope] ZCatalog
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]> To: "Jonathan Desp" <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]> Sent: Monday, July 17, 2000 3:06 AM Subject: Re: [Zope] ZCatalog > 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: > > "> > > > Whether you use "raw" or "title" depends on what you want to see. If > you want to see the "raw" DTML that makes up the object that gets > referenced in the catalog as a link, use "raw". If you want to see the > title as a link, use "title". > > If your catalog isn't named "s", and the DTML is actually wrong where it > says "", change "s" to whatever the > catalog is named. > > What Zope is doing: > > 1. Iterating over the catalog in batches of fifty responses in the line > that says: > > > > 2. Doing some stuff at the beginning of the batch (all the "if > sequence-start" stuff) > > 3. Showing results, if any with a link (the bit you're adding) > > 4. Doing some stuff at the end of a batch (all the "if sequence-end" > stuff) > > 5. Showing a meaningful message if there were no results. > > > > Jonathan Desp wrote: > > > > yes, so I quess: > > > > "> > > > > > > will become: > > > > "> > > > > > > then I did it, > > > > here I tryed my search: > > > > http://www.atomasoft.com/gosearch > > > > and it's not working. > > > > All is great with my source or I need to shutdown zope if I want to see the > > result working.. ? > > > > Do you know if there is any other changing to do? > > > > here is my new source again: > > > > > > > > > > > > > > > > > > (Previous results) > > > > > > > > > > > > > > Raw > > > > > > > > > > > > "> > raw> > > > > > > > > > > > > > > > > > > (Next results) > > > > > > > > > > > > > > > > There was no data matching this query. > > > > > > > > > ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
Re: [Zope] linuxworld article
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 built upon a shoe object ) without mentioning that Zope users can use a relational database instead to build their store. And he is not aware of the way that many here use editors with FTP capabilities to interact with Zope. ( though FTP doesn't work in many situations ). Far from being torture "Expecting someone to code in a browser text box is considered a human-rights violation in most civilized nations" the small text browser box encourages code to be factored. -- Regards, Graham Chiu gchiucompkarori.co.nz http://www.compkarori.co.nz/index.php Powered by Interbase and Zope ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
[Zope] Zboard 0.1 released
Hello. I want to announce this. http://www.zope.org/Members/rainlood/Zboard/ Good bye. == ¿ì¸® ÀÎÅͳÝ, Daum Æò»ý ¾²´Â ¹«·á E-mail ÁÖ¼Ò ÇѸÞÀÏ³Ý Áö±¸ÃÌ ÇÑ±Û °Ë»ö¼ºñ½º Daum FIREBALL http://www.daum.net ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
[Zope] Re: Folderish objects and that BASE tag...
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 opinions are mine and not of my employer) Oleg Broytmann Foundation for Effective Policies [EMAIL PROTECTED] Programmers don't die, they just GOSUB without RETURN. ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
[Zope] Folderish objects and that BASE tag...
Oleg Broytmann wrote: > problems - Zope really had problems with robots 'cause Zope does not send > redirect on folderish objects (to force trailing slashes). Thanks for rubbing that raw nerve again ;-) Oleg describes the defacto handling of folderish objects over the web... That BASE tag is not it ;P Since all objects in Zope are folderish, they should all get redirected if they don't have a / on the end. I'm sure there are complications... Chris ;-) ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
RE: [Zope] linuxworld article
> 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 disappointed. The interface does not look slick and does not offer interesting looking wizards that invite to click on. I think it should ! The first acquaintance with Zope should be a joy ! A new world opening up, a world where everything seems to be possible ! ;-) Maybe a bit commercial thinking, but hey, thats what made Microsoft and Oracle big. Not by delivering but simply by promising... At least Zope delivers, so what we need is showing the world it does. I also think that interfacing with stuff like Dreamweaver is very important. People use that a lot and therefore are familiar with it. Zope would then be just another back-end like Lasso (the normal Dreamweaver database connection stuff). Maybe when installing Zope, it should offer to automatically set up connections for databases ? Something like: which database do have ? Select one of more [odbc, Oracle, mySQL, etc. ]. I think this kind of end-user thinking is what Open Source really lacks compared to commercial software. Yes, I know, all this is easy to think of but it also has to be realised -( Unfortunately thats where my personal abilities are lacking... Gijs Reulen ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
[Zope] Re: Folderish objects and that BASE tag...
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 'folderish' thing from a web-y point of view :S > 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/ Which would return the contents of file.html anyway... Not very well explained but I don't think I'm missign anything... cheers, Chris ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
Re: [Zope] linuxworld article
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 Studio may be very promising :-) > I think this kind of end-user > thinking is what Open Source really lacks compared to commercial software. Again, too true :( Chris ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
[Zope] Re: Folderish objects and that BASE tag...
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; and robots will create directory for it instead of file. Oleg.(All opinions are mine and not of my employer) Oleg Broytmann Foundation for Effective Policies [EMAIL PROTECTED] Programmers don't die, they just GOSUB without RETURN. ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
[Zope] Re: Folderish objects and that BASE tag...
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 Document? If you go to: http://my.zope/site/file.html/ It will just return the DTML document :-) I wonder if it is redirecting to http://my.zope/site/file.html? > Anyway the URL > looks bad; and robots will create directory for it instead of file. Well, it's either that or the BASE tag that I can see, and that BASE tag causes far worse problems :( Any better idea are very welcome! :-) Chris ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
Re: [Zope] linuxworld article
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 with FTP > capabilities to interact with Zope. ( though FTP doesn't work in many > situations ). FTP support is not good enough to use for total site development. It's also not at a high enough level for content managers as I'm currently finding. > Far from being torture "Expecting someone to code in a browser text box > is considered a human-rights violation in most civilized nations" the > small text browser box encourages code to be factored. Sorry, that's simply not true ;-) Text boxes are pathetic for editing. Find and replace? That said, DTML is probably more of a human rights violation right now... I think Zope Studio will address a lot of the aboev problems, but I can't help feeling a pluggin type thing for Dreamweaver would be of great benefit too :-) >From the content managers point of view I think it's all about consistency of interface and ease of use... the two reasons I still use WinNT on my desktop instead of LINUX ;-) cheers, Chris ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
Re: [Zope] Long Data Type
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 goes for Stored Procedures. Can't get them to work either. > > I am a web developer for a site called www.zdnetindia.com. We are using Zope > with Mysql. Planning on Migrating to Oracle. DCOracle currently does not support LOB's (neither CLOB's nor BLOB's). DC is looking for funders to upgrade DCOracle to use the Oracle 8 OCI interface. Currently, the Oracle 7 OCI interface is used mainly with a few 8 extensions. Dieter ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
Re: [Zope] Newbie: Build Object Names
Terry Babbey writes: > I find I am really struggling trying to learn the syntax and variables for > the various commands. Would an understanding of Python help me to understand > the Zope > commands better and is there good documentation for Python that does not > expect the reader to have a large background knowledge? I do not think that an understanding of Python will help you much with DTML (of cause, it would not harm but help, but not too much). In DTML, you only have to do with Python expressions: you see them enclosed in "...". Python expressions are a small part of Python (which is small by itself!). You have: the usual arithmetic operators: +, -, *, /, % strings: enclosed in '...', '''...''' or "...", """...""" (the two latter forms will not work in DTML!) lists: [], [1,2,3], ['a','b','c','d'] with methods "append(element)" and "insert(where,element)" (and some more) tuples: (), (1,), (1,2,3,), ('a','b') with '+' as concatenation and [i] for subscription dictionaries: {}, { 1: 'a'}, { 'a' : 'AAA', 'b' : 'BBB',} i.e. sets of key/value pairs. They support "[key]" for subscription. They have methods "update(dict)" and "clear()", "get(key,default=None)". functions: called by "function(argumentlist)", e.g. "int('0')", "sql_method(user='dieter',city='St. Ingbert') Arguments can be positional or keyword. Arguments can have default values and then be omitted in function calls. instances (of classes): with the infix '.' operator for attribute/method access: e.g. "[].append(1)", "[].insert(0,'a')", "object.id". Functions of instances are called methods. They have as implicit (on call) first argument the object they belong to. exceptions: raised with "raise" and catched with try: protected code except: exception handling uncaught exceptions produce the tracebacks you sometimes see in Zope error pages. Strings, lists, and tuples together are called sequences. They are '+' as concatenation, '*' as repetition and '[i]' as subscription. You can use the infix operator 'in' to test for containment. The "len" function can be used to determine the number of elements. Like all object oriented systems, Python relies heavily on object classes and extension modules. They are much more voluminous and complex than Python itself. One such framework (set of intertwined modules and classes) is Zope. It, itself, is far more complex than the complete Python. Especially, its namespace handling and the powerfull acquisition adds significantly to the complexity. If you need them, you must get aquainted with the methods of the various Zope objects (folders, images, DTML methods, DTML documents, ...), too. The namespace object "_" provides much of the interface to Python. Look at its documentation in the DTML guide. In general, you do not need all arguements of DTML tags or Zope objects. You should have a rough feeling, what is there and go into details when you need it. Dieter ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
[Zope] Cannot "uncheck" boolean properties in 2.2b3 fixed in 2.2?
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 collector reports this as "fixed" in 2.2. I notice that for example "yihawdirectory", a zclass based product from www.zope.org, still displays this behaviour in 2.2. final, when changing any boolean property (like "highlight" or "topstory") using manage_baseproperties. Changing non-boolean properties in the very same same form works, so it looks like a problem with bools, not within yihaw. Perhaps the problem is specific to zclasses? -- o ( [EMAIL PROTECTED] (+49 2241) 14-2394 /\* GMD mbH #include _`\ `_<=== Schloss Birlinghoven, __(_)/_(_)___.-._ 53754 Sankt Augustin, Germany ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
[Zope] Creating folders in LocalFS
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 from, not in pictures. There doesn't seem to be any specific docs on this, so I am at a loss. Any pointers would be greatly appreciated. --Aaron ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
[Zope] Re: [Zope-dev] SQL-Methods
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 argument to behave like a sequence of objects. It makes the current object's attributes available for direct access. Z SQL Methods use the class "Shared.DC.ZRDB.Results.Results" for results which in turn uses a subclass of "Shared.DC.ZRDB.Record" to wrap the rows. Look at the code in "Shared/DC/ZRDB" on how to use them. Dieter ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
Re: [Zope] DTML Problem (from the newbie "hair ripper" category)
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! > > > > > > > > > > > Doesn't work! I do not yet know the method "hasProperty". As a short term work around, you may try directly: This may acquire "navigation_name". Thus, you may restrict namespace lookup with: <-- code above--> Dieter ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
Re: [Zope] Zboard 0.1 released
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 gchiucompkarori.co.nz http://www.compkarori.co.nz/index.php Powered by Interbase and Zope ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
Re: [Zope] upgrade to 2.2 and zsql methods problems
I have the exact same problem. Júlio >From: "Erik Myllymaki" <[EMAIL PROTECTED]> >To: <[EMAIL PROTECTED]> >Subject: [Zope] upgrade to 2.2 and zsql methods problems >Date: Sun, 16 Jul 2000 22:34:28 -0700 > >Hello, > >I just upgraded to 2.2 from 2.1.6 on a WinNT machine. Things went well, >except my zsql methods won't run from the site. I can manage and test them >from the management pages, but if I call them from the site I get an >*unauthorized* error. This happens even wen I log in as superuser or the >owner of that zsqlmethod object. I have tried to recreate some of the >queries from scratch and applying new ownership and wide open permissions, >but this doesn't seem to work either. > >Zope is running as a service and I am using the ODBC adapter to connect to >MSSQL Server. As I say, the queries all un as expected from the management >test screens. > >Any ideas? > >Thanks, > >Erik Myllymaki >[EMAIL PROTECTED] > > >___ >Zope maillist - [EMAIL PROTECTED] >http://lists.zope.org/mailman/listinfo/zope >** No cross posts or HTML encoding! ** >(Related lists - > http://lists.zope.org/mailman/listinfo/zope-announce > http://lists.zope.org/mailman/listinfo/zope-dev ) > Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
Re: [Zope] linuxworld article
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 good points, but ...] or high-quality, open, "home-grown", *real* ...? i thought oss was supposed to be different ... ? >:-/ Regards, GEORGE DONNELLY [EMAIL PROTECTED] http://cyklotron.com/ The longer I live the more beautiful life becomes. --Frank Lloyd Wright >... However, for new users it could be disappointed. > The interface does not look slick and does not offer interesting looking > wizards that invite to click on. I think it should ! The first acquaintance > with Zope should be a joy ! A new world opening up, a world where everything > seems to be possible ! ;-) > Maybe a bit commercial thinking, but hey, thats what made Microsoft and > Oracle big. Not by delivering but simply by promising... At least Zope > delivers, so what we need is showing the world it does. ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
Re: [Zope] linuxworld article
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] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
Re: [Zope] suggestions for what to run in front of ZEO'ed zopes for failover?
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 really well - but >> for failover it only works if the socket to one of the zope servers >> doesn't connect. >> >> We occasionally have a situation where the socket will still answer >> but the zope server hanges and never returns an answer. So, I'm >> looking for something with configurable timeouts on responses. Does >> any one know of anything like that? > > >You didn't specify the platform, so I'll suggest a nice, cost-effective >one: >Linux with IPVS (IP Virtual Server). www.linux-ha.com has more >information. That looks good on paper, and I may be setting up a trial system next month. One disadvantage is that solution is that each Zope will have poor locality-of-reference within the object database. I think I can avoid that using a squid redirector (www.squid-cache.org). Ill post any news. Toby Dickenson [EMAIL PROTECTED] ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
Re: [Zope] Long Data Type
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 text content. Another way is to upload strings/text files to a localFS folder, from which an Oracle PL/SQL procedure loads them into BLOB columns. Works nicely from Zope and I'm using this method to even add MSWord documents into Oracle, which are then indexed using interMedia search. I'm using stored procedures by creating ZSQL methods like: begin myprocedure(); end; No problems so far. HTH [EMAIL PROTECTED] http://vsbabu.csoft.net > 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 goes for Stored Procedures. Can't get them to work either. > > > > I am a web developer for a site called www.zdnetindia.com. We are using Zope > > with Mysql. Planning on Migrating to Oracle. > DCOracle currently does not support LOB's (neither CLOB's nor BLOB's). > > DC is looking for funders to upgrade DCOracle to use the > Oracle 8 OCI interface. Currently, the Oracle 7 OCI interface is > used mainly with a few 8 extensions. > > > Dieter > > ___ > Zope maillist - [EMAIL PROTECTED] > http://lists.zope.org/mailman/listinfo/zope > ** No cross posts or HTML encoding! ** > (Related lists - > http://lists.zope.org/mailman/listinfo/zope-announce > http://lists.zope.org/mailman/listinfo/zope-dev ) > > ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
[Zope] PCGI and 2.2.0 final horribly broken?
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 have the root password. ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
[Zope] ZEO and a front end...
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 called 'balance' which works really well - but > >> for failover it only works if the socket to one of the zope servers > >> doesn't connect. > >> > >> We occasionally have a situation where the socket will still answer > >> but the zope server hanges and never returns an answer. So, I'm > >> looking for something with configurable timeouts on responses. Does > >> any one know of anything like that? > > > > > >You didn't specify the platform, so I'll suggest a nice, cost-effective > >one: > >Linux with IPVS (IP Virtual Server). www.linux-ha.com has more > >information. > > That looks good on paper, and I may be setting up a trial system next > month. I'm doing it this week, I'll keep you posted ;-) > > One disadvantage is that solution is that each Zope will have poor > locality-of-reference within the object database. I think I can avoid > that using a squid redirector (www.squid-cache.org). Ill post any > news. What do you mean? -- Do not meddle in the affairs of sysadmins, for they are easy to annoy, and have the root password. ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
[Zope] Enitity syntax and 2.2
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 ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
Re: [Zope] 2.2 installation problem on Linux
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 install script. This worked in beta 4. You can fix it by >running it manally in the pcgi-directory like: > >cd pcgi >sh configure >make > >On Sat, 15 Jul 2000, Ragnar Beer wrote: > >> Howdy! >> >> Zope 2.2 (linux2) installs and works fine using ZServer but for >> whatever reason there is no pcgi-wrapper built in the pcgi dir so >> that I cannot call Zope.cgi. I checked again and again but ./install >> doesn't give an error message. What am I doing wrong? >> >> --Ragnar ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
Re: [Zope] Case sensitivity
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. So where is the problem? You only have to type your links carefully, what is somewhat simplyer with Regards Tino Wildenhain ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
Re: [Zope] Case sensitivity
Tino Wildenhain wrote: > You only have to type your links carefully, what is somewhat > simplyer with even simpler with &dtml.url-object; :-) cheers, Chris ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
Re: [Zope] ZEO and a front end...
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 >> locality-of-reference within the object database. I think I can avoid >> that using a squid redirector (www.squid-cache.org). Ill post any >> news. > >What do you mean? Suppose your zope site www.contrived-example.com is comprised of many largely independant sections, http://www.contrived-example.com/section1, http://www.contrived-example.com/section2 etc. Your multiple Zopes can all serve all of these sections, however theres not enough storage for each machine to hold all the sections simultaneously. You can make better use of ZODB's in-memory cache and the ZEO pickle cache if the requests for /section1 usually go to the same server. However, you don't want to hardwire this relationship since any other machine should handle /section1 if its 'home' machine goes down, or is busy. This problem can't be solved without parsing http headers, so low-level solutions such as www.linux-ha.com are not a total solution. Toby Dickenson [EMAIL PROTECTED] ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
[Zope] The Wizards of Zope (was Linuxworld Article)
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 hour I was writing queries on my databases and doing useful stuff which I could show to people and say - look at this great Zope stuff ! I could also then look at the code and see how it worked, adapt it etc - so it was a great learning tool as well. I think being able to do some simple but useful stuff when you first install a product is really, really encouraging and really helpful. There has to be substance behind the wizards, but with Zope there is. The more Zope continues to become popular the more people who are not Python/OO gurus are going to look at it. And many of them are going to misunderstand it just like the Linuxworld article's author did. If the Zope model is to convince people of its usefulness then it has show them what it can do. Otherwise people will dismiss it as 'theory', 'for gurus only', OO-only or whatever. Wizards are one way to do this which many (not all) would enjoy using. Perhaps some us would like to think about the 'Wizards of Zope' and what we would like others to be able to achieve with Zope right out of the box. Personally I'd like to see the ZSearch Interface build 'Intelligent' forms (that is DTML methods which render the form/results/error messages depending on the values returned by previous activities. ) Regards Richard Richard Moon [EMAIL PROTECTED] ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
[Zope] ColdFusion->Zope converter
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 - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
Re: [Zope] PCGI and 2.2.0 final horribly broken?
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 Effective Policies [EMAIL PROTECTED] Programmers don't die, they just GOSUB without RETURN. ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
Re: [Zope] ColdFusion->Zope converter
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. You'd really be looking to transfer CF to python. This would probably produce code that sucked under Zope as CF doesn't offer as many core platform features like ZClasses, Aquisition etc. I'd say the best conversion tool is simply someone who knows a bit of both (or a bit of CF and a sizable chunk of Zope). I can only imagine CF->Zope convertors which would leave you wanting to rewrite the resultant code anyway. That said, it could at least offer a neater way to import your CF files into Zope but import and FTP already offer that. Phill ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
Re: [Zope] Enitity syntax and 2.2
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 - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
[Zope] PropertySheet Question
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 right?? Well, I can't seem to figure it out. Every time I get a little farther with Zope, something "trivial" like this completely knocks me for a loop and sends me hunting through piles of howto's for hours! argh...how hard can it be?? Got this from the help page (hopefully on the right track)... manage_changeProperties(self, REQUEST=None, **kw): However, there is no clear example of how to call without a REQUEST object. I want to increment views, and then write it back to the property sheet. That's all. Do I need to include the asterisks? Do I need to include the keyword "self?" It really doesn't say. Everything I have seen on Zope.org, references the Web context with a REQUEST object. Coming from the "Perl-CGI" world I can honestly say, Zope *feels* like it should be easier to develop with, but this learning curve is immense! Thanks for your patience, Darin Lee (Zope Newbie Extraordinaire) Darin M. Lee Analyst / Web Administrator Office of Automation Coordination Michigan Department of Environmental Quality Phone: 517.241.5214 [EMAIL PROTECTED] ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
[Zope] SECURITY ROLES and < DTML-IN>
I am having trouble rendering a 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 will not let any user view its contents. I am using an in a DTML Document to render the contents of an SQL_Method from and Oracle Database. There are 3 objects. 1. Database Connection(ORACLE) - Working and can run test. OK 2. SQL_Method(VIEW_METHOD)- Working and can see results when run. SQL: select id, v_id vid, item_name name, url from item The SQL method returns columns: id, vid, name, url as expected. OK 3. DTML Document - Works fine with an IN that renders folder properties. Change the Source of the , , , When used it prompts the user to login - REGARDLESS OF CURRENT LOGIN and returns the following error. Traceback (innermost last): File C:\PROGRA~1\island8\lib\python\ZPublisher\Publish.py, line 222, in publish_module File C:\PROGRA~1\island8\lib\python\ZPublisher\Publish.py, line 187, in publish File C:\PROGRA~1\island8\lib\python\ZPublisher\Publish.py, line 171, in publish File C:\PROGRA~1\island8\lib\python\ZPublisher\mapply.py, line 160, in mapply (Object: view) File C:\PROGRA~1\island8\lib\python\ZPublisher\Publish.py, line 112, in call_object (Object: view) File C:\PROGRA~1\island8\lib\python\OFS\DTMLMethod.py, line 167, in __call__ (Object: view) File C:\PROGRA~1\island8\lib\python\DocumentTemplate\DT_String.py, line 502, in __call__ (Object: view) File C:\PROGRA~1\island8\lib\python\DocumentTemplate\DT_In.py, line 602, in renderwb (Object: view_method) Things I have tried. 1. Opening up security all the way on all objects. Doesn't work. It continues to ask me to log-in. 2. Proxy the DTML Documents ROLE to a higher role for the SQL_METHOD. Fails just as before. Is this a bug? Can anyone else confirm this. PLATFORM: WINDOWS NT 4 ZOPE: 2.2.0 Final Release. ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
Re: [Zope] Enitity syntax and 2.2
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: http://classic.zope.org:8080/Collector/1436/view thanks for the info, Chris :-) ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
[Zope] Zope Components and ZPatterns
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 the source. I ran the install script that comes with the source but still no Components directory is created and no ExtensionClass.h is to be found. Where do I go wrong? Waiting for ZPattern-magic Roché ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
RE: [Zope] upgrade to 2.2 and zsql methods problems
> 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. One of those classes (that understands results in RDB format) was missing a required security assertion. The results returned by the ODBC adapter were bitten by this - probably there are other adapters that could be affected. I've attached a patch file for the file: lib/python/Shared/DC/ZRDB/RDB.py ...as well as an updated version of the whole file (since I know a lot of you will be on Windows w/o patch :) Either patch or replace the file and restart Zope to fix the problem. This is also checked in for a 2.2.1 release that will probably happen after a few weeks when enough people have upgraded to shake out any other problems. Brian Lloyd[EMAIL PROTECTED] Software Engineer 540.371.6909 Digital Creations http://www.digicool.com RDB.py RDB.py.patch
Re: [Zope] PropertySheet Question
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 counter in ZODb = very bad idea It's a transactional database with rollback capability so it will grow each time you increment your counter! > Sounds easy right?? Well, I can't seem to figure it out. Every time I get a little >farther with Zope, something "trivial" like this completely knocks me for a loop and >sends me hunting through piles of howto's for hours! argh...how hard can it be?? ZClasses are a little harsh on occasion > Got this from the help page (hopefully on the right track)... > manage_changeProperties(self, REQUEST=None, **kw): > > However, there is no clear example of how to call without a REQUEST object. Try this: manage_changeProperties(views=yourobject.getProperty(views)+1) Where will you be calling this from? cheers, Chris ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
RE: [Zope] SECURITY ROLES and < DTML-IN>
> I am having trouble rendering a 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 will not let any user view its contents. Theodore - I bet you're running into the same problem as the folks using the ODBC adaptor. I've attached the post I made addressing this a few minutes ago. If this fixes your problem, could you send a note to the zope-list and let the folks there know that the fix works for the Oracle DA too? (I'm going out of town today, so I won't be able to forward it if you only reply to me) Thanks! > 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. One of those classes (that understands results > in RDB format) was missing a required security assertion. > > The results returned by the ODBC adapter were bitten by > this - probably there are other adapters that could > be affected. > > I've attached a patch file for the file: > lib/python/Shared/DC/ZRDB/RDB.py > > ...as well as an updated version of the whole file (since > I know a lot of you will be on Windows w/o patch :) Either > patch or replace the file and restart Zope to fix the > problem. > > This is also checked in for a 2.2.1 release that will > probably happen after a few weeks when enough people > have upgraded to shake out any other problems. > Brian Lloyd[EMAIL PROTECTED] Software Engineer 540.371.6909 Digital Creations http://www.digicool.com RDB.py RDB.py.patch
[Zope] Zope 2.0 Startup
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 PCGI-wrapper program, spawned by Apache to handle the HTTP request via the standard CGI protocol, is unable to connect to the ZServer background process via Unix socket /soft/swtest.rw.root/zope/rel2.2stable/Zope-2.2.0-src/var/pcgi.soc. and Mon Jul 17 17:16:32 2000 pcgi-wrapper(/usr/freeware/apache/share/cgi-bin/Zope.cgi): No such file or directory (102) failure during connect to ZServer where should i begin searching ? thanks for Help Micha (the Socket pcgi.soc is not generated but i assume this to be follow up to Problems starting Zserver ?) -- Michael Arndt science + computing gmbh c/oCAE-Systemservice Abt. I/FS-2, CAE Systeme, Visualisierung Tel. +49 (841) 89-37421 Fax -35093 mail [EMAIL PROTECTED] ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
RE: [Zope] ZCatalog
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.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]> > To: "Jonathan Desp" <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]> > Sent: Monday, July 17, 2000 3:06 AM > Subject: Re: [Zope] ZCatalog > > > > 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: > > > > "> > > > > > > Whether you use "raw" or "title" depends on what you want > to see. If > > you want to see the "raw" DTML that makes up the object that gets > > referenced in the catalog as a link, use "raw". If you > want to see the > > title as a link, use "title". > > > > If your catalog isn't named "s", and the DTML is actually > wrong where it > > says "", change "s" to > whatever the > > catalog is named. > > > > What Zope is doing: > > > > 1. Iterating over the catalog in batches of fifty > responses in the line > > that says: > > > > > > > > 2. Doing some stuff at the beginning of the batch (all the "if > > sequence-start" stuff) > > > > 3. Showing results, if any with a link (the bit you're adding) > > > > 4. Doing some stuff at the end of a batch (all the "if > sequence-end" > > stuff) > > > > 5. Showing a meaningful message if there were no results. > > > > > > > > Jonathan Desp wrote: > > > > > > yes, so I quess: > > > > > > "> > > > > > > > > > will become: > > > > > > "> > > > > > > > > > then I did it, > > > > > > here I tryed my search: > > > > > > http://www.atomasoft.com/gosearch > > > > > > and it's not working. > > > > > > All is great with my source or I need to shutdown zope if > I want to see > the > > > result working.. ? > > > > > > Do you know if there is any other changing to do? > > > > > > here is my new source again: > > > > > > > > > > > > > > > > > > > > > > > > > > > (Previous results) > > > > > > > > > > > > > > > > > > > > > Raw > > > > > > > > > > > > > > > > > > "> > > raw> > > > > > > > > > > > > > > > > > > > > > > > > > > > (Next results) > > > > > > > > > > > > > > > > > > > > > > > > There was no data matching this query. > > > > > > > > > > > > > > > > > ___ > Zope maillist - [EMAIL PROTECTED] > http://lists.zope.org/mailman/listinfo/zope > ** No cross posts or HTML encoding! ** > (Related lists - > http://lists.zope.org/mailman/listinfo/zope-announce > http://lists.zope.org/mailman/listinfo/zope-dev ) > ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
[Zope] mySQL - Z SQL - dtml-var
Why does this not work inside a Z SQL Method (using MySQL) ?! INSERT INTO test1 ( id, content, phone ) VALUES ( , , ) According to the doc I should be able to use dtml-var statements in Z SQL Methods. However, this returns an error: Error, exceptions.KeyError: 12.12 I also tried: INSERT INTO test1 ( id, content, phone ) VALUES ( , , ) This also retuns an error: Error, exceptions.ValueError: Invalid floating-point value for id But it is no problem inserting data by hand into the database using the very same value as I used in these tests (12.12). What am I doing wrong ? Gijs Reulen ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
[Zope] Select in ZSQL
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 Rodrigo Neufert -webmaster --- (Magic Web Design) (email) ([EMAIL PROTECTED]) (curitiba) (pr) ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
RE: [Zope] SECURITY ROLES and < DTML-IN>
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 PROTECTED]] Sent: Monday, July 17, 2000 10:27 AM To: 'Theodore Patrick'; '[EMAIL PROTECTED]' Subject: RE: [Zope] SECURITY ROLES and < DTML-IN> > I am having trouble rendering a 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 will not let any user view its contents. Theodore - I bet you're running into the same problem as the folks using the ODBC adaptor. I've attached the post I made addressing this a few minutes ago. If this fixes your problem, could you send a note to the zope-list and let the folks there know that the fix works for the Oracle DA too? (I'm going out of town today, so I won't be able to forward it if you only reply to me) Thanks! > 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. One of those classes (that understands results > in RDB format) was missing a required security assertion. > > The results returned by the ODBC adapter were bitten by > this - probably there are other adapters that could > be affected. > > I've attached a patch file for the file: > lib/python/Shared/DC/ZRDB/RDB.py > > ...as well as an updated version of the whole file (since > I know a lot of you will be on Windows w/o patch :) Either > patch or replace the file and restart Zope to fix the > problem. > > This is also checked in for a 2.2.1 release that will > probably happen after a few weeks when enough people > have upgraded to shake out any other problems. > Brian Lloyd[EMAIL PROTECTED] Software Engineer 540.371.6909 Digital Creations http://www.digicool.com ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
Re: [Zope] Zboard 0.1 released
[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 maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
[Zope] zope.org going down
for about 35 sec :) because I forgot a very important part :P Thanks for your patience, -- ethan mindlace fremen Zopatista Community Liason Abnegate I! ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
[Zope] Hotfix / 2.2.0 question
Greetings, fellow Zopers! A quick, non-urgent question for you all: After recently upgrading to 2.2.0, I noticed that under Control Panels/Products, I still had an entry for the security Hotfix from oh, so long ago, despite the fact that it's quite absent from my 2.2.0 Products directory. I just assumed it was safe to delete, so I did, but I'm wondering why it was there, and if, indeed, I should have deleted it. :) Thanks for your help, CJ ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
[Zope] Error loggin in as acl user
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
Yes, I made the proxy roles ... Before that Zope said: you are not authorized to access UserAuthentication 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 GUF obsolete ?? Thanks MArio > > Mario Premke writes: > > Maybe, your password is encrypted? > >NO, it isn't. > > > > The problem is, that I cannot access "real_password", because Zope says: > > > > 2000-07-12T15:54:46 ERROR(200) GUF > > http://134.96.119.88:8080/portal_folder/acl_users/userAuthenticate > > raised an exception (('Unauthorized', 'You are not authorized to access > > real_password.', )) > I know. > > Because I read the Zope digests, I am always about 1 day behind. > I, therefore, may respond to questions already answered by > the poster or others. > > You tried a proxy role as suggested by someone else? > > > > Dieter > ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
[Zope] Re: [Metapublisher] how to get the Catlog to find MP entries? (2ndpost)post)
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 > Catalog in the zope root as a searchable object and does not seem to be > aware of any mp_catalog's. > > alternatively i could find all meta entry's to the Catalog in the zope root > but the meta entry meta type does not show up in the selection list. how > could i find the meta entrys without finding all objects? can anybody > recommend an expression? i tried something like meta type==meta entry but > this was a no go -- it returned ALL objects > > the only way i could do it is by adding each individual mp entry's id into > the find to catalog mechanism. for a site with any traffic this could be a > major bummer! > hmmm... a little tricky! i found a workaround which looks like this: if you modify the __init__.py of the MetaPublisher product, so that a MetaEntry object appears in a Folder's available objects, obviously ZCatalog will find MetaEntries. I have created an __init__.py which registers MetaEntry objects properly but uses MetaPublisher's constructors. This means, if you select a MetaEntry to add to some Folder, you will actually add a MetaPublisher. This might not be the cleanest solution but it works :) I attached a sample __init__.py file, which you should copy to 'lib/python/Products/MetaPublisher'. > then the next problem was that when i used the getpath directive to get a > url for the records returned by the Catalog i got a url like this > mpfolder/mp_entries/9995757.435 which plays all kinds of havoc with my > carefully crafted directory structure ;-| depends on your structure... what exactly is the problem? unfortunately, in the current version, the mp_entries folder has to stay. there are early plans to remove it completely but this will take some time before it becomes a reality. > any ideas? some... ;) > Regards, > GEORGE DONNELLY > [EMAIL PROTECTED] > http://cyklotron.com/ > The smallest minority on earth is the individual. Those who deny individual > rights, cannot claim to be defenders of minorities. --Ayn Rand > > > > ___ > MetaPublisher mailing list > [EMAIL PROTECTED] > http://mailman.beehive.de/mailman/listinfo/metapublisher > ciao, basti -- sebastian f. luehnsdorf beehive elektronische medien gmbh -- http://basti.beehive.de http://www.beehive.de mailto:[EMAIL PROTECTED] mailto:[EMAIL PROTECTED] http://www.zope.de fon: (+49 30) 84 78 20 http://www.i-surf.defax: (+49 30) 84 78 22 99 # = # MetaPublisher 1.0.1b3 - Initialization # - # read README.txt for more information or # visit http://www.zope.de/software/MetaPublisher/ # = # - # Initialization # - __doc__ = '''Product MetaPublisher''' __version__ = '' from ImageFile import ImageFile import MetaPublisher import FType import Config import Entry import Container import Interface def initialize(context): """ Initialize all the products defined in this Product distribution. """ try: context.registerClass( MetaPublisher.MetaPublisher, constructors = ( MetaPublisher.manage_addMetaPublisherForm, MetaPublisher.manage_addMetaPublisher, MetaPublisher.manage_getMetaPublisherTypes, ), icon = "images/icon_metapublisher.gif" ) context.registerClass( Entry.MetaEntry, constructors = ( MetaPublisher.manage_addMetaPublisherForm, MetaPublisher.manage_addMetaPublisher, MetaPublisher.manage_getMetaPublisherTypes, ), icon = "images/icon_metapublisher.gif" ) context.registerBaseClass(MetaPublisher.MetaPublisher) context.registerBaseClass(Entry.EntryFold
Re: [Zope] Select in ZSQL
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) column names, namely, 'id'. If you just forgot a join condition, you'd write select table1.id from table1, table2 where table1.id = table2.id; thus ypu have only one 'id' column, as is proper (because they are identical anyway, by virtue of the join condition - the where clause.) If, on the other hand, you really want the cartesian product (*), then you would write select table1.id as id1, table2.id as id2 from table1, table2; thereby giving different names to the two 'id' columns. HTH, Jan (*) e.g., let's assume both table have only the id column. Table1 holds the rows '1' and '2' (values of the column), table2 holds the rows '3', '4', and '5'. Then, select table1.id as id1, table2.id as id2 from table1, table2; would render id1 id2 --- --- 13 14 15 23 24 25 i.e., all possible combinations of the values in both tables, called the cartesian product. For larger tables, this gets huge soon :-) More on this in any decent text on SQL. ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
Re: [Zope] Select in ZSQL
> 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 --Aaron ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
[Zope] Problem on install DCOracle
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 sys.version[:3]"`; \ installdir=`python -c "import sys; print sys.prefix"`; \ exec_installdir=`python -c "import sys; print sys.exec_prefix"`; \ make -f ./Makefile.pre.in VPATH=. srcdir=. \ VERSION=$VERSION \ installdir=$installdir \ exec_installdir=$exec_installdir \ Makefile make[1]: Entering directory `/usr/local/DCOracle-1.3.1b1/src' make[1] *** No rule to make target `/usr/lib/python1.5/config/Makefile`, needed by `sedscript'. Stop. make[1]: Leaving directory `/usr/local/DCOracle-1.3.1b1/src' make: *** [boot] Error 2 Oracle version is 8.1.5 and Python 1.5.2. Could you help me? Thanks, Gustavo ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
[Zope] How to require an @ symbol in email form field??
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. fine. If the user doesn't fill out a field, they get an alert. But they can fill each field out with gibberish--as long as there is a character in the input, we accept it. Is there a way to require at least an "@" sign in the email field? The powers that be think this would be useful. Here's the form processing code as it stands today. Any help is appreciated. Sformby The length of the following expr is due to the fact that some types of form elements (e.g. text) always create a var, while others (e.g. radio) don't. The following input fields are required and have not been filled out: Please click on your browser's "Back" button to update your information, or click here to start over. ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
[Zope] Creating folders in LocalFS
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 stuck in the directory it > is called from, not in pictures. There doesn't seem to be any specific > docs on this, so I am at a loss. Any pointers would be greatly > appreciated. 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 of manage_addFolder in LocalDirectory. This is on my list of stuff to do for our site, but I don't know if it's on Jonothan's list for the real product. ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
[Zope] Re: GUF Permission Problem
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 : When I write the usernames in userList everything goes well. Usind the SQL-method results in the Zope-message: 2000-07-17T22:20:44 ERROR(200) GUF An exception was raised by http://134.96.119.88:8080/portal_folder/acl_users/userList (('Unsupported Type', 'userList method returned an unsupported type', )) The Sql-method is tested an OK ... What does the error 'Unsupported Type' mean ??? Any hints will be appreciated ... MArio > > Hi Mario, > In reference to your problem where GUF cannot access "real_password", try > turning on "Access contents information" for your role(s) in the security > permissions area of the acl_users folder. I just ran into a similar problem > where I could access my sql methods, but could not access the results from > them. Setting this permission for my user defined role in the acl_users > folder fixed it. > > Let me know how it goes and if you have any questions. > >-=brad=- > ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
[Zope] Printing data from a external python method.
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 pythod method formchecker. However, once formchecker checks to see that all the fields were filled out, how can I use the EPM (external python method to print out the data on a dtml method? Thank you for your input, Jesse. ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
Re: [Zope] Creating folders in LocalFS
"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 of > manage_addFolder in LocalDirectory. This is on my list of stuff to do > for our site, but I don't know if it's on Jonothan's list for the real > product. I asked about this ages ago and I think Jonothan posted some relevent patch code to either zope or zope-dev. Check the archvies at http://zope.nipltd.com/public/lists.html cheers, Chris ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
[Zope] Problem with Zope 2.2.0 and changing a ZClass property
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 File /usr/local/Zope-2.2.0/lib/python/ZPublisher/Publish.py, line 187, in publish File /usr/local/Zope-2.2.0/lib/python/Zope/__init__.py, line 221, in zpublisher_exception_hook (Object: ElementWithAttributes) File /usr/local/Zope-2.2.0/lib/python/ZPublisher/Publish.py, line 171, in publish File /usr/local/Zope-2.2.0/lib/python/ZPublisher/mapply.py, line 160, in mapply (Object: postit) File /usr/local/Zope-2.2.0/lib/python/ZPublisher/Publish.py, line 112, in call_object (Object: postit) File /usr/local/Zope-2.2.0/lib/python/OFS/DTMLMethod.py, line 167, in __call__ (Object: postit) File /usr/local/Zope-2.2.0/lib/python/DocumentTemplate/DT_String.py, line 502, in __call__ (Object: postit) File /usr/local/Zope-2.2.0/lib/python/DocumentTemplate/DT_Util.py, line 337, in eval (Object: propertysheets.properties.manage_changeProperties(REQUEST)) (Info: REQUEST) File , line 0, in ? File /usr/local/Zope-2.2.0/lib/python/OFS/PropertySheets.py, line 443, in manage_changeProperties (Object: Traversable) File /usr/local/Zope-2.2.0/lib/python/OFS/PropertySheets.py, line 255, in _updateProperty (Object: Traversable) File /usr/local/Zope-2.2.0/lib/python/OFS/PropertySheets.py, line 208, in _wrapperCheck (Object: Traversable) ValueError: (see above) The error occurs in a method i defined in a ZClass. The beginning of the method is: [...] The method is called from a edit form of a ZClass instance as the form action. Is there anything wrong with the method or is there something other to look at? Ciao, Jochen ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
Re: [Zope] ZEO and a front end...
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 each Zope will have poor > >> locality-of-reference within the object database. I think I can avoid > >> that using a squid redirector (www.squid-cache.org). Ill post any > >> news. > > > >What do you mean? > > Suppose your zope site www.contrived-example.com is comprised of many > largely independant sections, > http://www.contrived-example.com/section1, > http://www.contrived-example.com/section2 etc. > > 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 with a central ZSS (Zope Storage Server). So in this contrived example, the problem is non-extant. ;-) > You can make better use of ZODB's in-memory cache and the ZEO pickle > cache if the requests for /section1 usually go to the same server. AIUI (I'm no ZEO expert, I just use it ;) ), you can have each server cache a certain amount, thus ameliorating the problem somewhat. -- Do not meddle in the affairs of sysadmins, for they are easy to annoy, and have the root password. ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
Re: [Zope] Problem with Zope 2.2.0 and changing a ZClass property
Jochen Knuth wrote: > > 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 > File /usr/local/Zope-2.2.0/lib/python/ZPublisher/Publish.py, line 187, > in publish > File /usr/local/Zope-2.2.0/lib/python/Zope/__init__.py, line 221, in > zpublisher_exception_hook > (Object: ElementWithAttributes) > File /usr/local/Zope-2.2.0/lib/python/ZPublisher/Publish.py, line 171, > in publish > File /usr/local/Zope-2.2.0/lib/python/ZPublisher/mapply.py, line 160, > in mapply > (Object: postit) > File /usr/local/Zope-2.2.0/lib/python/ZPublisher/Publish.py, line 112, > in call_object > (Object: postit) > File /usr/local/Zope-2.2.0/lib/python/OFS/DTMLMethod.py, line 167, in > __call__ > (Object: postit) > File /usr/local/Zope-2.2.0/lib/python/DocumentTemplate/DT_String.py, > line 502, in __call__ > (Object: postit) > File /usr/local/Zope-2.2.0/lib/python/DocumentTemplate/DT_Util.py, > line 337, in eval > (Object: propertysheets.properties.manage_changeProperties(REQUEST)) > (Info: REQUEST) > File , line 0, in ? > File /usr/local/Zope-2.2.0/lib/python/OFS/PropertySheets.py, line 443, > in manage_changeProperties > (Object: Traversable) > File /usr/local/Zope-2.2.0/lib/python/OFS/PropertySheets.py, line 255, > in _updateProperty > (Object: Traversable) > File /usr/local/Zope-2.2.0/lib/python/OFS/PropertySheets.py, line 208, > in _wrapperCheck > (Object: Traversable) > ValueError: (see above) > > The error occurs in a method i defined in a ZClass. The beginning of the > method is: > > > > > > > [...] > > The method is called from a edit form of a ZClass instance as the form > action. > > Is there anything wrong with the method or is there something other to > look at? Try changing: to: Shane ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
Re: [Zope] Problem with Zope 2.2.0 and changing a ZClass property
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: > > > > > > > > > > > > > > [...] > > > > The method is called from a edit form of a ZClass instance as the form > > action. > > > > Is there anything wrong with the method or is there something other to > > look at? > > Try changing: > > to: > that's it. i changed the 2.1.x version () because i haven't ported our user folder (GUF, with an addition getUserRealName) to 2.2.0 and forgot to set it to getUserName. Thanx, Jochen ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
[Zope] Urgent Problem -> CMG - script is not working
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 then to change the propertys. Please mail me a version that's working because tomorrow I have to show it to my boss. Thanks!!!
Re: [Zope] (no subject)
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" subsequent URL elements as arguments to operate upon. Like ZSQLMethods do. I think there's a howto on this somewhere. And I think I remember reading that it was a lot easier to do under 2.2. --RDM ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
Re: [Zope] (no subject)
"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. > > 1234 > 2345 You can do this and more with a SiteAccess access rule and modifying the remaining traversal stack. It's a REQUEST variable but the name escapes me right now... However, I'm planning to do a PathHandler product to do just this as soon as I get to grips with Zope 2.2... cheers, Chris ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
Re: [Zope] Urgent Problem -> CMG - script is not working
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 show it to my >boss. Try emailing us a cut and paste of the code you are trying to enter, as well as the line number where it is complaining about the syntax error, and perhaps we can help you figure out where things are going wrong. --RDM ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
[Zope] PTK cannot import DemoPortal
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? Thanks, Nestor A. Diaz Ingeniero de Desarrollo Engendro - Comercio Electronico sobre Linux Email: [EMAIL PROTECTED] - WWW: http://www.engendro.com ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
[Zope] Writing a Zope Help System
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 - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
[Zope] ZClasses gripe
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 once a form has been filled. This would give us much better access to things like property manager. Oh well back to Python. -- Andy McKay, Developer, ActiveState http://www.ActiveState.com Programming for the People ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
[Zope] Re: [Zope-dev] Multi-homed objects?
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 traversing, performing an > > arbitrary function, and never falling into a recursive trap. > > Cool :-) > > Let me know when it's available :-) > > Can you see any weirdities that might occur from having an object as an > attribute of more than one object manager / folder? > > Chris > > PS: Do you know the answer to my &dtml.url-; question I asked earlier? > > ___ > Zope-Dev maillist - [EMAIL PROTECTED] > http://lists.zope.org/mailman/listinfo/zope-dev > ** No cross posts or HTML encoding! ** > (Related lists - > http://lists.zope.org/mailman/listinfo/zope-announce > http://lists.zope.org/mailman/listinfo/zope ) -- Terry Kerr ([EMAIL PROTECTED]) Adroit Internet Solutions Pty Ltd (www.adroit.net) Phone: +613 9563 4461 Fax: +613 9563 3856 Mobile: +61 414 938 124 ICQ: 79303381 ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
Re: [Zope] Zope Knowledge Base on www.faqts.com
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, > currently http://www.faqts.com/knowledge-base/index.phtml/fid/295/lang/ > though there's not much there yet :) > > I decided to go with FAQTs for a couple of reasons. > > - the admin behind the site, for sending out summaries etc, is great. > - I'll be working off the one site for python and zope. > > Basically it just makes the job easier for me. Hi, fiona. Thanks for doing this. Email me once you're up and running so I can link to it from zope.org. -- ethan mindlace fremen Zopatista Community Liason Abnegate I! ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
Re: [Zope] mySQL - Z SQL - dtml-var
Gijs Reulen writes: > INSERT INTO test1 > ( id, content, phone ) > VALUES ( > , > , > > ) > > According to the doc I should be able to use dtml-var statements in Z SQL > Methods. However, this returns an error: Error, exceptions.KeyError: 12.12 This is indeed a strange variable name (12.12). Do you mean the floating point value 12.12 rather than a variable of this name? In this case, you should use: > I also tried: > INSERT INTO test1 > ( id, content, phone ) > VALUES ( > , > , > > ) > > This also retuns an error: Error, exceptions.ValueError: Invalid > floating-point value for id Obviously, "id" does not contain a floating point value. Dieter ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
Re: [Zope] How to require an @ symbol in email form field??
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 Dieter ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
Re: [Zope] ZEO and a front end...
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 with a central ZSS (Zope Storage Server). > So in this contrived example, the problem is non-extant. ;-) > > > You can make better use of ZODB's in-memory cache and the ZEO pickle > > cache if the requests for /section1 usually go to the same server. > > AIUI (I'm no ZEO expert, I just use it ;) ), you can have each server > cache a certain amount, thus ameliorating the problem somewhat. 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 much so, in fact, that I've decided to have a crack at writing just such a redirector. I feel the Zope world (and others, most likely) could benefit from a 'preferential' redirector. Watch this space. (o8 Have a better one, Curtis Maloney. ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
Re: [Zope] ZEO and a front end...
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 > > clients (servers) communicate with a central ZSS (Zope Storage Server). > > So in this contrived example, the problem is non-extant. ;-) > > > > > You can make better use of ZODB's in-memory cache and the ZEO pickle > > > cache if the requests for /section1 usually go to the same server. > > > > AIUI (I'm no ZEO expert, I just use it ;) ), you can have each server > > cache a certain amount, thus ameliorating the problem somewhat. > > 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. Which is why I said 'somewhat' ;-) Now, depending on if you set a shared FS across the systems, this cache could theoretically be shared. If for example, you usef afs/codafs, you could have each server using the same FS, reading the same cache, unless something in ZEO prevents two processes form using the cache, of course. Now, AFS/Codafs are not for the faint of heart, but I get the feeling that someone willing to try an IPVS setup is likely made of sturdier stuff. ;-) > Personally, I find this such a simple idea that it MUST be good. (o8 > So much so, in fact, that I've decided to have a crack at writing just such a > redirector. I feel the Zope world (and others, most likely) could benefit > from a 'preferential' redirector. Roxen can do this to some extent. Not sure how well, since I am not using that aspect of it, but I do see it in the modules. I do know thet eddieware can also do this: """ The Eddie Intelligent HTTP Gateway package allows specialised functions to be allocated to specific Back End Servers. As each user request arrives, it is parsed by the Front End Server which then: o Splits multiple requests within HTTP 1.1 persistent connections into a number of individual requests. o Sends the individual requests to Back End This allows a system administrator to, for example, dedicate certain Back End Servers to be CGI processing engines, while other machines may be dedicated to acting as image repositories. The individual machines may then be tuned to optimise their performance to these specific tasks. """ I have considered trying out eddieware, but haven't yet. -- Do not meddle in the affairs of sysadmins, for they are easy to annoy, and have the root password. ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
[Zope] Confera
Is there a way to make the newest messages show up on top? Tom Scheidt | www.falsemirror.com | [EMAIL PROTECTED] --- ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
[Zope] Tim's Gripe Of The Week --> was: [Zope] (no subject)
Hi all, I have given myself permission to post this gripe. Thank You 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 question. That doesn't mean you have to let it ride like that. Simply do what I did above. WHY? Once your words are immortalized in the archives they carry great value, IF there is a subject line that makes sense. Otherwise it's just one more in the list each month that say "(no subject)". How sad that you would value you efforts at such a low mark. I'd like to thank you all in advance for taking that extra 45 seconds to add or change to the appropriate subject line. It makes the archives that much more useful. BTW: Thanks for all the help everyone. -- Tim Cook -- "The more I learn, the more I realize I don't know, and the more I realize I don't know, the more I want to learn." --Einstein ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
Re: [Zope] Re: Zope 2.2.0 Startup
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 speeds the startup of zope. It is regenerated if zope starts & stops safely, so probably it will start much faster next time. -- ethan mindlace fremen Zopatista Community Liason Abnegate I! ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
Re: [Zope] Creating Factory Objects (Products)
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 notFoundError NotFound: (see above) Maybe because i'm a newbie, i tend to feel that Zope's error messages(or traceback) are not as clear as (for e.g.) PHP's error messages. Perhaps you can give me some pointers here? regards, firestar --Original Message-- From: Dieter Maurer <[EMAIL PROTECTED]> To: Firestar <[EMAIL PROTECTED]> Sent: July 17, 2000 11:23:04 PM GMT Subject: Re: [Zope] Creating Factory Objects (Products) Firestar writes: > "Resource not found > > Sorry, the requested Zope resource does not exist. > Check the URL and try again." followed by the tracebacks... You first need to determine what resource is not found. The tracebacks may help you with this. After you know the resource, you will ask, "why". If you are lucky, this becomes obvious, once you know "what". Dieter __ FREE Personalized Email at Mail.com Sign up at http://www.mail.com/?sr=signup ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
[Zope] product docs Re: [Zope] Zope docs ??
[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 over "pure python" products. -- ethan mindlace fremen Zopatista Community Liason Abnegate I! ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
Re: [Zope] Zboard 0.1 released
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 context sensitive help in your product: http://www.zope.org/Wikis/Docs/HelpTopicUsage Also, when your product has these features, the Catalog Help tells you how to make it appear in the Product's Page: http://www.zope.org/Members/CatalogHelp -- ethan mindlace fremen Zopatista Community Liason Abnegate I! ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
[Zope] Importing exchange rates
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] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
Re: [Zope] ZEO and a front end...
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 much so, in fact, that I've decided to have a crack at writing just such a > redirector. I feel the Zope world (and others, most likely) could benefit > from a 'preferential' redirector. The way I would do this is have section1.contrived-example.com section2.contrived-example.com section3.contrived-example.com with siteAccess, and then each zope would serve it according to it's IP (though each "could" serve each site). Then you can use whatever IP/DNS load balancing tool your heart desires. a thought, -- ethan mindlace fremen Zopatista Community Liason Abnegate I! ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
Re: [Zope] Error loggin in as acl user
vaibhav wrote: > > Hi, > > I added an acl user as a manager. But it does not accept the password > when I log in. Ensure that there is no domain name listed. Set the password to something short like help . If that doesn't work, set the password to nothing, and then you should be able to get in without authenticating (temporary fix!). Hope that helps, -- ethan mindlace fremen Zopatista Community Liason Abnegate I! ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
Re: [Zope] Urgent Problem -> CMG - script is not working
Sven Hohage wrote: > > 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". It sounds like you're not generating proper DTML. If you can give the DTML file and the traceback of the error, the problem can be diagnosed further. > The most import thing is to be able to clone an object and then to > change the propertys. I use to do this, where the required values are present in REQUEST. More information about manage_clone and manage_changeProperties is availiable at the Zope Quick Reference: http://www.zope.org/Members/ZQR/ > Please mail me a version that's working because tomorrow I have to > show it to my boss. Digital Creation's consulting rates are availiable at: http://www.digicool.com/Solutions/ Hope that helps, -- ethan mindlace fremen Zopatista Community Liason Abnegate I! ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
Re: [Zope] Importing exchange rates
Adrian Madrid wrote: > > 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? It depends on where the exchange rates are. If you get them from a database, you can make zope display the current rates. If you get them from a web page, you can use the client feature of zope to go snarf the web page and then extract what you need (hope you have permission :) If some other mechanism can write them to a file, you can suck them up with an external method whenever someone asks for it. hope that helps, -- ethan mindlace fremen Zopatista Community Liason Abnegate I! ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
Re: [Zope] help
danchik wrote: > > how can I fix this?? > > > The wrapping makes it very hard to read. I don't believe you need to do this. With these changes: > the Some_header dtml file has the following > lines- >
Re: [Zope] Writing a Zope Help System
"J. Atwood" wrote: > > Has anyone posted a help on writing Zope help into your product for 2.2? Docs Wiki: http://www.zope.org/Wikis/Docs/HelpTopicUsage -- ethan mindlace fremen Zopatista Community Liason Abnegate I! ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
[Zope] Re: [Zope-dev] Problem with Zope
"Tina Goyne (TT)" wrote: > > Hi: > > I am a novice Zope user--my web master left my company and I have been > pegged with the responsibility of maintaining our internal website. I am > having a problem adding a new folder and then adding a file to the folder. Questions like these are for [EMAIL PROTECTED], the mailing list for site builders. I've redirected this there. > The file is located on another server with appropriate permissions. I'm not certain this is what you're trying to do, but if you're adding the file from the management interface, it must come from your machine, not another server. > However, this is the error message I get: [not found error] > Can you please direct me on what to do to correct this problem? Thanks. when posting errors, first do "view source" on the page, and inside that you should see a traceback. Posting the traceback helps us know what happened. Hope that helps, -- ethan mindlace fremen Zopatista Community Liason Abnegate I! ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
Re: [Zope] Importing exchange rates
For doing things periodically there's the ZScheduler product (http://www.zope.org/Members/lstaffor/ZScheduler). The product is in it's alpha development stage, but if you employ it cautiously, you may find that it works for you. For getting the exchange-rate data, it depends on where it's coming from. Give us some more details and perhaps we can help better. You might want to use ZClient (see the How-To at http://www.zope.org/Members/lstaffor/ZClientMethod). There's also the SiteSummary product (http://www.zope.org/Members/edmundd/SiteSummary/). -- Loren - Original Message - From: "Adrian Madrid" <[EMAIL PROTECTED]> To: "Zope Mailing List" <[EMAIL PROTECTED]> Sent: July 17, 2000 07:41 PM Subject: [Zope] Importing exchange rates > 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] > http://lists.zope.org/mailman/listinfo/zope > ** No cross posts or HTML encoding! ** > (Related lists - > http://lists.zope.org/mailman/listinfo/zope-announce > http://lists.zope.org/mailman/listinfo/zope-dev ) > > ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
Re: [Zope] ZEO and a front end...
On Tue, 18 Jul 2000, ethan mindlace fremen wrote: > 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 much so, in fact, that I've decided to have a crack at writing just > > such a redirector. I feel the Zope world (and others, most likely) could > > benefit from a 'preferential' redirector. > > The way I would do this is have > > section1.contrived-example.com > section2.contrived-example.com > section3.contrived-example.com > > with siteAccess, and then each zope would serve it according to it's IP > (though each "could" serve each site). Then you can use whatever IP/DNS > load balancing tool your heart desires. I think most people seem to be missing the point here. The idea is that ALL servers can serve ALL content. HOWEVER, the 'load balancer' will opt for a certain server for a certain URL, in order to improve cache hits. So, for www.contrived-example.com/dir1 it will first try server1, but if it's busy (or down) it will try others. This way, the cache on server1 is more likely to contain objects relevant to /dir1 and thus have a higher hit rate, therefore improving performance. An enforced 'mapping', as you were suggesting, removes ALL redundancy from the site, but would likely provide even better cache hits. > a thought, Have a better one, Curtis ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
Re: [Zope] Writing a Zope Help System
There is also a file in the Zope distribution in $SOFTWARE_HOME/docs/HELPSYS.txt that I think is up-to-date. ethan mindlace fremen wrote: > > "J. Atwood" wrote: > > > > Has anyone posted a help on writing Zope help into your product for 2.2? > > Docs Wiki: http://www.zope.org/Wikis/Docs/HelpTopicUsage > > -- > ethan mindlace fremen > Zopatista Community Liason > Abnegate I! > > ___ > Zope maillist - [EMAIL PROTECTED] > http://lists.zope.org/mailman/listinfo/zope > ** No cross posts or HTML encoding! ** > (Related lists - > http://lists.zope.org/mailman/listinfo/zope-announce > http://lists.zope.org/mailman/listinfo/zope-dev ) ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )