[Zope-Checkins] SVN: Zope/trunk/lib/python/Products/ZCatalog/ProgressHandler.py fixed svn properties

2005-09-30 Thread Yvo Schubbe
Log message for revision 38704: fixed svn properties Changed: UU Zope/trunk/lib/python/Products/ZCatalog/ProgressHandler.py -=- Modified: Zope/trunk/lib/python/Products/ZCatalog/ProgressHandler.py === ---

[Zope-Coders] Zope tests: 8 OK

2005-09-30 Thread Zope tests summarizer
Summary of messages to the zope-tests list. Period Thu Sep 29 11:01:01 2005 UTC to Fri Sep 30 11:01:01 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: Thu Sep 29 22:24:45 EDT

[Zope-dev] Re: Strange security issue with Zope 2.8.1

2005-09-30 Thread Jens Vagelpohl
My understanding (and the way we use it when monkey patching for instance) is that whenevery you apply new security to a class, you create a new ClassSecurityInfo on it. It only defines new stuff to do. The real synthesized security is still stored in __ac_permissions__. Yes, your

Re: [Zope-dev] problems setting up methods for a product that registers no classes

2005-09-30 Thread Chris Withers
Dieter Maurer wrote: You could use part of the old style initialization, the methods declaration to be precise. You see an example in .../Products/ZSQLMethods/__init__.py. Be warned, however: the old style initialization puts the declared methods on the OFS.Folder class. Yeah, I thought

[Zope-dev] Can't fetch externals???

2005-09-30 Thread Paul Winkler
I'm trying to fix a bug assigned to me, and for some reason I can use svn to make and check out my branch but it fails when fetching externals. Anybody else seen this? [EMAIL PROTECTED] tmp]$ svn co svn+ssh://[EMAIL PROTECTED]/repos/main/Zope/branches/slinkp-collector_1895 A

Re: [Zope-dev] Can't fetch externals???

2005-09-30 Thread Paul Winkler
btw, I'm in #zope-dev right now if anybody wants to chat about this. -PW Paul Winkler said: I'm trying to fix a bug assigned to me, and for some reason I can use svn to make and check out my branch but it fails when fetching externals. Anybody else seen this? (snip) -- Paul Winkler

Re: [Zope-dev] Can't fetch externals???

2005-09-30 Thread Paul Winkler
Update: I *can* fetch the externals from a different box (my windows laptop, on which i can't successfully build zope because cygwin's python is known-broken and I don't have a C compiler other than cygwin's.) But when I ssh to a linux box (on which building works fine), I get the problem

Re: [Zope-dev] Can't fetch externals???

2005-09-30 Thread Fred Drake
On 9/30/05, Paul Winkler [EMAIL PROTECTED] wrote: One thing Tino suggested: it might be a firewall issue. Does svn's externals-fetching look somehow different to a firewall than does a regular (non-external) checkout? When I tried checking out on my laptop, I noticed that ZoneAlarm asked 'me

Re: [Zope-dev] Can't fetch externals???

2005-09-30 Thread Paul Winkler
Hypothesis: Is it possible that svn.zope.org is configured such that when you get the externals, it uses plain svn (i.e. an anonymous checkout) rather than svn+ssh? If so, I bet that's the answer: our firewall is blocking svn but allowing svn+ssh. Can anybody confirm that this is a likely

Re: [Zope-dev] Can't fetch externals???

2005-09-30 Thread Fred Drake
On 9/30/05, Paul Winkler [EMAIL PROTECTED] wrote: Hypothesis: Is it possible that svn.zope.org is configured such that when you get the externals, it uses plain svn (i.e. an anonymous checkout) rather than svn+ssh? As noted, very likely. The default port for SVN w/out SSH is 3690:

Re: [Zope-dev] Can't fetch externals???

2005-09-30 Thread Sidnei da Silva
On Fri, Sep 30, 2005 at 04:27:47PM -0400, Fred Drake wrote: | On 9/30/05, Paul Winkler [EMAIL PROTECTED] wrote: | Hypothesis: | Is it possible that svn.zope.org is configured such that when you get | the externals, it uses plain svn (i.e. an anonymous checkout) | rather than svn+ssh? | | As

Re: [Zope-dev] Can't fetch externals???

2005-09-30 Thread Fred Drake
On 9/30/05, Sidnei da Silva [EMAIL PROTECTED] wrote: Note this is not generic externals behaviour. In the case of Zope, it's because the externals are set to their svn:// urls. It could just as well be set to svn+ssh://, but then you would be able to checkin a file from the wrong place without

Re: [Zope-dev] Can't fetch externals???

2005-09-30 Thread Paul Winkler
Aha! Thanks very much Fred, this arrived just after I sent a message asking for confirmation of exactly that :-) Looks like it's the standard 3690 port, I'll go talk to our poor beleaguered admins... thanks again! -PW Fred Drake said: On 9/30/05, Paul Winkler [EMAIL PROTECTED] wrote: One

[Zope-dev] Re: Can't fetch externals???

2005-09-30 Thread Hanno Schlichting
Paul Winkler wrote: Update: I *can* fetch the externals from a different box (my windows laptop, on which i can't successfully build zope because cygwin's python is known-broken and I don't have a C compiler other than cygwin's.) That's no excuse ;) You can build Zope on Windows easily with

Re: [Zope] Aquisition, UserFolder and security

2005-09-30 Thread bruno modulix
Dieter Maurer wrote: bruno modulix wrote at 2005-9-29 13:20 +0200: ... The problem here is that CPS (the portal and all CPMs are CPS instances) uses predefined roles, on which the various workflows relies, so that would mean renaming all roles - differently - on each CPM, and modifying the

[Zope] cutpaste from one mounted storage to another

2005-09-30 Thread M. Krainer
Hi! Is there a possibility to cutpaste from one mounted storage to another? I have a filestorage Data.fs mounted as / and another filestorage Archive.fs mounted at /site/Archive. When I try to cutpaste an object from e.g. /site/foo/bar to /site/Archive/bar I get an InvalidObjectReference

Re: [Zope] Problem with links containing non-ascii characters in StructuredText

2005-09-30 Thread Maurits van Rees
On Fri, Sep 30, 2005 at 07:53:03AM +0200, Andreas Jung wrote: You have to configure your locale support in etc/zope.conf properly. Ah, that seems to be part of the mix yes. Thanks. I am now trying: locale [EMAIL PROTECTED] I am also wondering about the following two settings, that seem to be

Re: [Zope] Problem with links containing non-ascii characters in StructuredText

2005-09-30 Thread Andreas Jung
--On 30. September 2005 12:19:31 +0200 Maurits van Rees [EMAIL PROTECTED] wrote: So I guess I should be using REstructured text instead. This indeed seems to help, though I haven't got all problems ironed out yet. In this new format the following: StructuredText does not work with

Re: [Zope] Problem with links containing non-ascii characters in StructuredText

2005-09-30 Thread Maurits van Rees
On Fri, Sep 30, 2005 at 12:38:04PM +0200, Andreas Jung wrote: StructuredText does not work with UTF8 (when you mean this by mentioning unicode). There is a utf-8 patch for STX but this has other problems. Means: Don't use STX with multi-byte encodings...instead use reST. Okay, that's clear

[Zope] ZEO clients eating up / filesystem

2005-09-30 Thread Reinoud van Leeuwen
Hi, We have a ZEO setup with a Plone based intranet, and for some reason it seems that Zope is filling up space in the root filesystem. I have to restart Zope twice a day to clear it up (restarting Zope clears up the space). lsof does not list anything open in the root filesystem and swapping

Re: [Zope] ZEO clients eating up / filesystem

2005-09-30 Thread Andreas Jung
Perhaps your FS grows because ZEO write the cache files to /tmp (which is on your root filesystem)? -aj --On 30. September 2005 14:06:16 +0200 Reinoud van Leeuwen [EMAIL PROTECTED] wrote: Hi, We have a ZEO setup with a Plone based intranet, and for some reason it seems that Zope is

Re: [Zope] ZEO clients eating up / filesystem

2005-09-30 Thread Reinoud van Leeuwen
On Fri, Sep 30, 2005 at 02:13:34PM +0200, Andreas Jung wrote: Perhaps your FS grows because ZEO write the cache files to /tmp (which is on your root filesystem)? No I checked that. Nothing in /tmp (and that would have been listed by lsof) --

[Zope] Re: Aquisition, UserFolder and security

2005-09-30 Thread Tres Seaver
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 bruno modulix wrote: Dieter, I didn't misunderstood your proposed solution. But some users exist in different CPMs with different roles in each CPM. So - unless I'm totally at lost with how Zope's security works - if User1 has role

[Zope] Re: Aquisition, UserFolder and security

2005-09-30 Thread bruno modulix
Tres Seaver wrote: bruno modulix wrote: Dieter, I didn't misunderstood your proposed solution. But some users exist in different CPMs with different roles in each CPM. So - unless I'm totally at lost with how Zope's security works - if User1 has role RoleWithMuchPrivileges in Cpm1 and role

[Zope] Re: ZEO clients eating up / filesystem

2005-09-30 Thread Tres Seaver
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Reinoud van Leeuwen wrote: On Fri, Sep 30, 2005 at 02:13:34PM +0200, Andreas Jung wrote: Perhaps your FS grows because ZEO write the cache files to /tmp (which is on your root filesystem)? No I checked that. Nothing in /tmp (and that would

[Zope] Re: Aquisition, UserFolder and security

2005-09-30 Thread Tres Seaver
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 bruno modulix wrote: Dieter, I didn't misunderstood your proposed solution. But some users exist in different CPMs with different roles in each CPM. So - unless I'm totally at lost with how Zope's security works - if User1 has role

Re: [Zope] how to export values from a form to SPSS or Excel format?

2005-09-30 Thread Chris Withers
Georgakopoulos Nicolas wrote: I have a page that a client submit a questionnaire (multiply choices) and I want to export the values from the answers to SPSS logistic format so I can send it by mail... No idea what SPSS is, but for excel, just do a CSV. Python has a moderately good csv

Re: [Zope] emergency access problems

2005-09-30 Thread Chris Withers
michael nt milne wrote: Anyway I've followed all the instructions in security.txt, telnetting stop right there... you should be using ssh... in as the user that made the zopeinstance and running python zpasswd.py access using SHA-1 and then entering nothing for domains ( I presumed that

Re: [Zope] how to export values from a form to SPSS or Excel format?

2005-09-30 Thread Andreas Jung
--On 30. September 2005 14:21:08 +0100 Chris Withers [EMAIL PROTECTED] wrote: Georgakopoulos Nicolas wrote: I have a page that a client submit a questionnaire (multiply choices) and I want to export the values from the answers to SPSS logistic format so I can send it by mail... No

Re: [Zope] External Method Working Directory?

2005-09-30 Thread Chris Withers
jwithers wrote: Because I need to feed the file to Mailman for evil purposes of my own (well, fairly mundane purposes of allowing my zope app to manipulate mailman list memberships, really) that the prototype mailman adapter I found doesn't meet. When I've needed to do simple stuff with this

Re: [Zope] Zope Debugger lets WingDbg fail to connect to client

2005-09-30 Thread Chris Withers
Hi Peter, Frey, Peter wrote: there seems to be an incompatibility between zdb and WingIDE. Likely, I don't use WingIDE at all, so I can't test... When the WingIDE Zope-Product WingDbg is installed (and working), Does WingDbg ship with its source code? If so, I'd be interested to see it

Re: [Zope] cutpaste from one mounted storage to another

2005-09-30 Thread Chris Withers
M. Krainer wrote: Am I doing something wrong or is this simply not possibly resp. is there a workaround to do a cutpaste between storage boundaries? It's not reall a supported operation. I wonder if the multidatabase work currently being done on ZODB will help with this? I'd ask on

Re: [Zope] Re: ZEO clients eating up / filesystem

2005-09-30 Thread Reinoud van Leeuwen
On Fri, Sep 30, 2005 at 09:03:29AM -0400, Tres Seaver wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Reinoud van Leeuwen wrote: On Fri, Sep 30, 2005 at 02:13:34PM +0200, Andreas Jung wrote: Perhaps your FS grows because ZEO write the cache files to /tmp (which is on your root

[Zope] how to send a mail attachment with python (ZPT) ?

2005-09-30 Thread Georgakopoulos Nicolas
I want to send values from a form by mail but I want to make this values a file and then send that file as an attachment. 1.How can I make the values of the form to a file (maybe text file) ? 2.If I make that file how can I send it by mail as an attachment ? My code for simple mail message is

Re: [Zope] emergency access problems

2005-09-30 Thread michael nt milne
Thanks. I sorted it out using ./zopectl adduser.On 9/30/05, Chris Withers [EMAIL PROTECTED] wrote: michael nt milne wrote:Anyway I've followed all the instructions in security.txt , telnettingstop right there... you should be using ssh... in as the user that made the zopeinstance and running

[Zope] Re: Aquisition, UserFolder and security

2005-09-30 Thread Florent Guillaume
bruno modulix wrote: Dieter, I didn't misunderstood your proposed solution. But some users exist in different CPMs with different roles in each CPM. So - unless I'm totally at lost with how Zope's security works - if User1 has role RoleWithMuchPrivileges in Cpm1 and role RoleWithFewPrivileges in

[Zope] LDAP Directory Manager

2005-09-30 Thread Marcos Iuato
I was looking for a ldap browser for zope/plone and I found this product LDAP Directory Manager but it has no releases since 2004. Somebody know if this product is stable with the latest versions of zope/plone? Or there is another product to browse ldap for zope/plone? Any help would be much

Re: [Zope] how to send a mail attachment with python (ZPT) ?

2005-09-30 Thread Dieter Maurer
Georgakopoulos Nicolas wrote at 2005-9-30 17:25 +0300: I want to send values from a form by mail but I want to make this values a file and then send that file as an attachment. Use Python's email package to compose the email. -- Dieter ___ Zope

Re: [Zope] cutpaste from one mounted storage to another

2005-09-30 Thread Dieter Maurer
M. Krainer wrote at 2005-9-30 12:10 +0200: Is there a possibility to cutpaste from one mounted storage to another? There is no direct possibility -- but you can emulate cutpaste by copypastedelete. -- Dieter ___ Zope maillist - Zope@zope.org

Re: [Zope] Aquisition, UserFolder and security

2005-09-30 Thread Dieter Maurer
bruno modulix wrote at 2005-9-30 09:38 +0200: ... Dieter, I didn't misunderstood your proposed solution. But some users exist in different CPMs with different roles in each CPM. So - unless I'm totally at lost with how Zope's security works - if User1 has role RoleWithMuchPrivileges in Cpm1 and

Re: [Zope] External Method Working Directory?

2005-09-30 Thread jwithers
When I've needed to do simple stuff with this is the past, I just manipulate mailmain by send email from Zope to mailman's admin interface... Pipes seem easier to me. Responses from the command line scripts seem much easier to use for confirmation. And there are things you can do easily

[Zope] Problem with hasattr() and Zope 2.8.1

2005-09-30 Thread Doyon, Jean-Francois
Hello, I'm using new-style classes and properties to implement multilingual support in my objects. I might therefore have something like: mything = property(__get_mything) def __get_mything: return self.__mything_en (Extremely simplified!) This works fine. Now however I'm discovering

[Zope] Plone update

2005-09-30 Thread Michael Kaplan
I'm running Plone 2.0.5 with Zope 2.7.7-final and tried to upgrade to Plone 2.1. A dry-run of portal_migration stopped with errors : Products/ATContentTypes/migration/common.py, line 105, in unrestricted_rename action ='manage_main') Copy Error: HTML HEAD TITLEInvalid Id/TITLE /HEAD BODY

Re: [Zope] Plone update

2005-09-30 Thread Jens Vagelpohl
On 30 Sep 2005, at 23:49, Michael Kaplan wrote: I'm running Plone 2.0.5 with Zope 2.7.7-final and tried to upgrade to Plone 2.1. A dry-run of portal_migration stopped with errors : I believe this question will get more answers on a Plone-specific mailing list. See plone.org for more

[Zope] ZRS Now Available for FREE 30-day Evaluation

2005-09-30 Thread Brian Lloyd
Hi all, We are happy to announce that Zope Corporation is now offering Zope Replication Services (ZRS) in a 30-day evaluation format! For more information and to download the evaluation release, visit: http://customers.zope.com/ZRS/ About ZRS: Zope Replication Services (ZRS) increases

Re: [Zope] Problem with hasattr() and Zope 2.8.1

2005-09-30 Thread Alec Mitchell
On Friday 30 September 2005 12:49 pm, Doyon, Jean-Francois wrote: Hello, I'm using new-style classes and properties to implement multilingual support in my objects. I might therefore have something like: mything = property(__get_mything) def __get_mything: return self.__mything_en