Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Disabling the script causes Kodi to crash #30

Open
1 of 3 tasks
fl380 opened this issue May 11, 2018 · 6 comments
Open
1 of 3 tasks

Disabling the script causes Kodi to crash #30

fl380 opened this issue May 11, 2018 · 6 comments
Assignees

Comments

@fl380
Copy link
Contributor

fl380 commented May 11, 2018

  • I'm submitting a ...

    • bug report
    • feature request
    • feedback
  • If the current behavior is a bug, please provide the steps to reproduce

Disable the script

  • What is the current behavior?

Kodi crashes

  • What is the expected behavior?

Kodi shouldn't crash

@fl380
Copy link
Contributor Author

fl380 commented Jun 21, 2018

Hello, could this be looked at please?

I hope that development of this script hasn't stopped. 😟

@sanghviharshit
Copy link
Owner

Hey, can you please upload the logs again, it's not available anymore

@fl380
Copy link
Contributor Author

fl380 commented Jun 23, 2018

Hi, here's a new one from today:

https://pastebin.com/cr8sRKtS

@sanghviharshit
Copy link
Owner

Looking at the logs, I think what's happening is you are trying to disable the script while it's still initializing, leading to 14:30:39.217 T:5676 ERROR: CPythonInvoker(1, C:\Users\Admin\AppData\Roaming\Kodi\addons\script.kodi.lifx.ambilight\service.py): script didn't stop in 5 seconds - let's kill it
Unfortunately, the way Lifx device discovery works, it takes longer than usual for the script to respond to disable request and causes Kodi to terminate it.

Do you know if this still happens when the addon is fully initialized and then trying to disable it causes Kodi to crash?

@fl380
Copy link
Contributor Author

fl380 commented Jun 23, 2018

Do you know if this still happens when the addon is fully initialized and then trying to disable it causes Kodi to crash?

Yes, it does. Here's a new log where about 6 minutes elapsed between starting the script and then disabling it, the error message is the same. This has also happened where kodi has been running for several days.

https://pastebin.com/i68FVu2M

@sanghviharshit
Copy link
Owner

I don't see any obvious issues in the logs. But I will look into improvements soon, but can't really promise anything :(

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants