← Back to team overview

sikuli-driver team mailing list archive

Re: [Question #353956]: Permission issue with Selenium in Sikuli

 

Question #353956 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/353956

    Status: Answered => Open

Sam is still having a problem:
Definite progress! I put that code in at the browser phase of my script
and it gets me into firefox very fast. At this point I seem to get two
issues. The first is that the firefox instance it opens is totally
vanilla. A major objective of the script in fact is to test a firefox
plugin I have installed.  How would I link the selenium instance of
firefox to my full plug-in-extended version? The second issue is a
straight ahead exception. 10 seconds after successfully loading the
vanilla instance of firefox, seemingly as Sikuli begins to parse the
rest of the not-selenium script, it throws this -

[error] JythonSupport: load: could not be found - even not in bundle nor
in Lib nor in Extensions

org.openqa.selenium.firefox.NotConnectedException: Unable to connect to
host 127.0.0.1 on port 7055 after 45000 ms. Firefox console output:
"updateKey":null,"optionsURL":null,"optionsType":null,"aboutURL":null,"icons":{"32":"icon.png","48":"icon.png"},"iconURL":null,"icon64URL":null,"defaultLocale":{"name":"Default","description":"The
default
theme.","creator":"Mozilla","homepageURL":null,"contributors":["Mozilla
Contributors"]},"visible":true,"active":true,"userDisabled":false,"appDisabled":false,"descriptor":"C:\\Program
Files (x86)\\Mozilla
Firefox\\browser\\extensions\\{972ce4c6-7e08-4474-a285-3208198ce6fd}.xpi","installDate":1466734942000,"updateDate":1466734942000,"applyBackgroundUpdates":1,"skinnable":true,"size":22012,"sourceURI":null,"releaseNotesURI":null,"softDisabled":false,"foreignInstall":false,"hasBinaryComponents":false,"strictCompatibility":true,"locales":[],"targetApplications":[{"id":"{ec8030f7
-c20a-464f-9b0e-
13a3a9e97384}","minVersion":"47.0.1","maxVersion":"47.0.1"}],"targetPlatforms":[],

"seen":true}
1471777753289 addons.xpi DEBUG getModTime: Recursive scan of {972ce4c6-7e08-4474-a285-3208198ce6fd}
1471777753291 DeferredSave.extensions.json DEBUG Save changes
1471777753291 addons.xpi DEBUG Updating database with changes to installed add-ons
1471777753291 addons.xpi-utils DEBUG Updating add-on states
1471777753295 addons.xpi-utils DEBUG Writing add-ons list
1471777753304 addons.xpi DEBUG Registering manifest for C:\Program Files (x86)\Mozilla Firefox\browser\features\e10srollout@xxxxxxxxxxxxxxx
1471777753304 addons.xpi DEBUG Calling bootstrap method startup on e10srollout@xxxxxxxxxxx version 1.0
1471777753304 addons.xpi DEBUG Registering manifest for C:\Program Files (x86)\Mozilla Firefox\browser\features\firefox@xxxxxxxxxxxxxxxxx
1471777753305 addons.xpi DEBUG Calling bootstrap method startup on firefox@xxxxxxxxxxxxx version 1.0.2
1471777753306 addons.xpi DEBUG Registering manifest for C:\Program Files (x86)\Mozilla Firefox\browser\features\loop@xxxxxxxxxxxxxxx
1471777753307 addons

.xpi DEBUG Calling bootstrap method startup on loop@xxxxxxxxxxx version 1.3.2
1471777753343 addons.manager DEBUG Registering shutdown blocker for XPIProvider
1471777753344 addons.manager DEBUG Provider finished startup: XPIProvider
1471777753344 addons.manager DEBUG Starting provider: LightweightThemeManager
1471777753344 addons.manager DEBUG Registering shutdown blocker for LightweightThemeManager
1471777753345 addons.manager DEBUG Provider finished startup: LightweightThemeManager
1471777753345 addons.manager DEBUG Starting provider: GMPProvider
1471777753362 addons.manager DEBUG Registering shutdown blocker for GMPProvider
1471777753363 addons.manager DEBUG Provider finished startup: GMPProvider
1471777753363 addons.manager DEBUG Starting provider: PluginProvider
1471777753363 addons.manager DEBUG Registering shutdown blocker for PluginProvider
1471777753363 addons.manager DEBUG Provider finished startup: PluginProvider
1471777753363 addons.manager DEBUG Completed startup sequence
147177775513

0 addons.manager DEBUG Starting provider: <unnamed-provider>
1471777755130 addons.manager DEBUG Registering shutdown blocker for <unnamed-provider>
1471777755131 addons.manager DEBUG Provider finished startup: <unnamed-provider>
1471777755837 DeferredSave.extensions.json DEBUG Write succeeded
1471777755837 addons.xpi-utils DEBUG XPI Database saved, setting schema version preference to 17
1471777755837 DeferredSave.extensions.json DEBUG Starting timer
1471777755861 DeferredSave.extensions.json DEBUG Starting write
1471777755864 addons.repository DEBUG No addons.json found.
1471777755865 DeferredSave.addons.json DEBUG Save changes
1471777755872 DeferredSave.addons.json DEBUG Starting timer
1471777755965 addons.manager DEBUG Starting provider: PreviousExperimentProvider
1471777755965 addons.manager DEBUG Registering shutdown blocker for PreviousExperimentProvider
1471777755965 addons.manager DEBUG Provider finished startup: PreviousExperimentProvider
1471777755970 DeferredSave.addons.json DEBUG Star

ting write
1471777755991 DeferredSave.extensions.json DEBUG Write succeeded
1471777756140 DeferredSave.addons.json DEBUG Write succeeded

at org.openqa.selenium.firefox.internal.NewProfileExtensionConnection.start(NewProfileExtensionConnection.java:120)
at org.openqa.selenium.firefox.FirefoxDriver.startClient(FirefoxDriver.java:275)
at org.openqa.selenium.remote.RemoteWebDriver.<init>(RemoteWebDriver.java:116)
at org.openqa.selenium.firefox.FirefoxDriver.<init>(FirefoxDriver.java:220)
at org.openqa.selenium.firefox.FirefoxDriver.<init>(FirefoxDriver.java:215)
at org.openqa.selenium.firefox.FirefoxDriver.<init>(FirefoxDriver.java:211)
at org.openqa.selenium.firefox.FirefoxDriver.<init>(FirefoxDriver.java:124)
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source)
at java.lang.reflect.Constructor.newInstance(Unknown Sourc

e)
at org.python.core.PyReflectedConstructor.constructProxy(PyReflectedConstructor.java:211)
at org.python.core.PyReflectedConstructor.__call__(PyReflectedConstructor.java:180)
at org.python.core.PyObject.__call__(PyObject.java:419)
at org.python.core.PyMethod.instancemethod___call__(PyMethod.java:237)
at org.python.core.PyMethod.__call__(PyMethod.java:228)
at org.python.core.PyMethod.__call__(PyMethod.java:223)
at org.python.core.Deriveds.dispatch__init__(Deriveds.java:19)
at org.python.core.PyObjectDerived.dispatch__init__(PyObjectDerived.java:1112)
at org.python.core.PyType.type___call__(PyType.java:1713)
at org.python.core.PyType.__call__(PyType.java:1696)
at org.python.core.PyObject.__call__(PyObject.java:445)
at org.python.core.PyObject.__call__(PyObject.java:449)
at org.python.pycode._pyx1843.f$0(C:\Users\Progman\Desktop\SikuliX 1.1.1\Wincrafter 1.1.1.sikuli\Wincrafter 1.1.1.py:1410)
at org.python.pycode._pyx1843.call_function(C:\Users\Progman\Desktop\SikuliX 1.1.1\Wincrafte

r 1.1.1.sikuli\Wincrafter 1.1.1.py)
at org.python.core.PyTableCode.call(PyTableCode.java:167)
at org.python.core.PyCode.call(PyCode.java:18)
at org.python.core.Py.runCode(Py.java:1386)
at org.python.core.__builtin__.execfile_flags(__builtin__.java:535)
at org.python.util.PythonInterpreter.execfile(PythonInterpreter.java:286)
at org.sikuli.scriptrunner.JythonScriptRunner.runPython(JythonScriptRunner.java:206)
at org.sikuli.scriptrunner.JythonScriptRunner.runScript(JythonScriptRunner.java:175)
at org.sikuli.ide.SikuliIDE$ButtonRun$SubRun.run(SikuliIDE.java:2541)
at java.lang.Thread.run(Unknown Source)
Aug 21, 2016 7:10:03 AM org.openqa.selenium.os.UnixProcess$SeleniumWatchDog destroyHarder
INFO: Command failed to close cleanly. Destroying forcefully (v2). org.openqa.selenium.os.UnixProcess$SeleniumWatchDog@10af52a

[error] script [ Wincrafter 1.1.1 ] stopped with error in line 1451
[error] Driver info ( driver.version: FirefoxDriver )

What do you guys make of it?

Thanks!

-- 
You received this question notification because your team Sikuli Drivers
is an answer contact for Sikuli.