Re: Freevo and kaa from svn - problems

Adam Charrett <[email protected]> Sat, 16 Jul 2011 11:02:06 +0100
Newsgroups gmane.comp.video.freevo.devel
Message-ID <1310810526.11964.12.camel@boris>
On Fri, 2011-07-15 at 23:08 +0200, [email protected] wrote:
> Hi,
> 
> After a few months of break I tried to get freevo snv going, in parallel
> to my standard 1.9.0 setup.
> 
> I updated kaa, then freevo and got it running (well kind of). I do not get
> any keyboard nor mouse events and lirc is misbehaving too.
> 
> I get following errors when I press buttons on my remote:
> 
> 2011-07-15 21:19:46,399 INFO     rc.py (603): no event mapping for key 'me
> /var/run/lirc/lircd\n\xfb\x93\x99\xb4$\x88' in context 'menu'
> 2011-07-15 21:19:46,400 DEBUG    rc.py (604): send button event BUTTON
> arg='me /var/run/lirc/lircd\n\xfb\x93\x99\xb4$\x88'

Have you added a print somewhere? It looks like you've added a print
statement to output the path of the lircd file?
This will break the input_helper->freevo communication.
 
> Exception caught in main loop
> Traceback (most recent call last):
>   File
> "/usr/local/src/freevo-test/lib/python2.6/site-packages/kaa/base/main.py",
> line 205, in loop
>     notifier.step()
>   File
> "/usr/local/src/freevo-test/lib/python2.6/site-packages/kaa/base/pynotifier/nf_generic.py",
> line 255, in step
>     if callback is not None and not callback( sock ):
>   File
> "/usr/local/src/freevo-test/lib/python2.6/site-packages/kaa/base/nf_wrapper.py",
> line 83, in __call__
>     ret = super(NotifierCallback, self).__call__(*args, **kwargs)
>   File
> "/usr/local/src/freevo-test/lib/python2.6/site-packages/kaa/base/callable.py",
> line 226, in __call__
>     return cb(*cb_args, **cb_kwargs)
>   File
> "/usr/local/src/freevo-test/lib/python2.6/site-packages/freevo/rc.py",
> line 204, in _handle_input
>     self.rc.post_key(key)
>   File
> "/usr/local/src/freevo-test/lib/python2.6/site-packages/freevo/rc.py",
> line 583, in post_key
>     self.key_event_mapper(key).post()
> AttributeError: 'NoneType' object has no attribute 'post'

Hmmm, this shouldn't be happening I'll take a look at this,

Cheers

Adam


------------------------------------------------------------------------------
AppSumo Presents a FREE Video for the SourceForge Community by Eric 
Ries, the creator of the Lean Startup Methodology on "Lean Startup 
Secrets Revealed." This video shows you how to validate your ideas, 
optimize your ideas and identify your business strategy.
http://p.sf.net/sfu/appsumosfdev2dev