Personal tools
You are here: Home Lists ZPUG DC List Archives 2005 2005-12 Bulk User Create / Mussie Haile <mhaile@moyatech.com>
Navigation
Log in


Forgot your password?
New user?
Mailing Lists
You can read our ZPUGDC mailing list archives online.
You can subscribe to our mailing list:
Book Review

The Definitive Guide to Plone

Reviewer: joel
 

Bulk User Create / Mussie Haile <mhaile@moyatech.com>

Bulk User Create
Mussie Haile <mhaile(at)moyatech.com>
2005-12-08 13:56:28 [ FULL ]
Hej et al -I am trying to create about 200 User account in Plone and am using
python Script executing it with External Method; the file is saved as csv
format wiht UserID, FullName, Email and Groups (see attached source Code).
Users.cvs Format:"Fullname","id","email","groups""Tracy
Green","GreenT","GreenT(at)yahoo.com","employee" Error: Skipped Tracy Green,
reason: The login name you selected is already in use or is not valid. Please
choose another. the only problem with the Error is that I have a fresh instance
of zope/plone; I can use some help here.  BTW. am running Plone 2.11 on
linux.  Mussie Haile
Attachments: 
text.html text/html - 838 Bytes
importUsers.py application/octet-stream - 1588 Bytes

Re: [ZPUGDC] Bulk User Create / Alex Clark <aclark@aclark.net>

Re: [ZPUGDC] Bulk User Create
Alex Clark <aclark(at)aclark.net>
2005-12-11 15:02:09 [ FULL ]
Mussie,

Well, if it's not failing because of a duplicate username then maybe that
entry is invalid for some reason, have you tried removing that entry
from the CSV, does it run without errors without that entry ?

Alex

On Thu, Dec 08, 2005 at 02:02:01PM -0600, Mussie Haile wrote:[...]


[...]

Re: [ZPUGDC] Bulk User Create / Mussie Haile <mhaile@moyatech.com>

Re: [ZPUGDC] Bulk User Create
Mussie Haile <mhaile(at)moyatech.com>
2005-12-12 12:47:09 [ FULL ]
Thanks to Matt K. this problem is resolved. On Sun Dec 11 16:11 , Alex Clark 
sent:Mussie,

Well, if it's not failing because of a duplicate username then maybe that
entry is invalid for some reason, have you tried removing that entry
from the CSV, does it run without errors without that entry ?

Alex

On Thu, Dec 08, 2005 at 02:02:01PM -0600, Mussie Haile wrote:[...]


[...]
Attachments: 
text.html text/html - 2901 Bytes

Re: [ZPUGDC] Bulk User Create / Alex Clark <aclark@aclark.net>

Re: [ZPUGDC] Bulk User Create
Alex Clark <aclark(at)aclark.net>
2005-12-12 12:47:48 [ FULL ]
What was the prob ? 

On Mon, Dec 12, 2005 at 12:52:50PM -0600, Mussie Haile wrote:[...]
[...]

Re: [ZPUGDC] Bulk User Create / Mussie Haile <mhaile@moyatech.com>

Re: [ZPUGDC] Bulk User Create
Mussie Haile <mhaile(at)moyatech.com>
2005-12-12 13:31:10 [ FULL ]
a few issues:1) if the group is create manually or automated it will not import
the users as they need to be assigned to a group with a member role.2) the
for..loop was not working properily, if the first person data fails instead of
skipping and importing the next data it will stop:-( I have attached the code
if any one is interested. The next challenge am working is importing LDAP users
in the same way bulk create instead of waiting for the User to Authenticate and
get created.L8r.-M- 
 On Mon Dec 12 13:56 , Alex Clark  sent:What was the prob ? 

On Mon, Dec 12, 2005 at 12:52:50PM -0600, Mussie Haile wrote:[...]
[...]
Attachments: 
text.html text/html - 5714 Bytes
importUsers.py application/octet-stream - 1950 Bytes

Powered by Plone, the Open Source Content Management System

This site conforms to the following standards: