[Zope-Coders] Zope tests: 8 OK

2005-08-02 Thread Zope tests summarizer
Summary of messages to the zope-tests list. Period Mon Aug 1 11:01:02 2005 UTC to Tue Aug 2 11:01:02 2005 UTC. There were 8 messages: 8 from Zope Unit Tests. Tests passed OK --- Subject: OK : Zope-2_6-branch Python-2.1.3 : Linux From: Zope Unit Tests Date: Mon Aug 1 23:24:32 EDT

[Zope-dev] last minute Zope 2.8.1 changes

2005-08-02 Thread yuppie
Hi! If there are no objections, I'd like to merge two changes into the Zope-2_8-branch before 2.8.1 is released: 1.) Backports from zope.tal to TAL and a small modification of ustr: http://svn.zope.org/?rev=37613view=rev http://svn.zope.org/?rev=37614view=rev This is a fix needed by Five

[Zope-dev] Re: last minute Zope 2.8.1 changes

2005-08-02 Thread Philipp von Weitershausen
yuppie wrote: If there are no objections, I'd like to merge two changes into the Zope-2_8-branch before 2.8.1 is released: 1.) Backports from zope.tal to TAL and a small modification of ustr: http://svn.zope.org/?rev=37613view=rev http://svn.zope.org/?rev=37614view=rev This is a fix

[Zope-dev] Fixing Windows bugs in asyncore trigger code

2005-08-02 Thread Tim Peters
As developed in a long thread starting at http://mail.zope.org/pipermail/zope/2005-July/160433.html there appears to be a race bug in the Microsoft Windows socket implementation, rarely visible (but disastrously when so) when multiple processes try to create an asyncore trigger

[Zope] RE: Blobs in Interbase

2005-08-02 Thread Ashley Lloyd
Hi Bob, Thanks again for your reply. I've tried this approach before, so I'm thinking perhaps its my db adaptor. Which one are you using, if you don't mind me asking? I've had trouble installing kinterbase (it complains about LDAP..?), so at the moment I use gvib. I've pencilled in quite a

[Zope] Filesystem Files Permissions

2005-08-02 Thread Evrim Ozcelik
Is there a way to set default permissions to files (python scripts, page templates, etc. in the product skins directory) that can be viewed by Filesystem Directory View. Maybe there is a special file like .metadata Thanks,-- Evrim ÖzçelikRakun Core Developer http://www.rakun.org/

Re: [Zope] Zope 2.8 and conflict errors

2005-08-02 Thread Maciej Wisniowski
I'm keenly interested in your results, so please let me know. Hi! We have just executed two tests of our app on Zope 2.8.1b1 and the results are good now. 1. Application with SQLRelay backend connected to Oracle. Simulation of 50 users. No internal server errors :) 2. Application with

[Zope] CMF 1.5.3-beta released

2005-08-02 Thread Jens Vagelpohl
The CMF developer community and Zope Corporation are pleased to announce the release of version 1.5.3-beta of the Zope Content Management Framework (CMF). This release is intended for testing purposes only; we do not recommend deploying it to production servers. The final release of version

[Zope] Re: Blobs in Interbase

2005-08-02 Thread Ashley
Hi Bob, Thanks for your reply. Sorry if I've replied to this twice, but I thought I replied ages ago, and it hasn't appeared yet. If at first you don't succeed ... I've tried this approach, but with no luck. Which db adaptor do you use? I've been using gvib, as I don't seem to be able to install

[Zope] PUT_factory fight

2005-08-02 Thread Garito
Hi all I fighting with these PUT_factory def PUT_factory(self, name, typ, body): from Products.Yanged.FicheroYanged import FicheroYanged if name.endswith('.mm'): ob = FicheroYanged(name, 'Fichero de estrucutra de ' + self.getId(), body, 'LanzarProcesarFreeMind',

Re: [Zope] Filesystem Files Permissions

2005-08-02 Thread Evrim Ozcelik
I mean that I want to set files zope permissions. For example, i have a zope python script which must only be executed by users that have manager role. In order to do this i have 2 alternatives: 1- I can control the permission in the zope python script script user = getAuthenticatedUser()

Re: [Zope] RE: Blobs in Interbase

2005-08-02 Thread Ashley Lloyd
Hi Phil, Thanks for your email. The LDAP error, as it turns out, was from zkinterbasdb or something like that - something I probably picked up thinking it was kinterbase. Forgive my ignorance, but what was your procedure for installing kinterbase? I've tried just installing kinterbasDA, which

Re: [Zope] Zope 2.8 and conflict errors

2005-08-02 Thread Paul Winkler
On Tue, Aug 02, 2005 at 11:28:40AM +0200, Maciej Wisniowski wrote: Previous installation with Zope 2.8 was on ZEO, this one is standalone Zope 2.8.1. I'm not sure if this matters. It might. ZEO adds network overhead to ZODB transactions, which generally increases the likelihood of conflict

Re: [Bulk] [Zope] localhost:8080 not found on windows

2005-08-02 Thread Joe Bezier
A couple of obvious ones: Have you tried 127.0.0.1:8080 or [local_ip]:8080 Are you sure you're running Zope on port 8080? Cheers, Joe On 2 Aug 2005, at 15:09, michael nt milne wrote: Hi I have installed Zope and Plone on a windows business server. On trying to view

Re: [Zope] RE: Blobs in Interbase

2005-08-02 Thread Philip Kilner
Hi Ashley, Ashley Lloyd wrote: The LDAP error, as it turns out, was from zkinterbasdb or something like that - something I probably picked up thinking it was kinterbase. Aha - thought it was unlikely to be from the DA! Forgive my ignorance, but what was your procedure for installing

Re: [Zope] localhost:8080 not found on windows

2005-08-02 Thread Philip Kilner
Hi Michael, michael nt milne wrote: I have installed Zope and Plone on a windows business server. On trying to view http://localhost:8080/manage I am getting a 404 not found etc. Is that under IE? It's error messages can be misleading... The server is already running a webmail service,

Re: [Zope] localhost:8080 not found on windows

2005-08-02 Thread Maciej Wisniowski
Does anyone have any ideas on how to get the zope/plone browser interface running at all? Did you checked whether the Zope process (or service) is running in your system? Maybe there is a error during startup and Zope is simply disabled? see event.log in your zope or try to run it from console

Re: [Zope] RE: Blobs in Interbase

2005-08-02 Thread Bob Corriher
Hi Phil Ashley, I also have kinterbasedbDA working on Windows. It is with an older version of Zope (2.6.4). The DA version is 1.1.1.1. The kinterbasdb version is 3.0.1. It uses a dll called _kinterbasedb.dll, instead of a .pyd. I don't remember the exact installation process anymore, but I

[Zope] manage_beforeDelete, BeforeDeleteException and Redirect

2005-08-02 Thread Arthur Lutz
Hi all, I'm having a bit of struggle with OFS.ObjectManager in Zope 2.7.6-final. In a manage_beforeDelete I want to raise a Redirect but it gets eaten up by in ObjectManager by a log and pass (line 307). My question is: how do I get a Redirect through or how do I use the Exceptions that are

Re: [Zope] RE: Blobs in Interbase

2005-08-02 Thread Ashley Lloyd
Hi Bob, If you don't mind doing that, I'd really appreciate it. Nothing I seem to be trying to install at the moment seems to be working. As with Phil, mine is from a Plone install, but I have got other versions of Python elsewhere, (I think there's even an old Zope standalone instance still

[Zope] test for the existence of a nodeValue

2005-08-02 Thread Jon Bowlas
Hi All, Im pretty new to python and zope but would like to know how I can adapt this script below to test to see if nodeValue actually contains a value and if it doesnt then I would like to return a default value I can check for using my zpt that references this script: if not

Re: [Zope] zserver blocking behavior with a slow request

2005-08-02 Thread Maciej Wisniowski
I'm finding that once a user requests a page which runs a particularly slow sql (say up to 5 minutes), any other subsequent requests seem to take the hit as well, and return very slowly. Take a look at DadlockDebugger product - you'll see what is happening with your Zope threads. Isn't it

Re: [Zope] manage_beforeDelete, BeforeDeleteException and Redirect

2005-08-02 Thread Florent Guillaume
Arthur Lutz [EMAIL PROTECTED] wrote: I'm having a bit of struggle with OFS.ObjectManager in Zope 2.7.6-final. In a manage_beforeDelete I want to raise a Redirect but it gets eaten up by in ObjectManager by a log and pass (line 307). My question is: how do I get a Redirect through or how do

[Zope] Zope 3.1.0c1 released!

2005-08-02 Thread Stephan Richter
The Zope 3 development team is proud to announce Zope 3.1.0 candidate 1. Zope 3 is the next major Zope release and has been written from scratch based on the latest software design patterns and the experiences of Zope 2. It is in our opinion that Zope 3.1 is more than ready for production use,

Re: [Zope] rendering the contents of ..

2005-08-02 Thread David Bear
On 8/1/05, J Cameron Cooper [EMAIL PROTECTED] wrote: David Bear wrote: I am looking at a couple way of producing a qotd solution. one way is to put quotes in a folder. Then use objectvalues on the folder and randomly select one of the items. I get get the objectid. but I don't know

Re: [Zope] rendering the contents of ..

2005-08-02 Thread David Siedband
I think something like this is what you're looking for: === from Products.PythonScripts.standard import html_quote import random request = container.REQUEST RESPONSE = request.RESPONSE q = container.quotes.objectValues('File') return random.choice(q) === cheers -- David On Aug 2, 2005, at