On Sun, 1 Oct 2000, Eric Gillespie, Jr. wrote:
> The attached small program causes this error:
>
> Traceback (innermost last):
> File "/home/epg/src/test.py", line 12, in ?
> list.append_items((item))
You must pass a sequence object to append_items. (item) is the same as
item. Maybe you wanted (item,).
> File "/usr/lib/python1.5/site-packages/gtk.py", line 1511, in append_items
> items = map(lambda i: i._o, items)
> File "/usr/lib/python1.5/site-packages/gtk.py", line 75, in __getattr__
> raise AttributeError, attr
> AttributeError: __len__
>
> It looks like GtkObject.__getattr__ always raises AttributeError
> no matter what. Is there any way around this? I need a list i can
> pack widgets into, so the CList won't work.
>
> Thanks.
James.
--
Email: [EMAIL PROTECTED]
WWW: http://www.daa.com.au/~james/
_______________________________________________
pygtk mailing list [EMAIL PROTECTED]
http://www.daa.com.au/mailman/listinfo/pygtk