Re: [Zope-dev] Data.fs

2000-08-19 Thread Chris McDonough
Surely this raises some data integrity issues if you copy in mid-transaction? Or does an incomplete transaction at the end of the db just get thrown out, and the design of the db assure that only the end of the file gets updated? An incomplete transaction at the end of Data.fs gets

Re: [Zope] The date in Dutch

2000-08-19 Thread Steve Alexander
Michel Houben wrote: I am just beginning with Zope, so this is maybe a very stupid question; How do I make a external method, I don't know what I must fill in, in two fields "Python module file" and "Function Name", I hope you can solve this problem for me. I thank you for your help,

Re: [Zope] Dots versus underscore in DTML

2000-08-19 Thread Phil Harris
George, in the root of tyour zope-space (tm), put a DTML Method called index_html which has these contents: dtml-var index.html or alternatively dtml-call "RESPONSE.redirect('index.html')" The second does mean an extra call to the server, but has other advantages. hth Phil [EMAIL

[Zope] I suppose dtml-with object should call first :S

2000-08-19 Thread Chris Withers
Dieter Maurer wrote: If this would be changed, I am almost sure, Chris Withers would later complain about the inconsistency :-) more than likely ;-) ..just a little confusign I guess ;-) cheers, Chris ___ Zope maillist - [EMAIL PROTECTED]

Re: [Zope] Referencing an object in a subfolder

2000-08-19 Thread Chris Withers
Kapil Thangavelu wrote: Chris Withers wrote: dtml-with images_folder dtml-var an_image /dtml-with alternatively dtml-var "path.to.images.folder.image" These are different things! be careful ;-) Chris ___ Zope maillist - [EMAIL

[Zope] Prowler etc.

2000-08-19 Thread Jean Jordaan
Hi Zopers On the xml-doc mailing list [1] I read a notice about Infozone [2], an open source application server framework that looked relevant to the kind of stuff Zope does. Maybe some of their components are suited to be leveraged? I pasted a bit of the intro below. .. [1]

[Zope] How To Shoot Yourself In The Foot With Zope

2000-08-19 Thread Jean Jordaan
OK, OK, there are *many* ways of shooting yourself in the foot with Zope, but I want to enter this as one of the most concise ways. Elaboration welcome. In order to get more debugging info about the environment I'm working in, I included 'dtml-var REQUEST' in my 'standard_html_footer'.

[Zope] Pages Half Rendering :(

2000-08-19 Thread Chris Withers
Hi, I experienced the same weird intermittent problem yesterday that I have had on odd ocassions over the last eight months. Basically, Zope 2.1.6 returns only half a page. By that I mean if I view source, the HTML just stops at some point through the page. The point depends on the actual time,

[Zope] dtml-comment doesn't?

2000-08-19 Thread Chris Withers
Hi, Is is just me or does stuff inside a dtml-comment get parsed? So if you have: dtml-comment ... some syntactically bad dtml ... /dtml-comment You still can't save the page 'cos the the parser throws up an error. That seems silly to me. Anyone else agree? cheers, Chris

Re: [Zope] How To Shoot Yourself In The Foot With Zope

2000-08-19 Thread Evan Simpson
From: "Jean Jordaan" [EMAIL PROTECTED] In order to get more debugging info about the environment I'm working in, I included 'dtml-var REQUEST' in my 'standard_html_footer'. This worked so nicely, I added 'dtml-var RESPONSE' too, arguing that the REQUEST is probably only half the story.

Re: [Zope] dtml-comment doesn't?

2000-08-19 Thread Chris McDonough
Yeah, that's the way it works. I'm not sure why, though I remember someone trying to explain it to me around the time of the last Python conference. On Sat, 19 Aug 2000, Chris Withers wrote: Hi, Is is just me or does stuff inside a dtml-comment get parsed? So if you have:

Re: [Zope] Odd problems with SiteAccess?

2000-08-19 Thread Evan Simpson
From: "Christopher Heschong" [EMAIL PROTECTED] I have a directory with a SiteAccess rule in it. Under that directory, versions and Zcatalogs no longer seem to work. Does your rule manipulate the traversal path? Versions and ZCatalogs have an unfortunate dependency (which needs to be

Re: [Zope] Pages Half Rendering :(

2000-08-19 Thread Chris McDonough
I've seen this in Netscape only, mostly while using the management interface. I haven't been able to track it down. I wonder if it has something to do with the bug in OFS.Image.index_html that Dieter Maurer reported a few messages back. I've also had a problem where mgmt interface icons don't

Re: [Zope] Odd problems with SiteAccess?

2000-08-19 Thread Chris McDonough
Jim fixed versions a little while back by using getPhysicalPath... but the catalog is not yet fixed. On Sat, 19 Aug 2000, Evan Simpson wrote: From: "Christopher Heschong" [EMAIL PROTECTED] I have a directory with a SiteAccess rule in it. Under that directory, versions and Zcatalogs no

[Zope] Newbie Question (Content Manager Tutorial)

2000-08-19 Thread Mark A. Pappas
Hi All, I decided today was learn Zope Day. I expect to be pounding the list with some newbie questions. I installed Zope 2.2.0 on a Win 98 machine. Seems to work fine. I dloaded the Content Manager Guide and started working through the tutorial. Went to create a folder as instructed. Id: News

Re: [Zope] dtml-comment doesn't?

2000-08-19 Thread Chris McDonough
That's not very nice :( Any reason why it can't be changed to be as expected? I think it can safely be changed to not evaluate what's between the comment tags. Patches accepted, as always. :-) ___ Zope maillist - [EMAIL PROTECTED]

Re: [Zope] Newbie Question (Content Manager Tutorial)

2000-08-19 Thread Chris McDonough
Darn. Those docs are a little ( ok, a lot...) out of date. They're still useful, but they don't cover a few things. With the advent of Zope 2.2, the first thing you need to do is to create a management user. You cannot use the 'superuser' to manage content. I know this is a little

Re: [Zope] dtml-comment doesn't?

2000-08-19 Thread Chris Withers
Chris McDonough wrote: Yeah, that's the way it works. I'm not sure why, though I remember someone trying to explain it to me around the time of the last Python conference. That's not very nice :( Any reason why it can't be changed to be as expected? cheers, Chris

Re: [Zope] Newbie Question (Content Manager Tutorial)

2000-08-19 Thread Chris Withers
Chris McDonough wrote: With the advent of Zope 2.2, the first thing you need to do is to create a management user. You cannot use the 'superuser' to manage content. Can anyone remind me why? T0he problems it's caused, particularly with broswers caching basic auth info, seem to be pretty

Re: [Zope] dtml-comment doesn't?

2000-08-19 Thread Chris Withers
Chris McDonough wrote: That's not very nice :( Any reason why it can't be changed to be as expected? I think it can safely be changed to not evaluate what's between the comment tags. Patches accepted, as always. :-) I'd love to, btu I wouldn't know where to start. Besides, I'm

[Zope] tree tag woes continue :S

2000-08-19 Thread Chris Withers
Okay, my aim here is to effectively have batching with trees. Why? well because a tree with over a thousand items at the root is pretty hefty to download to a browser, not to mentioned pretty antisocial to navigate and use. My idea, as you may have seen from recent posts, was to do a dtml-in

Re: [Zope] Newbie Question (Content Manager Tutorial)

2000-08-19 Thread Jan H. Haul
"Mark A. Pappas" wrote: I installed Zope 2.2.0 on a Win 98 machine. Seems to work fine. I dloaded the Content Manager Guide and started working through the tutorial. Went to create a folder as instructed. Below is what I got. What am I doing wrong? Error Type: SuperCannotOwn Error

Re: [Zope] tree tag woes continue :S

2000-08-19 Thread Chris Withers
Chris Withers wrote: okay, assuming it it a good idea, the tree to be replaced is: dtml-tree branches="postingValues" ...show stuff here... /dtml-tree My latest attempt is: dtml-in postingValues dtml-var id-dtml-var titleBR dtml-tree sequence-item

[Zope] dtml-comment doesn't?

2000-08-19 Thread Jerry
Chris Withers wrote: Is is just me or does stuff inside a dtml-comment get parsed? snip You still can't save the page 'cos the the parser throws up an error. That seems silly to me. Anyone else agree? That, and if you can save the page, because the DTML happens to be valid, the DTML

[Zope] Zope on AlphaStationNT...

2000-08-19 Thread Jim Hoepner
I am a total Zope newbie. I am trying to run Zope on a AlphaStation running NT. I get a "service specific error 1" when I try to start Zope. I am using a utility called FX!32 which lets me run Win32 programs on my Alpha. "Compaq FX!32 (TM) lets you install and run 32 bit, x86 programs on

[Zope] Nasty logging bug: product import problems

2000-08-19 Thread Dieter Maurer
Have you ever had problems with the import of products? Did they simply not show up in ControlPanel.Products (or with an out of date traceback)? Did you not get any hint to the problem cause? I now can tell you why: The Zope logging system is a bit complex and weird: * While Zope is

Re: [Zope] dtml-comment doesn't?

2000-08-19 Thread Tino Wildenhain
Hi, Chris Withers wrote: Hi, Is is just me or does stuff inside a dtml-comment get parsed? So if you have: dtml-comment ... some syntactically bad dtml ... /dtml-comment You still can't save the page 'cos the the parser throws up an error. That seems silly to me. Anyone

[Zope] Changing a Z object's __class__ dynamically

2000-08-19 Thread Hung Jung Lu
Hi, One powerful feature of Python is the ease of reloading modules. This makes debugging extremely nice, since you can modify the code, reload the module, and all this while the main program is still running. Moreover, if a particular instance object has been created, you can actually edit

Re: [Zope] Newbie Question (Content Manager Tutorial)

2000-08-19 Thread Chris McDonough
See (sneak peek) http://www.zope.org/Members/mcdonc/PDG/6-1-Security.stx, section named "The Superuser". I hope to have this chapter really finished this weekend. On Sat, 19 Aug 2000, Chris Withers wrote: Chris McDonough wrote: With the advent of Zope 2.2, the first thing you need to do is

Re: [Zope] Newbie Question (Content Manager Tutorial)

2000-08-19 Thread Dieter Maurer
Hi Mark, Mark A. Pappas writes: I installed Zope 2.2.0 I dloaded the Content Manager Guide ... Zope Error Zope has encountered an error while publishing this resource. Error Type: SuperCannotOwn Error Value: Objects cannot be owned by the superuser The Content Manager

Re: [Zope] Pages Half Rendering :(

2000-08-19 Thread Dieter Maurer
Chris McDonough writes: I've seen this in Netscape only, mostly while using the management interface. I haven't been able to track it down. I wonder if it has something to do with the bug in OFS.Image.index_html that Dieter Maurer reported a few messages back. I've also had a problem

Re: [Zope] Pages Half Rendering :(

2000-08-19 Thread Dieter Maurer
Hi Chris, SentChris Withers writes: I experienced the same weird intermittent problem yesterday that I have had on odd ocassions over the last eight months. Basically, Zope 2.1.6 returns only half a page. By that I mean if I view source, the HTML just stops at some point through the

Re: [Zope] dtml-comment doesn't?

2000-08-19 Thread Dieter Maurer
Chris Withers writes: Is is just me or does stuff inside a dtml-comment get parsed? "dtml-comment" must do a bit of parsing: It must at least recognized "/dtml-comment". Maybe, it wants to recognize nested "dtml-comment" (probably not), then it must look at all tags. Probably, however,

Re: [Zope] Creating an object from within another

2000-08-19 Thread Dieter Maurer
Kapil Thangavelu writes: Dieter Maurer wrote: Try: (ob __of__ self).manage_addB() whats is ob__of__self ??? acquisition at its best? No, it was simply too late in the day. It should have been "(ob.__of__(self)).manage_addB(...)". The "ob.__of__(self)" is "ob" in the

[Zope] Yihaw Properties creates error

2000-08-19 Thread Sean Kelley
When I click "Properties" on a new Yihaw folder, I get the following Zope error. What does it mean? Error Type: NameError Error Value: Catalog Troubleshooting Suggestions This resource may be trying to reference a nonexistent object or variable Catalog.

[Zope] Yihaw- adding HTML files - newbie questions?

2000-08-19 Thread Sean Kelley
I want to add HTML files to the Yihaw directory but when I use "add file" it creates its own header thereby cancelling out my header in the file. If I use the add text note or other methods for adding objects you can paste HTML into a form but cannot select from the OS (upload). Am I missing