[Urwid] Metaclass error

Deniz Dogan deniz.a.m.dogan at gmail.com
Sun Dec 14 13:05:10 EST 2008


I tried that patch and as I wrote in my original e-mail, it didn't
work for me. "patch" complains about not finding the target file.
Could you tell me exactly how to execute the patch and where to have
my PWD when doing so?

Deniz

2008/12/14 Ian Ward <ian at excess.org>:
> 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
>>
>
>
>
> _______________________________________________
> Urwid mailing list
> Urwid at lists.excess.org
> http://lists.excess.org/mailman/listinfo/urwid
>
>




More information about the Urwid mailing list