Re: [Zope-dev] Exceptions

2000-11-12 Thread Jim Fulton
I think that this would make a great dev.zope.org fish-bowl project. I'd love to see someone come up with an exception model for Zope: - arranging exceptions in a hierarchy. - defining standard APIs for exceptions. To give an example of what I'd like to gain by having exception

Re: [Zope-dev] PythonMethods: Can't Slice context.REQUEST.PARENTS

2000-11-12 Thread Dieter Maurer
The Doctor What writes: ... Now here is my next problem. Using context.REQUEST.PARENTS doesn't give me the DTML Document that called me (so to speak). I have: /test/new/foo_html My PARENTS shows Zope, Test, and New, but doesn't show foo_html. "PARENTS" contain the objects

Re: [Zope-dev] PythonMethods: Can't Slice context.REQUEST.PARENTS

2000-11-12 Thread The Doctor What
* Dieter Maurer ([EMAIL PROTECTED]) [001112 17:12]: The Doctor What writes: ... Now here is my next problem. Using context.REQUEST.PARENTS doesn't give me the DTML Document that called me (so to speak). I have: /test/new/foo_html My PARENTS shows Zope, Test, and

Re: [Zope-dev] Security/Acquisition Bug? (take two)

2000-11-12 Thread Charlie Wilkinson
On Sun, Nov 12, 2000 at 11:42:32PM +0100, Dieter Maurer waxed eloquent: I tried it on my ZopeCVS installation. The Python parts are quite new. The C-part is about 2 weeks old. I can not observe what you describe. "/index_html" can be viewed as "Annonymous" without any change in

Re: [Zope-dev] Security/Acquisition Bug? (take two)

2000-11-12 Thread Charlie Wilkinson
I should have included this in my previous reply - this is the Zope error I am getting after failing out of BASICAUTH login: -- Zope Error Zope has encountered an error while publishing this resource. Unauthorized

[Zope] problems reading tar file

2000-11-12 Thread Robert Rottermann
Hi there, I have problems reading tar files when I download them from the zope web site. I am working on a NT2000 box. Winzip does recognize the tarfiles as compressed archives but balks when trying to open them. Is there an other utility out there I can use to deal with these files?

Re: [Zope] problems reading tar file

2000-11-12 Thread Wolfgang Strobl
On 12 Nov 2000, at 12:47, Robert Rottermann wrote: I have problems reading tar files when I download them from the zope web site. I am working on a NT2000 box. Winzip does recognize the tarfiles as compressed archives but balks when trying to open them. Rename xyz.tar to xyz.tgz locally.

Re: [Zope] Please Tell Me...

2000-11-12 Thread Maik Röder
Hi Ben ! Ben Ocean wrote: Hi; I'm new. I can see Zope will help me on larger projects, but what if I want to allow the owner of a small Web site (under 200 pages) that I develop the ability to edit text and photos? Is this the right application, or is Zope overkill? It is just right.

Re: [Zope] problems reading tar file

2000-11-12 Thread Ansgar W. Konermann
Hi! I have problems reading tar files when I download them from the zope web site. I am working on a NT2000 box. Winzip does recognize the tarfiles as compressed archives but balks when trying to open them. My WinZip (V 7.0 SR1) *does* handle tar.gz files properly. Use "Open Archive", File

RE: [Zope] problems reading tar file

2000-11-12 Thread Max M
From: Robert Rottermann I have problems reading tar files when I download them from the zope web site. I am working on a NT2000 box. Winzip does recognize the tarfiles as compressed archives but balks when trying to open them. For some reason IE saves a *.tar.gz file as *.tar.tar. Just

Re: [Zope] XML-RPC

2000-11-12 Thread Steve Spicklemire
OK... I thought I'd put a little effort into this concept, and out came: http://www.zope.org/Members/sspickle/Zwiff Take a look it's a start at the concept of 'on the fly' swf from Zope. I needed a quick way to get up and running so I sub-classed PythonMethod and used the existing swf

Re: [Zope] Can't get dtml-tree to work in a sub-folder.

2000-11-12 Thread Michael Bernstein
[EMAIL PROTECTED] wrote: Howdy Folks, I'm trying to make use of the dtml-tree gizmo and it only works in the root directory. I'm trying to create a dynamic navigation display so users can click their way through the sub-directories of files. Kind of a "Zope Explorer". Maybe this will

[Zope] Editing images

2000-11-12 Thread Anders Eriksson
Hello zopistas, I have some images in an image folder within Zope. Now I need to edit these images but I can't figure out how? I guess that the images are withing the Data.fs but how to get them out? If I do an export they wind up in a .zexp which I don't now how to expand outside of Zope...

[Zope] W9x Patch program

2000-11-12 Thread Brendon Grunewald
Sometime ago I got help to patch the Mime.py using Linux. Thanks. Does such a program / utility exist for Win9x? Where can one find it? Regards,Brendon --70South: the No.1 source for Antarcticles.For the latest news and views on Antarctica visit : http://www.70south.com

Re: [Zope] Editing images

2000-11-12 Thread Peter Bengtsson
Click the Image object you have created and then click the Upload tab (at the top). That let's you edit the image content. That almost changes the Content-Type, width and height. Lycka till! Hello zopistas, I have some images in an image folder within Zope. Now I need to edit these

Re: [Zope] Editing images

2000-11-12 Thread Steen Suder
Anders Eriksson wrote: Hello zopistas, I have some images in an image folder within Zope. Now I need to edit these images but I can't figure out how? I guess that the images are withing the Data.fs but how to get them out? If I do an export they wind up in a .zexp which I don't now how

[Zope] Editing images

2000-11-12 Thread Michael Blewett
Why not just ftp them out? Zope has built-in ftp. For more information look at: http://www.zope.org/Members/mblewett/ZopeFTP Hope this helps... - Michael Message: 14 Date: Sun, 12 Nov 2000 21:00:48 +0100 From: Anders Eriksson [EMAIL PROTECTED] Reply-To: Anders Eriksson [EMAIL

[Zope] Win9x Patch found.

2000-11-12 Thread Brendon Grunewald
I found a version of Patch for Win9x The site is Japanese, but you can make out the download and ftp signs :-) http://www.vector.co.jp/soft/dl/win95/prog/s0015025.html Regards,Brendon --70South: the No.1 source for Antarcticles.For the latest news and views on Antarctica

[Zope] Newbie question(s)

2000-11-12 Thread Bowyer, Alex
Hi, I have what I'm sure is a very simple question about Zope programming style: I want to count how many objects are contained in the current container object and then do something with that value, but I can't do the bit I need to do at the point of reading the count variable because I am in

Re: [Zope] XMLDcoument setAttribute error

2000-11-12 Thread Dieter Maurer
Matt writes: I have an external method like the following def make_an_element(self,REQUEST): new_elem = self.createElement(REQUEST.new_elem_name) Use: new_elem = self.createElement(REQUEST.new_elem_name).__of__(self) new_elem.setAttribute('hello','there')

Re: [Zope] Editing images

2000-11-12 Thread Dieter Maurer
Anders Eriksson writes: I have some images in an image folder within Zope. Now I need to edit these images but I can't figure out how? I guess that the images are withing the Data.fs but how to get them out? If I do an export they wind up in a .zexp which I don't now how to expand

Re: [Zope] querying status in zsql

2000-11-12 Thread Dieter Maurer
Rik Hoekstra writes: A short explanation: sql queries return a result object (so does ZCatalog btw), which you can't address directly in DTML (or at least I wouldn't know how ;-) If it the result object is empty it won't have a (sequence) start in a dtml-in. This is the same code

Re: [Zope] why DTML confusing

2000-11-12 Thread Curtis Maloney
On Sat, 11 Nov 2000, Andy McKay wrote: It might be that fixing one or both of the above would reduce the DTML pain factor quite a bit. Certainly, it's time to do whatever it takes to banish these "-"-named variables, IMHO. I agree, changing the "-" to "_" would remove a whole ton of posts

[Zope] Forcing Content-Type of Image object

2000-11-12 Thread Peter Bengtsson
I don't want Zope to find out what content type an Image has. I want to be able to force that programmatically myself from DTML. Here are some code examples that doesn't work: dtml-call "PARENTS[0].manage_addImage('awapimage.wbmp',file,'Give it a Title','','image/vnd.wap.wbmp')" dtml-call

RE: [Zope] Newbie question(s)

2000-11-12 Thread Max M
From: Bowyer, Alex I want to count how many objects are contained in the current container object and then do something with that value, but I can't do the bit I need to do at the point of reading the count variable because I am in the wrong namespace. I would try and do it like this

RE: [Zope] Newbie question(s)

2000-11-12 Thread Bowyer, Alex
I want to count how many objects are contained in the current container object and then do something with that value, but I can't do the bit I need to do at the point of reading the count variable because I am in the wrong namespace. I would try and do it like this (untested):

Re: [Zope] Newbie question(s)

2000-11-12 Thread Morten W. Petersen
[Alex Bowyer] | My query is really more general though, that was just an example, I need to | know what the generally accepted method is for transferring values through | the code (i.e between namespaces) Unless I've misunderstood your problem, wouldn't dtml-let do the trick? (See DTML manual

[Zope] [ANNOUNCE] New Minimal product How-To

2000-11-12 Thread Max M
Hi I have just added this Product How-To: http://www.zope.org/Members/maxm/HowTo/minimal_01/index_html I would very much like some feedback as to whether this type of How-To is worth the effort. I wrote it because I would have liked something like this myself when I started. So should I write

RE: [Zope] Newbie question(s)

2000-11-12 Thread Max M
From: Bowyer, Alex My query is really more general though, that was just an example, I need to know what the generally accepted method is for transferring values through the code (i.e between namespaces) I do believe that our ugly friend REQUEST.set() is the way to go here. I cannot remember

RE: [Zope] Zope declining?

2000-11-12 Thread Max M
From: Hung Jung Lu From the mailing list volume in the last 3 months, it is not hard to see that there is a steady decline. This compared to the trend of last two years (doubling volume every year), should probably raise a red flag. My experience here is that the list isn't much help. It can be

Re: [Zope] [ANNOUNCE] New Minimal product How-To

2000-11-12 Thread Bak @ kedai
On Monday 13 November 2000 09:02, Max M wrote: Hi I have just added this Product How-To: http://www.zope.org/Members/maxm/HowTo/minimal_01/index_html this kind of handholding is really great for us newbies. hoping to see the continuation, e.g. nested products --Folderish_product

[Zope] can multiple users access gadfly database simultaneously ?

2000-11-12 Thread jacintha menezes
Hi, When two users enter their login name password and press enter simultaniously,the first who entered among the two gets the following error. Error Type: SyntaxError Error Value: unexpected token sequence.near :: 'of_que\012from noq'*'' *** current state = 277

[Zope] requests for some dtml tags

2000-11-12 Thread jacintha menezes
Hi, Is there any dtml tags for creating a new work space also for locking some page.Locking some page in the sense for second user the operations in that page should not be processed unless the process for first user is completed.If there dtml tags for these kindly give me those tags. waiting

[Zope] Does anybody work on a database adapter for SAP DB?

2000-11-12 Thread Joachim Werner
Hello! I'd like to know if anybody is working on a database adapter for the SAP DB. Some background info: The SAP DB is a version of Adabas D that was bought by SAP for use with their enterprise software R/3 a couple of years ago. It's an enterprise-level, fast relational database with

[Zope] Can I run Zope with i-Planet?

2000-11-12 Thread Plaza Diez, Antonio
Hello, I'm a beginner using zope, and I would like someone answer me some questions: - Can I run Zope with i-Planet Web Server? - How can I do this? -Where can I found some Documentation about it? Thanks, Antonio Plaza Diez e-Busiess Solutions Gedas Iberia, S.A. Avenida Europa, 14 Pol.