Walla! Problem solved with your kind help and diagnosis. I did use
'password' as one of the IDs in demographics. I deleted that field and the
problem solved.
Thank You, Douglas :)
On Wed, Aug 1, 2012 at 11:47 AM, Douglas Cerna <email address hidden>wrote:
> Did you add a demographics field with "password" as the ID?
>
> I think we should add a prefix to demographics fields in the person
> forms to avoid these clashes.
>
>
> ** Summary changed:
>
> - Error "duplicate username;password' when try to add "student" or
> "teacher"
> + Demographics fields clash with basic fields in forms
>
> --
> You received this bug notification because you are subscribed to the bug
> report.
> https://bugs.launchpad.net/bugs/1030675
>
> Title:
> Demographics fields clash with basic fields in forms
>
> Status in SchoolTool:
> New
>
> Bug description:
> I have checked all the usernames and found the duplication and
> corrected the duplication. But the error is still there. Error msg as
> follow;
>
>
> Server Error
> An internal server error has occurred. This most likely means that you
> have found a bug in SchoolTool. Please report it on the issue tracker.
>
> Exception
> ValueError: ('Duplicate name', 'password')
>
> Traceback
> File "/usr/lib/python2.7/dist-packages/zope/publisher/publish.py", line
> 132, in publish
> result = publication.callObject(request, obj)
> File
> "/usr/lib/python2.7/dist-packages/zope/app/publication/zopepublication.py",
> line 207, in callObject
> return mapply(ob, request.getPositionalArguments(), request)
> File "/usr/lib/python2.7/dist-packages/zope/publisher/publish.py", line
> 107, in mapply
> return debug_call(obj, args)
> Extra information:
> <schooltool.skin.flourish.zcml_content.FlourishPersonAddView_addStudent.html
> object at 0xb517076c>
> File "/usr/lib/python2.7/dist-packages/zope/publisher/publish.py", line
> 113, in debug_call
> return obj(*args)
> File "/usr/lib/python2.7/dist-packages/z3c/form/form.py", line 215, in
> __call__
> self.update()
> File
> "/usr/lib/python2.7/dist-packages/schooltool/basicperson/browser/person.py",
> line 930, in update
> PersonAddViewBase.update(self)
> File
> "/usr/lib/python2.7/dist-packages/schooltool/basicperson/browser/person.py",
> line 910, in update
> self.fields += self.getDemoFields()
> File "/usr/lib/python2.7/dist-packages/z3c/form/util.py", line 227, in
> __add__
> return self.__class__(self, other)
> File "/usr/lib/python2.7/dist-packages/z3c/form/field.py", line 135, in
> __init__
> raise ValueError("Duplicate name", name)
>
> To manage notifications about this bug go to:
> https://bugs.launchpad.net/schooltool/+bug/1030675/+subscriptions
>
Walla! Problem solved with your kind help and diagnosis. I did use
'password' as one of the IDs in demographics. I deleted that field and the
problem solved.
Thank You, Douglas :)
On Wed, Aug 1, 2012 at 11:47 AM, Douglas Cerna <email address hidden>wrote:
> Did you add a demographics field with "password" as the ID? /bugs.launchpad .net/bugs/ 1030675 python2. 7/dist- packages/ zope/publisher/ publish. py", line callObject( request, obj) python2. 7/dist- packages/ zope/app/ publication/ zopepublication .py", getPositionalAr guments( ), request) python2. 7/dist- packages/ zope/publisher/ publish. py", line skin.flourish. zcml_content. FlourishPersonA ddView_ addStudent. html python2. 7/dist- packages/ zope/publisher/ publish. py", line python2. 7/dist- packages/ z3c/form/ form.py" , line 215, in python2. 7/dist- packages/ schooltool/ basicperson/ browser/ person. py", se.update( self) python2. 7/dist- packages/ schooltool/ basicperson/ browser/ person. py", lds() python2. 7/dist- packages/ z3c/form/ util.py" , line 227, in class__ (self, other) python2. 7/dist- packages/ z3c/form/ field.py" , line 135, in "Duplicate name", name) /bugs.launchpad .net/schooltool /+bug/1030675/ +subscriptions
>
> I think we should add a prefix to demographics fields in the person
> forms to avoid these clashes.
>
>
> ** Summary changed:
>
> - Error "duplicate username;password' when try to add "student" or
> "teacher"
> + Demographics fields clash with basic fields in forms
>
> --
> You received this bug notification because you are subscribed to the bug
> report.
> https:/
>
> Title:
> Demographics fields clash with basic fields in forms
>
> Status in SchoolTool:
> New
>
> Bug description:
> I have checked all the usernames and found the duplication and
> corrected the duplication. But the error is still there. Error msg as
> follow;
>
>
> Server Error
> An internal server error has occurred. This most likely means that you
> have found a bug in SchoolTool. Please report it on the issue tracker.
>
> Exception
> ValueError: ('Duplicate name', 'password')
>
> Traceback
> File "/usr/lib/
> 132, in publish
> result = publication.
> File
> "/usr/lib/
> line 207, in callObject
> return mapply(ob, request.
> File "/usr/lib/
> 107, in mapply
> return debug_call(obj, args)
> Extra information:
> <schooltool.
> object at 0xb517076c>
> File "/usr/lib/
> 113, in debug_call
> return obj(*args)
> File "/usr/lib/
> __call__
> self.update()
> File
> "/usr/lib/
> line 930, in update
> PersonAddViewBa
> File
> "/usr/lib/
> line 910, in update
> self.fields += self.getDemoFie
> File "/usr/lib/
> __add__
> return self.__
> File "/usr/lib/
> __init__
> raise ValueError(
>
> To manage notifications about this bug go to:
> https:/
>