Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Plugin Crashed: undefined method `each' for nil:NilClass #3

Open
SemoTech opened this issue Feb 23, 2012 · 2 comments
Open

Plugin Crashed: undefined method `each' for nil:NilClass #3

SemoTech opened this issue Feb 23, 2012 · 2 comments

Comments

@SemoTech
Copy link

Running latest SiriProxy 0.9.9 & it works 100% for just Siri.

SiriProxy-XBMC was setup in my config.yml yesterday with a single XBOX.

Connects fine and says "Xbox Online" but errors out on any other command, like "Play"

Any suggestions?

Here is the log report:

[Info - Forwarding object to iPhone] SpeechRecognized
[Info - Plugin Manager] Processing 'Play Hugo '
[Info - Plugin Manager] Processing plugin #SiriProxy::Plugin::Example:0x8c202c4
[Info - Plugin Manager] Processing plugin #SiriProxy::Plugin::XBMC:0x89622d0
[Info - Plugin Manager] Matches (?i-mx:play (.+?)(?: in the (.*))?$)
[Info - Plugin Manager] Applicable states:
[Info - Plugin Manager] Current state:
[Info - Plugin Manager] Matches, executing block
[SiriProxy-XBMC] Connecting to the XBMC interface (default)
[SiriProxy-XBMC] XBMC API Version 2 - Dharma
[SiriProxy-XBMC] Finding TV show (API version 2)
[Info - Plugin Manager] Plugin Crashed: undefined method `each' for nil:NilClass
[Info - Forwarding object to iPhone] AddViews

@nameCantBeBlank
Copy link

Hey SemoTech- you ever figure this out? I am getting the same thing with the Hue Plugin:

[Info - Plugin Manager] Processing 'Turn on left'
[Info - Plugin Manager] Processing plugin Example
[Info - Plugin Manager] Processing plugin Hue
[Info - Plugin Manager] Matches (?i-mx:turn (on|off)(?: the)? ([a-z]*))
[Info - Plugin Manager] Applicable states:
[Info - Plugin Manager] Current state:
[Info - Plugin Manager] Matches, executing block
zlib(finalizer): the stream was freed prematurely.
zlib(finalizer): the stream was freed prematurely.
[Info - Plugin Manager] Plugin Crashed: undefined local variable or method `entity' for #SiriProxy::Plugin::Hue:0x000000011b3838
[Info - iPhone] Received Object: ClearContext
[Info - iPhone] Received Object: CancelRequest

It turns on the light fine but still reports an error in the log and via Siri

@Deanmv
Copy link
Contributor

Deanmv commented Apr 18, 2013

@SemoTech try looking at the issue #9 as that seems to be the same thing. I pushed a fix here #12 that should have been done with that bug? Do you have both a music and TV library scanned

If not set the log level to higher and run it again as there should be more output.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants