sikuli-driver team mailing list archive
-
sikuli-driver team
-
Mailing list archive
-
Message #39879
[Question #353956]: Permission issue with Selenium in Sikuli
New question #353956 on Sikuli:
https://answers.launchpad.net/sikuli/+question/353956
Hi, just wanted to start out with a huge thank you to the Sikuli team and RaiMan for developing such a powerful platform. I'm very new to Sikuli and python programming but I've managed to a do a lot of very useful test automation work recently with Sikuli. I'm now trying to automate my tasks further by integrating selenium into the IDE. I couldn't find a lot of answers about how to make this work, so I followed some ideas laid out in a fairly ancient post I found herehttps://answers.launchpad.net/sikuli/+question/248040.
I installed selenium with pip and then took the folders installed by pip in the python 2.7 path and copied that into a new "Lib" folder I made in my SikuliX folder. The IDE seems to import selenium but now I'm having trouble with getting webdriver off the ground.
Here's the exception in its ugly verbatim:
[error] script [ Active projects ] stopped with error in line 1324
[error] shutil.Error ( [('C:\\Users\\Progman\\AppData\\Local\\Temp\\tmp0eadvc.webdriver.xpi\\components', u'C:\\Users\\Progman\\AppData\\Local\\Temp\\tmpdpeped\\extensions\\fxdriver@xxxxxxxxxxxxxx\\components', "[Errno 1] Operation not permitted: u'C:\\\\Users\\\\Progman\\\\AppData\\\\Local\\\\Temp\\\\tmpdpeped\\\\extensions\\\\fxdriver@xxxxxxxxxxxxxx\\\\components'"), ('C:\\Users\\Progman\\AppData\\Local\\Temp\\tmp0eadvc.webdriver.xpi\\content', u'C:\\Users\\Progman\\AppData\\Local\\Temp\\tmpdpeped\\extensions\\fxdriver@xxxxxxxxxxxxxx\\content', "[Errno 1] Operation not permitted: u'C:\\\\Users\\\\Progman\\\\AppData\\\\Local\\\\Temp\\\\tmpdpeped\\\\extensions\\\\fxdriver@xxxxxxxxxxxxxx\\\\content'"), ('C:\\Users\\Progman\\AppData\\Local\\Temp\\tmp0eadvc.webdriver.xpi\\platform\\WINNT_x86-msvc\\components', u'C:\\Users\\Progman\\AppData\\Local\\Temp\\tmpdpeped\\extensions\\fxdriver@xxxxxxxxxxxxxx\\platform\\WINNT_x86-msvc\\components', "[Errn
o 1] Operation not permitted: u'C:\\\\Users\\\\Progman\\\\AppData\\\\Local\\\\Temp\\\\tmpdpeped\\\\extensions\\\\fxdriver@xxxxxxxxxxxxxx\\\\platform\\\\WINNT_x86-msvc\\\\components'"), ('C:\\Users\\Progman\\AppData\\Local\\Temp\\tmp0eadvc.webdriver.xpi\\platform\\WINNT_x86-msvc', u'C:\\Users\\Progman\\AppData\\Local\\Temp\\tmpdpeped\\extensions\\fxdriver@xxxxxxxxxxxxxx\\platform\\WINNT_x86-msvc', "[Errno 1] Operation not permitted: u'C:\\\\Users\\\\Progman\\\\AppData\\\\Local\\\\Temp\\\\tmpdpeped\\\\extensions\\\\fxdriver@xxxxxxxxxxxxxx\\\\platform\\\\WINNT_x86-msvc'"), ('C:\\Users\\Progman\\AppData\\Local\\Temp\\tmp0eadvc.webdriver.xpi\\platform', u'C:\\Users\\Progman\\AppData\\Local\\Temp\\tmpdpeped\\extensions\\fxdriver@xxxxxxxxxxxxxx\\platform', "[Errno 1] Operation not permitted: u'C:\\\\Users\\\\Progman\\\\AppData\\\\Local\\\\Temp\\\\tmpdpeped\\\\extensions\\\\fxdriver@xxxxxxxxxxxxxx\\\\platform'"), ('C:\\Users\\Progman\\AppData\\Local\\Temp\\tmp0eadvc.webdriver.xpi\\resource\\modules', u'C:\\Users\\Pro
gman\\AppData\\Local\\Temp\\tmpdpeped\\extensions\\fxdriver@xxxxxxxxxxxxxx\\resource\\modules', "[Errno 1] Operation not permitted: u'C:\\\\Users\\\\Progman\\\\AppData\\\\Local\\\\Temp\\\\tmpdpeped\\\\extensions\\\\fxdriver@xxxxxxxxxxxxxx\\\\resource\\\\modules'"), ('C:\\Users\\Progman\\AppData\\Local\\Temp\\tmp0eadvc.webdriver.xpi\\resource', u'C:\\Users\\Progman\\AppData\\Local\\Temp\\tmpdpeped\\extensions\\fxdriver@xxxxxxxxxxxxxx\\resource', "[Errno 1] Operation not permitted: u'C:\\\\Users\\\\Progman\\\\AppData\\\\Local\\\\Temp\\\\tmpdpeped\\\\extensions\\\\fxdriver@xxxxxxxxxxxxxx\\\\resource'"), ('C:\\Users\\Progman\\AppData\\Local\\Temp\\tmp0eadvc.webdriver.xpi', u'C:\\Users\\Progman\\AppData\\Local\\Temp\\tmpdpeped\\extensions\\fxdriver@xxxxxxxxxxxxxx', "[Errno 1] Operation not permitted: u'C:\\\\Users\\\\Progman\\\\AppData\\\\Local\\\\Temp\\\\tmpdpeped\\\\extensions\\\\fxdriver@xxxxxxxxxxxxxx'")] )
[error] --- Traceback --- error source first line: module ( function ) statement 208: shutil ( copytr
ee ) shutil.Error: [('C:\\Users\\Progman\\AppData\\Local\\Temp\\tmp0eadvc.webdriver.xpi\\components', u'C:\\Users\\Progman\\AppData\\Local\\Temp\\tmpdpeped\\extensions\\fxdriver@xxxxxxxxxxxxxx\\components', "[Errno 1] Operation not permitted: u'C:\\\\Users\\\\Progman\\\\AppData\\\\Local\\\\Temp\\\\tmpdpeped\\\\extensions\\\\fxdriver@xxxxxxxxxxxxxx\\\\components'"), ('C:\\Users\\Progman\\AppData\\Local\\Temp\\tmp0eadvc.webdriver.xpi\\content', u'C:\\Users\\Progman\\AppData\\Local\\Temp\\tmpdpeped\\extensions\\fxdriver@xxxxxxxxxxxxxx\\content', "[Errno 1] Operation not permitted: u'C:\\\\Users\\\\Progman\\\\AppData\\\\Local\\\\Temp\\\\tmpdpeped\\\\extensions\\\\fxdriver@xxxxxxxxxxxxxx\\\\content'"), ('C:\\Users\\Progman\\AppData\\Local\\Temp\\tmp0eadvc.webdriver.xpi\\platform\\WINNT_x86-msvc\\components', u'C:\\Users\\Progman\\AppData\\Local\\Temp\\tmpdpeped\\extensions\\fxdriver@xxxxxxxxxxxxxx\\platform\\WINNT_x86-msvc\\components', "[Errno 1] Operation not permitted: u'C:\\\\Users\\\\Progman\\\\AppData\\\\Loc
al\\\\Temp\\\\tmpdpeped\\\\extensions\\\\fxdriver@xxxxxxxxxxxxxx\\\\platform\\\\WINNT_x86-msvc\\\\components'"), ('C:\\Users\\Progman\\AppData\\Local\\Temp\\tmp0eadvc.webdriver.xpi\\platform\\WINNT_x86-msvc', u'C:\\Users\\Progman\\AppData\\Local\\Temp\\tmpdpeped\\extensions\\fxdriver@xxxxxxxxxxxxxx\\platform\\WINNT_x86-msvc', "[Errno 1] Operation not permitted: u'C:\\\\Users\\\\Progman\\\\AppData\\\\Local\\\\Temp\\\\tmpdpeped\\\\extensions\\\\fxdriver@xxxxxxxxxxxxxx\\\\platform\\\\WINNT_x86-msvc'"), ('C:\\Users\\Progman\\AppData\\Local\\Temp\\tmp0eadvc.webdriver.xpi\\platform', u'C:\\Users\\Progman\\AppData\\Local\\Temp\\tmpdpeped\\extensions\\fxdriver@xxxxxxxxxxxxxx\\platform', "[Errno 1] Operation not permitted: u'C:\\\\Users\\\\Progman\\\\AppData\\\\Local\\\\Temp\\\\tmpdpeped\\\\extensions\\\\fxdriver@xxxxxxxxxxxxxx\\\\platform'"), ('C:\\Users\\Progman\\AppData\\Local\\Temp\\tmp0eadvc.webdriver.xpi\\resource\\modules', u'C:\\Users\\Progman\\AppData\\Local\\Temp\\tmpdpeped\\extensions\\fxdriver@googlecode.c
om\\resource\\modules', "[Errno 1] Operation not permitted: u'C:\\\\Users\\\\Progman\\\\AppData\\\\Local\\\\Temp\\\\tmpdpeped\\\\extensions\\\\fxdriver@xxxxxxxxxxxxxx\\\\resource\\\\modules'"), ('C:\\Users\\Progman\\AppData\\Local\\Temp\\tmp0eadvc.webdriver.xpi\\resource', u'C:\\Users\\Progman\\AppData\\Local\\Temp\\tmpdpeped\\extensions\\fxdriver@xxxxxxxxxxxxxx\\resource', "[Errno 1] Operation not permitted: u'C:\\\\Users\\\\Progman\\\\AppData\\\\Local\\\\Temp\\\\tmpdpeped\\\\extensions\\\\fxdriver@xxxxxxxxxxxxxx\\\\resource'"), ('C:\\Users\\Progman\\AppData\\Local\\Temp\\tmp0eadvc.webdriver.xpi', u'C:\\Users\\Progman\\AppData\\Local\\Temp\\tmpdpeped\\extensions\\fxdriver@xxxxxxxxxxxxxx', "[Errno 1] Operation not permitted: u'C:\\\\Users\\\\Progman\\\\AppData\\\\Local\\\\Temp\\\\tmpdpeped\\\\extensions\\\\fxdriver@xxxxxxxxxxxxxx'")]
284: firefox_profile ( _install_extension ) shutil.copytree(addon, addon_path, symlinks=True)
92: firefox_profile ( add_extension ) self._install_extension(extension)
50: extension_connection ( __init__ ) self.profile.add_extension()
79: webdriver ( __init__ ) executor = ExtensionConnection("127.0.0.1", self.profile,
[error] --- Traceback --- end --------------
I'm running Sikuli 1.1.0 on a windows 7 machine with both python 2.7 and 3.5 installed.
Any advice on how to get webdriver up and running in my Sikuli project would be awesome.
Thanks.
--
You received this question notification because your team Sikuli Drivers
is an answer contact for Sikuli.