Jump to content

Reports Plugin not woking


Smaky

Recommended Posts

Smaky

I have installed the Reports plugin 1.0.29.0 on my windows box and 1.0.26.0 on a Emby on a Synology NAS. I both cases, when I access the Reports interface (tested on Chrome and FireFox) i get the interface overlaid on top of the server dashboard and it does not work.

 

5cfc5f622c198_20190608_201943.jpg

 

Clicking on any of the buttons yields no action at all.

 

  • Like 1
Link to comment
Share on other sites

Happy2Play

@@Happy2Play are you able to reproduce?

 

There are a few topics on this. but can't really reproduce it.  It is like a slow transition to the page, I can see that during the transition to "/configurationpage?name=reports" page.

Link to comment
Share on other sites

Happy2Play

Not sure if there is something on their systems blocking the plugin internal html pages.  I guess another question would be what connection type are they using when experiencing this issue, local or remote?

Link to comment
Share on other sites

Smaky

I have tried using an http local connection, remote connection via https on both servers and they both yield the same behavior.

Link to comment
Share on other sites

  • 2 weeks later...
Happy2Play

Plugin broke in current beta.

2019-06-17 15:39:19.544 Info HttpServer: HTTP Response 200 to 192.168.151.7. Time: 0ms. http://homeserver:8096/emby/Reports/Headers?UserId=39a92daf6ac74f4eab5398838083fada&IncludeItemTypes=Movie&ReportView=ReportData
2019-06-17 15:39:19.544 Info HttpServer: HTTP Response 200 to 192.168.151.7. Time: 1ms. http://homeserver:8096/emby/Items/Filters?UserId=39a92daf6ac74f4eab5398838083fada&IncludeItemTypes=Movie&ReportView=ReportData
2019-06-17 15:39:19.545 Error HttpServer: Error processing request
	*** Error Report ***
	Version: 4.2.0.17
	Command line: C:\Emby-Server\system\EmbyServer.dll -noautorunwebapp
	Operating system: Microsoft Windows NT 6.2.9200.0
	64-Bit OS: True
	64-Bit Process: True
	User Interactive: True
	Runtime: file:///C:/Emby-Server/system/System.Private.CoreLib.dll
	Processor count: 12
	Program data path: C:\Emby-Server\programdata
	Application directory: C:\Emby-Server\system
	System.MissingMethodException: System.MissingMethodException: Method not found: 'Void MediaBrowser.Controller.Entities.InternalItemsQuery.set_IsMissing(System.Nullable`1<Boolean>)'.
	   at EmbyReports.Api.ReportsService.GetItemsQuery(BaseReportRequest request, DtoOptions dtoOptions, User user)
	   at EmbyReports.Api.ReportsService.GetQueryResult(BaseReportRequest request, DtoOptions dtoOptions, User user)
	   at EmbyReports.Api.ReportsService.GetReportResult(GetItemReport request, User user)
	   at Emby.Server.Implementations.Services.ServiceExecGeneral.Execute(Type serviceType, IRequest request, Object instance, Object requestDto, String requestName)
	   at Emby.Server.Implementations.Services.ServiceController.Execute(HttpListenerHost appHost, Object requestDto, IRequest req)
	   at Emby.Server.Implementations.Services.ServiceHandler.ProcessRequestAsync(HttpListenerHost appHost, IRequest httpReq, IResponse httpRes, ILogger logger, String operationName, CancellationToken cancellationToken)
	   at Emby.Server.Implementations.HttpServer.HttpListenerHost.RequestHandler(IRequest httpReq, ReadOnlyMemory`1 urlString, ReadOnlyMemory`1 host, ReadOnlyMemory`1 localPath, CancellationToken cancellationToken)
	Source: EmbyReports
	TargetSite: MediaBrowser.Controller.Entities.InternalItemsQuery GetItemsQuery(EmbyReports.Api.BaseReportRequest, MediaBrowser.Controller.Dto.DtoOptions, MediaBrowser.Controller.Entities.User)
	
2019-06-17 15:39:19.545 Info HttpServer: HTTP Response 500 to 192.168.151.7. Time: 1ms. http://homeserver:8096/emby/Reports/Items?StartIndex=0&Limit=100&IncludeItemTypes=Movie&HasQueryLimit=true&GroupBy=None&ReportView=ReportData&DisplayType=Screen&UserId=39a92daf6ac74f4eab5398838083fada&SortOrder=Ascending

Beta 4.2.0.17 plugin 1.0.29.0

Link to comment
Share on other sites

Happy2Play

Plugin broke in current beta.

2019-06-17 15:39:19.544 Info HttpServer: HTTP Response 200 to 192.168.151.7. Time: 0ms. http://homeserver:8096/emby/Reports/Headers?UserId=39a92daf6ac74f4eab5398838083fada&IncludeItemTypes=Movie&ReportView=ReportData
2019-06-17 15:39:19.544 Info HttpServer: HTTP Response 200 to 192.168.151.7. Time: 1ms. http://homeserver:8096/emby/Items/Filters?UserId=39a92daf6ac74f4eab5398838083fada&IncludeItemTypes=Movie&ReportView=ReportData
2019-06-17 15:39:19.545 Error HttpServer: Error processing request
	*** Error Report ***
	Version: 4.2.0.17
	Command line: C:\Emby-Server\system\EmbyServer.dll -noautorunwebapp
	Operating system: Microsoft Windows NT 6.2.9200.0
	64-Bit OS: True
	64-Bit Process: True
	User Interactive: True
	Runtime: file:///C:/Emby-Server/system/System.Private.CoreLib.dll
	Processor count: 12
	Program data path: C:\Emby-Server\programdata
	Application directory: C:\Emby-Server\system
	System.MissingMethodException: System.MissingMethodException: Method not found: 'Void MediaBrowser.Controller.Entities.InternalItemsQuery.set_IsMissing(System.Nullable`1<Boolean>)'.
	   at EmbyReports.Api.ReportsService.GetItemsQuery(BaseReportRequest request, DtoOptions dtoOptions, User user)
	   at EmbyReports.Api.ReportsService.GetQueryResult(BaseReportRequest request, DtoOptions dtoOptions, User user)
	   at EmbyReports.Api.ReportsService.GetReportResult(GetItemReport request, User user)
	   at Emby.Server.Implementations.Services.ServiceExecGeneral.Execute(Type serviceType, IRequest request, Object instance, Object requestDto, String requestName)
	   at Emby.Server.Implementations.Services.ServiceController.Execute(HttpListenerHost appHost, Object requestDto, IRequest req)
	   at Emby.Server.Implementations.Services.ServiceHandler.ProcessRequestAsync(HttpListenerHost appHost, IRequest httpReq, IResponse httpRes, ILogger logger, String operationName, CancellationToken cancellationToken)
	   at Emby.Server.Implementations.HttpServer.HttpListenerHost.RequestHandler(IRequest httpReq, ReadOnlyMemory`1 urlString, ReadOnlyMemory`1 host, ReadOnlyMemory`1 localPath, CancellationToken cancellationToken)
	Source: EmbyReports
	TargetSite: MediaBrowser.Controller.Entities.InternalItemsQuery GetItemsQuery(EmbyReports.Api.BaseReportRequest, MediaBrowser.Controller.Dto.DtoOptions, MediaBrowser.Controller.Entities.User)
	
2019-06-17 15:39:19.545 Info HttpServer: HTTP Response 500 to 192.168.151.7. Time: 1ms. http://homeserver:8096/emby/Reports/Items?StartIndex=0&Limit=100&IncludeItemTypes=Movie&HasQueryLimit=true&GroupBy=None&ReportView=ReportData&DisplayType=Screen&UserId=39a92daf6ac74f4eab5398838083fada&SortOrder=Ascending

Beta 4.2.0.17 plugin 1.0.29.0

 

Resolved in plugin update 1.0.30.0.

Link to comment
Share on other sites

Happy2Play

Only outstanding issue is Artists still return no results, but that has been broke since the update to Emby v4.

Link to comment
Share on other sites

Happy2Play

Broke again in 4.2.0.18. v1.0.30.0

http://homeserver:8096/emby/Items/Filters?UserId=39a92daf6ac74f4eab5398838083fada&IncludeItemTypes=Movie&ReportView=ReportData
2019-06-20 15:28:02.610 Info HttpServer: HTTP Response 200 to 192.168.151.7. Time: 62ms. http://homeserver:8096/emby/Reports/Headers?StartIndex=0&Limit=100&IncludeItemTypes=Movie&HasQueryLimit=true&GroupBy=None&ReportView=ReportData&DisplayType=Screen&UserId=39a92daf6ac74f4eab5398838083fada&SortOrder=Ascending
2019-06-20 15:28:02.610 Info HttpServer: HTTP Response 200 to 192.168.151.7. Time: 61ms. http://homeserver:8096/emby/Reports/Headers?UserId=39a92daf6ac74f4eab5398838083fada&IncludeItemTypes=Movie&ReportView=ReportData
2019-06-20 15:28:02.663 Error HttpServer: Error processing request
	*** Error Report ***
	Version: 4.2.0.18
	Command line: C:\Emby-Server\system\EmbyServer.dll -noautorunwebapp
	Operating system: Microsoft Windows NT 6.2.9200.0
	64-Bit OS: True
	64-Bit Process: True
	User Interactive: True
	Runtime: file:///C:/Emby-Server/system/System.Private.CoreLib.dll
	Processor count: 12
	Program data path: C:\Emby-Server\programdata
	Application directory: C:\Emby-Server\system
	System.MissingMethodException: System.MissingMethodException: Method not found: 'Boolean MediaBrowser.Controller.Entities.Video.get_HasSubtitles()'.
	   at EmbyReports.Api.Data.ReportBuilder.GetRow(BaseItem item)
	   at EmbyReports.Api.Data.ReportBuilder.GetReportRows(IEnumerable`1 items, List`1 options)
	   at EmbyReports.Api.Data.ReportBuilder.GetResult(BaseItem[] items, IReportsQuery request)
	   at EmbyReports.Api.ReportsService.GetReportResult(GetItemReport request, User user)
	   at Emby.Server.Implementations.Services.ServiceExecGeneral.Execute(Type serviceType, IRequest request, Object instance, Object requestDto, String requestName)
	   at Emby.Server.Implementations.Services.ServiceController.Execute(HttpListenerHost appHost, Object requestDto, IRequest req)
	   at Emby.Server.Implementations.Services.ServiceHandler.ProcessRequestAsync(HttpListenerHost appHost, IRequest httpReq, IResponse httpRes, ILogger logger, String operationName, CancellationToken cancellationToken)
	   at Emby.Server.Implementations.HttpServer.HttpListenerHost.RequestHandler(IRequest httpReq, ReadOnlyMemory`1 urlString, ReadOnlyMemory`1 host, ReadOnlyMemory`1 localPath, CancellationToken cancellationToken)
	Source: EmbyReports
	TargetSite: EmbyReports.Api.Model.ReportRow GetRow(MediaBrowser.Controller.Entities.BaseItem)
	
2019-06-20 15:28:02.663 Info HttpServer: HTTP Response 500 to 192.168.151.7. Time: 113ms. http://homeserver:8096/emby/Reports/Items?StartIndex=0&Limit=100&IncludeItemTypes=Movie&HasQueryLimit=true&GroupBy=None&ReportView=ReportData&DisplayType=Screen&UserId=39a92daf6ac74f4eab5398838083fada&SortOrder=Ascending

Edited by Happy2Play
Link to comment
Share on other sites

rbjtech

Hi,

 

I've noticed that Reports for Media appears to be broken in Beta 4.2.0.18 (reports v1.0.30)

 

Activity seems ok - but Media does not display anything at all.  I've tried changing filters etc without any success.

 

Attempting to export to CSV or Excel gives a "Method not found: 'Boolean MediaBrowser.Controller.Entities.Video.get_HasSubtitles()'." error.

 

From the log file

 

2019-06-22 23:31:24.939 Info HttpServer: HTTP GET http://<server>:8096/Reports/Items?StartIndex=0&Limit=-1&IncludeItemTypes=Movie&HasQueryLimit=true&GroupBy=Name&ReportView=ReportData&DisplayType=Screen&UserId=7b2f8e0b9c7043d1837abba8f42a1fc6&SortOrder=Ascending. UserAgent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/75.0.3770.100 Safari/537.36

2019-06-22 23:31:25.059 Error HttpServer: Error processing request
    *** Error Report ***
    Version: 4.2.0.18
    Command line: C:\Users\Emby_Service\AppData\Roaming\Emby-Server\system\EmbyServer.dll -noautorunwebapp
    Operating system: Microsoft Windows NT 6.2.9200.0
    64-Bit OS: True
    64-Bit Process: True
    User Interactive: True
    Runtime: file:///C:/Users/Emby_Service/AppData/Roaming/Emby-Server/system/System.Private.CoreLib.dll
    Processor count: 4
    Program data path: C:\Users\Emby_Service\AppData\Roaming\Emby-Server\programdata
    Application directory: C:\Users\Emby_Service\AppData\Roaming\Emby-Server\system
    System.MissingMethodException: System.MissingMethodException: Method not found: 'Boolean MediaBrowser.Controller.Entities.Video.get_HasSubtitles()'.
     at EmbyReports.Api.Data.ReportBuilder.GetRow(BaseItem item)
     at EmbyReports.Api.Data.ReportBuilder.GetReportRows(IEnumerable`1 items, List`1 options)
     at EmbyReports.Api.Data.ReportBuilder.GetResult(BaseItem[] items, IReportsQuery request)
     at EmbyReports.Api.ReportsService.GetReportResult(GetItemReport request, User user)
     at Emby.Server.Implementations.Services.ServiceExecGeneral.Execute(Type serviceType, IRequest request, Object instance, Object requestDto, String requestName)
     at Emby.Server.Implementations.Services.ServiceController.Execute(HttpListenerHost appHost, Object requestDto, IRequest req)
     at Emby.Server.Implementations.Services.ServiceHandler.ProcessRequestAsync(HttpListenerHost appHost, IRequest httpReq, IResponse httpRes, ILogger logger, String operationName, CancellationToken cancellationToken)
     at Emby.Server.Implementations.HttpServer.HttpListenerHost.RequestHandler(IRequest httpReq, ReadOnlyMemory`1 urlString, ReadOnlyMemory`1 host, ReadOnlyMemory`1 localPath, CancellationToken cancellationToken)
    Source: EmbyReports
    TargetSite: EmbyReports.Api.Model.ReportRow GetRow(MediaBrowser.Controller.Entities.BaseItem)

 

Please let me know if you need the full log.

 

Thanks.

 

 

 

 

 

Link to comment
Share on other sites

The reports plugin needs a bit of an overhaul, is this plugin considered a core plugin or a community plugin?

 

Given you have a lot more control now with filtering being added to the standard interface do you still need the reports plugin?

What are people using it the most for?

 

Probably using it for exporting. Also it combines all items across all libraries.

 

Other than that, probably not much.

Link to comment
Share on other sites

Happy2Play

The reports plugin needs a bit of an overhaul, is this plugin considered a core plugin or a community plugin?

 

Given you have a lot more control now with filtering being added to the standard interface do you still need the reports plugin?

What are people using it the most for?

 

It was one of the only places to filter Missing Episodes, but it would appear that is currently not working.  But as Luke mentioned primarily to export lists.

2019-06-22 21:05:52.649 Info HttpServer: HTTP GET http://homeserver:8096/emby/Reports/Items?StartIndex=0&Limit=100&IncludeItemTypes=Episode&HasQueryLimit=true&GroupBy=None&ReportView=ReportData&DisplayType=Screen&UserId=39a92daf6ac74f4eab5398838083fada&SortOrder=Ascending&ReportColumns=Status%7CName%7CEpisodeSeries%7CSeason%7CEpisodeNumber%7CDateAdded%7CReleaseDate%7CYear%7CGenres%7CParentalRating%7CCommunityRating%7CRuntime%7CVideo%7CResolution%7CAudio%7CSubtitles%7CTrailers%7CSpecials%7CPath&IsMissing=true. UserAgent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/75.0.3770.100 Safari/537.36
2019-06-22 21:05:52.655 Error HttpServer: Error processing request
	*** Error Report ***
	Version: 4.2.0.19
	Command line: C:\Emby-Server\system\EmbyServer.dll -noautorunwebapp
	Operating system: Microsoft Windows NT 6.2.9200.0
	64-Bit OS: True
	64-Bit Process: True
	User Interactive: True
	Runtime: file:///C:/Emby-Server/system/System.Private.CoreLib.dll
	Processor count: 12
	Program data path: C:\Emby-Server\programdata
	Application directory: C:\Emby-Server\system
	System.NullReferenceException: System.NullReferenceException: Object reference not set to an instance of an object.
	   at MediaBrowser.Controller.Entities.BaseItem.GetMediaSourceName(BaseItem item)
	   at MediaBrowser.Controller.Entities.BaseItem.GetVersionInfo(Boolean enablePathSubstitution, BaseItem item, MediaSourceType type)
	   at MediaBrowser.Controller.Entities.BaseItem.<>c__DisplayClass404_0.<GetMediaSources>b__0(Tuple`2 i)
	   at System.Linq.Enumerable.SelectListIterator`2.ToList()
	   at System.Linq.Enumerable.ToList[TSource](IEnumerable`1 source)
	   at MediaBrowser.Controller.Entities.BaseItem.GetMediaSources(Boolean enablePathSubstitution)
	   at EmbyReports.Api.Common.ReportBuilderBase.GetMediaSourceInfo(BaseItem item)
	   at EmbyReports.Api.Common.ReportBuilderBase.GetStream(BaseItem item, MediaStreamType streamType)
	   at EmbyReports.Api.Common.ReportBuilderBase.GetVideoStream(BaseItem item)
	   at EmbyReports.Api.Data.ReportBuilder.GetReportRows(IEnumerable`1 items, List`1 options)
	   at EmbyReports.Api.Data.ReportBuilder.GetResult(BaseItem[] items, IReportsQuery request)
	   at EmbyReports.Api.ReportsService.GetReportResult(GetItemReport request, User user)
	   at Emby.Server.Implementations.Services.ServiceExecGeneral.Execute(Type serviceType, IRequest request, Object instance, Object requestDto, String requestName)
	   at Emby.Server.Implementations.Services.ServiceController.Execute(HttpListenerHost appHost, Object requestDto, IRequest req)
	   at Emby.Server.Implementations.Services.ServiceHandler.ProcessRequestAsync(HttpListenerHost appHost, IRequest httpReq, IResponse httpRes, ILogger logger, String operationName, CancellationToken cancellationToken)
	   at Emby.Server.Implementations.HttpServer.HttpListenerHost.RequestHandler(IRequest httpReq, ReadOnlyMemory`1 urlString, ReadOnlyMemory`1 host, ReadOnlyMemory`1 localPath, CancellationToken cancellationToken)
	Source: MediaBrowser.Controller
	TargetSite: System.String GetMediaSourceName(MediaBrowser.Controller.Entities.BaseItem)
	
2019-06-22 21:05:52.655 Info HttpServer: HTTP Response 500 to 192.168.151.5. Time: 6ms. http://homeserver:8096/emby/Reports/Items?StartIndex=0&Limit=100&IncludeItemTypes=Episode&HasQueryLimit=true&GroupBy=None&ReportView=ReportData&DisplayType=Screen&UserId=39a92daf6ac74f4eab5398838083fada&SortOrder=Ascending&ReportColumns=Status%7CName%7CEpisodeSeries%7CSeason%7CEpisodeNumber%7CDateAdded%7CReleaseDate%7CYear%7CGenres%7CParentalRating%7CCommunityRating%7CRuntime%7CVideo%7CResolution%7CAudio%7CSubtitles%7CTrailers%7CSpecials%7CPath&IsMissing=true
Link to comment
Share on other sites

rbjtech

Yes this - I used it to list all the missing episodes by year (useful, as you don't want to list old TV shows for example), but although the reporting is now working (from 1.0.31 - thanks) this particular function is not.

 

If 'Missing Episodes' was available in the main 'TV Shows > Episodes' Filter, then I probably would have no need for the Reports plugin, other than mass export which I use very occasionally.

 

Regards.

Link to comment
Share on other sites

  • 2 weeks later...
jeromekroon

Running Reports 1.0.26.0, and getting message "object reference not set..."only when I choose to export all". It works well for 100, 200, etc until 500 movies , with option all (several thousands of movies). no report and this message.

Where can I find latest Reports plugin to try out if this problem is solved .

Link to comment
Share on other sites

Happy2Play

Running Reports 1.0.26.0, and getting message "object reference not set..."only when I choose to export all". It works well for 100, 200, etc until 500 movies , with option all (several thousands of movies). no report and this message.

Where can I find latest Reports plugin to try out if this problem is solved .

 

With that version number you are on the latest version for the stable server.  All higher versions apply to the beta server branch and we are waiting for a plugin update on the beta branch currently.  But the export all issue is resolved in the 4.2 server.

 

I just tested 1.0.26.0 on server 4.1.1.0  exporting all movies (6000+) and was able to generate excel and csv file without any issues.

 

You may need to post a server log.

Edited by Happy2Play
Link to comment
Share on other sites

Smaky

I have just updated the server to 4.0.24.0-beta and Reports plugin to 1.0.32.0. However plugin still renders its interface on top of whatever is being shown on the web page and it does not respond to user interaction. Tested this with two different computers and with Edge, Chrome, FireFox and Opera browsers.

 

5d1d39daad157_20190703_182510.jpg

Link to comment
Share on other sites

Happy2Play

I have just updated the server to 4.0.24.0-beta and Reports plugin to 1.0.32.0. However plugin still renders its interface on top of whatever is being shown on the web page and it does not respond to user interaction. Tested this with two different computers and with Edge, Chrome, FireFox and Opera browsers.

 

5d1d39daad157_20190703_182510.jpg

 

What url is shown when this happens.  I know I can't get to happen for more than a second while the view opens the internal plugin page.

 

If you opened an additional tab and put url in it does the page open?

 

Here is the url I get, obviously localhost, hostname, lanip, external domain.

http://localhost:8096/web/index.html#!/configurationpage?name=reports
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...