On Sunday 12 February 2006 14:29, Hans Meine wrote:
> Right now, I am not sure how to set it [ivtv support] up,
> although it should work IIRC.  freevo-tvdev gives me:
>
> INFO system(65): Detecting TV cards.
> ERROR v4l_tuner(184): bad norm "pal", using NTSC as default
This is already strange, but I did not have a look at it yet.

> Traceback (most recent call last):
>   File "bin/freevo-tvdev", line 62, in ?
>     if not freevo.tvdev.create():
>   File
> "/home/newfreevo/local-freevo/lib/python2.4/site-packages/freevo/tvdev/syst
>em.py", line 195, in create
>     devices.append(ivtv.Device(card))
>   File
> "/home/newfreevo/local-freevo/lib/python2.4/site-packages/freevo/tvdev/ivtv
>.py", line 120, in __init__
>     card.resolution, card.codec.aspect, card.codec.audio_bitmask,
>   File
> "/home/newfreevo/local-freevo/lib/python2.4/site-packages/kaa/base/config.p
>y", line 332, in __getattr__
>     return VarProxy(item._value, item._monitors, item._parent)
>   File
> "/home/newfreevo/local-freevo/lib/python2.4/site-packages/kaa/base/config.p
>y", line 153, in __new__
>     newclass = classobj("VarProxy", (clstype, cls), {
> TypeError: type 'NoneType' is not an acceptable base type
Looking at the code, it may be a python version-specific limitation?

VarProxy.__new__ even has a default of "value = None" although None does not 
seem to work here (Python 2.4.2).

In tvdev/ivtv.py, it's the config parsing in Config.__init__ which again has 
lots of None's as default values below "# TODO: add nice default values and 
descriptions".

Does that work with python 2.3?

-- 
Ciao, /  /                                                    .o.
     /--/                                                     ..o
    /  / ANS                                                  ooo

Attachment: pgppPgCgSJJ6j.pgp
Description: PGP signature

Reply via email to