[albatross-users] unscriptable object
Sheila King
sheila at thinkspot.net
Tue Jul 15 00:12:09 EST 2003
--On Monday, July 14, 2003 9:35 AM -0400 "Eric S. Johansson"
<esj at harvee.org> wrote:
> Traceback (most recent call last):
> File "/usr/lib/python2.2/site-packages/albatross/app.py", line
> 221, in run self.merge_request(ctx)
> File "/usr/lib/python2.2/site-packages/albatross/app.py", line
> 301, in merge_request
> ctx.merge_request()
> File "/usr/lib/python2.2/site-packages/albatross/context.py",
> line 306, in merge_request
> self.set_value(name, value)
> File "/usr/lib/python2.2/site-packages/albatross/context.py",
> line 336, in set_value
> if name[0] == '_':
> TypeError: unsubscriptable object
>
>
>
> the Q is where and why? _ is a legal character and used in other
> places.
>
Another thought (this has bit me before):
Do all of your form elements have a name field? I had a problem once
where I forgot to put names in the HTML template for my form
elements, and IIRC got this type of error, especially if you have
more than one form element without a name, as then albatross thinks
it is a list type.
--
Sheila King
http://www.thinkspot.net/sheila/
http://www.k12groups.org
More information about the Albatross-users
mailing list