Bugzilla – Bug 6758
Music Library->New Music throws exception on Jive
Last modified: 2008-05-15 12:27:23 UTC
This is an SC problem in the request response in Slim::Control::Queries::albumsQuery. I already have a fix-- can it go in 7.0? 100945:1379816 ERROR (RequestHttp.lua:67) - Response sink:...0/jive/src/pkg/jive/share/applets/SlimBrowser/DB.lua:171: chunk must have item_loop field if count>0 stack traceback: .../7.0/jive/src/pkg/jive/share/jive/utils/coxpcall.lua:28: in function <.../7.0/jive/src/pkg/jive/share/jive/utils/coxpcall.lua:26> (tail call): ? (tail call): ? (tail call): ? ...7.0/jive/src/pkg/jive/share/jive/net/RequestHttp.lua:64: in function 'snk' .../branches/7.0/jive/build/osx/share/lua/5.1/ltn12.lua:262: in function 'mySink' ....0/jive/src/pkg/jive/share/jive/net/CometRequest.lua:135: in function 't_setResponseBody' .../7.0/jive/src/pkg/jive/share/jive/net/SocketHttp.lua:652: in function 'snk' .../branches/7.0/jive/build/osx/share/lua/5.1/ltn12.lua:277: in function 'step' .../7.0/jive/src/pkg/jive/share/jive/net/SocketHttp.lua:717: in function 'pump' ...s/7.0/jive/src/pkg/jive/share/jive/net/SocketTcp.lua:202: in function 'readPump' ...ches/7.0/jive/src/pkg/jive/share/jive/net/Socket.lua:143: in function <...ches/7.0/jive/src/pkg/jive/share/jive/net/Socket.lua:141
I was wrong, my fix is not good enough. This bug throws an exception to the jive console but otherwise causes no issue (the New Music window is fully usable) The issue is that this line # now build the result my ($valid, $start, $end) = $request->normalize(scalar($index), scalar($quantity), $count); returns 0 for $valid in the last part of the 'new music' query. as a result, the request returns a count and no item_loop, which throws an exception. IMO this can wait until 7.0.1. It'll be invisible to a user.
Reset priority
removing priorities from all 7.0.1 target bugs for re-prioritizing
I belive this was fixed as the result of some other fixes with chunked repsonses. I no longer see it.
This bug has recently been fixed in the latest release of SqueezeCenter 7.0.1 Please try that version, if you still see the error, then reopen this bug. To download this version, please navigate to: http://www.slimdevices.com/su_downloads.html