Jump to content

Reports Plugin not woking


Smaky

Recommended Posts

bugmafia007

so @ebr what is the solution,i need so much that report(more than 10000 movies here lool) ..if the report doesn't work..what other solutions u can give me?because reports have the same importance like the server himself .

Thank You 

Edited by bugmafia007
Link to comment
Share on other sites

Spaceboy
So wait  a second @Spaceboy ..so nobody care about this issue? 

Well you saw how long it was since the dev was first notified of the problem
Link to comment
Share on other sites

koelner21

Unfortunately, I have exactly the same problem. I think it's the button, because it used to look different.

It would be really nice if someone could update it, because I couldn't find a version for it on Jellyfin.

 

For Slack there is an alternative, but not for Reports

 

Thanks.

Link to comment
Share on other sites

Happy2Play

The issue has not been identified as this affects select system setups and has been that way for awhile.

https://emby.media/community/index.php?/topic/74344-reports-plugin-not-working/

Pretty sure there are others but all may have been merged.

The plugin is community base so anyone with the coding knowledge can attempt to fix the problem.

Link to comment
Share on other sites

koelner21

Unfortunately I am not a programmer, my area of expertise is controlling and accounting.
But it seems that several people have the same problem, because I get the same results as the other users.

 

Synology NAS DS418Play mit der aktuellen stable Emby Version 4.4.3.0

Reports wurde aktualisiert
10.7.2020, 23:13:41
Version 1.0.38
 
If you can set somewhere that the updates are not installed or if someone knows where to get the dll file from, then I would test if an old version works.
Link to comment
Share on other sites

Happy2Play

If you were to change the drop down from Album to Movies does it make any difference?  Or is the drop down blank?

 

But as everyone else that sees this issues it appears to hang and display the same thing, but still can not fully reproduce it.

Edited by Happy2Play
Link to comment
Share on other sites

koelner21

I already had the black screen, too. I have re-started the server several times and also installed other versions. Nothing helps.

 

 

694008447_Reports1.thumb.PNG.2fd10f5969a4fcc44ea24fb0757a5fd1.PNG

546375886_Reports2.thumb.PNG.193cf0c73ca3187b4e7bdd9ad11cae8c.PNG

Link to comment
Share on other sites

Happy2Play
2 minutes ago, koelner21 said:

I already had the black screen, too. I have re-started the server several times and also installed other versions. Nothing helps.

 

 

694008447_Reports1.thumb.PNG.2fd10f5969a4fcc44ea24fb0757a5fd1.PNG

546375886_Reports2.thumb.PNG.193cf0c73ca3187b4e7bdd9ad11cae8c.PNG

What about the Albums drop down, not the three dot menu?

Link to comment
Share on other sites

koelner21
1 minute ago, Happy2Play said:

What about the Albums drop down, not the three dot menu?

Do you mean this one?

1951546229_Reports3.PNG.0ce315eb18d1d9e1e82128fa7ed200fe.PNG131861348_Reports4.thumb.PNG.9a5f933d48c10730438035eb288d8b12.PNG

Link to comment
Share on other sites

Happy2Play

Yes, basically it looks like these select systems/configurations are not allowing the script to build the content type tables.  So if you change that dropdown to something else the same happens correct?

Are there any browser console error?

Link to comment
Share on other sites

Happy2Play

No as that the reports.html, the issue is being able to reproduce to figure out where the issue is.

Are there any browser console errors when you enter or try to navigate in the plugin?

Link to comment
Share on other sites

  • 2 weeks later...
  • 1 month later...

There seems to be an issue regardless of browser used with the Reports Plugin in 4.5.0.21.

It superimpose the Reports startup screen on whatever screen was there to begin with.

@Happy2Play please merge my posting into the existing topic.

Link to comment
Share on other sites

Happy2Play
2 hours ago, cayars said:

There seems to be an issue regardless of browser used with the Reports Plugin in 4.5.0.21.

It superimpose the Reports startup screen on whatever screen was there to begin with.

@Happy2Play please merge my posting into the existing topic.

This is a long standing issue that shouldn't have anything to do with this beta.  Now if you are talking about something different then let up know.

oops looks like i merged the wrong way, should be fixed now except for who ever was following this topic.

Edited by Happy2Play
Link to comment
Share on other sites

I figured out how to reproduce this at will. For me install the 4 Movie & TV theme plugins by radeon from the catelog will produce the error on my test system.

@Luke I believe this is caused by two cookies: 

_octo    .github.com/
_ga    .github.com/

I'm correct it should be an easy fix with the "SameSite" attribute in the cookie. But regardless of the cause (didn't look that much) it dies in alameda.js in this function on the fetch line at the very bottom.  I also get a couple other errors as well but I think this may be the cause.

It could very well be something in any one of the 4 radeon plugins that's responsible.  But this may give you hints on how to reproduce it in .21 beta like I'm doing. 

function getFetchPromise(request, signal) {
        var headers = request.headers || {};
        "json" === request.dataType && (headers.accept = "application/json");
        var fetchRequest = {
            headers: headers,
            method: request.type,
            credentials: "same-origin"
        };
        if (request.timeout) {
            var abortController = new AbortController
              , boundAbort = abortController.abort.bind(abortController);
            signal && signal.addEventListener("abort", boundAbort),
            setTimeout(boundAbort, request.timeout),
            signal = abortController.signal
        }
        signal && (fetchRequest.signal = signal);
        var contentType = request.contentType;
        return request.data && ("string" == typeof request.data ? fetchRequest.body = request.data : (fetchRequest.body = paramsToString(request.data),
        contentType = contentType || "application/x-www-form-urlencoded; charset=UTF-8")),
        contentType && (headers["Content-Type"] = contentType),
        fetch(request.url, fetchRequest)
    }

 

  • Like 1
Link to comment
Share on other sites

Happy2Play
10 minutes ago, cayars said:

I figured out how to reproduce this at will. For me install the 4 Movie & TV theme plugins by radeon from the catelog will produce the error on my test system.

Looks like you found the culprits as I it is reproducible with these plugins installed.  Nothing to do with beta as this happens on stable 4.4.3.0 with these plugins installed.  Will do a little more testing. @Luke

Link to comment
Share on other sites

I just haven't made time to see if it's actually a cookie problem which one or more of the other plugins could be setting incorrectly causing Reports to fail or something else.

Easy enough to figure this out and see if it's just one plugin or all 4 that cause the issue.

Link to comment
Share on other sites

Happy2Play

Tagging @radeon as a fyi

 

10 minutes ago, cayars said:

Easy enough to figure this out and see if it's just one plugin or all 4 that cause the issue.

tested per plugin (only one at a time)

TV theme song - Reports still worked

TV theme video - Reports still worked

Movie theme song - Reports still worked

Movie theme video - Reports stopped working

So with this test it would appear to a conflict with Reports and Movie Theme Videos.

This test was done in 4.4.3.0

Reports v1.0.39.0

Movie Theme Videos v1.7.5.0

Link to comment
Share on other sites

Happy2Play

here is the console error when clicking Reports with Movie Theme Videos installed.


index.html#!/configurationpage?name=reports:1 Uncaught (in promise) Error: Load failed: configurationpage?name=reportsjs: http://localhost:8096/web/configurationpage?name=reportsjs&v=4.4.3.0
    at HTMLScriptElement.<anonymous> (alameda.js:1)
Promise.then (async)
ViewManager.loadView @ viewmanager.js?v=4.4.3.0:1
(anonymous) @ router.js?v=4.4.3.0:1
(anonymous) @ router.js?v=4.4.3.0:1
Promise.then (async)
loadContentUrl @ router.js?v=4.4.3.0:1
(anonymous) @ router.js?v=4.4.3.0:1
onInitComplete @ router.js?v=4.4.3.0:1
(anonymous) @ router.js?v=4.4.3.0:1
(anonymous) @ router.js?v=4.4.3.0:1
(anonymous) @ router.js?v=4.4.3.0:1
Promise.then (async)
(anonymous) @ router.js?v=4.4.3.0:1
handleRoute @ router.js?v=4.4.3.0:1
page.dispatch @ page.js?v=4.4.3.0:1
page.show @ page.js?v=4.4.3.0:1
page.handleAnchorClick @ page.js?v=4.4.3.0:1
onAnchorClick @ emby-button.js?v=4.4.3.0:1

 

Link to comment
Share on other sites

chef

@Happy2Play

Okay, the reports plugin....

A couple things

Is it on Github? Can I make a pull request?

Is this it here: https://github.com/MediaBrowser/EmbyReports

 

If it is then we are still usung JQuery in this one 😲

Something is "a-miss" with reports. I can confirm it loads with errors over top the previous viewed page.

Edited by chef
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...