Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Groovy Version Fails with org.openqa.selenium.firefox.NotConnectedException: Unable to connect to host 127.0.0.1 on port #2

Open
AndrewReitz opened this issue Sep 11, 2014 · 7 comments

Comments

@AndrewReitz
Copy link

After entering groovy slides2png.groovy <url> Firefox opens and then hangs. After a while it will close and output the following error message.

`org.openqa.selenium.firefox.NotConnectedException: Unable to connect to host 127.0.0.1 on port 7055 after 45000 ms. Firefox console output:
dules/LightweightThemeManager.jsm: ["LightweightThemeManager"]
1410450284062 addons.xpi DEBUG startup
1410450284064 addons.xpi INFO Mapping {972ce4c6-7e08-4474-a285-3208198ce6fd} to /usr/lib64/firefox/browser/extensions/{972ce4c6-7e08-4474-a285-3208198ce6fd}
1410450284066 addons.xpi INFO Mapping [email protected] to /tmp/anonymous8329726343354458135webdriver-profile/extensions/[email protected]
1410450284066 addons.xpi DEBUG Ignoring file entry whose name is not a valid add-on ID: /tmp/anonymous8329726343354458135webdriver-profile/extensions/webdriver-staging
1410450284066 addons.xpi DEBUG checkForChanges
1410450284070 addons.xpi DEBUG Directory state JSON differs: cache [] state [{"name":"app-global","addons":{"{972ce4c6-7e08-4474-a285-3208198ce6fd}":{"descriptor":"/usr/lib64/firefox/browser/extensions/{972ce4c6-7e08-4474-a285-3208198ce6fd}","mtime":1410320341000,"rdfTime":1409517579000}}},{"name":"app-profile","addons":{"[email protected]":{"descriptor":"/tmp/anonymous8329726343354458135webdriver-profile/extensions/[email protected]","mtime":1410450283000,"rdfTime":1410450283000}}}]
1410450284075 addons.xpi-utils DEBUG Opening XPI database /tmp/anonymous8329726343354458135webdriver-profile/extensions.json
1410450284075 addons.xpi DEBUG New add-on [email protected] installed in app-profile
*** Blocklist::_loadBlocklistFromFile: blocklist is disabled
1410450284229 addons.xpi-utils DEBUG Make addon app-profile:[email protected] visible
1410450284231 DeferredSave.extensions.json DEBUG Save changes
1410450284231 DeferredSave.extensions.json DEBUG Save changes
1410450284232 addons.xpi DEBUG New add-on {972ce4c6-7e08-4474-a285-3208198ce6fd} installed in app-global
1410450284234 addons.xpi-utils DEBUG Make addon app-global:{972ce4c6-7e08-4474-a285-3208198ce6fd} visible
1410450284234 DeferredSave.extensions.json DEBUG Save changes
1410450284234 DeferredSave.extensions.json DEBUG Save changes
1410450284237 addons.xpi DEBUG Updating database with changes to installed add-ons
1410450284237 addons.xpi-utils DEBUG Updating add-on states
1410450284237 addons.xpi-utils DEBUG Writing add-ons list
1410450284551 DeferredSave.extensions.json DEBUG Starting timer
1410450284597 addons.manager DEBUG shutdown
1410450284600 DeferredSave.extensions.json DEBUG Starting write
1410450284601 addons.xpi DEBUG shutdown
1410450284601 addons.xpi-utils DEBUG shutdown
1410450284651 DeferredSave.extensions.json DEBUG Write succeeded
1410450284651 addons.xpi-utils DEBUG XPI Database saved, setting schema version preference to 16
1410450284651 addons.xpi DEBUG Notifying XPI shutdown observers
1410450284654 addons.manager DEBUG Async provider shutdown done

(process:31183): GLib-CRITICAL *: g_slice_set_config: assertion 'sys_page_size == 0' failed
1410450288295 addons.manager DEBUG Loaded provider scope for resource://gre/modules/addons/XPIProvider.jsm: ["XPIProvider"]
1410450288296 addons.manager DEBUG Loaded provider scope for resource://gre/modules/LightweightThemeManager.jsm: ["LightweightThemeManager"]
1410450288298 addons.xpi DEBUG startup
1410450288299 addons.xpi INFO Mapping {972ce4c6-7e08-4474-a285-3208198ce6fd} to /usr/lib64/firefox/browser/extensions/{972ce4c6-7e08-4474-a285-3208198ce6fd}
1410450288302 addons.xpi INFO Mapping [email protected] to /tmp/anonymous8329726343354458135webdriver-profile/extensions/[email protected]
1410450288302 addons.xpi DEBUG Ignoring file entry whose name is not a valid add-on ID: /tmp/anonymous8329726343354458135webdriver-profile/extensions/webdriver-staging
1410450288303 addons.xpi DEBUG checkForChanges
1410450288314 addons.xpi DEBUG No changes found
*
* Blocklist::_preloadBlocklistFile: blocklist is disabled
JavaScript error: chrome://browser/content/urlbarBindings.xml, line 677: aUrl is undefined
JavaScript error: chrome://browser/content/urlbarBindings.xml, line 677: aUrl is undefined
JavaScript error: chrome://browser/content/urlbarBindings.xml, line 677: aUrl is undefined
JavaScript error: chrome://browser/content/urlbarBindings.xml, line 677: aUrl is undefined

    at org.openqa.selenium.firefox.internal.NewProfileExtensionConnection.start(NewProfileExtensionConnection.java:118)
    at org.openqa.selenium.firefox.FirefoxDriver.startClient(FirefoxDriver.java:246)
    at org.openqa.selenium.remote.RemoteWebDriver.<init>(RemoteWebDriver.java:114)
    at org.openqa.selenium.firefox.FirefoxDriver.<init>(FirefoxDriver.java:191)
    at org.openqa.selenium.firefox.FirefoxDriver.<init>(FirefoxDriver.java:186)
    at org.openqa.selenium.firefox.FirefoxDriver.<init>(FirefoxDriver.java:182)
    at org.openqa.selenium.firefox.FirefoxDriver.<init>(FirefoxDriver.java:95)
    at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
    at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:57)
    at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
    at java.lang.reflect.Constructor.newInstance(Constructor.java:526)
    at org.codehaus.groovy.reflection.CachedConstructor.invoke(CachedConstructor.java:77)
    at org.codehaus.groovy.reflection.CachedConstructor.doConstructorInvoke(CachedConstructor.java:71)
    at groovy.lang.MetaClassImpl.invokeConstructor(MetaClassImpl.java:1587)
    at groovy.lang.MetaClassImpl.invokeConstructor(MetaClassImpl.java:1404)
    at org.codehaus.groovy.runtime.InvokerHelper.invokeConstructorOf(InvokerHelper.java:932)
    at org.codehaus.groovy.runtime.DefaultGroovyMethods.newInstance(DefaultGroovyMethods.java:12493)
    at org.codehaus.groovy.runtime.dgm$379.invoke(Unknown Source)
    at org.codehaus.groovy.runtime.callsite.StaticMetaMethodSite$StaticMetaMethodSiteNoUnwrapNoCoerce.invoke(StaticMetaMethodSite.java:148)
    at org.codehaus.groovy.runtime.callsite.StaticMetaMethodSite.call(StaticMetaMethodSite.java:88)
    at org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCall(CallSiteArray.java:45)
    at org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:108)
    at org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:112)
    at geb.driver.NameBasedDriverFactory.getDriver(NameBasedDriverFactory.groovy:44)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    at java.lang.reflect.Method.invoke(Method.java:606)
    at org.codehaus.groovy.reflection.CachedMethod.invoke(CachedMethod.java:90)
    at groovy.lang.MetaMethod.doMethodInvoke(MetaMethod.java:233)
    at org.codehaus.groovy.runtime.metaclass.MethodMetaProperty$GetBeanMethodMetaProperty.getProperty(MethodMetaProperty.java:73)
    at org.codehaus.groovy.runtime.callsite.GetEffectivePogoPropertySite.getProperty(GetEffectivePogoPropertySite.java:82)
    at org.codehaus.groovy.runtime.callsite.AbstractCallSite.callGetProperty(AbstractCallSite.java:227)
    at geb.driver.CachingDriverFactory$_getDriver_closure3.doCall(CachingDriverFactory.groovy:85)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    at java.lang.reflect.Method.invoke(Method.java:606)
    at org.codehaus.groovy.reflection.CachedMethod.invoke(CachedMethod.java:90)
    at groovy.lang.MetaMethod.doMethodInvoke(MetaMethod.java:233)
    at org.codehaus.groovy.runtime.metaclass.ClosureMetaClass.invokeMethod(ClosureMetaClass.java:272)
    at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:909)
    at org.codehaus.groovy.runtime.callsite.PogoMetaClassSite.callCurrent(PogoMetaClassSite.java:66)
    at org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCallCurrent(CallSiteArray.java:49)
    at org.codehaus.groovy.runtime.callsite.AbstractCallSite.callCurrent(AbstractCallSite.java:133)
    at org.codehaus.groovy.runtime.callsite.AbstractCallSite.callCurrent(AbstractCallSite.java:141)
    at geb.driver.CachingDriverFactory$_getDriver_closure3.doCall(CachingDriverFactory.groovy)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    at java.lang.reflect.Method.invoke(Method.java:606)
    at org.codehaus.groovy.reflection.CachedMethod.invoke(CachedMethod.java:90)
    at groovy.lang.MetaMethod.doMethodInvoke(MetaMethod.java:233)
    at org.codehaus.groovy.runtime.metaclass.ClosureMetaClass.invokeMethod(ClosureMetaClass.java:272)
    at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:909)
    at org.codehaus.groovy.runtime.callsite.PogoMetaClassSite.call(PogoMetaClassSite.java:39)
    at org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCall(CallSiteArray.java:45)
    at org.codehaus.groovy.runtime.callsite.PogoMetaClassSite.call(PogoMetaClassSite.java:54)
    at org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:112)
    at geb.driver.CachingDriverFactory$SimpleCache.get(CachingDriverFactory.groovy:32)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    at java.lang.reflect.Method.invoke(Method.java:606)
    at org.codehaus.groovy.runtime.callsite.PogoMetaMethodSite$PogoCachedMethodSiteNoUnwrapNoCoerce.invoke(PogoMetaMethodSite.java:207)
    at org.codehaus.groovy.runtime.callsite.PogoMetaMethodSite.call(PogoMetaMethodSite.java:68)
    at org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCall(CallSiteArray.java:45)
    at org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:108)
    at org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:116)
    at geb.driver.CachingDriverFactory.getDriver(CachingDriverFactory.groovy:84)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    at java.lang.reflect.Method.invoke(Method.java:606)
    at org.codehaus.groovy.reflection.CachedMethod.invoke(CachedMethod.java:90)
    at groovy.lang.MetaMethod.doMethodInvoke(MetaMethod.java:233)
    at org.codehaus.groovy.runtime.metaclass.MethodMetaProperty$GetBeanMethodMetaProperty.getProperty(MethodMetaProperty.java:73)
    at org.codehaus.groovy.runtime.callsite.GetEffectivePogoPropertySite.getProperty(GetEffectivePogoPropertySite.java:82)
    at org.codehaus.groovy.runtime.callsite.AbstractCallSite.callGetProperty(AbstractCallSite.java:227)
    at geb.Configuration.createDriver(Configuration.groovy:361)
    at geb.Configuration.getDriver(Configuration.groovy:350)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    at java.lang.reflect.Method.invoke(Method.java:606)
    at org.codehaus.groovy.reflection.CachedMethod.invoke(CachedMethod.java:90)
    at groovy.lang.MetaMethod.doMethodInvoke(MetaMethod.java:233)
    at org.codehaus.groovy.runtime.metaclass.MethodMetaProperty$GetBeanMethodMetaProperty.getProperty(MethodMetaProperty.java:73)
    at org.codehaus.groovy.runtime.callsite.GetEffectivePogoPropertySite.getProperty(GetEffectivePogoPropertySite.java:82)
    at org.codehaus.groovy.runtime.callsite.AbstractCallSite.callGroovyObjectGetProperty(AbstractCallSite.java:231)
    at geb.Browser.getDriver(Browser.groovy:105)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    at java.lang.reflect.Method.invoke(Method.java:606)
    at org.codehaus.groovy.reflection.CachedMethod.invoke(CachedMethod.java:90)
    at groovy.lang.MetaMethod.doMethodInvoke(MetaMethod.java:233)
    at org.codehaus.groovy.runtime.metaclass.MethodMetaProperty$GetBeanMethodMetaProperty.getProperty(MethodMetaProperty.java:73)
    at org.codehaus.groovy.runtime.callsite.GetEffectivePogoPropertySite.getProperty(GetEffectivePogoPropertySite.java:82)
    at org.codehaus.groovy.runtime.callsite.AbstractCallSite.callGroovyObjectGetProperty(AbstractCallSite.java:231)
    at geb.Browser.go(Browser.groovy:405)
    at geb.Browser$go$1.callCurrent(Unknown Source)
    at org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCallCurrent(CallSiteArray.java:49)
    at org.codehaus.groovy.runtime.callsite.AbstractCallSite.callCurrent(AbstractCallSite.java:133)
    at org.codehaus.groovy.runtime.callsite.AbstractCallSite.callCurrent(AbstractCallSite.java:145)
    at geb.Browser.go(Browser.groovy:395)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    at java.lang.reflect.Method.invoke(Method.java:606)
    at org.codehaus.groovy.reflection.CachedMethod.invoke(CachedMethod.java:90)
    at groovy.lang.MetaMethod.doMethodInvoke(MetaMethod.java:233)
    at org.codehaus.groovy.runtime.metaclass.ClosureMetaClass.invokeMethod(ClosureMetaClass.java:361)
    at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:909)
    at org.codehaus.groovy.runtime.callsite.PogoMetaClassSite.callCurrent(PogoMetaClassSite.java:66)
    at org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCallCurrent(CallSiteArray.java:49)
    at org.codehaus.groovy.runtime.callsite.AbstractCallSite.callCurrent(AbstractCallSite.java:133)
    at org.codehaus.groovy.runtime.callsite.AbstractCallSite.callCurrent(AbstractCallSite.java:141)
    at slides2png$_run_closure1.doCall(slides2png.groovy:37)
    at slides2png$_run_closure1.doCall(slides2png.groovy)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    at java.lang.reflect.Method.invoke(Method.java:606)
    at org.codehaus.groovy.reflection.CachedMethod.invoke(CachedMethod.java:90)
    at groovy.lang.MetaMethod.doMethodInvoke(MetaMethod.java:233)
    at org.codehaus.groovy.runtime.metaclass.ClosureMetaClass.invokeMethod(ClosureMetaClass.java:272)
    at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:909)
    at org.codehaus.groovy.runtime.callsite.PogoMetaClassSite.call(PogoMetaClassSite.java:39)
    at org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCall(CallSiteArray.java:45)
    at org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:108)
    at org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:112)
    at geb.Browser.drive(Browser.groovy:884)
    at geb.Browser$drive$0.callStatic(Unknown Source)
    at org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCallStatic(CallSiteArray.java:53)
    at org.codehaus.groovy.runtime.callsite.AbstractCallSite.callStatic(AbstractCallSite.java:157)
    at org.codehaus.groovy.runtime.callsite.AbstractCallSite.callStatic(AbstractCallSite.java:169)
    at geb.Browser.drive(Browser.groovy:854)
    at geb.Browser$drive.call(Unknown Source)
    at org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCall(CallSiteArray.java:45)
    at org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:108)
    at org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:116)
    at slides2png.run(slides2png.groovy:28)
    at groovy.lang.GroovyShell.runScriptOrMainOrTestOrRunnable(GroovyShell.java:257)
    at groovy.lang.GroovyShell.run(GroovyShell.java:220)
    at groovy.lang.GroovyShell.run(GroovyShell.java:150)
    at groovy.ui.GroovyMain.processOnce(GroovyMain.java:588)
    at groovy.ui.GroovyMain.run(GroovyMain.java:375)
    at groovy.ui.GroovyMain.process(GroovyMain.java:361)
    at groovy.ui.GroovyMain.processArgs(GroovyMain.java:120)
    at groovy.ui.GroovyMain.main(GroovyMain.java:100)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    at java.lang.reflect.Method.invoke(Method.java:606)
    at org.codehaus.groovy.tools.GroovyStarter.rootLoader(GroovyStarter.java:106)
    at org.codehaus.groovy.tools.GroovyStarter.main(GroovyStarter.java:128)

Caught: org.openqa.selenium.WebDriverException: Failed to connect to binary FirefoxBinary(/usr/bin/firefox) on port 7055; process output follows:
dules/LightweightThemeManager.jsm: ["LightweightThemeManager"]
1410450284062 addons.xpi DEBUG startup
1410450284064 addons.xpi INFO Mapping {972ce4c6-7e08-4474-a285-3208198ce6fd} to /usr/lib64/firefox/browser/extensions/{972ce4c6-7e08-4474-a285-3208198ce6fd}
1410450284066 addons.xpi INFO Mapping [email protected] to /tmp/anonymous8329726343354458135webdriver-profile/extensions/[email protected]
1410450284066 addons.xpi DEBUG Ignoring file entry whose name is not a valid add-on ID: /tmp/anonymous8329726343354458135webdriver-profile/extensions/webdriver-staging
1410450284066 addons.xpi DEBUG checkForChanges
1410450284070 addons.xpi DEBUG Directory state JSON differs: cache [] state [{"name":"app-global","addons":{"{972ce4c6-7e08-4474-a285-3208198ce6fd}":{"descriptor":"/usr/lib64/firefox/browser/extensions/{972ce4c6-7e08-4474-a285-3208198ce6fd}","mtime":1410320341000,"rdfTime":1409517579000}}},{"name":"app-profile","addons":{"[email protected]":{"descriptor":"/tmp/anonymous8329726343354458135webdriver-profile/extensions/[email protected]","mtime":1410450283000,"rdfTime":1410450283000}}}]
1410450284075 addons.xpi-utils DEBUG Opening XPI database /tmp/anonymous8329726343354458135webdriver-profile/extensions.json
1410450284075 addons.xpi DEBUG New add-on [email protected] installed in app-profile
*** Blocklist::_loadBlocklistFromFile: blocklist is disabled
1410450284229 addons.xpi-utils DEBUG Make addon app-profile:[email protected] visible
1410450284231 DeferredSave.extensions.json DEBUG Save changes
1410450284231 DeferredSave.extensions.json DEBUG Save changes
1410450284232 addons.xpi DEBUG New add-on {972ce4c6-7e08-4474-a285-3208198ce6fd} installed in app-global
1410450284234 addons.xpi-utils DEBUG Make addon app-global:{972ce4c6-7e08-4474-a285-3208198ce6fd} visible
1410450284234 DeferredSave.extensions.json DEBUG Save changes
1410450284234 DeferredSave.extensions.json DEBUG Save changes
1410450284237 addons.xpi DEBUG Updating database with changes to installed add-ons
1410450284237 addons.xpi-utils DEBUG Updating add-on states
1410450284237 addons.xpi-utils DEBUG Writing add-ons list
1410450284551 DeferredSave.extensions.json DEBUG Starting timer
1410450284597 addons.manager DEBUG shutdown
1410450284600 DeferredSave.extensions.json DEBUG Starting write
1410450284601 addons.xpi DEBUG shutdown
1410450284601 addons.xpi-utils DEBUG shutdown
1410450284651 DeferredSave.extensions.json DEBUG Write succeeded
1410450284651 addons.xpi-utils DEBUG XPI Database saved, setting schema version preference to 16
1410450284651 addons.xpi DEBUG Notifying XPI shutdown observers
1410450284654 addons.manager DEBUG Async provider shutdown done

(process:31183): GLib-CRITICAL *: g_slice_set_config: assertion 'sys_page_size == 0' failed
1410450288295 addons.manager DEBUG Loaded provider scope for resource://gre/modules/addons/XPIProvider.jsm: ["XPIProvider"]
1410450288296 addons.manager DEBUG Loaded provider scope for resource://gre/modules/LightweightThemeManager.jsm: ["LightweightThemeManager"]
1410450288298 addons.xpi DEBUG startup
1410450288299 addons.xpi INFO Mapping {972ce4c6-7e08-4474-a285-3208198ce6fd} to /usr/lib64/firefox/browser/extensions/{972ce4c6-7e08-4474-a285-3208198ce6fd}
1410450288302 addons.xpi INFO Mapping [email protected] to /tmp/anonymous8329726343354458135webdriver-profile/extensions/[email protected]
1410450288302 addons.xpi DEBUG Ignoring file entry whose name is not a valid add-on ID: /tmp/anonymous8329726343354458135webdriver-profile/extensions/webdriver-staging
1410450288303 addons.xpi DEBUG checkForChanges
1410450288314 addons.xpi DEBUG No changes found
*
* Blocklist::_preloadBlocklistFile: blocklist is disabled
JavaScript error: chrome://browser/content/urlbarBindings.xml, line 677: aUrl is undefined
JavaScript error: chrome://browser/content/urlbarBindings.xml, line 677: aUrl is undefined
JavaScript error: chrome://browser/content/urlbarBindings.xml, line 677: aUrl is undefined
JavaScript error: chrome://browser/content/urlbarBindings.xml, line 677: aUrl is undefined

Build info: version: '2.42.2', revision: '6a6995d31c7c56c340d6f45a76976d43506cd6cc', time: '2014-06-03 10:52:47'
System info: host: 'Sloth', ip: '92.242.144.50', os.name: 'Linux', os.arch: 'amd64', os.version: '3.15.10-201.fc20.x86_64', java.version: '1.7.0_65'
Driver info: driver.version: FirefoxDriver
org.openqa.selenium.WebDriverException: Failed to connect to binary FirefoxBinary(/usr/bin/firefox) on port 7055; process output follows:
dules/LightweightThemeManager.jsm: ["LightweightThemeManager"]
1410450284062 addons.xpi DEBUG startup
1410450284064 addons.xpi INFO Mapping {972ce4c6-7e08-4474-a285-3208198ce6fd} to /usr/lib64/firefox/browser/extensions/{972ce4c6-7e08-4474-a285-3208198ce6fd}
1410450284066 addons.xpi INFO Mapping [email protected] to /tmp/anonymous8329726343354458135webdriver-profile/extensions/[email protected]
1410450284066 addons.xpi DEBUG Ignoring file entry whose name is not a valid add-on ID: /tmp/anonymous8329726343354458135webdriver-profile/extensions/webdriver-staging
1410450284066 addons.xpi DEBUG checkForChanges
1410450284070 addons.xpi DEBUG Directory state JSON differs: cache [] state [{"name":"app-global","addons":{"{972ce4c6-7e08-4474-a285-3208198ce6fd}":{"descriptor":"/usr/lib64/firefox/browser/extensions/{972ce4c6-7e08-4474-a285-3208198ce6fd}","mtime":1410320341000,"rdfTime":1409517579000}}},{"name":"app-profile","addons":{"[email protected]":{"descriptor":"/tmp/anonymous8329726343354458135webdriver-profile/extensions/[email protected]","mtime":1410450283000,"rdfTime":1410450283000}}}]
1410450284075 addons.xpi-utils DEBUG Opening XPI database /tmp/anonymous8329726343354458135webdriver-profile/extensions.json
1410450284075 addons.xpi DEBUG New add-on [email protected] installed in app-profile
*** Blocklist::_loadBlocklistFromFile: blocklist is disabled
1410450284229 addons.xpi-utils DEBUG Make addon app-profile:[email protected] visible
1410450284231 DeferredSave.extensions.json DEBUG Save changes
1410450284231 DeferredSave.extensions.json DEBUG Save changes
1410450284232 addons.xpi DEBUG New add-on {972ce4c6-7e08-4474-a285-3208198ce6fd} installed in app-global
1410450284234 addons.xpi-utils DEBUG Make addon app-global:{972ce4c6-7e08-4474-a285-3208198ce6fd} visible
1410450284234 DeferredSave.extensions.json DEBUG Save changes
1410450284234 DeferredSave.extensions.json DEBUG Save changes
1410450284237 addons.xpi DEBUG Updating database with changes to installed add-ons
1410450284237 addons.xpi-utils DEBUG Updating add-on states
1410450284237 addons.xpi-utils DEBUG Writing add-ons list
1410450284551 DeferredSave.extensions.json DEBUG Starting timer
1410450284597 addons.manager DEBUG shutdown
1410450284600 DeferredSave.extensions.json DEBUG Starting write
1410450284601 addons.xpi DEBUG shutdown
1410450284601 addons.xpi-utils DEBUG shutdown
1410450284651 DeferredSave.extensions.json DEBUG Write succeeded
1410450284651 addons.xpi-utils DEBUG XPI Database saved, setting schema version preference to 16
1410450284651 addons.xpi DEBUG Notifying XPI shutdown observers
1410450284654 addons.manager DEBUG Async provider shutdown done

(process:31183): GLib-CRITICAL *: g_slice_set_config: assertion 'sys_page_size == 0' failed
1410450288295 addons.manager DEBUG Loaded provider scope for resource://gre/modules/addons/XPIProvider.jsm: ["XPIProvider"]
1410450288296 addons.manager DEBUG Loaded provider scope for resource://gre/modules/LightweightThemeManager.jsm: ["LightweightThemeManager"]
1410450288298 addons.xpi DEBUG startup
1410450288299 addons.xpi INFO Mapping {972ce4c6-7e08-4474-a285-3208198ce6fd} to /usr/lib64/firefox/browser/extensions/{972ce4c6-7e08-4474-a285-3208198ce6fd}
1410450288302 addons.xpi INFO Mapping [email protected] to /tmp/anonymous8329726343354458135webdriver-profile/extensions/[email protected]
1410450288302 addons.xpi DEBUG Ignoring file entry whose name is not a valid add-on ID: /tmp/anonymous8329726343354458135webdriver-profile/extensions/webdriver-staging
1410450288303 addons.xpi DEBUG checkForChanges
1410450288314 addons.xpi DEBUG No changes found
*
* Blocklist::_preloadBlocklistFile: blocklist is disabled
JavaScript error: chrome://browser/content/urlbarBindings.xml, line 677: aUrl is undefined
JavaScript error: chrome://browser/content/urlbarBindings.xml, line 677: aUrl is undefined
JavaScript error: chrome://browser/content/urlbarBindings.xml, line 677: aUrl is undefined
JavaScript error: chrome://browser/content/urlbarBindings.xml, line 677: aUrl is undefined

Build info: version: '2.42.2', revision: '6a6995d31c7c56c340d6f45a76976d43506cd6cc', time: '2014-06-03 10:52:47'
System info: host: 'Sloth', ip: '92.242.144.50', os.name: 'Linux', os.arch: 'amd64', os.version: '3.15.10-201.fc20.x86_64', java.version: '1.7.0_65'
Driver info: driver.version: FirefoxDriver
at org.openqa.selenium.firefox.internal.NewProfileExtensionConnection.start(NewProfileExtensionConnection.java:130)
at org.openqa.selenium.firefox.FirefoxDriver.startClient(FirefoxDriver.java:246)
at org.openqa.selenium.remote.RemoteWebDriver.(RemoteWebDriver.java:114)
at org.openqa.selenium.firefox.FirefoxDriver.(FirefoxDriver.java:191)
at org.openqa.selenium.firefox.FirefoxDriver.(FirefoxDriver.java:186)
at org.openqa.selenium.firefox.FirefoxDriver.(FirefoxDriver.java:182)
at org.openqa.selenium.firefox.FirefoxDriver.(FirefoxDriver.java:95)
at geb.driver.NameBasedDriverFactory.getDriver(NameBasedDriverFactory.groovy:44)
at geb.driver.CachingDriverFactory$_getDriver_closure3.doCall(CachingDriverFactory.groovy:85)
at geb.driver.CachingDriverFactory$_getDriver_closure3.doCall(CachingDriverFactory.groovy)
at geb.driver.CachingDriverFactory$SimpleCache.get(CachingDriverFactory.groovy:32)
at geb.driver.CachingDriverFactory.getDriver(CachingDriverFactory.groovy:84)
at geb.Configuration.createDriver(Configuration.groovy:361)
at geb.Configuration.getDriver(Configuration.groovy:350)
at geb.Browser.getDriver(Browser.groovy:105)
at geb.Browser.go(Browser.groovy:405)
at geb.Browser$go$1.callCurrent(Unknown Source)
at geb.Browser.go(Browser.groovy:395)
at slides2png$_run_closure1.doCall(slides2png.groovy:37)
at slides2png$_run_closure1.doCall(slides2png.groovy)
at geb.Browser.drive(Browser.groovy:884)
at geb.Browser$drive$0.callStatic(Unknown Source)
at geb.Browser.drive(Browser.groovy:854)
at geb.Browser$drive.call(Unknown Source)
at slides2png.run(slides2png.groovy:28)
Caused by: org.openqa.selenium.firefox.NotConnectedException: Unable to connect to host 127.0.0.1 on port 7055 after 45000 ms. Firefox console output:
dules/LightweightThemeManager.jsm: ["LightweightThemeManager"]
1410450284062 addons.xpi DEBUG startup
1410450284064 addons.xpi INFO Mapping {972ce4c6-7e08-4474-a285-3208198ce6fd} to /usr/lib64/firefox/browser/extensions/{972ce4c6-7e08-4474-a285-3208198ce6fd}
1410450284066 addons.xpi INFO Mapping [email protected] to /tmp/anonymous8329726343354458135webdriver-profile/extensions/[email protected]
1410450284066 addons.xpi DEBUG Ignoring file entry whose name is not a valid add-on ID: /tmp/anonymous8329726343354458135webdriver-profile/extensions/webdriver-staging
1410450284066 addons.xpi DEBUG checkForChanges
1410450284070 addons.xpi DEBUG Directory state JSON differs: cache [] state [{"name":"app-global","addons":{"{972ce4c6-7e08-4474-a285-3208198ce6fd}":{"descriptor":"/usr/lib64/firefox/browser/extensions/{972ce4c6-7e08-4474-a285-3208198ce6fd}","mtime":1410320341000,"rdfTime":1409517579000}}},{"name":"app-profile","addons":{"[email protected]":{"descriptor":"/tmp/anonymous8329726343354458135webdriver-profile/extensions/[email protected]","mtime":1410450283000,"rdfTime":1410450283000}}}]
1410450284075 addons.xpi-utils DEBUG Opening XPI database /tmp/anonymous8329726343354458135webdriver-profile/extensions.json
1410450284075 addons.xpi DEBUG New add-on [email protected] installed in app-profile
*** Blocklist::_loadBlocklistFromFile: blocklist is disabled
1410450284229 addons.xpi-utils DEBUG Make addon app-profile:[email protected] visible
1410450284231 DeferredSave.extensions.json DEBUG Save changes
1410450284231 DeferredSave.extensions.json DEBUG Save changes
1410450284232 addons.xpi DEBUG New add-on {972ce4c6-7e08-4474-a285-3208198ce6fd} installed in app-global
1410450284234 addons.xpi-utils DEBUG Make addon app-global:{972ce4c6-7e08-4474-a285-3208198ce6fd} visible
1410450284234 DeferredSave.extensions.json DEBUG Save changes
1410450284234 DeferredSave.extensions.json DEBUG Save changes
1410450284237 addons.xpi DEBUG Updating database with changes to installed add-ons
1410450284237 addons.xpi-utils DEBUG Updating add-on states
1410450284237 addons.xpi-utils DEBUG Writing add-ons list
1410450284551 DeferredSave.extensions.json DEBUG Starting timer
1410450284597 addons.manager DEBUG shutdown
1410450284600 DeferredSave.extensions.json DEBUG Starting write
1410450284601 addons.xpi DEBUG shutdown
1410450284601 addons.xpi-utils DEBUG shutdown
1410450284651 DeferredSave.extensions.json DEBUG Write succeeded
1410450284651 addons.xpi-utils DEBUG XPI Database saved, setting schema version preference to 16
1410450284651 addons.xpi DEBUG Notifying XPI shutdown observers
1410450284654 addons.manager DEBUG Async provider shutdown done

(process:31183): GLib-CRITICAL *: g_slice_set_config: assertion 'sys_page_size == 0' failed
1410450288295 addons.manager DEBUG Loaded provider scope for resource://gre/modules/addons/XPIProvider.jsm: ["XPIProvider"]
1410450288296 addons.manager DEBUG Loaded provider scope for resource://gre/modules/LightweightThemeManager.jsm: ["LightweightThemeManager"]
1410450288298 addons.xpi DEBUG startup
1410450288299 addons.xpi INFO Mapping {972ce4c6-7e08-4474-a285-3208198ce6fd} to /usr/lib64/firefox/browser/extensions/{972ce4c6-7e08-4474-a285-3208198ce6fd}
1410450288302 addons.xpi INFO Mapping [email protected] to /tmp/anonymous8329726343354458135webdriver-profile/extensions/[email protected]
1410450288302 addons.xpi DEBUG Ignoring file entry whose name is not a valid add-on ID: /tmp/anonymous8329726343354458135webdriver-profile/extensions/webdriver-staging
1410450288303 addons.xpi DEBUG checkForChanges
1410450288314 addons.xpi DEBUG No changes found
*
* Blocklist::_preloadBlocklistFile: blocklist is disabled
JavaScript error: chrome://browser/content/urlbarBindings.xml, line 677: aUrl is undefined
JavaScript error: chrome://browser/content/urlbarBindings.xml, line 677: aUrl is undefined
JavaScript error: chrome://browser/content/urlbarBindings.xml, line 677: aUrl is undefined
JavaScript error: chrome://browser/content/urlbarBindings.xml, line 677: aUrl is undefined

    at org.openqa.selenium.firefox.internal.NewProfileExtensionConnection.start(NewProfileExtensionConnection.java:118)
    ... 24 more

`

OS: Fedora 20
Groovy Version: 2.2.2
FireFox Version: 32

@swartzrock
Copy link
Owner

Hi, were you able to view the same url (http://127.0.0.1:7055)? It sounds like Firefox couldn't connect to the given url and gave up after 45 seconds.

@AndrewReitz
Copy link
Author

No I cannot connect there. Is that a url selenium uses?

@swartzrock
Copy link
Owner

That's the url you're passing in the command line, according to the first Groovy exception:

`org.openqa.selenium.firefox.NotConnectedException: Unable to connect to host 127.0.0.1 on port 7055 after 45000 ms. Firefox console output:

What is the url you're passing to the script?

@AndrewReitz
Copy link
Author

Hmm, so that would be the issue. I am passing it http://andrewreitz.com/getting-groovy-on-android. I have tried with quotes and without.

I'll keep looking into this.

@swartzrock
Copy link
Owner

./Slides2Png.scala "http://andrewreitz.com/getting-groovy-on-android/#/" worked for me.

You may want to disable animations for capturing the slides, however. Or increase the sleep time to a few seconds so they can finish.

@AndrewReitz
Copy link
Author

I checked the url param right before go url, and it is correct. Still not sure why it's opening up.

@jigyasa-at-git
Copy link

Please upgrade to 2.43.1 [http://www.seleniumhq.org/download/]. The new version works for FF32.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants