Re: [Zope] The product I made isn't in the product management page

2007-01-03 Thread Allen Huang
I got it to work.. thank a lot everyone, couldn't hav done it without you guys. - Original Message From: Andreas Jung <[EMAIL PROTECTED]> To: Maciej Wisniowski <[EMAIL PROTECTED]>; Allen Huang <[EMAIL PROTECTED]> Cc: Zope Sent: Wednesday, January 3, 2007 3:13:48 PM Subject: Re: [Zope] T

RE: [Zope] attribute-less object(assign or del)

2007-01-03 Thread Kate Legere
It turned out, actually to be easier than I though to correct this - I ended up trapping the exception whenever one occurred. Thanks for all the input. Katie -Original Message- From: Dieter Maurer [mailto:[EMAIL PROTECTED] Sent: Sunday, December 17, 2006 4:25 AM To: Kate Legere Cc: z

[Zope] acl_users

2007-01-03 Thread Sean Duffy
Hi, I'm trying to do a batch add of users to the standard acl_users folder. Note quite a total success or total failure just yet. First I made a text file (usr_pwd.txt) in the form of password space username. and placed it (temporarily) in the Extensions directory. Then an external method (Loa

Re: [Zope] acl_users

2007-01-03 Thread robert rottermann
readlines returns also the terminating \n. you have to strip it hth rr Sean Duffy wrote: > Hi, > > I'm trying to do a batch add of users to the standard acl_users folder. > > Note quite a total success or total failure just yet. > > First I made a text file (usr_pwd.txt) in the form of password spa

[Zope] solved: acl_users

2007-01-03 Thread Sean Duffy
Hi, Thanks to Robert & Alexis I have a working solution: First I made a text file (usr_pwd.txt) in the form of password space username, and placed it (temporarily) in the Extensions directory. Then an external method (LoadUsers) to read it: def LoadUsers(self): f=open('/var/lib/zope/Extensi

Re: [Zope] solved: acl_users

2007-01-03 Thread Andreas Jung
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 - --On 3. Januar 2007 14:42:58 -0600 Sean Duffy <[EMAIL PROTECTED]> wrote: > y=context.LoadUsers() > p=[] > for x in y: > z=x.split(' ') > z0=z[0] > z1=z[1] > z1=z1[:-1] ^ Don't do that. Python strings have a strip() method.

[Zope] resolved: acl_users

2007-01-03 Thread Sean Duffy
Hi, Andreas has pointed out that my personal os.bias module has prevented me from producing pythonically correct code. Please note the replacement of z1[:-1] with z1.strip() below. Then an external method (LoadUsers) to read it: def LoadUsers(self): f=open('/var/lib/zope/Extensions/usr_pwd

[Zope] Re: zope document management

2007-01-03 Thread pol
Dieter Maurer wrote: > Maybe, you have a look at "LocalFS". It seems to be not compatible with zope 2.9.6 I have copied the LocalFS-1.3-andreas.tar.gz into the products, but it's not even shown in Control Panel -> Product Management list. Have i missed anything? Thank you -- Pol __

Re: [Zope] Re: zope document management

2007-01-03 Thread Chris McDonough
I don't know much about the status of LocalFS but another product you might want to look at is here: http://www.plope.com/software/blob/ On Jan 3, 2007, at 5:31 PM, pol wrote: Dieter Maurer wrote: Maybe, you have a look at "LocalFS". It seems to be not compatible with zope 2.9.6 I have c

Re: [Zope] Re: zope document management

2007-01-03 Thread Andreas Jung
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 - --On 3. Januar 2007 23:31:27 +0100 pol <[EMAIL PROTECTED]> wrote: > Dieter Maurer wrote: >> Maybe, you have a look at "LocalFS". > > > It seems to be not compatible with zope 2.9.6 > I have copied the LocalFS-1.3-andreas.tar.gz into the products,