Re: [Zope] SiteAccess problems in Zope 2.2.0a
Hi Alexander, What does your access rule look like? 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] Ann: ZWiki Web 0.2 Released
This is my attempt at bundling up Simon's excellent ZWiki product with all its methods in such a way that you can create a whole WikiWeb folder by selecting a ZWikiWeb from the "Available Objects" dropdown. It's available from: http://www.zope.org/Members/chrisw/ZWikiWeb ZWiki can be found at: http://www.zope.org/Members/simon/ZWiki The changes made we: -Gave Manager proxy role to the ZWikiWebAdd DTML Method so that non-root users can add ZWiki Webs. -Renamed the permission for adding ZWiki Webs from 'Add ZWiki Pages' to 'Add ZWiki Webs'. If anyone can think of any problems with these changes, please let me know :-) 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] ZWiki RecentChanges problem with 2.1.6
Hi, The RecentChanges page in ZWiki no longer works in 2.1.6 The following code: Spits authorization errors even when I'm logged in as root. Anyone got any ideas? cheers, Chris PS: Traceback (innermost last): File /usr/local/zope/internal/2-1-6/lib/python/ZPublisher/Publish.py, line 214, in publish_module File /usr/local/zope/internal/2-1-6/lib/python/ZPublisher/Publish.py, line 179, in publish File /usr/local/zope/internal/2-1-6/lib/python/ZPublisher/Publish.py, line 165, in publish File /usr/local/zope/internal/2-1-6/lib/python/ZPublisher/mapply.py, line 160, in mapply (Object: RecentChanges) File /usr/local/zope/internal/2-1-6/lib/python/ZPublisher/Publish.py, line 102, in call_object (Object: RecentChanges) File /usr/local/zope/internal/2-1-6/lib/python/Products/ZWiki/ZWikiPage.py, line 178, in __call__ (Object: RecentChanges) File /usr/local/zope/internal/2-1-6/lib/python/Products/ZWiki/ZWikiPage.py, line 223, in render_htmldtml (Object: RecentChanges) File /usr/local/zope/internal/2-1-6/lib/python/OFS/DTMLDocument.py, line 166, in __call__ (Object: RecentChanges) File /usr/local/zope/internal/2-1-6/lib/python/DocumentTemplate/DT_String.py, line 502, in __call__ (Object: RecentChanges) File /usr/local/zope/internal/2-1-6/lib/python/DocumentTemplate/DT_In.py, line 633, in renderwob (Object: aq_parent.objectValues(spec='ZWiki Page')) File /usr/local/zope/internal/2-1-6/lib/python/DocumentTemplate/DT_Util.py, line 329, in eval (Object: aq_parent.objectValues(spec='ZWiki Page')) (Info: aq_parent) File /usr/local/zope/internal/2-1-6/lib/python/Products/ZWiki/ZWikiPage.py, line 501, in validate (Object: RecentChanges) Unauthorized: (see above) ___ 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] ZWiki RecentChanges problem with 2.1.6
Chris Withers wrote: [snip rubbish ;-)] This actually isn't the case, someone had just helpfully turned off 'Access Contents Information' higher up the tree... Doh! 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] Re: [squishdot] Re: [Zope] Ann: Squishdot 0.3.4 Released
mindlace wrote: > And does 0.3.4 break any 0.3.2 pages if I install it? 0.3.2 was > installed on zope 2.1.6. 0.3.4 shouldn't, there were onyl minor code changes... 0.4.0 will be a one-way upgrade I suspect :( 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] FYI: Latest gem appears in CVS
Paul Everitt wrote: > > Howdy folks. As mentioned previously, a gem is ready to appear in CVS: > mountable databases. Does this mean the monolithic data.fs problem, and hence the 2GB filesize problem on some systems, has just vanished? How does this integrate with the ZPatterns stuff? 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] FYI: Documentation
Paul Everitt wrote: > Browseable, searchable API documentation. Thanks Michel! Where (exactly, 'cos it's a Sunday and I'm feeling dozy) can I find this? Does it mirror what's in the interfaces Wiki? 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.0a1: Lexicon.query has disappeared
nholtz wrote: > Lexicon.query was there in 2.1.6, but not in 2.2.0a1 I think this has been deprecated in favour of ZCatalog and Catalog. 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] Squishdot Interfaces Now Documented
The python interfaces that Squishdot provides, some of which are available in DTML, are now documented at: http://zope.nipltd.com/Squishdot/Squishterfaces I realised that this was a necessary step before trying to add the ZCatalog-based indexing that will be the main feature of Squishdot 0.4.0 and will enabel Squishdot to work wih Zope 2.2 as well as fixing some bugs. 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] ZCatalog OR searching
Hi, I have a word and I was to return objects which contain this word in either one index or another (both textindexes). If I do, searchResults(index1='word',index2='word') I don't get what I want as it returns only objects that contain the word in BOTH indices. Is there any way I can get the results I want without resorting to two calls to searchResults and kludging them together? Or is this the correct way to do it? (I think this has the potential to use a LOT of memory if the results sets are large...) 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] Deleting folder-like objects.
John Morton wrote: > 1) You can delete them with the same practiced easy as any other object, > along with everything in it. No 'Are you sure you want to shoot yourself > in the foot' dialogs, or anything. (How hard to implement with > manage_beforeDelete?) Remember that Zope has an 'Undo' button... ;-) (and in fact, a whole history tab in the CVS version, I think...) > 2) Deleting a folder effectively removes everything under it (well, you > can't navigate to them, AFAIK), but it doesn't invoke the > manage_beforeDelete methods of it's decendants. Any reason for this, or > should I proceed straight to the bug collector? I'm pretty sure they are deleted, but not calling manage_beforeDelete seems stupid to me. I presume this is the reason that CatalogAware objects that get deleted like this don't remove themselves from the catalog (leaving a nasty mess behind them...) 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] FYI: Documentation
Paul Everitt wrote: > 1) Can somebody out there _please_ send in a graphic to replace the help > button? What's wrong with using the button that's there now? I don't see the point of adding to the bandwidth burden by replacing it with a graphic (some of us have to work through slow dialup sometimes... :( ) I'd prefer to see it as a manage-like tab, top-right, with a blue question mark or 'Help' in it. That'd be all text and a coupla tiny bitmaps which are in use anyway :-) 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] Deleting folder-like objects.
Bill Anderson wrote: > > > 2) Deleting a folder effectively removes everything under it (well, you [snip] > > catalog (leaving a nasty mess behind them...) > > Yeah, that can be annoying. Is there is any reason for it? 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] how do you iterate over tiny tables?
Graham Chiu wrote: > > > > > Is this code in a DTML document or method? > I would like to print out the title attribute of the tiny table now, but > > > > chokes on title with an attribute error. What's wrong with just ? 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] Re: Zope.org feedback
Neil Burnett wrote: > I have downloaded and imported it, restarted Zope and created a new > ZWikiWeb object, but all the ZDocuments report that they are broken. > My Zope is 2.1.6 and has no other products installed. (I use NT) ^ Here's your problem I could say RTFM but I won't... ;-) You need to have ZWiki 0.6 or later installed as well as ZWikiWeb: http://www.zope.org/Members/chrisw/ZWikiWeb/install cheers, Chris PS: ZWiki and ZWikiWeb are two totally seperate products... Simon Michael deserves all the credit for ZWiki, I just wrapped it up a bit... ___ 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] Netscape Image Problems (LoginManager?)
[EMAIL PROTECTED] wrote: > > Well I have determined that it has nothing to do with PTK or Login Manager, > well I think > anyway... I would agree as I've experienced this exact same problem with Netscape 3.04 and my Squishdot site at http://www.bay-c.co.uk cheers, Chris PS: I'd love to know what's causing this... PPS: Is anyone who's experiencing this using SiteAccess? ___ 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] Netscape Image Problems (LoginManager?)
Jon Delheimer wrote: > > Checking the Z2.log file shows that Zope is returning a 500 status code > (Internal Server Error) when the broken images appear. That's not good :( That means something is causing the requests to go astray. Can you see what the requested object is compared with the URL you would expect? 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] Broken ZWiki
Jason Cunliffe wrote: > when I install ZWiki Product, the FrontPage, HelpPage etc are all > brokendoes it rely on another class being present? > ZWikiWeb Either see Evan's post or read: http://www.zope.org/Members/chrisw/ZWikiWeb/install ...particularly the bit about ZWikiWeb requiring ZWiki 0.6 to be installed ;-) I have to stress this again, ZWikiWeb is merely a wrapper for ZWiki. ZWiki is the real product and I'd like to thank Simon for giving us such an amazing product. cheers, Chris PS: Now, if I could just rename a Wiki page through the Wiki interface and have all links to that page updated... ;-) ___ 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] Updating one data.fs from another
I export a whole subtree from by Dev instance and import it into the production instance... HTH, Chris Graham Chiu wrote: > > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > I do development on my site on my notebook, and then rather than > overwriting my production data.fs, I then manually make the changes to > the production data.fs by create/cut/paste from my development data.fs > which is all very painful. > > I tried ftp'ing into my development site, but some things like > TinyTables are 0 bytes in size and can't be accessed. > > My browser also doesn't support cut/paste of whole documents from one > data.fs to another, just the data whereas it supports this within a > data.fs. > > Is there some other way to propagate changes from a development site to > a production site? > > - -- > Regards, Graham Chiu > gchiucompkarori.co.nz > http://www.compkarori.co.nz/index.php > Powered by Interbase and Zope > > -BEGIN PGP SIGNATURE- > Version: PGPsdk version 1.7.1 > > iQA/AwUBOSlQv7TRdIWzaLpMEQKLPQCfWcsRKQkXIP5nwaRuetiqpJ/PQ/oAoJf+ > q0bL2DJvxMEceE8fCtupQPuq > =kroL > -END PGP SIGNATURE- > > ___ > 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] does this app exist?
Heiko Stoermer wrote: > What I can tell you is this: if you develop a "ZScheduler" and it > becomes part of the Zope Standard distribution, the Zope community will > be VERY glad. ZScheduler already exists, it's just very buggy. Check the mail archives for 'ZScheduler' and have a look at: http://www.zope.org/Members/lstaffor/ZScheduler 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] Zope Newbie Questions
Hi Daniel, Resources I'd recommend: The Zope Documentation Portal - http://zdp.zope.org The Zope Site - http://www.zope.org The Zope Mailing List - [EMAIL PROTECTED] (see http://lists.zope.org/mailman/listinfo/zope for details) I've copied your questions to the zope list in the hope that someone with time can help you out :-) Good luck, Chris PS: Short answers: - Try adding 'Image' objects for your graphic needs. - With the Free Zope Hosting option, I don't think there's any way you can do a bulk upload, but Itamar's loadsite.py utility may be able to help... - If you like DreamWeaver, I'd recommend our Professional Zope Hosting option, as DreamWeaver should work fine with this... Daniel Muller wrote: > > Hi, > > Thank you for setting up my free Zope account. I've been very interested in > this product for some time but have not been able to play with it until now. > > I think I may be in over my head but here goes anyway. Essentially I have > no programming skills. My HTML is good and Dreamweaver seems to take care > of the rest. My talent lies more on the design side of the business. (check > out http://www.gradcenter.marlboro.edu/ and http://www.kapellandkostow.com/) > > I plan to use your service to recreate Marlboro College's web site as a > means of exploring zope. > > So far I've been able to rebuild the basic directory structure and now I'm > hoping to upload some graphics files. > > Must this be done one at a time or is there a mechanism for uploading entire > directories at once? Does ftp mean anything in zope? > > Where should this question best be asked? (I'm sure you are far to busy to > field newbie questions on free accounts) > > Thanks again for this wonderful opportunity. > > Daniel > > -- > Daniel Muller > Director of Internet Development > Marlboro College > > (802) 251-7613 ___ 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] Really dumb newbie question
Andy Gates wrote: > Been there, done that, learned the magic incantations ;-) The " " makes it into a python expression... 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]
try just plain That on it's own will probably give you what you want... Chris kwan wrote: > > I remember I saw somewhere about it. > but I couldn't search it out again. > > Can anyone tell me the correct way to do things like following? > > > : > > > I want to check the indivial item inside the REQUEST one time at a time. > > but if I do I think it is not actually a list so that > it is > usable by dtml-in tag > > Kwan > > ___ > 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] Netscape Image Problems (LoginManager?)
> > Given Itamar's comments, I have changed his suggestion as follows: > > > > > You can try to fix this problem, by removing the "int(...)" > > > in "OFS.Image.py:186" > > > > > > > -mod_since=int(DateTime(header).timeTime()) > > > > +mod_since=long(DateTime(header).timeTime()) > > I've checked this in for 2.2. Thanks for investigating > this guys! > > --Brian Woohoo! :-) 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] Collector status on password change bug?
Shane Hathaway wrote: > This patch has been applied in CVS, and I believe the latest alpha > version has it as well. Not quite, it's solved in a slightly different way in the CVS. We do the following to get the CVS solution to work with 2.1.4 and 2.1.6: Checkout editUser.dtml 1.10 and User.py 1.102 from the CVS. Then apply the following patch to editUser.dtml: *** editUser.dtml.old Thu Apr 20 10:29:39 2000 --- editUser.dtml Thu Apr 20 10:41:20 2000 *** *** 26,32 New Password ! --- 26,32 New Password ! *** *** 34,40 (Confirm) ! --- 34,40 (Confirm) ! HTH, 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] The agony of the ZOPE Documentation
[EMAIL PROTECTED] wrote: > I'm sorry, but I have to say, the ZOPE documentation, despite efforts > to improve it, is absolutely, positively horrible. Not because the > content isn't there, but because the tools to access it simply suck. Gotta agree with this :( > Additionally, the zdp web site is a real nice idea that is SO poorly > executed IMO as to make it totally unusable. ZDP is currently undergoing a lot of development and unfortunately I have to agree that it isn't there yet... Unfortunately, no-one is getting paid to do it, and everyone who is working on it would probably get fired if they spent enough time on it to REALLY get the job done... I reckon there's about 25 man weeks of work to do based on 5 people spending: -1 week to build the tools -1 week to plan the structure of the documentation -3 weeks to get ALL the Zope documentation linked in one place (which is what zdp is supposed to be...) So, has anyone got the cash? ;-) Once this is done, it will be less work to keep that documentation up to date. Hopefully, eventually, all documentation would end up on zdp.zope.org and not just be linked from it... > You can't even browse > the documentation without clicking through a thousand different > links. I agree here too :( (I can give you specific examples of how to improve the site > if you want.) Send them to [EMAIL PROTECTED], in fact, better still, JOIN [EMAIL PROTECTED] and go and make the changes yourself :-) Good luck, I think you're (or should that be 'we're all') going to need it... 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.1.4 to 2.1.6 nightmare
Felipe Alvarez Harnecker wrote: > is that a bug in Zope 2.1.6 ?? Zope 2.1.4 works fine. Yup, the patch is in this article: http://zope.nipltd.com/public/lists/zope-archive.nsf/ByKey/8347052C9F353CA2 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] Importing a 2.1 .zexp file into 2.2
Kevin Dangoor wrote: > Error Type: InvalidObjectReference > Error Value: Attempt to store a wrapped persistent > object Apparently storing a wrapped object is a security hole, I bumped into a post about it in the collector after searching for ZCatalog... So, something, somewhere in your zexp has a wrapped 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] Reloading products
Seb Bacon wrote: >(n.b. is > there any way of reloading a product without the tedium of stopping and > starting zope?) There is a very-alpha product for doing this floating around on the zope-dev list. check the archives... 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.1.4 to 2.1.6 nightmare
Felipe Alvarez Harnecker wrote: > Applied the patch. No luck. Still getting the same behavior. Oops, sorry, missed the SQL method first time round... You'll also need to do the following: > > In the file: lib/python/Shared/DC/ZRDB/DA.py > > Around line 424, replace: > > query=apply(self.template, (p, argdata)) > > with > > query=apply(self.template, (p, argdata), argdata.__data__) 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] Re: [ZDP] Re: [Zope] The agony of the ZOPE Documentation
Jason Cunliffe wrote: > > > I reckon there's about 25 man weeks of work to do based on 5 people > > spending: > > -1 week to build the tools > > -1 week to plan the structure of the documentation > > -3 weeks to get ALL the Zope documentation linked in one place (which is > > what zdp is supposed to be...) > > > > So, has anyone got the cash? ;-) > > Well I have asked a few times before, before but never a reply.. so I will > ask again: > > How much would it cost? (U$?) Based on the above figures, and assuming £500/day/person, it comes out as: £62,500 (roughly $100,000) > Perhaps you have no time but some money.. Personally, I have neither ;-) > resources to go round. And money might really help out here... I agree, I would love to do it, and I'm sure my employer wouldn't mind if someone else was footing the bill ;-) > It seems like rather a catch-22 [or is that a zope-22] : until the docs are > in better shape, it is so much harder for more people to contribute usefully > because it is so easy to get lost again.. I agree :-) > ZDPLINE.COM ?? $ whois zdpline.com Whois Server Version 1.1 Domain names in the .com, .net, and .org domains can now be registered with many different competing registrars. Go to http://www.internic.net for detailed information. No match for "ZDPLINE.COM". Well, the name is there... ;-) cheers, Chris > > Perhaps someone with better dtml skills than I can make a little mini > priceline.com app for zdp.. > > Everyone/Anyone wishing to contribute something towards documentation logs > on and enters the amount: > instant tally shows total potential sponsorship with column for > person-hours/days at rate. Instead of a well intentioned message thread > which will be rapidly drownded in a sea of DTML minutuae, we can have > visible target + 'potential' zdp attractor > > When we hit a 'u$eful 'threshold - $ponsors kick in with their actual > contrib. and zdp advances. > Perhaps you have a better crazier idea..I hope so:-) > > Meanwhile, some fascinating and surreal reading: > Interview with Jay Walker > http://www.strategy-business.com/thoughtleaders/00209/page1.html > > my $0.25 > - Jason ___ 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.1.4 to 2.1.6 nightmare
Felipe Alvarez Harnecker wrote: > > Finally it works. Thanks. > > Do you know why DigitalCreations haven't release a patch? Dunno :S > I guess i'm not the first one getting mad with 2.1.6. Had us fooled for about a week :( I think it's all fixed in 2.2 anyway, which may be why no patch was released... 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] E-Commerce solution using Python and Zope.
Jilani Khaldi wrote: > > Hi All, > do you know about something written in Python & Zope for e-commerce > solutions? Try having a search on the ZCommerce mailing list archives: http://zope.nipltd.com/public/lists/commerce-archive.nsf/$$Search?OpenForm and join the list: http://lists.codeit.com/mailman/listinfo/zcommerce 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] Broken ZWiki
Simon Michael wrote: > > > PS: Now, if I could just rename a Wiki page through the Wiki interface > > and have all links to that page updated... ;-) > > I need this too.. it's near the top of my zwiki todo list. > > -Simon Cool :-) Open Source is great... ;-) > looks like this has been answered, good. I'll check out ZWikiWeb > soon. Maybe there's something we can do to integrate or market the two > better for newcomers ? I think just roll the two together. ZWikiWeb is nothing more than an automated copy, paste and rename... The 'new' ZWiki product could just have two factories: -Add ZWiki Page (as it is now) -Add ZWiki Web (from ZWikiWeb, feel free to use the code ;-) 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] ANN: Perl For Zope
Paul Everitt wrote: > > Howdy gang. Below is an announcement that we'll start distributing over > the next 24 hours. I wanted to let you folks see it first. In summary: > Perl Methods. Why is this a good thing? ;-) 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] ANN: Perl For Zope
Budi Wiyono wrote: > > Agreed... > We can use COM, CORBA, SOAP, etc. > >On the other hand, we'll likely do even more things like this over the > >year: open up to COM, CORBA, etc. as method facilities. > > > >--Paul Now ya talkin :-) bring it on... 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] Re: [ZDP] Re: [Zope] The agony of the ZOPE Documentation
John Chandler wrote: > > ouch!Interesting.. .And if you write a book, how much will a publisher pay > > you [for example ORA 'Zope in a Nutshell']. > > ..and how many copies do you think ZIAN [Zope in a Nutshell] will sell ? > > Well, I for one would be at the front of the queue to buy a copy. In fact, > if nothing comes to light by the end of the year I wonder if NIP would > finance a sabbatical for me to write one? ;-) I think Mike Pelletier has a contract to do this already... I guess he just needs to find the time :S (of course, any book would be out of date by the time it's published, o I'm not sure of the usefulness...) 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] ANN: Perl For Zope
"J. Atwood" wrote: > I guess my major concern (and mosts) would be that one of the reasons > we like Python/Zope/OO is that it is not Perl and does not have all > that quirky structure and if you introduce Perl into Zope it would be > like throwing a pair of red socks in your white wash, we all go pink. I like that metaphor :-) > After some thought last night (no sleep loss) I could see it working > in the way of a product or a Perl Method and not disturbing the DTML > code (please don't do this). Yup. In the same way we have Python Methods, External Methods & DTML Methods. But no Perl 'Products' and certainly no perl in other Zope code. That would be bad. But from reading the FAQ that seems to be what is happening. In which case, 'cool :-)' > The end result though is that if we can get the Perl community to > start using/developing on Zope it is a big win. My inner secret hope > is that once all the Perl Jocks see some nice Python/DTML code they > will never want to go back. :) Well, you can lead a horse to water but perl horses might just sit there chewing leaves to get their water nonetheless :( 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] Moving the "html_standard_header" in an another folder...
Frédéric QUIN wrote: > I tried to access to "html_standard_header" like that : > > but it didn't work... Try this: note the "" which make it into a python expression where your . will work :-) 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] looking for a "Zope Objects Architecture Model"
Where oh where is this linked from? Chris peter wrote: > > http://www.zope.org/ZopeArchitecture > > -Original Message- > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of > Frédéric QUIN > Sent: 25 May 2000 13:36 > To: [EMAIL PROTECTED] > Subject: [Zope] looking for a "Zope Objects Architecture Model" > > Hello, > > I'm looking for a "Zope Objects Architecture Model" to start developing my > own ZClasses... > > Thanks > Frederic > > ___ > 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 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] looking for a "Zope Objects Architecture Model"
Frederic QUIN wrote: > I really appreciate your help but I had already seen the Zope Architecture > Model. Wath I am looking for is a model which shows the relations between > the Zope Classes (Folder, File, DTML Methods, ...) Try the interfaces wiki: http://www.zope.org/Members/michel/Projects/Interfaces/FrontPage You'll need to browse aroudn a lot but you may find what you need... 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] ANN: Perl For Zope
Chris McDonough wrote: > I presume you're worried about #3. Actually, I shouldn't presume that, > I don't know what you're actually worried about. Umm... what *are* you > all worried about? In short, the programming Utopia that is Zope and Python getting fubar'ed... But, having read the FAQ and seen the responses, it looks like this _isn't_ going to happen, unless everyone at DC is a politician: promising one thing and doing another ;-) cheers, Chris PS: Will all the ActiveState stuff, and the perl stuff in general, be open source? ___ 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] ANN: Perl For Zope
Chris McDonough wrote: > > When people can write their site half in Perl, I could well > > be stuck... > > unless I learn Perl :-) > > I can see this being a genuine concern. That's the first I've seen > (it's a good one). Further from this, I think diversifying the language base to Python/Perl/XSLT/etc is bad. It means that for someone to be 'proficient in Zope' form a marketing or job hunting point of view, they also have to know Perl, XSLT, etc rather than just Python and DTML. It defocuses Zope from what it is. I can read and write Perl if I have to, but I don't want to... it's bad enough just trying o keep up with the stuff being done in Python, adding Perl to that will make it nigh on impossible... 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] ANN: Perl For Zope
Kevin Dangoor wrote: > perl will be able to create complete through the web Products in perl/dtml. No!!! Keep perl and DTML seperate. If people want to play in Perl fine, but keep it seperate from everything else. Perl-only methods and external methods, no DTML mangling and no perl expression in dtml tags. Newbies get confused enough with python... please... 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] syndication??
Webmaster wrote: > The concept is simple enough, but I just don't know how I could do the same > thing in Zope. I am setting up a system where daily articles can be entered > weeks in advance and will only appear on the web site when the date matches > their "go live date" (easy). But I would also like the article to be emailed > to my distribution email list on its "go live date". Check out: http://www.zope.org/Members/chrisw/ZopeEmail/FrontPage http://www.zope.org/Members/lstaffor/ZScheduler Both would do what you want, one isn't implemented and the other doesn't work. If other people are interested, that could change... 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] ANN: Perl For Zope
Chris McDonough wrote: > > This is pretty silly. > > >Very soon we'll be forced, 'cause most Products will be in > > Perl (yse, > > I've read the FAQ and saw "no Perl Products"; it's temporary, > > mark you). I have to say, I'm not convinced it is. Providing Perl methods is like drilling a hole through a dyke wall. By getting loads of perl programmers on board, you suddenly have a large userbase wishing they can do more in perl, so you implement perl products. (yes, I've read the FAQ too, hence my politicians comment...) This userbase gets into hacking the core and bring perl into there. Suddenly Zope is a total mess of perl and python and the whole community shifts onto something cleaner leaving DC high and dry and spoiling a perfect solution... pessimistic, I know, but pessimism if often appropriate in computing... 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] Re: ANN: Perl For Zope
Brad Clements wrote: [snip story about DC peddling drugs... *joke*] Yeah, fair point, but what if it goes the other way... 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] ANN: Perl For Zope
Andrew Kenneth Milton wrote: > I find the whole 'perl will pollute us' mentality quite disappointing, > it's worse than a bunch of school girls arguing over which all boy > band is best. You never seen blokes arguing over which girl band is best ;-) I agree though since it's a moot point anyway. It's going to happen now and we just have to live with it :S 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] Zope Email (syndication)
Kevin Dangoor wrote: > I hadn't seen this one before. Since Zope is getting a Membership component, > I think we'll need a good, solid way to send great big bunches of email to > Members. I'm not sure if you've thought about this aspect or not. I believe > it is a different function with different requirements then what you have in > providing people with email. I only chucked the Wiki up last night to try and structure some thoughts I had about mailing into Zope. They're only ideas and I have no idea how to implement them... I think plain mailhosts will do the sending thing quite well, they handle mail sending using an external mail server :-) I was mainly interested in getting info. into Zope through email. > I think it may also be nice to provide the ability to delegate the mail > sending from a different machine than the Zope web server... Whatever the > mail sending architecture is, it needs to be able to send messages to > hundreds of thousands of users without bogging down people coming to the > site. That's a tall order... Not really, ZEO would solve this problem no matter what the architecture... Please chuck your thoughts/comments in the Wiki though, I'd love to see this go somewhere :-) 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] Acquisition?
I just ended up using this analogy to explain aquisition to someone and wondered whether it might be helpful to others: Aquisition is to a tree of objects what inheritence is to a hierarchy of classes. Is this accurate? 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] Weird interaction between int() and DateTime.timeTime
Shane Hathaway wrote: > Simple: DateTime has been using floating-point calculations. I believe > all of that has been corrected, however, with the new DateTime module, > available in the public CVS repository. And will be in 2.2? 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] Weird interaction between int() and DateTime.timeTime
"Jeff K. Hoffman" wrote: > Python 1.5.2 (#3, Mar 8 2000, 16:34:52) [C] on sunos5 > Copyright 1991-1995 Stichting Mathematisch Centrum, Amsterdam > >>> > >>> f = 1. > >>> f > 2.0 > >>> int(f) > 1 > >>> > the int() function takes a different code path and returns 1, correctly. Forgive my ignorance, but in what way is 1 correct here? Surely 2 is the what should be returned?! 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] Zope Email (syndication)
"Dan L. Pierson" wrote: > The perfect solution involves a mailing list server integrated with > Zope, e.g. ZMailman. This would probably also provide mailing list > archives integrated with Zope and ZCatalog and easy integration of > mailing list and PTK/Squishdot discussion traffic. This has been > talked about before. IMHO, a *lot* of people would like to see it, > including some of the Mailman developers, but no one has the time to > do it. Check out: http://www.zope.org/Members/mindlace/MailZopeMan I like these ideas a lot, but I'd prefer to see the low-level email integration done seperately, so it can be used for other things. My dream would be for Zope to pipe an email address to a specific object/method without the need for any external mail servers or scripts... ZMailman could then very easily be built on top of this. However, if ZMailman is built, I suspect it'd be difficult to use the core functionality to do something else. What is the email equivalent of Medusa? And can we 'borrow' it in the same way? Any takers? ;-) 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] Weird interaction between int() and DateTime.timeTime
[EMAIL PROTECTED] wrote: > >From the python int doc string: > > >>> print int.__doc__ > int(x) -> integer > > Convert a string or number to an integer, if possible. > A floating point argument will be truncated towards zero. I _always_ get bitten by this :( Sorry for my igorance, 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] sequence-*
Graham Chiu wrote: > Many of these variables cause problems for those starting out with Zope. > Why not create alternate names such as sequence_* and degrade the > former? Gotta agree with this :-) 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] zcatalog & keyerror 30
Try the patching described in the following message: http://zope.nipltd.com/public/lists/dev-archive.nsf/ByKey/C15EB30D0FAF1057 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] Perl Zope
Paul Everitt wrote: > You're absolutely right on this. Amos' post recently described the > various things in various stages of release that should give some hope > for the situation. These things really are an improvement. I'm > crossing my fingers that this turns into a torrent of material that > turns an area that is a nightmare into an area of great pride. What part do you see ZDP playing in this? 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] Zope Email (syndication)
"Dan L. Pierson" wrote: > It has been noted a number of times that the current MailHost can and > should be replaced with one based on the standard smtplib module. A > patch is available somewhere and it's rumored to be in Zope 2.2. It is in 2.2 :-) > > My dream would be for Zope to pipe an email address to a specific > > object/method without the need for any external mail servers or > > scripts... > > I think the current Python modules support this. For one thing, > Mailman is written in Python and clearly does this kind of stuff. This has made me happy :-) What do we need to do to make this happen then? 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] Zope Email (syndication)
mindlace wrote: > I don't quite see why MailHost isn't "low level integration" Does MailHost do recieves as well as sends? > > My dream would be for Zope to pipe an email address to a specific > > object/method without the need for any external mail servers or > > scripts... > > Making Zope an MTA seems like a lot of extra work. Now, Zope as an IMAP > server I could get my head around... Forgive my ignorance, but what is the difference? > Well... I think that it's probably the shortest route to a functioning > zope archive to use mailman- already written in python, and modular > enough that we should be able to take it one step at a time. If this approach would let users email content into things like the PTK, or more generally to create Zope objects by emailing content to an address that corresponds to a Zope method or object then that's what I'm on about. Archiving mailing lists shouldn't be a big issue since there are already Zope mailing list archives that are searchable in ways currently more powerful than ZCatalog has to offer. > Note that no mailing list software I know of tries to be an MTA. With > sooo many different implementation issues, making zope an MTA would be a > big challenge, IMNSHO. If it's not necessary, then don't do it, but if it is to get true mailing of content into Zope then lets get started on it it now so the end result arrives sooner... 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] Deprecation of ?
Kevin Dangoor wrote: > Or, how about a tag (which could even start out as a simple > synonym for ) so that people won't be confused about what is > python and what is a variable lookup with the special calling properties. This is a great idea :-) New Old--- cheers, Chris PS: didn't Paul Everitt comment on this in the Perl thread? ___ 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 Email (syndication)
ethan mindlace fremen wrote: > An imap server stores the messages that have been recieved. An MTA > (Mail Transport Agent) goes about sending mail from one place to > another. If there were an IMAP server in zope, you could "recieve" the > mail as an object in zope, but it would still be delivered to zope by an > MTA. Which raises the question: What MTA would you use for a Zope IMAP server and does it matter? Again, forgive me if that's a stupid question ;-) > Unless you want to extend what you can do with an email. I would really > like to be able to take emails that people send to zope.org and > propogate them to different sections of the site, for example. Yup, this sounds like mail-in content to me, which is what I'm after :-) > Based off of what you're saying, I think it would be more appropriate to > try to go for an imap server in zope. Note that this is non-trivial too > :). Well, how do we get started? (I may not be the best person as you can see from my lack of knowledge in this area ;-) 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] Traceback?
Martijn Pieters wrote: > If you switch debug mode off, tracebacks will be included in error messages as > HTML comments, thus rendering them invisible from the unsuspecting site > visitor. Is that true even if you override standard_error_message? 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] Traceback? Codechange!
Tino Wildenhain wrote: > Do I have to copy this message to the collector and wait for > a couple of months or can we do it instantly? ;-) Do both, that way, hopefully the change will make it into 2.2 and you get your problem fixed now. I always thought the line was included in the standard_error_message and I'm a bit surprised that it's actually such a nasty hack that doesn't produce correct 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 )
Re: [Zope] Deprecation of ?
Paul Everitt wrote: > Shorthand notations are convenient, but when they get inconsistent, you > wind up with the other P language. :^) Woudl that be the one we're welcoming into the fold? ;-) 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] Traceback? Codechange!
Martijn Pieters wrote: > > > Do I have to copy this message to the collector and wait for > > > a couple of months or can we do it instantly? ;-) > > Do you still experience the Collector as black hole? Could you report this to > Tres Seaver, the person currently monitoring the COllector and cleaning it > out? Thanks! It HAS got a lot better since Tres started, but there's still a load of cruft in there; stuff that's not completed but is so old that it's now irrelevant. A small point, could all searches/browsing/etc all be sorted in reverse date order? That way I wouldn't have to trudge through a lot of Zope 1.x problems just to get to the stuff that's relevant. On a more radical thought, there was talk a while back of ditching the collector in favour of a Tracker, whatever happened to that plan? 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] Wiki change notification
Shane Hathaway wrote: [snip wiki change notification] What's does NetMind actually do? The problem I see here is getting an email everytime someone hits update, which can mean you get a storm of emails when a coupla people edit a Wiki. I thought of a Zope-based solution for this but haven't had time to implement, not to mention it requires product that's bust: The idea is to only get notified once a day when a Wiki _Web_ has been changed... The folder the web is in would have a lines-type property containing the email addresses of everyone 'subscribed' to that web. And a flag called changed... any page changes, the flag gets set. Once a day (needs ZScheduler :( ) a method goes and checks the flag, compiles a message containing links to all the pages that have changed (including being created or deleted...) and mails it to everyone in the list. Anyone want to implement it? ;-) 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] Wiki change notification
Shane Hathaway wrote: > Heh heh... that's almost exactly what NetMind does, Chris. Cool... I'm guessing it's not written in Zope though... ;-) 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] ZDiscussions and Zope 2.2
Hi Cary, I'd be really happy if you could try out Squishdot 0.4.0 for what you're doing. It's kindof ZDiscussions on steroids and should work with 2.2, although I haven't had a chance to test it yet... It definitely does file attachments, though, and I know it works with Zope 2.1.6. 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] Working with ZopeTime
The python expression syntax strikes again :( Tom Scheidt wrote: > You're trying to embed DTML within python here. you really want (untested): 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] delete dictionary
"urs.beyeler" wrote: > > > ... and a bit later in the document i need to delete them again ... > how can i do that? no one of my DELETE-experiments worked ... thnx.urs Try the following (untested): I found this in the mailing list archives 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 )
Re: [Zope] Zope 2.0.1 export
Paul Gresham wrote: > Hi, I have an old linux system running a document store I wrote some time > ago in Zope 2.0.1. I've tried exporting my document store but cannot seem to > get it re-imported into the latest version of Zope. I can ftp the documents > out, but of course lose all the information about each document. Does anyone > have any ideas on how to get this working ? Have you tried just replacing the data.fs of a new Zope insatll with the old one? Maybe give it a try with a backup... 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] Working with ZopeTime
Shane Hathaway wrote: > Close but no brownies for you. :-) Make that... > > Ack, a genuine typo... I'm going home to sulk ;( 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] Squishdot 0.4.0 and Zope 2.2
Cary O'Brien wrote: [snip Squishdot 0.4.0 doesn't work with Zope 2.2] > Give up, traceback below. I guess it doesn't then :( I suspect there will need to be a 0.4.3 (maybe 0.5.0) release that works with Zope 2.2. However I'll probably use the new traversal interface for it so it won't work with any versions of Zope prior to 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] KeyError since installing Squishdot 0.4.0
On Thu, 1 Jun 2000, David Trudgett wrote: > Since I installed Squishdot 0.4.0 (yesterday) on Zope 2.1.6 (under Red Hat > Linux) I've been getting KeyErrors when clicking on an article's topic > image, which uses an URL like this: > > http://myserver/Zope/testsquish/search?subject=Squishdot&op=articles Yep, sorry, this was a bug introduced in the move to ZCatalog. The workaround is to append &body= to the above URL. There's also a patch in the [EMAIL PROTECTED] archives. This will be fixed in 0.4.1 due on Monday once I get back from my holiday :-) 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] Current date in DTML
Ivan Raikov wrote: > How can I get the current date & time (preferably as a > DateTime.DateTime object) in DTML? I cannot instantiate a DateTime or 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] zope:change strings on place
Vincent Maton wrote: > I receive : 2000-04-13 > I want : 13-04-2000 > or: 13 april 2000 (this one is better but ???) Try ...as well 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] fmt weirdness
...works fine ...barfs with a 'Document Template Parse Error': Invalid attribute name, "%B", for tag , on line 5 of index_html weird huh? ideas anyone? 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] A problem with image caching affecting certain versions of Netscapebrowsersbrowsers
Paul Browning wrote: > > ZWN-2000-06-01 says: > > "Itamar Shtull-Trauring and Chris Withers tracked down a problem with > image caching that affected certain versions of Netscape browsers." http://classic.zope.org:8080/Collector/1270/view 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] (Database Recovery) Help: Weird KeyError with 2.2.0a1
Pete Kazmier wrote: > Is there any way to salvage any of my database? I created a very cool > ZClass and I really don't want to start over from scratch. Like I > said, I'm very new to Zope, but I did notice that I could just do a > 'strings Data.fs' and pull out most of my custom DTML, but I was > hoping there would be an easier way. Checkout the Tranyliser product/how-to(?) on zope.org and see if you can chop off the broken bits... Your packing the ZODB may make this not useful, but it's worth a try :( 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] stupid question I guess
josh on wrote: > can I set a local variable in zope on a dtml page > Yup: Nice syntax, huh? ;-) 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] How to catch URL in DTMLDocuments/Methods
Evan Simpson wrote: > 3. Use a SiteAccess Access Rule on the folder, having it check to see if > the next object to be traversed is your DTMLMethod. If so (and if the next > name doesn't start with 'manage'!) remove the rest of the traversal path and > store it in a REQUEST variable. Not too bad, but SiteAccess is fragile (it > doesn't work with Zope 2.2a). I was going to implement this as a seperate PathHandler product for Zope 2.2 when the beta comes out. someone has already sent me their alpha code for 2.1.x but it was apparently unstable. cheers, Chris PS: Evan is SiteAccess(or its replacement) going to ship as an 'official' product for Zope 2.2? ___ 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] WebObjects
Michael Bernstein wrote: > As I recall (from a WebObjects demonstartion I sat through a > long time ago), WO creates the most godawful mangled URLs > that I had ever seen. As a result, a WO site cannot be > spidered by search engines, or converted to a static copy > using wget. Zope's not too hot on this either what with index_html instead of index.html the problem of "is /something' a 'file' or a 'folder' from wget's point of view?" IIRC, it currently would download a zope folder object as a single file :( I've also been bitten by this in Wiki's since links aren't generated with absolute_url and so I sometimes get /MyWikiFolder/OneWikiPage/AnotherWikiPage which throws up a nasty __getitem__ exception (particularly in Netscape, which seems to like appending / onto the end of FrontPage in the URL box...) 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] Newbie Question,
CURTIS David wrote: > I wish to use use the date of a database file in my dynamic html code. For example, >this database was last updated on 06/06/2000. I suppose that there must be a dynamic >html tag that zope uses. What could it be? I looked at all the documentation and >have yet to discover it.Any help is apprechiated. ...obviously... :( This will give you the time your current object was last modified. Why has this not been renamed to something sensible? We lost PrincipiaSearchSource a while back, I hope this goes the same way ;-) 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] stupid question I guess
josh on wrote: > > wow great answer, thanks that has just peeled off another layer of zope > mystery for me. > > can this be put in the dynamic faq? what dynamic FAQ? 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] What is "favicon.ico" and why is it an error?
"J. Michael Mc Kay" wrote: > Now that you have done this, you have to put it in every directory > accessible to IE to prevent excessive logging of errors on your server. Did someone say 'acquisition'? You could just have one icon in the root folder and let it be acquired :-) As to what this icon is for: Fire up IE and go to the bookmarks menu. See those little icons? That's favicon. If one isn't found, the default one is used. You have two choices: Put up with the errors and stick to your principles, or do a bitmap and sell your soul ;-) It makes little to no difference to IE users... 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] Zope URLS (was re: WebObjects)
Gregor Hoffleit wrote: > Regarding wget: > > AFAICS, the problem is that traditionally in a static web server, if you try > to access a URL like 'http://host/xyz' (without trailing slash), the server > will return you an error '301 Moved permanently' and will point you to the > new location 'http://host/xyz/'. Zope instead (if 'xyz' is a folder and > there's a document 'xyz/index_html') immediately returns the rendered > index_html if you request 'http://host/xyz'. > > Now whenever the 301 to the URL with a trailing slash happens, wget takes > this as a hint that this path must have been a directory, and saves the > result as index.html. With Zope, wget doesn't get this hint. > > Reading this again, I wonder if this qualifies as a bug in Zope, or is there > a good reason for this behavior ? It's not so much a bug as a complication caused by the fact that Zope isn't a filesystem server, but an orb presented through the web (correct me if I'm slightly out ;-) For example http://host/x/y/z Could be: -A container object z (which should have a / after it?) -A dtml-document in folder /x/y/ -The result of executing the z method on the y object in the /x/ folder. -The result of executing the z method on the result of executing the y method on the x object in the root folder. I'm sure acquisition adds some more options/confusions to this... ;-) So, that's the problem, I don't know what the solution is :( I do think there must be a better way than Zope's kludgey BASE tag thing. Maybe all Zope URLs should end in a / ? Quite radical, but maybe the most sensible and least confusing? :/ 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] Zope URLS
Rik Hoekstra wrote: > so what is the use of the /? Couldn't all Zope URLs end without a /? I'm afraid this is the whole problem and it's caused by relative urls. Say you're at http://host/x/y where y is a container that renders index_html to be displayed, and in that index_html you haev a ref: b Now what you mean by that is http://host/x/y/b but because there's no / on the end, you actually get http://host/x/b How Zope handles this is by sticking in that godawful base tag: http://hosy/x/y/"> which makes relative URLs work properly. BUT, from what Gregor said earlier is a 'non-standard' way of doing it: > traditionally in a static web server, if you try > to access a URL like 'http://host/xyz' (without trailing slash), the server > will return you an error '301 Moved permanently' and will point you to the > new location 'http://host/xyz/ which is why I suggested all Zope URLs should end in / as all zope objects can be containers in the 'traditional' sense. Or we could just re-write HTTP to provide more useful information in the first place ;-) 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] Re: ZSQL Bug in 2.1.6 [patch]
Phill, The zope list ([EMAIL PROTECTED]) is great for this sort of question ;-) Phill Hugo wrote: > Sorry to bother you. I've a quick question regarding acqusition in ZSQL > methods. When I pass args the method ignores the REQUEST stuff unless I > specify it in the args list. Is there a way to pass one arg specifically > while allowing the others to be seen in the aquired namespace? So you're calling ? If so, you want: If you're doing that already, I can't help you, it's probably a bug :/ 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] Plea: sequence-item and sequence_item in 2.2?
Tony McDonald wrote: > Can I make a plea that the .diff patch that Jonothan Farr posted a > while back be included into the 2.2 release? > http://www.zope.org/Members/jfarr/Patches/dtml-in-sv Pretty Please :-) Chris ___ Zope maillist - [EMAIL 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] Wrong mime type sent by Zope on every page
Martijn Pieters wrote: > You probably did a 'HEAD' request, at which point Zope doesn't render the > page, but rather only acknowledges it's existence by returning above (bogus) > response. That's not very search engine friendly :( The head should return the same type as the real document otherwise what's the point of returning a head at all?! I think this is in the collector already, but if it isn't, it should be... 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] Wrong mime type sent by Zope on every page
Martijn Pieters wrote: > But what if there are side effects to calling the document? What should > happen? I don't want a counter to go up or anything just because a HEAD was > called on the object. > > This is not as black-and-white and simple an issue. The web is an imperfect medium, but returning a junk content type isn't good. I don't know the answer to the sideeffects thing, but I would come down on the site of 'if you expose something through the web, you should expect to have it spidered...' but that's cause I value search engine hits a lot. The trick would be to set the content type when the object is created and have it stored in the object, not computed for each request. Would a property suffice for that? Then, say, if you knew your DTML method was going to return plain text, you could set the content-type property to text/plain. Thsi could be returned in the head without having to evaluate the object to return the head, which is a bit innefficient. I'm sure that's possible and better than it is now, but at the absolute least the junk should cover the most likely outcome, ie text/html instead of application/octet-stream, which is possibly the worst one I can think to choose ;-) 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] PARENTS
Bill Anderson wrote: > > Tom Scheidt wrote: > > > > Hi All, > > > > I can't get > > > > > > Have you tried ? > I dont recall why ATM, but my rule-of-thumb is that if you are calling > ALLCAPS (ie. REQUEST,PARENTS...) wrap it in quotes. The all-caps things isn't the problem, will work fine :-) The problem is the [1] which is a python way of saying give me the 1st element in the list object called PARENTS. It being python, it need to be wrapped in " ";-) 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] Wrong mime type sent by Zope on every page
Brian Lloyd wrote: > What if we change this to: > > if a 'content_type' attribute exists, it is used > > else if the object's id seems to have a file extension > (. in the id), try to use guess_content_type > > > else if there is a 'default_content_type' attribute, use that It would be cool if this could be acquired :-) > > else fall back to the hated application/octet-stream >(or, I've seen x-unknown-content-type used before, > but I don't know if this is really any better). > > Then we could put a 'default_content_type' attribute in the > class of dtml documents and methods, which would take care of > the most common case. Thoughts? Looks great otherwise :-) 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] Guide to writing a Python Product for Zope?
"Dan L. Pierson" wrote: > Sounds pretty good. Setting 'default_content_type' can then be > another item in the unwritten Guide to Writing a Zope Product. Well, hopefully this will actually get written sometime and we can all stop scratching our heads everytime we want to know how to do something. ...that, or hacking it till it works and finding the thing we used was being deprecated in the next point release... ;-) 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] ANN: ZUBB 0.3.2 (Zope Ultimate Bulletin Board)
Jim Harrison wrote: > I've customized Squishdot myself to add this feature, which is very useful > in collaborative work. Jim, could you forward me the code so I can work it into an option in a future release of Squishdot? 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] Announce: Squishdot 0.4.1 Released
Squishdot 0.4.1 is now available from http://www.zope.org/Members/chrisw/Squishdot/ The following major changes were made: - You can now use things like 'site_header' and 'site_footer' in 'showMessage' and 'showError'. - Security has been tightened and a new set of roles introduced. - The bug requiring a 'body' parameter to be supplied to 'search' has been fixed. There are some other small changes and improvements. If you run into problems, remember Squishdot has a mailing list at eGroups and a bug collector on SourceForge. 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] All ZSchedule archives on zope.org broken ! (Was: Re: [Zope] ZScheduler-0.0.5 problem)
Holger Lehmann wrote: > I attempted the same and had the same fate. *All* archives you try to donwload > from http://www.zope.org/Members/lstaffor/ZScheduler are truncated (!) to 20480 There is a Wiki for ZScheduler which has a FAQ that covers this. Apparently Loren's tar program puts a load of junk at the end. I think the message is just a warning and the unarchiving has worked fine... If anyone knows different, please say ;-) 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] scared
josh on wrote: > Would it be a bad idea to just install another copy of zope in a different > directory? Would that clash somehow? Maybe, but not in any bad way, the worst I can see happenign is that they try and get the same ports on your machine. Just run up one instance at a tiem to make sure that doesn't happen (it shouldn't anyway, but it never hurts to be paranoid) You could also try copying the data.fs from the old install over the one in the new install if you want to get your old data back, no reason why it shouldn't work. As for your error, it looks like something bad happened when zope tried to write to the log file. Did you do any funny configuration fro your logging? What version of Zope are you using? 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] Generating products that perform a smart clone of a master site?
Hamish Lawson wrote: > I envisaged turning a tutor's site into a product that could be > instantiated. Hi Hamish, I'd suggest downloading the ZWikiWeb product from: http://www.zope.org/Members/chrisw/ZWikiWeb It does pretty much exactly what you're talking about. It's doesn't take very long to knock up a product like this and I don't think I even used ZClasses. My basis was the example stuff from the Zope Content Managers Guide. I'm guessing this is what you're trying to do. If you're looking into using inheritence (so for example, your tutor changes his example, which causes all the instances to be updated) then you'll need to use ZClasses. I have vague memories of the Zope Developers Guide covering this, if not, try BeeHive's ZClass guide. 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] ZWiki/Structured Text formatting surprise
Hi, Just noticed that (_.None,_, gets rendered as (.None,, in a structrued text wiki. Not useful :/ I've got around this by doing ('_'.None,_, but that's not really the right idea. Does anyone know of the proper way of escaping this? 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 )