[Urwid] Metaclass error
Ian Ward
ian at excess.org
Sun Dec 14 13:01:28 EST 2008
Hi Deniz,
Friedrich Weber posted a patch for this problem, but I haven't had a
chance to make sure it doesn't break older versions of Python:
http://www.mail-archive.com/urwid@lists.excess.org/msg00297.html
Ian
Deniz Dogan wrote:
> Hello. When trying to install the latest hg version of Urwid, I get this:
>
> deniz at stalin:~/sources/urwid% python setup.py install
> Traceback (most recent call last):
> File "setup.py", line 31, in <module>
> import urwid
> File "/home/deniz/sources/urwid/urwid/__init__.py", line 49, in <module>
> from listbox import *
> File "/home/deniz/sources/urwid/urwid/listbox.py", line 85, in <module>
> class SimpleListWalker(MonitoredList, ListWalker):
> File "/usr/lib/python2.6/abc.py", line 76, in __new__
> cls = super(ABCMeta, mcls).__new__(mcls, name, bases, namespace)
> TypeError: Error when calling the metaclass bases
> metaclass conflict: the metaclass of a derived class must be a
> (non-strict) subclass of the metaclasses of all its bases
>
> There was a patch for this, which I couldn't get to work. When will
> this be fixed? As you can see in the error message, I'm using Python
> 2.6.
>
> Deniz
>
>
> _______________________________________________
> Urwid mailing list
> Urwid at lists.excess.org
> http://lists.excess.org/mailman/listinfo/urwid
>
More information about the Urwid
mailing list