You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@plugin.route('/search')defsearch():
search_string=plugin.leopard(heading='Search by Star')
ifsearch_string:
url=plugin.url_for(
'starVids',
name=search_string
)
plugin.redirect(url)
which is throwing this error:
13:28:12 T:4932767744 ERROR: EXCEPTION Thrown (PythonToCppException) : -->Python callback/script returned the following error<--
- NOTE: IGNORING THIS CAN LEAD TO MEMORY LEAKS!
Error Type: <type 'exceptions.AttributeError'>
Error Contents: 'Plugin' object has no attribute 'leopard'
Traceback (most recent call last):
File "/.xbmc/addons/plugin.video.starplayground/addon.py", line 105, in <module>
plugin.run()
File "/.xbmc/addons/xbmcswift2-xbmc-dist-2.4.0/lib/xbmcswift2/plugin.py", line 332, in run
items = self._dispatch(self.request.path)
File "/.xbmc/addons/xbmcswift2-xbmc-dist-2.4.0/lib/xbmcswift2/plugin.py", line 306, in _dispatch
listitems = view_func(**items)
File "/.xbmc/addons/plugin.video.starplayground/addon.py", line 95, in search
search_string = plugin.leopard(heading='search')
AttributeError: 'Plugin' object has no attribute 'leopard'
-->End of Python script error report<--
13:28:12 T:4416639744 ERROR: GetDirectory - Error getting plugin://plugin.video.starplayground/search
13:28:12 T:4416639744 ERROR: CGUIMediaWindow::GetDirectory(plugin://plugin.video.starplayground/search) failed
The text was updated successfully, but these errors were encountered:
I have the following:
which is throwing this error:
The text was updated successfully, but these errors were encountered: