[albatross-users] unscriptable object

Sheila King sheila at thinkspot.net
Tue Jul 15 00:08:30 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.

When I have received this error in the past, it is usually because 
the object was a None type.

I bet that your name sequence is empty (i.e. None). OK, well that is 
my guess.

-- 
Sheila King
http://www.thinkspot.net/sheila/
http://www.k12groups.org







More information about the Albatross-users mailing list