-
Notifications
You must be signed in to change notification settings - Fork 2
Open
Description
Windows is fine, but an error is reported on Android:
EXCEPTION Thrown (PythonToCppException) : -->Python callback/script returned the following error<--
- NOTE: IGNORING THIS CAN LEAD TO MEMORY LEAKS!
Error Type: <class 'selenium.common.exceptions.WebDriverException'>
Error Contents: Message: 'chromedriver' executable may have wrong permissions. Please see https://sites.google.com/a/chromium.org/chromedriver/home
Traceback (most recent call last):
File "/storage/emulated/0/Android/data/org.xbmc.kodi/files/.kodi/addons/script.module.selenium/lib/selenium/webdriver/common/service.py", line 73, in start
self.process = subprocess.Popen(cmd, env=self.env,
File "/data/user/0/org.xbmc.kodi/cache/apk/assets/python3.8/lib/python3.8/subprocess.py", line 854, in __init__
self._execute_child(args, executable, preexec_fn, close_fds,
File "/data/user/0/org.xbmc.kodi/cache/apk/assets/python3.8/lib/python3.8/subprocess.py", line 1702, in _execute_child
raise child_exception_type(errno_num, err_msg, err_filename)
PermissionError: [Errno 13] Permission denied: '/storage/emulated/0/Android/data/org.xbmc.kodi/files/.kodi/addons/script.module.selenium//bin/chromedriver/linux64/chromedriver'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/storage/emulated/0/Android/data/org.xbmc.kodi/files/.kodi/addons/plugin.video.cine/addon.py", line 2182, in <module>
plugin.run()
File "/storage/emulated/0/Android/data/org.xbmc.kodi/files/.kodi/addons/script.module.xbmcswift2/lib/xbmcswift2/plugin.py", line 338, in run
items = self._dispatch(self.request.path)
File "/storage/emulated/0/Android/data/org.xbmc.kodi/files/.kodi/addons/script.module.xbmcswift2/lib/xbmcswift2/plugin.py", line 312, in _dispatch
listitems = view_func(**items)
File "/storage/emulated/0/Android/data/org.xbmc.kodi/files/.kodi/addons/plugin.video.cine/addon.py", line 1225, in index
storage['homesort'] = get_categories()
File "/storage/emulated/0/Android/data/org.xbmc.kodi/files/.kodi/addons/plugin.video.cine/addon.py", line 299, in get_categories
log(openURLWebDriverContent('http://www.baidu.com'))
File "/storage/emulated/0/Android/data/org.xbmc.kodi/files/.kodi/addons/plugin.video.cine/addon.py", line 829, in openURLWebDriverContent
driver = webdriver.Chrome(driverPath, chrome_options=options)
File "/storage/emulated/0/Android/data/org.xbmc.kodi/files/.kodi/addons/script.module.selenium/lib/selenium/webdriver/chrome/webdriver.py", line 68, in __init__
self.service.start()
File "/storage/emulated/0/Android/data/org.xbmc.kodi/files/.kodi/addons/script.module.selenium/lib/selenium/webdriver/common/service.py", line 94, in start
raise WebDriverException(
selenium.common.exceptions.WebDriverException: Message: 'chromedriver' executable may have wrong permissions. Please see https://sites.google.com/a/chromium.org/chromedriver/home
-->End of Python script error report<--
Metadata
Metadata
Assignees
Labels
No labels