Skip to content
This repository has been archived by the owner on Nov 29, 2018. It is now read-only.

Firefox 26 does not seem to work with webdriver; WebDriverException: Message: 'Can\'t load the profile. #6517

Closed
lukeis opened this issue Mar 4, 2016 · 43 comments

Comments

@lukeis
Copy link
Member

lukeis commented Mar 4, 2016

Originally reported on Google Code with ID 6517

Upgraded to the latest version of Firefox or version 26.  Afterwards webdriver did not
work and the following exceptions were returned.   Downgrading to FF 25 fixed the issue.

Using /Library/Python/2.7/site-packages/selenium-2.37.2-py2.7.egg
On Mac OS 10.7.5
Firefox 26

WebDriverException: Message: 'Can\'t load the profile. Profile Dir: /var/folders/hf/5h9ygtj11pn_rny6zd0qczwh0000gp/T/tmpUBDvTT/webdriver-py-profilecopy
Firefox output: *** LOG addons.xpi: startup\n*** LOG addons.xpi: Skipping unavailable
install location app-system-share\n*** LOG addons.xpi: checkForChanges\n*** LOG addons.xpi:
No changes found\nOpenGL version detected: 210\nOpenGL version detected: 210\n************************************************************\n*
Call to xpconnect wrapped JSObject produced this error:  *\n[Exception... "\'[JavaScript
Error: "this.updateDisplay is not a function" {file: "chrome://browser/content/search/search.xml"
line: 79}]\' when calling method: [nsIBrowserSearchInitObserver::onInitComplete]" 
nsresult: "0x80570021 (NS_ERROR_XPC_JAVASCRIPT_ERROR_WITH_DETAILS)"  location: "JS
frame :: resource://gre/components/nsSearchService.js :: onSuccess :: line 3211"  data:
yes]\n************************************************************\nJavaScript error:
chrome://browser/content/urlbarBindings.xml, line 654: aUrl is undefined\nJavaScript
error: chrome://browser/content/urlbarBindings.xml, line 654: aUrl is undefined\nOpenGL
version detected: 210\nJavaScript error: chrome://browser/content/urlbarBindings.xml,
line 654: aUrl is undefined\n' 





Reported by andrew.royer@openx.com on 2013-10-31 21:42:45

@lukeis
Copy link
Member Author

lukeis commented Mar 4, 2016

Please provide a complete executable scenario (namely, how do you start the driver)

Reported by barancev on 2013-10-31 21:51:48

  • Status changed: NeedsClarification
  • Labels added: Browser-Firefox

@lukeis
Copy link
Member Author

lukeis commented Mar 4, 2016

driver = new FirefoxDriver();
Firefox is starting, but it is not possible to execute:
driver.get("URL");

Reported by darek.jankowski.dj on 2013-12-12 14:24:19

@lukeis
Copy link
Member Author

lukeis commented Mar 4, 2016

for me ist happening the same, the firefox driver open, but i cant load any url with
driver.get("url");

Reported by agost.8 on 2013-12-12 14:35:15

@lukeis
Copy link
Member Author

lukeis commented Mar 4, 2016

I re-installed Firefox and upgraded to Python selenium-2.38.3 and my error, which had
been:

Traceback (most recent call last):
  File "/Users/<some path>/app/tests.py", line 477, in setUp
    self.selenium = FirefoxWebDriver()
  File "/Users/<some path>/venv/lib/python2.7/site-packages/selenium/webdriver/firefox/webdriver.py",
line 60, in __init__
    self.binary, timeout),
  File "/Users/<some path>/venv/lib/python2.7/site-packages/selenium/webdriver/firefox/extension_connection.py",
line 47, in __init__
    self.binary.launch_browser(self.profile)
  File "/Users/<some path>/venv/lib/python2.7/site-packages/selenium/webdriver/firefox/firefox_binary.py",
line 61, in launch_browser
    self._wait_until_connectable()
  File "/Users/<some path>/venv/lib/python2.7/site-packages/selenium/webdriver/firefox/firefox_binary.py",
line 105, in _wait_until_connectable
    self.profile.path, self._get_firefox_output()))
WebDriverException: Message: "Can't load the profile. Profile Dir: /var/folders/pq/sn1kdj015vjbhc6xw6qx7b400000gp/T/tmpplHtWp
Firefox output: *** LOG addons.xpi: startup\n*** LOG addons.xpi: Skipping unavailable
install location app-system-share\n*** LOG addons.xpi: checkForChanges\n*** LOG addons.xpi:
No changes found\nOpenGL version detected: 210\nOpenGL version detected: 210\nJavaScript
error: chrome://browser/content/urlbarBindings.xml, line 654: aUrl is undefined\n"


went away.

Reported by brian.kyckelhahn on 2013-12-12 15:37:12

@lukeis
Copy link
Member Author

lukeis commented Mar 4, 2016

I'm on OS X, v10.9.

Reported by brian.kyckelhahn on 2013-12-12 15:38:16

@lukeis
Copy link
Member Author

lukeis commented Mar 4, 2016

I am encountering a similar problem running the selenium-java 2.4 Maven dependency on
Ubuntu 13.10 with Firefox 26.  Tests that used to work fine before upgrading to Firefox
26 now fail with the following error:

org.openqa.selenium.firefox.NotConnectedException: Unable to connect to host 127.0.0.1
on port 7055 after 45000 ms
    at org.openqa.selenium.firefox.internal.NewProfileExtensionConnection.start(NewProfileExtensionConnection.java:98)
    at org.openqa.selenium.firefox.FirefoxDriver.startClient(FirefoxDriver.java:148)
    at org.openqa.selenium.remote.RemoteWebDriver.<init>(RemoteWebDriver.java:88)
    at org.openqa.selenium.firefox.FirefoxDriver.<init>(FirefoxDriver.java:127)
    at org.openqa.selenium.firefox.FirefoxDriver.<init>(FirefoxDriver.java:82)
    at dk.kb.userServices.ITOrderFormTest.setUp(ITOrderFormTest.java:35)
    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.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:47)
    at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
    at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:44)
    at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:24)
    at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:27)
    at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:271)
    at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:70)
    at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:50)
    at org.junit.runners.ParentRunner$3.run(ParentRunner.java:238)
    at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:63)
    at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:236)
    at org.junit.runners.ParentRunner.access$000(ParentRunner.java:53)
    at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:229)
    at org.junit.runners.ParentRunner.run(ParentRunner.java:309)
    at org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:264)
    at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:153)
    at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:124)
    at org.apache.maven.surefire.booter.ForkedBooter.invokeProviderInSameClassLoader(ForkedBooter.java:200)
    at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:153)
    at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:103)
Tests run: 2, Failures: 0, Errors: 2, Skipped: 0, Time elapsed: 49.064 sec <<< FAILURE!
- in dk.kb.userServices.ITOrderFormTest
formLooksCorrect(dk.kb.userServices.ITOrderFormTest)  Time elapsed: 49.009 sec  <<<
ERROR!
org.openqa.selenium.WebDriverException: Failed to connect to binary FirefoxBinary(/usr/bin/firefox)
on port 7055; process output follows: 

(process:3488): GLib-CRITICAL **: g_slice_set_config: assertion 'sys_page_size == 0'
failed
*** LOG addons.xpi: startup
*** LOG addons.xpi: Ignoring file entry whose name is not a valid add-on ID: /tmp/anonymous8247142537889737645webdriver-profile/extensions/webdriver-staging
*** LOG addons.xpi: checkForChanges
*** LOG addons.xpi: No changes found
*** LOG addons.xpi: Registering manifest for /usr/lib/firefox/browser/extensions/langpack-en-ZA@firefox.mozilla.org.xpi
*** LOG addons.xpi: Registering manifest for /usr/lib/firefox/browser/extensions/langpack-en-GB@firefox.mozilla.org.xpi
*** LOG addons.xpi: Registering manifest for /usr/share/mozilla/extensions/{ec8030f7-c20a-464f-9b0e-13a3a9e97384}/webapps-team@lists.launchpad.net
*** LOG addons.xpi: Loading bootstrap scope from /usr/share/mozilla/extensions/{ec8030f7-c20a-464f-9b0e-13a3a9e97384}/webapps-team@lists.launchpad.net
*** LOG addons.xpi: Calling bootstrap method startup on webapps-team@lists.launchpad.net
version 2.4.8
************************************************************
* Call to xpconnect wrapped JSObject produced this error:  *
[Exception... "'[JavaScript Error: "this._windows.get(...) is undefined" {file: "resource://unity/observer.js"
line: 217}]' when calling method: [nsIObserver::observe]"  nsresult: "0x80570021 (NS_ERROR_XPC_JAVASCRIPT_ERROR_WITH_DETAILS)"
 location: "JS frame :: chrome://global/content/bindings/browser.xml :: get_contentWindow
:: line 330"  data: yes]
************************************************************
JavaScript error: chrome://browser/content/urlbarBindings.xml, line 654: aUrl is undefined

Build info: version: '2.4.0', revision: '13336', time: '2011-08-17 21:21:21'
System info: os.name: 'Linux', os.arch: 'amd64', os.version: '3.11.0-14-generic', java.version:
'1.7.0_45'
Driver info: driver.version: FirefoxDriver
    at org.openqa.selenium.firefox.internal.NewProfileExtensionConnection.start(NewProfileExtensionConnection.java:98)
    at org.openqa.selenium.firefox.FirefoxDriver.startClient(FirefoxDriver.java:148)
    at org.openqa.selenium.remote.RemoteWebDriver.<init>(RemoteWebDriver.java:88)
    at org.openqa.selenium.firefox.FirefoxDriver.<init>(FirefoxDriver.java:127)
    at org.openqa.selenium.firefox.FirefoxDriver.<init>(FirefoxDriver.java:82)

Should I open a new defect or is it ok to append here?

Reported by james.treacy on 2013-12-17 09:34:45

@lukeis
Copy link
Member Author

lukeis commented Mar 4, 2016

Had the exact same problem. Selenium 2.39.0 seems to work with Firefox 26.

Reported by kalle.o.korhonen on 2013-12-20 19:27:05

@lukeis
Copy link
Member Author

lukeis commented Mar 4, 2016

Yeah works for me with 2.39.0 too

Reported by james.treacy on 2013-12-21 06:48:25

@lukeis
Copy link
Member Author

lukeis commented Mar 4, 2016

So closing it as fixed.

Reported by barancev on 2013-12-21 12:40:14

  • Status changed: Fixed

@lukeis
Copy link
Member Author

lukeis commented Mar 4, 2016

Exception in thread "main" org.openqa.selenium.UnsupportedCommandException: Bad request

Reported by satya.just1 on 2014-01-23 10:14:31

@lukeis
Copy link
Member Author

lukeis commented Mar 4, 2016

I'm on Mac os 10.8.5, FF 26 and selenium 2.39.0 still getting the "WebDriverException:
Message: "Can't load the profile." error. Any thoughts?

Reported by tevin7 on 2014-01-24 20:56:54

@lukeis
Copy link
Member Author

lukeis commented Mar 4, 2016

This problem still happens when using selenium 2.39 and Firefox 26! OS is Mac OSX 10.9.

 ~  ll /usr/local/lib/python2.7/site-packages/selenium*
/usr/local/lib/python2.7/site-packages/selenium:
total 368
-rw-r--r--   1 kane  admin    653  1 10 14:28 __init__.py
-rw-r--r--   1 kane  admin    225  1 10 14:28 __init__.pyc
drwxr-xr-x   6 kane  admin    204  1 10 14:28 common
-rw-r--r--   1 kane  admin  80696  1 10 14:28 selenium.py
-rw-r--r--   1 kane  admin  97303  1 10 14:28 selenium.pyc
drwxr-xr-x  13 kane  admin    442  1 10 14:28 webdriver

/usr/local/lib/python2.7/site-packages/selenium-2.39.0-py2.7.egg-info:
total 64
-rw-r--r--  1 kane  admin  6320  1 10 14:28 PKG-INFO
-rw-r--r--  1 kane  admin  2621  1 10 14:28 SOURCES.txt
-rw-r--r--  1 kane  admin     1  1 10 14:28 dependency_links.txt
-rw-r--r--  1 kane  admin  4742  1 10 14:28 installed-files.txt
-rw-r--r--  1 kane  admin     1  1 10 14:28 not-zip-safe
-rw-r--r--  1 kane  admin     9  1 10 14:28 top_level.txt
➜  ~  python
Python 2.7.5 (default, Oct 23 2013, 19:50:53) 
[GCC 4.2.1 Compatible Apple LLVM 5.0 (clang-500.2.79)] on darwin
Type "help", "copyright", "credits" or "license" for more information.
>>> from selenium import webdriver
>>> webdriver.__file__
'/usr/local/lib/python2.7/site-packages/selenium/webdriver/__init__.pyc'
>>> driver = webdriver.Firefox()
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/usr/local/lib/python2.7/site-packages/selenium/webdriver/firefox/webdriver.py",
line 59, in __init__
    self.binary, timeout),
  File "/usr/local/lib/python2.7/site-packages/selenium/webdriver/firefox/extension_connection.py",
line 47, in __init__
    self.binary.launch_browser(self.profile)
  File "/usr/local/lib/python2.7/site-packages/selenium/webdriver/firefox/firefox_binary.py",
line 61, in launch_browser
    self._wait_until_connectable()
  File "/usr/local/lib/python2.7/site-packages/selenium/webdriver/firefox/firefox_binary.py",
line 105, in _wait_until_connectable
    self.profile.path, self._get_firefox_output()))
selenium.common.exceptions.WebDriverException: Message: "Can't load the profile. Profile
Dir: /var/folders/_g/9x_6wzmn6lngqn0xzj16jhx40000gn/T/tmpSioJ08 Firefox output: ***
LOG addons.xpi: startup\n*** LOG addons.xpi: Skipping unavailable install location
app-system-share\n*** LOG addons.xpi: checkForChanges\n*** LOG addons.xpi: No changes
found\nOpenGL version detected: 210\nOpenGL version detected: 210\nJavaScript error:
chrome://browser/content/urlbarBindings.xml, line 654: aUrl is undefined\n" 

Reported by kane.mx on 2014-01-25 08:15:09

@lukeis
Copy link
Member Author

lukeis commented Mar 4, 2016

I'm also having the same issue. Firefox is able to open however the url I specified
cannot be opened.

Firefox 26
selenium==2.39.0
windows 7

    self.browser=webdriver.Firefox() # Get local session of Firefox
  File "/usr/lib/python2.7/site-packages/selenium/webdriver/firefox/webdriver.py",
line 59, in __init__
    self.binary, timeout),
  File "/usr/lib/python2.7/site-packages/selenium/webdriver/firefox/extension_connection.py",
line 47, in __init__
    self.binary.launch_browser(self.profile)
  File "/usr/lib/python2.7/site-packages/selenium/webdriver/firefox/firefox_binary.py",
line 61, in launch_browser
    self._wait_until_connectable()
  File "/usr/lib/python2.7/site-packages/selenium/webdriver/firefox/firefox_binary.py",
line 105, in _wait_until_connectable
    self.profile.path, self._get_firefox_output()))
selenium.common.exceptions.WebDriverException: Message: "Can't load the profile. Profile
Dir: /tmp/tmpQ9Fzuz Firefox output: "

Reported by caracckuei on 2014-02-11 19:53:53

@lukeis
Copy link
Member Author

lukeis commented Mar 4, 2016

Same issue.  Firefox 27.0.1 on Mavericks.  Why was this marked as fixed?

Reported by mhughes@ccadllc.us on 2014-03-07 17:53:26

@lukeis
Copy link
Member Author

lukeis commented Mar 4, 2016

still the same issue with 2.40 on firefox 27, please let me know if any body has solution
for this problem.

Thanks

Reported by anjana.sdet on 2014-03-17 06:58:35

@lukeis
Copy link
Member Author

lukeis commented Mar 4, 2016

I also have the same issue with Selenium 2.39 and firefox 27

Reported by antoine@gmx.de on 2014-03-17 21:44:00

@lukeis
Copy link
Member Author

lukeis commented Mar 4, 2016

Same issue with Firefox 28 and Selenium 2.37.1 on Mavericks. Anyone knows what's the
solution to this issue or why the ticket was resolved?

Reported by int.256h on 2014-03-19 16:24:55

@lukeis
Copy link
Member Author

lukeis commented Mar 4, 2016

Same issue with Firefox 28 and Selenium 2.37 on Windows! Help

Reported by sunziran on 2014-03-27 06:38:15

@lukeis
Copy link
Member Author

lukeis commented Mar 4, 2016

This issue is definitely not fixed. Experiencing it on v2.40.0, OS X 10.9, Firefox 28.
Please advise.

Reported by bal711 on 2014-03-27 13:06:10

@lukeis
Copy link
Member Author

lukeis commented Mar 4, 2016

Reported by barancev on 2014-03-27 13:15:29

  • Status changed: New

@lukeis
Copy link
Member Author

lukeis commented Mar 4, 2016

Issue 6899 has been merged into this issue.

Reported by barancev on 2014-03-27 13:15:56

@lukeis
Copy link
Member Author

lukeis commented Mar 4, 2016

I am seeing this as well. FF 28, selenium-server-standalone-2.37, Windows 7 Enterprise.

Reported by skewsdad on 2014-04-01 19:17:04

@lukeis
Copy link
Member Author

lukeis commented Mar 4, 2016

I have the same issue with selenium-server-standalone-2.37. But you can just upgrade
the last version. It works fine for me.

Reported by c.w.tuan on 2014-05-14 15:55:29

@lukeis
Copy link
Member Author

lukeis commented Mar 4, 2016

FF29, wd2.41, windows 7(32bits), the same error

Reported by chopin.qi on 2014-05-16 06:47:04

@lukeis
Copy link
Member Author

lukeis commented Mar 4, 2016

I Previously was having this problem, and discovered that it only happened when firefox
29.0.1 is on Read-Only media (like mounted as an ISO/cdrom) Copying firefox to %TEMP%
then telling selenium to run ff from there seems to have fixed my issue.

Reported by amuraco@softrek.com on 2014-05-16 11:23:24

@lukeis
Copy link
Member Author

lukeis commented Mar 4, 2016

Install ur firefox 29.0.1 to C:\Documents and Settings\user\Local Settings\Temp\ - Now
selenium webdriver works fine. It worked for me. Thanks @amur...@softrek.com

Reported by manojkumar.sel on 2014-05-18 03:46:01

@lukeis
Copy link
Member Author

lukeis commented Mar 4, 2016

Iam also facing the same problem.

i had installed FF 29.0.1 to C:\Documents and Settings\user\Local Settings\Temp\

but still is was not working.

Reported by rahulkundu1 on 2014-05-20 08:18:11

@lukeis
Copy link
Member Author

lukeis commented Mar 4, 2016

I am also facing the same problem.
I am running arch with FF 29

Reported by neupaneaadesh on 2014-05-24 10:44:53

@lukeis
Copy link
Member Author

lukeis commented Mar 4, 2016

I am not able to upload file in Firefox 30.0 on Windows 8 and selenium webdriver in
python using the following code:

element=webdriver_find_element_by_name(name)
element.send_keys(file_path)

This works with Chrome Version 35.0 on Windows 8.

Reported by abhijit.jaiswal on 2014-06-19 07:28:57

@lukeis
Copy link
Member Author

lukeis commented Mar 4, 2016

upload file doesn't even works with FF 25.0 on Windows 8, is this specific to Windows
8 ?

Reported by abhijit.jaiswal on 2014-06-19 09:57:56

@lukeis
Copy link
Member Author

lukeis commented Mar 4, 2016

same problem with selenium 2.42.2 & FireFox 32 on Windows 8 x64

Reported by alex9570 on 2014-09-04 08:24:25

@lukeis
Copy link
Member Author

lukeis commented Mar 4, 2016

Work fine with FireFox last ESR (31) https://www.mozilla.org/en-US/firefox/organizations/all/

Reported by alex9570 on 2014-09-04 10:11:10

@lukeis
Copy link
Member Author

lukeis commented Mar 4, 2016

Upon updating Ubuntu 14.04's Firefox from 30 to 32, Selenium (through Splinter) breaks
with the following error (it was working just fine prior to the update):

WebDriverException: Message: 'Can\'t load the profile. Profile Dir: /tmp/tmpR1p2Sx
Firefox output: \n(process:23346): GLib-CRITICAL **: g_slice_set_config: assertion
\'sys_page_size == 0\' failed\n1409889245597\taddons.manager\tDEBUG\tLoaded provider
scope for resource://gre/modules/addons/XPIProvider.jsm: ["XPIProvider"]\n1409889245598\taddons.manager\tDEBUG\tLoaded
provider scope for resource://gre/modules/LightweightThemeManager.jsm: ["LightweightThemeManager"]\n1409889245601\taddons.xpi\tDEBUG\tstartup\n1409889245602\taddons.xpi\tINFO\tMapping
online-accounts@lists.launchpad.net to /usr/lib/mozilla/extensions/{ec8030f7-c20a-464f-9b0e-13a3a9e97384}/online-accounts@lists.launchpad.net\n1409889245602\taddons.xpi\tINFO\tMapping
webapps-team@lists.launchpad.net to /usr/share/mozilla/extensions/{ec8030f7-c20a-464f-9b0e-13a3a9e97384}/webapps-team@lists.launchpad.net\n1409889245602\taddons.xpi\tINFO\tMapping
ubufox@ubuntu.com to /usr/share/mozilla/extensions/{ec8030f7-c20a-464f-9b0e-13a3a9e97384}/ubufox@ubuntu.com\n1409889245603\taddons.xpi\tINFO\tMapping
{2e1445b0-2682-11e1-bfc2-0800200c9a66} to /usr/share/mozilla/extensions/{ec8030f7-c20a-464f-9b0e-13a3a9e97384}/{2e1445b0-2682-11e1-bfc2-0800200c9a66}\n1409889245604\taddons.xpi\tINFO\tMapping
langpack-es-MX@firefox.mozilla.org to /usr/lib/firefox/browser/extensions/langpack-es-MX@firefox.mozilla.org.xpi\n1409889245604\taddons.xpi\tINFO\tMapping
langpack-es-AR@firefox.mozilla.org to /usr/lib/firefox/browser/extensions/langpack-es-AR@firefox.mozilla.org.xpi\n1409889245604\taddons.xpi\tINFO\tMapping
langpack-en-ZA@firefox.mozilla.org to /usr/lib/firefox/browser/extensions/langpack-en-ZA@firefox.mozilla.org.xpi\n1409889245605\taddons.xpi\tINFO\tMapping
langpack-es-ES@firefox.mozilla.org to /usr/lib/firefox/browser/extensions/langpack-es-ES@firefox.mozilla.org.xpi\n1409889245605\taddons.xpi\tINFO\tMapping
langpack-es-CL@firefox.mozilla.org to /usr/lib/firefox/browser/extensions/langpack-es-CL@firefox.mozilla.org.xpi\n1409889245605\taddons.xpi\tINFO\tMapping
langpack-en-GB@firefox.mozilla.org to /usr/lib/firefox/browser/extensions/langpack-en-GB@firefox.mozilla.org.xpi\n1409889245605\taddons.xpi\tINFO\tMapping
{972ce4c6-7e08-4474-a285-3208198ce6fd} to /usr/lib/firefox/browser/extensions/{972ce4c6-7e08-4474-a285-3208198ce6fd}\n1409889245606\taddons.xpi\tINFO\tMapping
fxdriver@googlecode.com to /tmp/tmpR1p2Sx/extensions/fxdriver@googlecode.com\n1409889245606\taddons.xpi\tDEBUG\tcheckForChanges\n1409889245628\taddons.xpi\tDEBUG\tNo
changes found\n1409889245633\taddons.xpi\tDEBUG\tRegistering manifest for /usr/lib/firefox/browser/extensions/langpack-es-MX@firefox.mozilla.org.xpi\n1409889245634\taddons.xpi\tDEBUG\tRegistering
manifest for /usr/lib/firefox/browser/extensions/langpack-es-AR@firefox.mozilla.org.xpi\n1409889245635\taddons.xpi\tDEBUG\tRegistering
manifest for /usr/lib/firefox/browser/extensions/langpack-en-ZA@firefox.mozilla.org.xpi\n1409889245637\taddons.xpi\tDEBUG\tRegistering
manifest for /usr/lib/firefox/browser/extensions/langpack-es-ES@firefox.mozilla.org.xpi\n1409889245638\taddons.xpi\tDEBUG\tRegistering
manifest for /usr/lib/firefox/browser/extensions/langpack-es-CL@firefox.mozilla.org.xpi\n1409889245639\taddons.xpi\tDEBUG\tRegistering
manifest for /usr/lib/firefox/browser/extensions/langpack-en-GB@firefox.mozilla.org.xpi\n***
Blocklist::_preloadBlocklistFile: blocklist is disabled\n'

I am running:

Ubuntu 14.04 32 bits
Python 2.7.6
Selenium 2.42.1
Splinter 0.6.0
Firefox 32.0 (using PhantomJS 1.9.0 doesn't trigger this error.)

Reported by carlos@systrix.net on 2014-09-05 04:05:37

@lukeis
Copy link
Member Author

lukeis commented Mar 4, 2016

I'm too getting the same error, with Firefox v32. Any solution for this?

browser = webdriver.Firefox()
  File "C:\Python27\lib\site-packages\selenium\webdriver\firefox\webdriver.py", line
59, in __init__
    self.binary, timeout),
  File "C:\Python27\lib\site-packages\selenium\webdriver\firefox\extension_connection.py",
line 47, in __init__
    self.binary.launch_browser(self.profile)
  File "C:\Python27\lib\site-packages\selenium\webdriver\firefox\firefox_binary.py",
line 61, in launch_browser
    self._wait_until_connectable()
  File "C:\Python27\lib\site-packages\selenium\webdriver\firefox\firefox_binary.py",
line 105, in _wait_until_connectable
    self.profile.path, self._get_firefox_output()))
WebDriverException: Message: 'Can\'t load the profile. Profile Dir: c:\\users\\surajk~1\\appdata\\local\\temp\\tmppk3x5q
Firefox output: 1410012961705\taddons.manager\tDEBUG\tLoaded provider scope for resource://gre/modules/addons/XPIProvider.jsm:
["XPIProvider"]\r\n1410012961708\taddons.manager\tDEBUG\tLoaded provider scope for
resource://gre/modules/LightweightThemeManager.jsm: ["LightweightThemeManager"]\r\n1410012961711\taddons.xpi\tDEBUG\tstartup\r\n1410012961712\taddons.xpi\tINFO\tMapping
fassoxpcom@sensiblevision.com to C:\\Program Files (x86)\\Sensible Vision\\Fast Access\\xpcom_fasso\r\n1410012961713\taddons.xpi\tDEBUG\tSkipping
unavailable install location app-system-local\r\n1410012961713\taddons.xpi\tDEBUG\tSkipping
unavailable install location app-system-share\r\n1410012961715\taddons.xpi\tINFO\tMapping
{972ce4c6-7e08-4474-a285-3208198ce6fd} to C:\\Program Files (x86)\\Mozilla Firefox\\browser\\extensions\\{972ce4c6-7e08-4474-a285-3208198ce6fd}\r\n1410012961715\taddons.xpi\tINFO\tMapping
{e4f94d1e-2f53-401e-8885-681602c0ddd8} to C:\\ProgramData\\McAfee Security Scan\\Extensions\\{e4f94d1e-2f53-401e-8885-681602c0ddd8}.xpi\r\n1410012961716\taddons.xpi\tINFO\tMapping
fxdriver@googlecode.com to c:\\users\\surajk~1\\appdata\\local\\temp\\tmppk3x5q\\extensions\\fxdriver@googlecode.com\r\n1410012961717\taddons.xpi\tDEBUG\tcheckForChanges\r\n1410012961743\taddons.xpi\tDEBUG\tNo
changes found\r\n*** Blocklist::_preloadBlocklistFile: blocklist is disabled\r\nJavaScript
error: chrome://browser/content/urlbarBindings.xml, line 677: aUrl is undefined\r\n'

Reported by Suraj.kv.blog on 2014-09-06 14:22:59

@lukeis
Copy link
Member Author

lukeis commented Mar 4, 2016

I am facing similar issue after upgrading to Firefox 32.

Below is the trace of error message I am getting:

org.openqa.selenium.WebDriverException: Failed to connect to binary FirefoxBinary(C:\Program
Files (x86)\Mozilla Firefox\firefox.exe) on port 7055; process output follows: 
atabase saved, setting schema version preference to 16
1410345352825   addons.xpi  DEBUG   Notifying XPI shutdown observers
1410345352828   addons.manager  DEBUG   Async provider shutdown done
System JS : ERROR resource://app/components/nsBrowserGlue.js:1245 - NS_ERROR_FAILURE:
Component returned failure code: 0x80004005 (NS_ERROR_FAILURE) [nsIIdleService.removeIdleObserver]
System JS : ERROR resource://app/components/nsBrowserGlue.js:422 - NS_ERROR_FAILURE:
Component returned failure code: 0x80004005 (NS_ERROR_FAILURE) [nsIIdleService.removeIdleObserver]
1410345353930   addons.manager  DEBUG   Loaded provider scope for resource://gre/modules/addons/XPIProvider.jsm:
["XPIProvider"]
1410345353932   addons.manager  DEBUG   Loaded provider scope for resource://gre/modules/LightweightThemeManager.jsm:
["LightweightThemeManager"]
1410345353934   addons.xpi  DEBUG   startup
1410345353935   addons.xpi  INFO    Mapping {BBDA0591-3099-440a-AA10-41764D9DB4DB} to C:\ProgramData\Symantec\Symantec
Endpoint Protection\12.1.4112.4156.105\Data\IPSFF
1410345353935   addons.xpi  DEBUG   Skipping unavailable install location app-system-local
1410345353936   addons.xpi  DEBUG   Skipping unavailable install location app-system-share
1410345353937   addons.xpi  INFO    Mapping {972ce4c6-7e08-4474-a285-3208198ce6fd} to C:\Program
Files (x86)\Mozilla Firefox\browser\extensions\{972ce4c6-7e08-4474-a285-3208198ce6fd}
1410345353938   addons.xpi  INFO    Mapping csharpformatters@seleniumhq.org to C:\Users\spaku\AppData\Local\Temp\anonymous1624043466467893068webdriver-profile\extensions\csharpformatters@seleniumhq.org.xpi
1410345353939   addons.xpi  INFO    Mapping firebug@software.joehewitt.com to C:\Users\spaku\AppData\Local\Temp\anonymous1624043466467893068webdriver-profile\extensions\firebug@software.joehewitt.com.xpi
1410345353939   addons.xpi  INFO    Mapping fxdriver@googlecode.com to C:\Users\spaku\AppData\Local\Temp\anonymous1624043466467893068webdriver-profile\extensions\fxdriver@googlecode.com
1410345353939   addons.xpi  INFO    Mapping javaformatters@seleniumhq.org to C:\Users\spaku\AppData\Local\Temp\anonymous1624043466467893068webdriver-profile\extensions\javaformatters@seleniumhq.org.xpi
1410345353940   addons.xpi  INFO    Mapping pythonformatters@seleniumhq.org to C:\Users\spaku\AppData\Local\Temp\anonymous1624043466467893068webdriver-profile\extensions\pythonformatters@seleniumhq.org.xpi
1410345353940   addons.xpi  INFO    Mapping rubyformatters@seleniumhq.org to C:\Users\spaku\AppData\Local\Temp\anonymous1624043466467893068webdriver-profile\extensions\rubyformatters@seleniumhq.org.xpi
1410345353941   addons.xpi  DEBUG   Ignoring file entry whose name is not a valid add-on
ID: C:\Users\spaku\AppData\Local\Temp\anonymous1624043466467893068webdriver-profile\extensions\webdriver-staging
1410345353941   addons.xpi  INFO    Mapping {a6fd85ed-e919-4a43-a5af-8da18bda539f} to C:\Users\spaku\AppData\Local\Temp\anonymous1624043466467893068webdriver-profile\extensions\{a6fd85ed-e919-4a43-a5af-8da18bda539f}.xpi
1410345353941   addons.xpi  DEBUG   checkForChanges
1410345353960   addons.xpi  DEBUG   No changes found
1410345353965   addons.xpi  DEBUG   Registering manifest for C:\Users\spaku\AppData\Local\Temp\anonymous1624043466467893068webdriver-profile\extensions\firebug@software.joehewitt.com.xpi
1410345353966   addons.xpi  DEBUG   Loading bootstrap scope from C:\Users\spaku\AppData\Local\Temp\anonymous1624043466467893068webdriver-profile\extensions\firebug@software.joehewitt.com.xpi
1410345353973   addons.xpi  DEBUG   Calling bootstrap method startup on firebug@software.joehewitt.com
version 2.0.3
1410345354941   addons.xpi-utils    DEBUG   Starting async load of XPI database C:\Users\spaku\AppData\Local\Temp\anonymous1624043466467893068webdriver-profile\extensions.json
*** Blocklist::_preloadBlocklistFile: blocklist is disabled
1410345355264   addons.xpi-utils    DEBUG   Async JSON file read took 0 MS
1410345355264   addons.xpi-utils    DEBUG   Finished async read of XPI database, parsing...
1410345355266   addons.xpi-utils    DEBUG   Successfully read XPI database
JavaScript error: chrome://browser/content/urlbarBindings.xml, line 677: aUrl is undefined

Build info: version: '2.42.2', revision: '6a6995d', time: '2014-06-03 17:42:30'
System info: host: 'POOL-T400', ip: '10.209.149.11', os.name: 'Windows 7', os.arch:
'amd64', os.version: '6.1', java.version: '1.7.0_11'

Reported by sreekanth.paku on 2014-09-10 10:48:17

@lukeis
Copy link
Member Author

lukeis commented Mar 4, 2016

Found that this issue is not reproducible after I changed Selenium jars to 2.43.0. Now
it is working fine.

Reported by sreekanth.paku on 2014-09-10 10:57:08

@lukeis
Copy link
Member Author

lukeis commented Mar 4, 2016

Is this still not working for anyone?

FF32 needs selenium 2.43

Reported by luke.semerau on 2014-10-08 04:51:35

  • Status changed: NeedsClarification

@lukeis
Copy link
Member Author

lukeis commented Mar 4, 2016

System JS : error resource: //app/components/nsBrowserGlue.js:1245 - NS_ERROR_FAILURE:
Component returned failure code:
 0x80004005 (NS_ERROR_FAILURE) [nsIIdleService.removeIdleObserver] [C:\Development\BWAFServices\BWAFMatcher.proj]

Saw this error today with Selenium 2.43.1 and Firefox 32.

Reported by ibarczewski on 2014-10-08 21:40:42

@lukeis
Copy link
Member Author

lukeis commented Mar 4, 2016

sounds like a different error / problem. (unless you have more of the traceback you
can share that leads you to believe it's the same thing?)

Reported by luke.semerau on 2014-10-08 21:46:42

@lukeis
Copy link
Member Author

lukeis commented Mar 4, 2016

Closing the issue as (probably) fixed. Feel free to request reopening if it is still
actual.

Reported by barancev on 2014-11-07 15:59:47

  • Status changed: Fixed

@lukeis
Copy link
Member Author

lukeis commented Mar 4, 2016

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

getting above error for with seleniu 2.42.2 and firefox 33.1.1 while code is working
fine with the selenium 2.40.0

Reported by falakpshah on 2014-12-01 12:42:46

@lukeis
Copy link
Member Author

lukeis commented Mar 4, 2016

still getting this error in GNU Linux (Amazon ) - 
FF -35
Linux version: 
Linux test_server 3.4.62-53.42.amzn1.x86_64 #1 SMP Fri Sep 20 07:23:24 UTC 2013 x86_64
x86_64 x86_64 GNU/Linux

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

(process:13473): GLib-CRITICAL **: g_slice_set_config: assertion `sys_page_size ==
0' failed
Error: cannot open display: /opt/firefox/firefox

(process:13483): GLib-CRITICAL **: g_slice_set_config: assertion `sys_page_size ==
0' failed
Error: cannot open display: /opt/firefox/firefox

Reported by baranidaran.r on 2015-02-19 12:07:57

@lukeis
Copy link
Member Author

lukeis commented Mar 4, 2016

Reported by luke.semerau on 2015-09-17 18:18:12

  • Labels added: Restrict-AddIssueComment-Commit

@lukeis lukeis closed this as completed Mar 4, 2016
@SeleniumHQ SeleniumHQ locked and limited conversation to collaborators Mar 4, 2016
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

1 participant