Hans-Jürgen Ficker wrote:
> Hi!
>
> I found two issues in current SVN version of freevo, probably
> introduced at r7908.
>
> The first affects the handling of conflicts in the padding of two
> shows. This patch fixes it:
>
> Index: freevo/tvserver/src/conflict.py
> ===================================================================
> --- freevo/tvserver/src/conflict.py   (revision 7920)
> +++ freevo/tvserver/src/conflict.py   (working copy)
> @@ -289,7 +289,7 @@
>                          # FIXME: maybe start != stop
>                          schedule[r.id][2] = False
>                          for c in r.conflict_padding:
> -                            schedule[r.id][3] = False
> +                            schedule[c.id][3] = False

Oops, right. I have no idea how this came into svn. Fixed.

> 2006-02-19 14:53:20,228 ERROR    [  mbus] mbus_wrapper.py 258: Error in RPC 
> handling
> Traceback (most recent call last):
>   File "/usr/local/lib/python2.4/site-packages/freevo/ipc/mbus_wrapper.py", 
> line 244, in __call__
>     result = super(Instance.RPC, self).__call__(*args)
>   File "../base/build/lib/kaa/notifier/callback.py", line 177, in __call__
>   File "/usr/local/lib/python2.4/site-packages/freevo/tvserver/server.py", 
> line 362, in rpc_recording_add
>     r = Recording(name, channel, priority, start, stop, **info)
> TypeError: __init__() keywords must be strings

Arg, my mbus wrapper now transform everything to unicode. This is nice
to have but breaks keyword args.

>      def __init__(self, name = 'unknown', channel = 'unknown',
>                   priority = 0, start = 0, stop = 0, node=None,
> -                 **info ):
> +                 info = {} ):

Thanks, fixed.



Dischi

-- 
Life's unfair - but root password helps!

Attachment: pgpgGWMt5gtMF.pgp
Description: PGP signature

Reply via email to