Indigo Error

Shinzin

Moderator
Staff member
Feb 16, 2017
145
7
18
Actually let me do some more testing on what I have.
I have been working on it and my last update seemed to break it in windows 10 while trying to do a fix for windows 10 xbox.
I dont have an xbox but I believe there is a difference because of win10 inxbox being sandboxed. :(
I had that error on my aftv and have a fix for it from my testing so far.
aftv does thing a bit differently than regular andriod. thats what messed me up.
let me test some more to make sure its working on the other platforms and i'll get out another update.
sorry
 
Last edited:

ploink

New member
Oct 23, 2018
4
0
0
i'm getting an indigo error as well on my raspberry pi box with osmc.
the exception thrown is:

Code:
20:34:54.581 T:1603269376   ERROR: EXCEPTION Thrown (PythonToCppException) : -->Python callback/script returned the following error<--
- NOTE: IGNORING THIS CAN LEAD TO MEMORY LEAKS!
Error Type: <type 'exceptions.IOError'>
Error Contents: (2, 'No such file or directory', '/home/osmc/.kodi/addons/plugin.program.indigo/resources/run_once.py')
Traceback (most recent call last):
File "/home/osmc/.kodi/addons/plugin.program.indigo/service.py", line 71, in <module>
if kodi.get_var(run_once_path, 'hasran') == 'false':
File "/home/osmc/.kodi/addons/plugin.program.indigo/libs/kodi.py", line 373, in get_var
with open(path, 'r') as content:
IOError: (2, 'No such file or directory', '/home/osmc/.kodi/addons/plugin.program.indigo/resources/run_once.py')
 -->End of Python script error report<--
i tried to upload the logfile using the loguploader but it also threw an error so i just added it to pastebin..
the loguploader error is also in there :eek:)

https://pastebin.com/t2g59j0J
 

Shinzin

Moderator
Staff member
Feb 16, 2017
145
7
18
Hmm. Thats weird. It says the file is missing? LOL
The run_once.py file is included in the Indigo zip file when it installs.
Try uninstalling Indigo and then reinstalling Indigo (version 4.0.8).
If that doesnt work you could try creating the file.
To do this you would need to create the file in
/home/osmc/.kodi/addons/plugin.program.indigo/resources
Then open/edit the file to add these two lines
Code:
#
hasran = 'true'
Dont forget to save it :)
Those two lines are all thats in that file.
I'm not sure why it did that but hopefully the uninstall/reinstall way will fix it up for you
 

ploink

New member
Oct 23, 2018
4
0
0
i tried to just create the file with that content and it stopped the exception and everything seems to be running stable now :)
thanks a lot!

Hmm. Thats weird. It says the file is missing? LOL
The run_once.py file is included in the Indigo zip file when it installs.
Try uninstalling Indigo and then reinstalling Indigo (version 4.0.8).
If that doesnt work you could try creating the file.
To do this you would need to create the file in
/home/osmc/.kodi/addons/plugin.program.indigo/resources
Then open/edit the file to add these two lines
Code:
#
hasran = 'true'
Dont forget to save it :)
Those two lines are all thats in that file.
I'm not sure why it did that but hopefully the uninstall/reinstall way will fix it up for you
 

ploink

New member
Oct 23, 2018
4
0
0
ok so the file disappeared again after a few hours :D
uninstalled and reinstalled indigo and havent seen the error so far :)
thanks again!

i tried to just create the file with that content and it stopped the exception and everything seems to be running stable now :)
thanks a lot!
 

Shinzin

Moderator
Staff member
Feb 16, 2017
145
7
18
Thats just weird that the file keeps disappearing.
If it does it again do the reinstall and then shutdown osmc and reboot the device.
Dont just unplug it. Make sure you shut osmc down first.
It wouldnt be indigo removing the file.
I'm just trying to figure out what it would be.
 
Last edited:

ploink

New member
Oct 23, 2018
4
0
0
yeah it happened again yesterday..
i also figured that it isnt caused by indigo..
i suspect it might be the plex plugin!
apart from an iptv plugin i dont use very often its the only plugin i use
after some hours it freezes and sometimes takes down osmc completely
i dont know why it would delete the run_once.py from indigo though..
it started doing it around 10 days ago and i initially thought it might be caused by the indigo error
but now i think it must be the other way around
if there is anything i can do to help figure this out let me know :)
i mostly feel like starting from scratch but if its just going to happen again there isnt much point unless i figure out what happens

Thats just weird that the file keeps disappearing.
If it does it again do the reinstall and then shutdown osmc and reboot the device.
Dont just unplug it. Make sure you shut osmc down first.
It wouldnt be indigo removing the file.
I'm just trying to figure out what it would be.
 
Thread starter Similar threads Forum Replies Date
X Program Addons 1
X Indigo Tool 0
S Kodi Support 1