Jump to content

Statistic plugin error?


miniliQuid

Recommended Posts

miniliQuid

I'm not sure but I think the message below is an error from the statistic plugin?

I get it every morning the past few days so I think it happens when a scheduled task is running at night.

 

 

Calculate statistics for all users failed Value cannot be null. Parameter name: source at System.Linq.Enumerable.ToList[TSource](IEnumerable1 source) at Statistics.ScheduledTasks.CalculateStatsTask.UpdateTvdbConnection(ShowProgressCalculator calculator, String time, IEnumerable1 seriesIdsInLibrary, CancellationToken cancellationToken) at Statistics.ScheduledTasks.CalculateStatsTask.CalculateTotalEpisodes(CancellationToken cancellationToken) at Statistics.ScheduledTasks.CalculateStatsTask.MediaBrowser.Model.Tasks.IScheduledTask.Execute(CancellationToken cancellationToken, IProgress`1 progress) at Emby.Server.Implementations.ScheduledTasks.ScheduledTaskWorker.ExecuteInternal(TaskOptions options)

 

Link to comment
Share on other sites

Q-Droid

I'm having the same problem. I think there's a reference to tvdb somewhere in the error dump so I've decided to wait things out.

Link to comment
Share on other sites

Happy2Play

 

 

Announcement:

As of today (30/04/2018), I will no longer update this plugin. Only fix it when there is a Nuget Package update needed. This is because I'm working on a standalone statistics server. Here you can find the main forum thread for EmbyStat. If you have any ideas, design layouts, development knownledge feel free to participate there or on the github repo

Thanks everyone for all the support, testing and patience that made this plugin grown. But I think to get even better and more statistics, a standalone server is the way to go.

https://emby.media/community/index.php?/topic/65998-new-statistics-plugin

 

Was previously updated by a community member, so someone may have to ask if it can be update again. 

 

Unless it is directly related to TVDB and resolves itself if TVDB corrects the issue.

Edited by Happy2Play
Link to comment
Share on other sites

rdmiller13

Neither Statistics or Stats are working here...reinstalled Stats and it gets to about the 114th series that it reads then it dies off.  OCD is kicking in to find my missing shows more effectively :(

Link to comment
Share on other sites

rdmiller13

Have you been following the Statistics plugin forum thread to learn about recent news related to it?

 

Nothing for a few months on there...but the issues I see with EmbyStats I haven't seen anyone else with, yet...but I do see a handful of tvdb errors, just not sure if it's related...dies after processing 114 series though...

Link to comment
Share on other sites

Happy2Play

Well TVDB error are to be expected in every app ever made do to what TVDB is doing.  But technically the Statistics plugin is a community plugin and if something is broke someones has to step up and fix it or retire it.  As for the EmbyStats Server you can just post a issue on reggi's project in github or the specific topic for EmbyStats.  

 

Personally all topics on this plugin should be closed.  Unless @@hackthis02 is willing to see if it can be fixed again.

Link to comment
Share on other sites

miniliQuid

Ah didn't know it had anything to do with the TVDB problem.

 

But technically the Statistics plugin is a community plugin and if something is broke someones has to step up and fix it or retire it.

 

Personally all topics on this plugin should be closed.  Unless @@hackthis02 is willing to see if it can be fixed again.

How so, if you close the topics, no one will ever step up and fix it. This way at least someone might.

For now I cannot partake in such endavours, but I intend to do something about the anime plugin at some point.

After that who knows :D

Link to comment
Share on other sites

topdavis

@@topdavis

 

I get this error daily at different times.

 

Value cannot be null. (Parameter 'source')

at System.Linq.ThrowHelper.ThrowArgumentNullException(ExceptionArgument argument)

at System.Linq.Enumerable.ToList[TSource](IEnumerable`1 source)

at Statistics.ScheduledTasks.CalculateStatsTask.UpdateTvdbConnection(ShowProgressCalculator calculator, String time, IEnumerable`1 seriesIdsInLibrary, CancellationToken cancellationToken)

at Statistics.ScheduledTasks.CalculateStatsTask.CalculateTotalEpisodes(CancellationToken cancellationToken)

at Statistics.ScheduledTasks.CalculateStatsTask.MediaBrowser.Model.Tasks.IScheduledTask.Execute(CancellationToken cancellationToken, IProgress`1 progress)

at Emby.Server.Implementations.ScheduledTasks.ScheduledTaskWorker.ExecuteInternal(TaskOptions options)

 

Any assistance is greatly appreciated.

Link to comment
Share on other sites

miniliQuid

@@topdavis

 

I get this error daily at different times.

 

Value cannot be null. (Parameter 'source')

at System.Linq.ThrowHelper.ThrowArgumentNullException(ExceptionArgument argument)

at System.Linq.Enumerable.ToList[TSource](IEnumerable`1 source)

at Statistics.ScheduledTasks.CalculateStatsTask.UpdateTvdbConnection(ShowProgressCalculator calculator, String time, IEnumerable`1 seriesIdsInLibrary, CancellationToken cancellationToken)

at Statistics.ScheduledTasks.CalculateStatsTask.CalculateTotalEpisodes(CancellationToken cancellationToken)

at Statistics.ScheduledTasks.CalculateStatsTask.MediaBrowser.Model.Tasks.IScheduledTask.Execute(CancellationToken cancellationToken, IProgress`1 progress)

at Emby.Server.Implementations.ScheduledTasks.ScheduledTaskWorker.ExecuteInternal(TaskOptions options)

 

Any assistance is greatly appreciated.

Not sure but may also have to do with TVDB having thrown their database under the bus :D  guess it may be solved when TVDB finally fix their issues?

Edited by miniliQuid
Link to comment
Share on other sites

rdmiller13
        private const string SeriesGetZip = "https://www.thetvdb.com/api/{0}/series/{1}/all/{2}.zip";

        private const string ServerTimeUrl = "https://thetvdb.com/api/Updates.php?type=none";

        private const string UpdatesUrl = "https://thetvdb.com/api/Updates.php?type=all&time={0}";

 

Poking around on the last updated stuff on github...I see that...cross reading what I see on tvdb forums, seems if the webpages were pointing to api.thetvdb.com that it "might" work...I have no knowledge of how to test or if the next line matters too (apikey)...

 

My ocd hurts with both statistics and embystats not showing me how far behind I am falling :( 

Link to comment
Share on other sites

Happy2Play

 

        private const string SeriesGetZip = "https://www.thetvdb.com/api/{0}/series/{1}/all/{2}.zip";
        private const string ServerTimeUrl = "https://thetvdb.com/api/Updates.php?type=none";
        private const string UpdatesUrl = "https://thetvdb.com/api/Updates.php?type=all&time={0}";
 
Poking around on the last updated stuff on github...I see that...cross reading what I see on tvdb forums, seems if the webpages were pointing to api.thetvdb.com that it "might" work...I have no knowledge of how to test or if the next line matters too (apikey)...
 
My ocd hurts with both statistics and embystats not showing me how far behind I am falling :(

 

"api.thetvdb.com" is the v3 api and the the coded urls are v1 api request.  v3 would require more then just url updating as it uses different authentication

 

All v1 update requests are still broke.

Link to comment
Share on other sites

  • 3 weeks later...
Canaletto
If the current plugin is definitely dead, why keep it?

 

The EmbyStats plugin, or rather the application because it is not a plugin, is still very unstable and does not yet manage users ...

Link to comment
Share on other sites

Happy2Play

Personally I believe it should be removed from the catalog.  If a community member want to step up and fix it, it can always be re-added.

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