Skip to content
This repository has been archived by the owner on May 7, 2020. It is now read-only.

Paper UI: Hang on specific control tab #3838

Closed
rapiertg opened this issue Jul 14, 2017 · 9 comments
Closed

Paper UI: Hang on specific control tab #3838

rapiertg opened this issue Jul 14, 2017 · 9 comments

Comments

@rapiertg
Copy link

Hi,

When I choose some specific (actually two of six cause this behavior) tab in Control menu in paper ui the whole website hangs with log spammed by messages:

angular.min.js:107 TypeError: [sprintf] expecting number but found string
    at b.format (sprintf.min.js:3)
    at b (sprintf.min.js:3)
    at Object.getItemStateText (utility.js:1)
    at r.$scope.getItem (controllers.min.js:3)
    at controllers.min.js:3
    at Object.n [as forEach] (angular.min.js:7)
    at r.$scope.getItems (controllers.min.js:3)
    at fn (eval at compile (angular.min.js:213), <anonymous>:4:345)
    at Object.<anonymous> (angular.min.js:116)
    at r.$digest (angular.min.js:131)
(anonymous) @ angular.min.js:107
(anonymous) @ angular.min.js:81
$digest @ angular.min.js:131
$apply @ angular.min.js:134
g @ angular.min.js:87
T @ angular.min.js:92
w.onload @ angular.min.js:93
angular.min.js:107 TypeError: [sprintf] expecting number but found string
    at b.format (sprintf.min.js:3)
    at b (sprintf.min.js:3)
    at Object.getItemStateText (utility.js:1)
    at r.$scope.getItem (controllers.min.js:3)
    at controllers.min.js:3
    at Object.n [as forEach] (angular.min.js:7)
    at r.$scope.getItems (controllers.min.js:3)
    at fn (eval at compile (angular.min.js:213), <anonymous>:4:345)
    at Object.<anonymous> (angular.min.js:116)
    at r.$digest (angular.min.js:131)
@lolodomo
Copy link
Contributor

Maybe you have %d in a label while you should have %s.

@rapiertg
Copy link
Author

rapiertg commented Jul 14, 2017

Not using labels at all. Now I noticed that I probably dont have channel's names at all:

zrzut ekranu z 2017-07-14 21-56-26

@rapiertg
Copy link
Author

As to the hanging of specific control tab - thru elimination I know which things cause this - every tab with squeezebox thing. Rest of tabs works.

@lolodomo
Copy link
Contributor

Have you channels linked to image for this thing ?
What happens if you unlink these channels ?

@rapiertg
Copy link
Author

Yes, I had cover_art linked. After I unlinked It, the tab works fine now.

@lolodomo
Copy link
Contributor

Lioking at the code of the squeezebox 2.x binding, the channel name is coverartdata and is an image.

@kaikreuzer
Copy link
Contributor

Does this problem still exist after #3731 had been merged?

@rapiertg
Copy link
Author

rapiertg commented Sep 3, 2017

Don't have test environment, so sorry, until next stable release I can't check it.

@rapiertg
Copy link
Author

rapiertg commented Feb 1, 2018

Sorry for late reply after last stable. Had little time to update. This seems to be fixed.

@sjsf sjsf closed this as completed Feb 2, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

5 participants