← 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:
Here's my current test script verbatim. In your identical environment of
Win7, Sikuli: 1.1.1, Firefox 47.0.1

load("C:\selenium\selenium-server-standalone-2.53.1.jar")
import org.openqa.selenium.firefox.FirefoxDriver as FD
import org.openqa.selenium.Dimension as Dm

driver = FD()
driver.get("http://www.sikuli.org/";)

size = Dm(500,500)
driver.manage().window().setSize(size)

driver.quit()

driver.get (url) is unresponsive, firefox sits on default private
browser page for 30 seconds then yields the following exception.

-----------------------------------------------------------------------------------------------

[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:
,"syncGUID":"5p-2IkF_CkTX","location":"app-
global","version":"47.0.1","type":"theme","internalName":"classic/1.0","updateURL":null,"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":[],"targ

etApplications":[{"id":"{ec8030f7-c20a-464f-9b0e-13a3a9e97384}","minVersion":"47.0.1","maxVersion":"47.0.1"}],"targetPlatforms":[],"seen":true}
1471956859491 addons.xpi DEBUG getModTime: Recursive scan of {972ce4c6-7e08-4474-a285-3208198ce6fd}
1471956859492 DeferredSave.extensions.json DEBUG Save changes
1471956859492 addons.xpi DEBUG Updating database with changes to installed add-ons
1471956859492 addons.xpi-utils DEBUG Updating add-on states
1471956859503 addons.xpi-utils DEBUG Writing add-ons list
1471956859521 addons.xpi DEBUG Registering manifest for C:\Program Files (x86)\Mozilla Firefox\browser\features\e10srollout@xxxxxxxxxxxxxxx
1471956859522 addons.xpi DEBUG Calling bootstrap method startup on e10srollout@xxxxxxxxxxx version 1.0
1471956859522 addons.xpi DEBUG Registering manifest for C:\Program Files (x86)\Mozilla Firefox\browser\features\firefox@xxxxxxxxxxxxxxxxx
1471956859522 addons.xpi DEBUG Calling bootstrap method startup on firefox@xxxxxxxxxxxxx version 1.0.2
1471956859523 addons.xp

i DEBUG Registering manifest for C:\Program Files (x86)\Mozilla Firefox\browser\features\loop@xxxxxxxxxxxxxxx
1471956859524 addons.xpi DEBUG Calling bootstrap method startup on loop@xxxxxxxxxxx version 1.3.2
1471956859547 addons.manager DEBUG Registering shutdown blocker for XPIProvider
1471956859548 addons.manager DEBUG Provider finished startup: XPIProvider
1471956859548 addons.manager DEBUG Starting provider: LightweightThemeManager
1471956859548 addons.manager DEBUG Registering shutdown blocker for LightweightThemeManager
1471956859548 addons.manager DEBUG Provider finished startup: LightweightThemeManager
1471956859549 addons.manager DEBUG Starting provider: GMPProvider
1471956859579 addons.manager DEBUG Registering shutdown blocker for GMPProvider
1471956859579 addons.manager DEBUG Provider finished startup: GMPProvider
1471956859579 addons.manager DEBUG Starting provider: PluginProvider
1471956859579 addons.manager DEBUG Registering shutdown blocker for PluginProvider
1471956859580 addons.m

anager DEBUG Provider finished startup: PluginProvider
1471956859580 addons.manager DEBUG Completed startup sequence
1471956861409 addons.manager DEBUG Starting provider: <unnamed-provider>
1471956861409 addons.manager DEBUG Registering shutdown blocker for <unnamed-provider>
1471956861410 addons.manager DEBUG Provider finished startup: <unnamed-provider>
1471956861416 DeferredSave.extensions.json DEBUG Starting write
1471956861846 addons.repository DEBUG No addons.json found.
1471956861847 DeferredSave.addons.json DEBUG Save changes
1471956861859 DeferredSave.addons.json DEBUG Starting timer
1471956861994 addons.manager DEBUG Starting provider: PreviousExperimentProvider
1471956861994 addons.manager DEBUG Registering shutdown blocker for PreviousExperimentProvider
1471956861994 addons.manager DEBUG Provider finished startup: PreviousExperimentProvider
1471956861996 DeferredSave.extensions.json DEBUG Write succeeded
1471956861997 addons.xpi-utils DEBUG XPI Database saved, setting schema version p

reference to 17
1471956861997 DeferredSave.addons.json DEBUG Starting write
1471956862170 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._pyx4961.f$0(C:\Users\Progman\Desktop\SikuliX 1.1.1\Selenium debug.sikuli\Selenium debug.py:13)
at org.python.pycode._pyx4961.call_function(C:\Users\Progman\Desktop\SikuliX 1.1.1\Selenium debug.

sikuli\Selenium debug.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 23, 2016 8:55:09 AM org.openqa.selenium.os.UnixProcess$SeleniumWatchDog destroyHarder
INFO: Command failed to close cleanly. Destroying forcefully (v2). org.openqa.selenium.os.UnixProcess$SeleniumWatchDog@7c868

[error] script [ Selenium debug ] stopped with error in line 5
[error] Driver info ( driver.version: FirefoxDriver )

------------------------------------------------------------------------------------------------------------------------------------

Please advise further.

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