← Back to team overview

schooltool-developers team mailing list archive

Fwd: Problem with New Person link

 

This is on New Person

--Tom

---------- Forwarded message ----------
From: Farm School <farmschoolnyc@xxxxxxxxxxxx>
Date: Wed, Aug 10, 2011 at 5:08 PM
Subject: Re: Problem with New Person link
To: Tom Hoffman <tom.hoffman@xxxxxxxxx>


the error message reads:

Exception

  ValueError: ('Duplicate name', 'Language')

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: <zope.browserpage.metaconfigure.PersonAddView
object at 0xe815ccc>
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 192, in update
  self.fields += self.generateExtraFields()
File "/usr/lib/python2.7/dist-packages/schooltool/basicperson/browser/person.py",
line 165, in generateExtraFields
  fields += field_desc.makeField()
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)



thanks,
Vicka

****************************
Farm School NYC
Just Food
1155 Avenue of the Americas 3rd Floor
New York, NY 10036
www.justfood.org/farmschoolnyc
farmschoolnyc@xxxxxxxxxxxx
212.645.9880 x.224




On Wed, Aug 10, 2011 at 4:22 PM, Tom Hoffman <tom.hoffman@xxxxxxxxx> wrote:
>
> Hi Vicka,
>
> Could you copy/paste the error message and send it to me, please.
>
> Thanks.
>
> --Tom
>
> On Wed, Aug 10, 2011 at 3:51 PM, Farm School <farmschoolnyc@xxxxxxxxxxxx> wrote:
> > Hey Tom,
> >
> > I think I encountered a bug on SchoolTool.  I tried to create a new user
> > account by clicking the "new person" link, but the link doesn't work.  It
> > sends me to a page that reads:
> >
> > 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.
> >
> > And all that is followed by a bunch of code and file names.  I can't proceed
> > with setting up SchoolTool if this link is broken.  I'd really appreciate
> > your help with this problem.
> >
> > Thanks!
> >
> > Vicka
> >
> > ****************************
> > Farm School NYC
> > Just Food
> > 1155 Avenue of the Americas 3rd Floor
> > New York, NY 10036
> > www.justfood.org/farmschoolnyc
> > farmschoolnyc@xxxxxxxxxxxx
> > 212.645.9880 x.224
> >
> >
> >


Follow ups