Home of the Squeezebox™ & Transporter® network music players.
Results 1 to 7 of 7

Thread: bug in JSONRPC

  1. #1

    bug in JSONRPC

    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.

  2. #2
    Babelfish's Best Boy mherger's Avatar
    Join Date
    Apr 2005
    Location
    Switzerland
    Posts
    20,454

    bug in JSONRPC

    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.
    >
    >




  3. #3
    Senior Member
    Join Date
    May 2005
    Posts
    994
    Could my problem of the Duet unpausing radio streams

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

    be related to this bug?

  4. #4
    Babelfish's Best Boy mherger's Avatar
    Join Date
    Apr 2005
    Location
    Switzerland
    Posts
    20,454
    Quote Originally Posted by oreillymj View Post
    Could my problem of the Duet unpausing radio streams be related to this bug?
    Very unlikely: this is about one particular JSON request.
    Michael

    "It doesn't work - what shall I do?" - "Please check your server.log and/or scanner.log file!"
    (LMS: Settings/Information)

  5. #5
    Babelfish's Best Boy mherger's Avatar
    Join Date
    Apr 2005
    Location
    Switzerland
    Posts
    20,454

    bug in JSONRPC

    > 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

  6. #6
    sorry for the delayed reply. The stream does play.

    --dan

  7. #7
    Former Squeezebox Guy andyg's Avatar
    Join Date
    Jan 2006
    Location
    Pittsburgh, PA
    Posts
    7,396
    Bug has been fixed in trunk.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •