Plugin.video.themoviedb.helper: [Bug] Home Widget(Next Aired Library)

Created on 19 Nov 2020  路  15Comments  路  Source: jurialmunkey/plugin.video.themoviedb.helper

When I create a Next Aired Library widget on the home screen. After restarting Kodi it disappears.
it also happens when I restore skin settings from the backup.

Setup:
macOS
Nvidia Shield TV

screenshot002

screenshot003

screenshot001

screenshot004

After restaring Kodi
screenshot000

Thanks

Most helpful comment

Success. After instaling the latest master, Reloaded skin. Next Aired Library widgets appeared on the home screen. working perfectly now. Thank you for fixing it so quickly 馃榾

Screenshot 2020-11-19 at 21 59 56

After reloading the skin
screenshot002

All 15 comments

Ah I remember there was a similar issue in the old version. I'll see if I can find the issue which contained the fix.

Found the old issue here: https://github.com/jurialmunkey/skin.arctic.horizon/issues/119

But maybe it isn't the same because I've already got the fix in the code for v4
I'll do some digging and see what I can figure out.

Can you get me a debug log of this happening. I don't appear to be able to recreate the issue.

kodi.log

kodi.old.log

Thanks 馃檪

Okay trying something out. Hopefully it works.

Can you install latest master version then restart Kodi and see if my latest changes help?

Hi, jurialmunkey

Unfortunately, Next Aired Home-Widget still not working. Creating Airing Today Home-Widget works without issues

After restarting Kodi. As you can see no issues with Airing Today. I hope this helps.
screenshot001

Thanks

Damn. It was a bit of a long shot though.

Are you still getting these errors in the log?

2020-11-19 18:46:57.280 T:8375  NOTICE: [plugin.video.themoviedb.helper]
                                            Failed to import _strptime because the import lockis held by another thread.
2020-11-19 18:46:57.280 T:8375  NOTICE: [plugin.video.themoviedb.helper]
                                            lib.timedate - date_in_range
                                            Error Type: AttributeError
                                            Error Contents: ("'NoneType' object has no attribute 'date'",)

Just wondering if it is related or coincidental.

Also, could you download this testing version from the test_log branch and then get me a log using that:
https://github.com/jurialmunkey/plugin.video.themoviedb.helper/archive/test_log.zip

I added a few extra logging things to see what is happening.

Here is the log as requested馃檪

kodi.log.zip

Thanks

Here is the log as requested馃檪

kodi.log.zip

Thanks

Thanks, that definitely confirmed the issue for me - the only issue is how to fix it (or rather how to work around what is a well known bug python's inbuilt datetime module).

Can you try latest master version that I just pushed now? According to a few python bug report threads this should fix the issue (though I'm skeptical but its worth trying - just wish I was able to recreate the issue so I could test myself).

Success. After instaling the latest master, Reloaded skin. Next Aired Library widgets appeared on the home screen. working perfectly now. Thank you for fixing it so quickly 馃榾

Screenshot 2020-11-19 at 21 59 56

After reloading the skin
screenshot002

Oh wow! I'm surprised it worked. Let me know if it pops up again but hopefully this is the solution!

Oh wait maybe try restarting Kodi and make sure that it doesn't happen after a restart not just a reload? I think this error is only likely to happen on start-up.

Oh wait maybe try restarting Kodi and make sure that it doesn't happen after a restart not just a reload? I think this error is only likely to happen on start-up.

I tested restarting Kodi on the Nvidia Shield TV & macOS before I posted my results 馃榾

I tested restarting Kodi on the Nvidia Shield TV & macOS before I posted my results 馃榾

Oh excellent! Thanks so much for testing!

Was this page helpful?
0 / 5 - 0 ratings