question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Problem with Kodi 17 Krypton

See original GitHub issue

Hi mpolednik!

i can’t get this addon to work…

It works perfectly in kodi v16, but fails in v17 beta 3. Here is the error:

"10:49:36 T:139821468374784 ERROR: EXCEPTION Thrown (PythonToCppException) : –>Python callback/script returned the following error<–

  • NOTE: IGNORING THIS CAN LEAD TO MEMORY LEAKS! Error Type: Error Contents: local variable ‘i’ referenced before assignment Traceback (most recent call last): File “/share/CACHEDEV1_DATA/.qpkg/mykodi17/homes/newkodi17/.kodi/addons/script.kodi.hue.ambilight-master/default.py”, line 748, in run() File “/share/CACHEDEV1_DATA/.qpkg/mykodi17/homes/newkodi17/.kodi/addons/script.kodi.hue.ambilight-master/default.py”, line 594, in run hsvRatios = screen.spectrum_hsv(screen.pixels, screen.capture_width, screen.capture_height) File “/share/CACHEDEV1_DATA/.qpkg/mykodi17/homes/newkodi17/.kodi/addons/script.kodi.hue.ambilight-master/default.py”, line 541, in spectrum_hsv if int(i) != 0: UnboundLocalError: local variable ‘i’ referenced before assignment –>End of Python script error report<– "

i’m running kodi in a QNAP Nas, throught the HDMI out… Any Clue?`

Issue Analytics

  • State:closed
  • Created 7 years ago
  • Comments:6 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
mpolednikcommented, Oct 18, 2016

It seems that the change should only improve things, merged it into master.

1reaction
VDRrulezcommented, Oct 17, 2016

Some days ago I’ve bought a hue bridge and a lightstrip. I’m running SPMC 16.4.2 on the Nvidia Shield TV. With this issue28-patch it is the first time that I get colors that match the colors on the tv screen.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Fix Kodi Failed To Install A Dependency Error In 17 / 17.6 ...
Here's how to fix Kodi Failed to install dependency error in Kodi version 17 or 17.6 Krypton 2018 edition running on a compatible...
Read more >
How To Fix Kodi Krypton 17 / 17.1 And Stop Crashing [GUIDE]
1. With your device Turned On and Kodi Krypton Ready, find and select System Options. ... 2. In the following window select Player...
Read more >
Kodi v17.1 “Krypton” | News
This is the bugfix release for v17.1 “Krypton” which contains our continuous effort to further improve the v17 release. Our team tried to...
Read more >
Fix Kodi 17 / 17.1 Krypton Crash Issue, Here's How - TechBeasts
Here's how to fix Kodi 17 or 17.1 Krypton 2017 crash issue on Android, Windows, iOS, Mac or any other compatible platform.
Read more >
Black Screen on Kodi 17 Krypton How to Fix
The issue is a file called addons.db. So to rectify the issue from the black screen and Kodi crashing we need to delete...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found