PDA

View Full Version : bug in JSONRPC



danaronson
2008-02-27, 21:36
While tuning in a URL from the squeezecenter web interface, I see the following error in the serverlog: (see the last line)

[08-02-27 20:28:36.2853] Slim::Web::JSONRPC::handleURI (73) handleURI(Slim::Web::HTTP::ClientConn=GLOB(0xb0983 34))
[08-02-27 20:28:36.2864] Slim::Web::JSONRPC::handleURI (108) POST data: [{"id":1,"method":"slim.request","params":["00:04:20:16:00:eb",["playlist","play","http://wfmu.org/wfmu.pls"]]}]
[08-02-27 20:28:36.2889] Slim::Web::JSONRPC::handleURI (126) JSON parsed procedure: {
id => 1,
method => "slim.request",
params => [
"00:04:20:16:00:eb",
["playlist", "play", "http://wfmu.org/wfmu.pls"],
],
}
[08-02-27 20:28:36.2912] Slim::Web::JSONRPC::requestMethod (308) requestMethod([
"00:04:20:16:00:eb",
["playlist", "play", "http://wfmu.org/wfmu.pls"],
])
[08-02-27 20:28:36.2922] Slim::Web::JSONRPC::requestMethod (330) Parsing command: Found client [00:04:20:16:00:eb]
[08-02-27 20:28:36.2939] Slim::Web::JSONRPC::requestMethod (352) Dispatching...
[08-02-27 20:28:36.3074] Slim::Web::JSONRPC::requestMethod (370) Request is async: will be back
[08-02-27 20:28:36.8085] Slim::Web::JSONRPC::requestWrite (398) requestWrite()
[08-02-27 20:28:36.8099] Slim::Networking::Select::select (245) Error: Select task failed: Can't call method "connectionID" on an undefined value at /home/dan/source/squeezecenter-7.0-17491/Slim/Web/JSONRPC.pm line 403.

mherger
2008-02-27, 23:54
Thanks for reporting this issue. Can you confirm that the stream will
still play?

Michael

>
> While tuning in a URL from the squeezecenter web interface, I see the
> following error in the serverlog: (see the last line)
>
> [08-02-27 20:28:36.2853] Slim::Web::JSONRPC::handleURI (73)
> handleURI(Slim::Web::HTTP::ClientConn=GLOB(0xb0983 34))
> [08-02-27 20:28:36.2864] Slim::Web::JSONRPC::handleURI (108) POST data:
> [{"id":1,"method":"slim.request","params":["00:04:20:16:00:eb",["playlist","play","http://wfmu.org/wfmu.pls"]]}]
> [08-02-27 20:28:36.2889] Slim::Web::JSONRPC::handleURI (126) JSON
> parsed procedure: {
> id => 1,
> method => "slim.request",
> params => [
> "00:04:20:16:00:eb",
> ["playlist", "play", "http://wfmu.org/wfmu.pls"],
> ],
> }
> [08-02-27 20:28:36.2912] Slim::Web::JSONRPC::requestMethod (308)
> requestMethod([
> "00:04:20:16:00:eb",
> ["playlist", "play", "http://wfmu.org/wfmu.pls"],
> ])
> [08-02-27 20:28:36.2922] Slim::Web::JSONRPC::requestMethod (330)
> Parsing command: Found client [00:04:20:16:00:eb]
> [08-02-27 20:28:36.2939] Slim::Web::JSONRPC::requestMethod (352)
> Dispatching...
> [08-02-27 20:28:36.3074] Slim::Web::JSONRPC::requestMethod (370)
> Request is async: will be back
> [08-02-27 20:28:36.8085] Slim::Web::JSONRPC::requestWrite (398)
> requestWrite()
> [08-02-27 20:28:36.8099] Slim::Networking::Select::select (245) Error:
> Select task failed: Can't call method "connectionID" on an undefined
> value at /home/dan/source/squeezecenter-7.0-17491/Slim/Web/JSONRPC.pm
> line 403.
>
>

oreillymj
2008-02-28, 02:13
Could my problem of the Duet unpausing radio streams

http://forums.slimdevices.com/showthread.php?t=43927

be related to this bug?

mherger
2008-02-28, 07:33
Could my problem of the Duet unpausing radio streams be related to this bug?

Very unlikely: this is about one particular JSON request.

mherger
2008-02-28, 07:38
> While tuning in a URL from the squeezecenter web interface, I see the
> following error in the serverlog: (see the last line)

I opened a bug against this:
http://bugs.slimdevices.com/show_bug.cgi?id=7349

--

Michael

danaronson
2008-03-01, 15:09
sorry for the delayed reply. The stream does play.

--dan

andyg
2008-03-05, 17:44
Bug has been fixed in trunk.