kingheat / anarchintosh-projects

Automatically exported from code.google.com/p/anarchintosh-projects
0 stars 0 forks source link

script failed on handling Icefilms favorites #208

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. trying to delete a favorite from the list.
2.
3.

What is the expected output? What do you see instead?
I expect the item to be removed from the last. Instead I get the Script Error.

What version of the product are you using? On what operating system?
Kodi 14.1, Icefilms 1.7.2, Win7 Home Edition 32Bit.

Please provide any additional information below.
Debugger lists this:
23:18:22 T:6476   ERROR: EXCEPTION Thrown (PythonToCppException) : -->Python 
callback/script returned the following error<--
                                             - NOTE: IGNORING THIS CAN LEAD TO MEMORY LEAKS!
                                            Error Type: <type 'exceptions.UnboundLocalError'>
                                            Error Contents: local variable 'itempath' referenced before assignment
                                            Traceback (most recent call last):
                                              File "C:\Users\Pelephone\AppData\Roaming\Kodi\addons\plugin.video.icefilms\default.py", line 3508, in <module>
                                                DELETE_FROM_FAVOURITES(name,url)
                                              File "C:\Users\Pelephone\AppData\Roaming\Kodi\addons\plugin.video.icefilms\default.py", line 812, in DELETE_FROM_FAVOURITES
                                                addon.log('ITEMPATH: %s' % itempath)
                                            UnboundLocalError: local variable 'itempath' referenced before assignment
                                            -->End of Python script error report<--

Original issue reported on code.google.com by johnatha...@gmail.com on 9 Feb 2015 at 9:45