Nefunguje vyhledavani na Linuxu
Closed this issue · 0 comments
vencis commented
Ahoj,
Nefunguje mi vyhledavani na sosaci pokud bezi Kodi na Linuxu
Vypis z logu:
23:25:58 T:140325951624960 ERROR: EXCEPTION Thrown (PythonToCppException) : -->Python callback/script returned the following error<--
- NOTE: IGNORING THIS CAN LEAD TO MEMORY LEAKS!
Error Type: <type 'exceptions.RuntimeError'>
Error Contents: restricted attribute
Traceback (most recent call last):
File "/home/username/.kodi/addons/plugin.video.sosac.ph/default.py", line 48, in <module>
XBMCSosac(SosacContentProvider(reverse_eps=reverse_eps),settings,__addon__).run(params)
File "/home/username/.kodi/addons/script.module.stream.resolver/lib/contentprovider/xbmcprovider.py", line 74, in run
return self.do_search(params['search'])
File "/home/username/.kodi/addons/script.module.stream.resolver/lib/contentprovider/xbmcprovider.py", line 124, in do_search
self.search(what)
File "/home/username/.kodi/addons/script.module.stream.resolver/lib/contentprovider/xbmcprovider.py", line 205, in search
self.list(self.provider.search(keyword))
File "/home/username/.kodi/addons/plugin.video.sosac.ph/resources/lib/sosac.py", line 87, in search
urllib.urlencode({'q': keyword})))
File "/home/username/.kodi/addons/plugin.video.sosac.ph/resources/lib/sosac.py", line 432, in list_search
html_tree = self.parse_html(url)
File "/home/username/.kodi/addons/plugin.video.sosac.ph/resources/lib/sosac.py", line 428, in parse_html
return BeautifulSoup(util.request(url))
File "/home/username/.kodi/addons/script.module.beautifulsoup4/lib/bs4/__init__.py", line 196, in __init__
self._feed()
File "/home/username/.kodi/addons/script.module.beautifulsoup4/lib/bs4/__init__.py", line 210, in _feed
self.builder.feed(self.markup)
File "/home/username/.kodi/addons/script.module.beautifulsoup4/lib/bs4/builder/_lxml.py", line 225, in feed
self.parser.feed(markup)
File "parser.pxi", line 1155, in lxml.etree._FeedParser.feed (src/lxml/lxml.etree.c:98428)
File "parser.pxi", line 1198, in lxml.etree._FeedParser.feed (src/lxml/lxml.etree.c:97496)
File "parser.pxi", line 829, in lxml.etree._BaseParser._getPushParserContext (src/lxml/lxml.etree.c:93878)
File "parser.pxi", line 851, in lxml.etree._BaseParser._createContext (src/lxml/lxml.etree.c:94124)
File "parsertarget.pxi", line 105, in lxml.etree._TargetParserContext._setTarget (src/lxml/lxml.etree.c:112369)
File "parsertarget.pxi", line 36, in lxml.etree._PythonSaxParserTarget.__cinit__ (src/lxml/lxml.etree.c:111325)
File "/usr/lib/python2.7/inspect.py", line 814, in getargspec
func = func.im_func
RuntimeError: restricted attribute
-->End of Python script error report<--
23:25:58 T:140328401807296 ERROR: GetDirectory - Error getting plugin://plugin.video.sosac.ph/?cp=736f7361632e7068&search=696e746572
23:25:58 T:140328401807296 ERROR: CGUIMediaWindow::GetDirectory(plugin://plugin.video.sosac.ph/?cp=736f7361632e7068&search=696e746572) failed
Muzes se na to prosim podivat ?
Dekuji