moreginger / xbmc-plugin.video.ted.talks

GNU General Public License v2.0
18 stars 20 forks source link

4.2.2 failed to load #49

Closed kisst closed 10 years ago

kisst commented 10 years ago

ENV

OS : WIN 7 64 bit XBMC : 12.3

09:56:09 T:8804 ERROR: [PLUGIN] 'TED Talks: version 4.2.2' initialized! 09:56:09 T:8804 ERROR: EXCEPTION Thrown (PythonToCppException) : -->Python callback/script returned the following error<--

strk commented 10 years ago

Same error here, on Ubuntu 10.04 32bit, XBMC 12.2


20:02:24 T:3043449712   ERROR: [PLUGIN] 'TED Talks: version 4.2.2' initialized!
20:02:24 T:3043449712   ERROR: EXCEPTION Thrown (PythonToCppException) : -->Python callback/script returned the following error<--
                                             - NOTE: IGNORING THIS CAN LEAD TO MEMORY LEAKS!
                                            Error Type: <type 'exceptions.NameError'>
                                            Error Contents: name '_get_dict' is not defined
                                            Traceback (most recent call last):
                                              File "/home/pepperlight/.xbmc/addons/plugin.video.ted.talks/default.py", line 14, in <module>
                                                import resources.lib.ted_talks as ted_talks
                                              File "/home/pepperlight/.xbmc/addons/plugin.video.ted.talks/resources/lib/ted_talks.py", line 7, in <module>
                                                from model.rss_scraper import NewTalksRss
                                              File "/home/pepperlight/.xbmc/addons/plugin.video.ted.talks/resources/lib/model/rss_scraper.py", line 17, in <module>
                                                d = _get_dict(timedelta)[0]
                                            NameError: name '_get_dict' is not defined
                                            -->End of Python script error report<--
20:02:24 T:3079264048   ERROR: GetDirectory - Error getting plugin://plugin.video.ted.talks/
20:02:24 T:3079264048   ERROR: CGUIMediaWindow::GetDirectory(plugin://plugin.video.ted.talks/) failed
moreginger commented 10 years ago

Oh dear :S I think it is now fixed. Can you try installing the zip manually from here to confirm it now works. I don't want to get it wrong again :(

kisst commented 10 years ago

@moreginger Works for me ! Thanks for the quick fix.

moreginger commented 10 years ago

Cool, thanks very much. I've requested pull of 4.2.3. Once the fix is in the XBMC repo, you might need to uninstall the plugin and reinstall from the repository in order to get future updates.

strk commented 10 years ago

I confirm it works too. Thanks!