Re: [Zope] SiteAccess problems in Zope 2.2.0a

2000-05-18 Thread Chris Withers
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 -

Re: [Zope] ZWiki RecentChanges problem with 2.1.6

2000-05-18 Thread Chris Withers
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

Re: [Zope] Deleting folder-like objects.

2000-05-22 Thread Chris Withers
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

Re: [Zope] how do you iterate over tiny tables?

2000-05-22 Thread Chris Withers
Graham Chiu wrote: dtml-in "thisdirectory.objectValues(['TinyTable'])" dtml-in sequence-item dtml-var valuebr /dtml-in /dtml-in Is this code in a DTML document or method? I would like to print out the title attribute of the tiny table now, but dtml-var

Re: [Zope] Netscape Image Problems (LoginManager?)

2000-05-22 Thread Chris Withers
[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

Re: [Zope] Netscape Image Problems (LoginManager?)

2000-05-22 Thread Chris Withers
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

Re: [Zope] Broken ZWiki

2000-05-22 Thread Chris Withers
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

Re: [Zope] Updating one data.fs from another

2000-05-23 Thread Chris Withers
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

Re: [Zope] does this app exist?

2000-05-23 Thread Chris Withers
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:

[Zope] Zope Newbie Questions

2000-05-23 Thread Chris Withers
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

Re: [Zope] Really dumb newbie question

2000-05-23 Thread Chris Withers
Andy Gates wrote: dtml-if action == "add" dtml-if "action=='add'" Been there, done that, learned the magic incantations ;-) The " " makes it into a python expression... cheers, Chris ___ Zope maillist - [EMAIL PROTECTED]

Re: [Zope] dtml-in REQUEST

2000-05-23 Thread Chris Withers
try just plain dtml-var REQUEST 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? dtml-in REQUEST dtlm-var

Re: [Zope] Netscape Image Problems (LoginManager?)

2000-05-24 Thread Chris Withers
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())

Re: [Zope] The agony of the ZOPE Documentation

2000-05-24 Thread Chris Withers
[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

Re: [Zope] 2.1.4 to 2.1.6 nightmare

2000-05-24 Thread Chris Withers
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

Re: [Zope] Importing a 2.1 .zexp file into 2.2

2000-05-24 Thread Chris Withers
Kevin Dangoor wrote: STRONGError Type: InvalidObjectReference/STRONGBR STRONGError Value: Attempt to store a wrapped persistent object/STRONGBR Apparently storing a wrapped object is a security hole, I bumped into a post about it in the collector after searching for ZCatalog... So,

Re: [Zope] Reloading products

2000-05-24 Thread Chris Withers
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 -

[Zope] Re: [ZDP] Re: [Zope] The agony of the ZOPE Documentation

2000-05-24 Thread Chris Withers
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...)

Re: [Zope] E-Commerce solution using Python and Zope.

2000-05-24 Thread Chris Withers
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:

Re: [Zope] Broken ZWiki

2000-05-24 Thread Chris Withers
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.

Re: [Zope] ANN: Perl For Zope

2000-05-25 Thread Chris Withers
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

Re: [Zope] ANN: Perl For Zope

2000-05-25 Thread Chris Withers
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

Re: [Zope] Re: [ZDP] Re: [Zope] The agony of the ZOPE Documentation

2000-05-25 Thread Chris Withers
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,

Re: [Zope] ANN: Perl For Zope

2000-05-25 Thread Chris Withers
"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

Re: [Zope] Moving the html_standard_header in an another folder...

2000-05-25 Thread Chris Withers
Frédéric QUIN wrote: I tried to access to "html_standard_header" like that : dtml-var Models.html_standard_header but it didn't work... Try this: dtml-var "Models.html_standard_header" note the "" which make it into a python expression where your . will work :-) Chris

Re: [Zope] ANN: Perl For Zope

2000-05-25 Thread Chris Withers
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

Re: [Zope] syndication??

2000-05-25 Thread Chris Withers
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

Re: [Zope] ANN: Perl For Zope

2000-05-25 Thread Chris Withers
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

Re: [Zope] Re: ANN: Perl For Zope

2000-05-25 Thread Chris Withers
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

Re: [Zope] ANN: Perl For Zope

2000-05-25 Thread Chris Withers
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.

Re: [Zope] Zope Email (syndication)

2000-05-25 Thread Chris Withers
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

Re: [Zope] Weird interaction between int() and DateTime.timeTime

2000-05-25 Thread Chris Withers
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

Re: [Zope] Weird interaction between int() and DateTime.timeTime

2000-05-25 Thread Chris Withers
"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

Re: [Zope] Zope Email (syndication)

2000-05-25 Thread Chris Withers
"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

Re: [Zope] Weird interaction between int() and DateTime.timeTime

2000-05-25 Thread Chris Withers
[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

Re: [Zope] sequence-*

2000-05-26 Thread Chris Withers
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]

Re: [Zope] zcatalog keyerror 30

2000-05-28 Thread Chris Withers
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

Re: [Zope] Perl Zope

2000-05-28 Thread Chris Withers
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

Re: [Zope] Zope Email (syndication)

2000-05-28 Thread Chris Withers
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

Re: [Zope] Deprecation of dtml-var ?

2000-05-29 Thread Chris Withers
Kevin Dangoor wrote: Or, how about a dtml-expr tag (which could even start out as a simple synonym for dtml-var) 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

Re: [Zope] Zope Email (syndication)

2000-05-29 Thread Chris Withers
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

Re: [Zope] Traceback?

2000-05-29 Thread Chris Withers
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

Re: [Zope] Deprecation of dtml-var ?

2000-05-29 Thread Chris Withers
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]

Re: [Zope] Traceback? Codechange!

2000-05-29 Thread Chris Withers
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

Re: [Zope] Wiki change notification

2000-05-29 Thread Chris Withers
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

Re: [Zope] Wiki change notification

2000-05-29 Thread Chris Withers
Shane Hathaway wrote: Heh heh... that's almost exactly what NetMind does, Chris. g Cool... I'm guessing it's not written in Zope though... ;-) cheers, Chris ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope **

Re: [Zope] Working with ZopeTime

2000-05-30 Thread Chris Withers
The python expression syntax strikes again :( Tom Scheidt wrote: dtml-if "date1 == 'dtml-var ZopeTime fmt=Day'" You're trying to embed DTML within python here. you really want (untested): dtml-if "date1 == _DateTime.now().Day()" cheers, Chris

Re: [Zope] delete dictionary

2000-05-30 Thread Chris Withers
"urs.beyeler" wrote: dtml-call "REQUEST.set('Wednesday',{'titel' : 'how to do that?'})" ... 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): dtml-call "del

Re: [Zope] Zope 2.0.1 export

2000-05-30 Thread Chris Withers
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

Re: [Zope] Working with ZopeTime

2000-05-30 Thread Chris Withers
Shane Hathaway wrote: Close but no brownies for you. :-) Make that... dtml-if "date1 == _.DateTime().Day()" Ack, a genuine typo... I'm going home to sulk ;( Chris ___ Zope maillist - [EMAIL PROTECTED]

[Zope] Squishdot 0.4.0 and Zope 2.2

2000-05-31 Thread Chris Withers
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

Re: [Zope] KeyError since installing Squishdot 0.4.0

2000-06-01 Thread Chris Withers
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:

Re: [Zope] Current date in DTML

2000-06-06 Thread Chris Withers
Ivan Raikov wrote: How can I get the current date time (preferably as a DateTime.DateTime object) in DTML? I cannot instantiate a DateTime dtml-var ZopeTime or dtml-var "_.DateTime()" cheers, Chris ___ Zope maillist - [EMAIL PROTECTED]

Re: [Zope] zope:change strings on place

2000-06-06 Thread Chris Withers
Vincent Maton wrote: I receive : 2000-04-13 I want : 13-04-2000 dtml-var "_.DateTime(date)" fmt="%d-%m-%Y" or: 13 april 2000 (this one is better but ???) dtml-var "_.DateTime(date)" fmt="%d %B %Y" Try dtml-var "_.DateTime(date)" fmt="%x" ...as well cheers, Chris

[Zope] fmt weirdness

2000-06-06 Thread Chris Withers
dtml-var "_.DateTime()" fmt="%d %B %Y" ...works fine dtml-var "_.DateTime()" fmt='%d %B %Y' ...barfs with a 'Document Template Parse Error': Invalid attribute name, "%B", for tag dtml-var "_.DateTime()" fmt='%d %B %Y', on line 5 of index_html weird huh? ideas anyone? cheers, Chris

Re: [Zope] A problem with image caching affecting certain versions of Netscapebrowsersbrowsers

2000-06-06 Thread Chris Withers
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 chee

Re: [Zope] (Database Recovery) Help: Weird KeyError with 2.2.0a1

2000-06-07 Thread Chris Withers
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

Re: [Zope] stupid question I guess

2000-06-07 Thread Chris Withers
josh on wrote: can I set a local variable in zope on a dtml page dtml-var variablename = 1 Yup: dtml-call "REQUEST.set('variablename',1)" Nice syntax, huh? ;-) Chris ___ Zope maillist - [EMAIL PROTECTED]

Re: [Zope] How to catch URL in DTMLDocuments/Methods

2000-06-07 Thread Chris Withers
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,

Re: [Zope] WebObjects

2000-06-07 Thread Chris Withers
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

Re: [Zope] Newbie Question,

2000-06-07 Thread Chris Withers
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

Re: [Zope] stupid question I guess

2000-06-07 Thread Chris Withers
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]

[Zope] Zope URLS (was re: WebObjects)

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

[Zope] Zope URLS

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

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

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

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

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

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

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

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

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

Re: [Zope] PARENTS

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

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

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

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

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

[Zope] Announce: Squishdot 0.4.1 Released

2000-06-09 Thread Chris Withers
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. -

Re: [Zope] All ZSchedule archives on zope.org broken ! (Was: Re: [Zope] ZScheduler-0.0.5 problem)

2000-06-19 Thread Chris Withers
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

Re: [Zope] scared

2000-06-20 Thread Chris Withers
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

Re: [Zope] Generating products that perform a smart clone of a master site?

2000-06-27 Thread Chris Withers
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

Re: [Zope] Can't override standard_error_message on NotFound?

2000-06-27 Thread Chris Withers
"R. David Murray" wrote: On Mon, 26 Jun 2000, matt wrote: I'm having some problems with standard_error_message on 2.2.0b2. According to the mailing list archives I should be able to override NotFound errors (I even cut-n-pasted http://www.zope.org/standard_error_message/view_source into my

Re: [Zope] tree problem, addendum

2000-06-28 Thread Chris Withers
"Walter A. Aprile" wrote: It appears I have messed up the Id propery, but I do not know how. If you could send the code for the Article class to the list, maybe someone can spot what's going on... cheers, Chris ___ Zope maillist - [EMAIL

Re: [Zope] Data.fs.lock?

2000-06-28 Thread Chris Withers
Erik Enge wrote: How would you do it? In Unix you can't check if the file is being read to (can you?), so if you start backing up a 2GB Data.fs file and then the Zope process starts writing to it, you'll have garbage :-). I don't think you'd have garbage since it's just transactions beign

Re: [Zope] ZPatterns: Deleting objects from a Rack?

2000-06-28 Thread Chris Withers
Scott Parish wrote: I'm not entirely clear how asking the object to delete itself in this case is going to improve the situation over just asking the rack to, but I think that was the intent. Okay, I see the intent now too, but I agree with you that I can't see what advantage asking the

[Zope] Squishdot WILL NOT work with Zope 2.2 until Squishdot 0.4.4

2000-06-29 Thread Chris Withers
[EMAIL PROTECTED] wrote: [snip - I can't create a Squishdot instance ] Zope 2.2.0b3 I seem to be saying this a lot lately so apologies for the copy to the Zope list: Squishdot does not currently work with Zope 2.2 It WILL NOT work with Zope 2.2 until about version 0.4.4 of Squishdot. It

Re: [Zope] Data.fs.lock?

2000-06-29 Thread Chris Withers
Erik Enge wrote: One could possibly have a function that put new transactions in a new file, and then - when told it was ok to do so - it could update the regular data.fs file. Hmm, about extending this so you have 'rotating data.fs files' in the same way you have rotating log files?

Re: [Zope] ZPatterns: Deleting objects from a Rack?

2000-06-29 Thread Chris Withers
Bill Anderson wrote: What happens when the object is in multiple racks? (Assuming it is possible) Then it'll be missing if something tries to get it from a rack. The same thing as would happen if something tried to get it from a single rack after it'd been deleted. So this case should be

Re: [Zope] ZPatterns: Deleting objects from a Rack?

2000-06-29 Thread Chris Withers
Scott Parish wrote: Another thought i just had was that if you deleted by placing a call to the Rack, then you couldn't allow the class to override manage_delete. You might want to do such (overriding) if you wanted it to clean up a catalog or perform some other auxiliary function before

[Zope] Re: Zope won't let me call aq_parent in ZWiki?

2000-06-29 Thread Chris Withers
Hi Curtis, Sorry for the late reply, I've been on holiday :S Curtis Matthews wrote: I've just recently noticed I'm not able to call the JumpSearch and RecentChanges methods in the Basic ZWiki because I'm not authorized to call a method called aq_parent. Has anyone else had this problem,

Re: [Zope] Passing Parameter without ?

2000-06-29 Thread Chris Withers
saif wrote: eg:- www.localhost.com/para1/para2 I'm planning a product for Zope 2.2 that will do just this sort of thing... If you can bear with me, it might well be worth the wait :-) cheers, Chris ___ Zope maillist - [EMAIL PROTECTED]

Re: [Zope] ZCatalog Search Q

2000-06-30 Thread Chris Withers
Leonard Chan wrote: I'd like to include some attributes from the actual objects (maybe by accessing the actual object via id, etc?) in the result list. You can get the actual object with: Catalog.getobject(data_record_id_) inside your dtml-in loop. This is supposedly a 'bad' thing to do but

[Zope] Alternative Rendering (was Re: [Zope] Messing with the namespaces stack)

2000-06-30 Thread Chris Withers
Jim Hebert wrote: Uh oh, careful, I'm encouragable and you'll really have a monster on your hands. ;-) ego stroke I like the way you think, lots of good will come of it.. ;-) /ego stroke I am bucking a trend, I am starting to realize. Big time! The assumption seems to be that any given page

Re: [Zope] ZCatalog Search Q

2000-06-30 Thread Chris Withers
Leonard Chan wrote: This is supposedly a 'bad' thing to do but there's nothing better right now... Why is this a 'bad' thing? 'Cause it requires loading the whole object? Nope, 'cos it doesn't work with anything that plays with traversal, like SiteAccess. Something better should be coming

Re: [Zope] SQL method: Trying to be too clever?

2000-06-30 Thread Chris Withers
Andy, An error message / traceback would be useful ;-) Rik Hoekstra wrote: insert into related (rootstory, dtml-sqlvar field) in that case you just want a dtml-var field (you not passing it as sql query values) Nope, the dtml-sqlvar field is for quoting use in SQL statements, kindof like

[Zope] Every user should have the Anonymous role everywhere (was :Re: [Zope]Authentication, Anonymous and Public)Authentication, Anonymous and Public)

2000-07-01 Thread Chris Withers
Dieter Maurer wrote: In Zope, each user has a set of roles. Any user has the "Anonymous" role. Log-in users may have additional roles. I'm not convinced this is true... Quoting from the LoginManager CHANGES.TXT file: Generic User Source, like the GenericUserFolder product it was inspired

Re: [Zope] Re: Every user should have the Anonymous role everywhere (was :Re: [Zope] Authentication, Anonymous and Public)

2000-07-03 Thread Chris Withers
Dieter Maurer wrote: In Zope, each user has a set of roles. Any user has the "Anonymous" role. Log-in users may have additional roles. I'm not convinced this is true... The Content Manager Guide (Security, Authorization) states it this way: The "Anonymous" role, which

[Zope] Comments on 2.2 Help System

2000-07-03 Thread Chris Withers
Apart from the 'Wow! Zope has Help!' comment: The API documentation is very useful. How do we feedback about it? (eg: why is there PropertySheet and PropertySheets?) When will it be complete? How do we submit docs to appear in it? What is the moderation process like? Sadly, the rest of the

Re: [Zope] Authentication, Anonymous and Public

2000-07-04 Thread Chris Withers
Dieter Maurer wrote: A user that does not log in, i.e. a user you know nothing of, gets the "Anonymous" role automatically (at least with "acl_users"). A logged in user may not get the "Anonymous" role. This does not provide additional security, because this user may simply shut down his

Re: [Zope] Re: Every user should have the Anonymous role everywhere(was :Re: [Zope] Authentication, Anonymous and Public)

2000-07-05 Thread Chris Withers
Stuart Bishop wrote: or in BasicUserFolder. Either way it should go in the collector. Issue 1391, or in a slightly different phrasing, Issue 467 cheers, Chris ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope **

Re: [Zope] the dtml-calendar

2000-07-05 Thread Chris Withers
I'm downloaded the dtml-calendar with the tar.qz. My unzip asks me what to change the qz to before it will unzip, and i dont know what to change it to. i tried .doc, .zexp, and left it blank. if u know what it is, tell me. Try .tar.gz That should make WinZip happy ;-) Chris

Re: [Zope] Authentication, Anonymous and Public

2000-07-05 Thread Chris Withers
Brian Lloyd wrote: Can you give me a scenario that shows the problem so that I can reproduce it? (walk me through what objects to create, what permissions to give, how to try to access them). This should be done with standard built-in User/UserFolders if possible.

Re: [Zope] Calculate values?

2000-07-06 Thread Chris Withers
Peter Arvidsson wrote: I am about to do dtml-call "REQUEST.set('a', (a - b) * 15" I presume that should be: dtml-call "REQUEST.set('a', (a - b) * 15)" ? ;-) Anyway, two options: 1. On your form, change your input to be: input type="TEXT" name="a:int" 2. Change your call to be: dtml-call

Re: [Zope] keyword index and netscape vs ie

2000-07-06 Thread Chris Withers
Jonathan Cheyne wrote: So my question to the gurus is is there an attribute or expression I can use to get round this? How can I specify that the two (or more) words in a keyword phrase are separated by pluses when the link is generated? Try this: dtml-in keywords a

Re: [Zope] SquishDot properties

2000-07-06 Thread Chris Withers
tom smith wrote: I'd like to add a URL property to a Squishdot article (and remove the "dept" property), is this possible and how would I do it? The 'proper' response would be 'no'. The hacky response is, just store the URL in the 'dept' property ;-) Adjust your forms slightly (so they say

[Zope] Re: [squishdot] Re: Squishdot giving error DateTimeError?newbie

2000-07-07 Thread Chris Withers
[EMAIL PROTECTED] wrote: I am on zope 2.1.6 In some post i saw that timezone can be changed. My timezone is India GMT+530. I was looking through the DateTime.py code where the timezones are listed. it is now giving Error:DateTimeError ErrorValue:UnrecognisedTimeZone

  1   2   3   4   5   6   7   8   9   10   >