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

[Zope] cut&paste from one mounted storage to another

2005-09-30 Thread M. Krainer
Hi! Is there a possibility to cut&paste 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 cut&paste an object from e.g. /site/foo/bar to /site/Archive/bar I get an InvalidObjectReference Excepti

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 UT

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 n

[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 filli

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 > RoleWithMuc

[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 Cp

[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 th

[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 > RoleWithMuc

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 mo

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 t

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 id

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 i

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 to

Re: [Zope] cut&paste 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 cut&paste 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 zodb-dev

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 >

[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 ma

Re: [Zope] cut&paste 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 cut&paste from one mounted storage to another? There is no direct possibility -- but you can emulate "cut&paste" by "copy&paste&delete". -- 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 a

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 f

[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 that

[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: Invalid Id ! The id "de_MI

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 informa

[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 the

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.__mythin