Bug 215195 - www/firefox-i18n: selenium crashes when trying to use the firefox webdriver
Summary: www/firefox-i18n: selenium crashes when trying to use the firefox webdriver
Status: Closed Overcome By Events
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Only Me
Assignee: freebsd-gecko (Nobody)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-12-10 10:14 UTC by bye
Modified: 2019-02-26 11:04 UTC (History)
1 user (show)

See Also:
bugzilla: maintainer-feedback? (gecko)


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description bye 2016-12-10 10:14:08 UTC
I just updated to the latest version of firefox-i18n and now selenium starts crashing when trying to use the firefox webdriver.

blubee@bn:~ % python
Python 2.7.12 (default, Nov 14 2016, 19:04:53) 
[GCC 4.2.1 Compatible FreeBSD Clang 3.8.0 (tags/RELEASE_380/final 262564)] on freebsd11
Type "help", "copyright", "credits" or "license" for more information.
>>> from selenium import webdriver
>>> d = 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 135, in 
    self.service.start()
  File "/usr/local/lib/python2.7/site-packages/selenium/webdriver/common/service.py", line 71, in star
    os.path.basename(self.path), self.start_error_message)
selenium.common.exceptions.WebDriverException: Message: 'geckodriver' executable needs to be in PATH. 

>>> d = webdriver.Chrome()

the chrome webdriver comes up just fine but before this latest update, everything was working just fine only with firefox.

Now whenever I get that error message a blank geckdriver.log file in the directory that I ran the file.

I tried downgrading my firefox-i18n but then there's a makefile error around line 87 that says something about adblock extension.
Comment 1 bye 2016-12-11 03:41:18 UTC
Trying to downgrade to a previous version of firefox, this is what happens.

@bn:~ % portdowngrade www/firefox-i18n
Choose a revision from this list and run /usr/local/sbin/portdowngrade www/firefox-i18n revision
------------------------------------------------------------------------
r428261 | jbeich | 2016-12-10 07:23:56 +0800 (Sat, 10 Dec 2016) | 9 lines

www/firefox: update to 50.1.0 (rc2)

https://hg.mozilla.org/releases/mozilla-release/rev/8612c3320053 is new since rc1

Changes:	https://www.mozilla.org/firefox/50.1.0/releasenotes/
Changes:	https://hg.mozilla.org/releases/mozilla-release/shortlog
MFH:		2016Q4 (r428102 bandwagon)
Security:	512c0ffd-cd39-4da4-b2dc-81ff4ba8e238

------------------------------------------------------------------------
r428102 | jbeich | 2016-12-08 14:06:59 +0800 (Thu, 08 Dec 2016) | 7 lines

www/firefox: update to 50.1.0 (rc1)

Changes:	https://www.mozilla.org/firefox/50.1.0/releasenotes/
Changes:	https://hg.mozilla.org/releases/mozilla-release/shortlog
MFH:		2016Q4
Security:	512c0ffd-cd39-4da4-b2dc-81ff4ba8e238

------------------------------------------------------------------------
r427506 | cmt | 2016-12-02 00:37:56 +0800 (Fri, 02 Dec 2016) | 9 lines

firefox-{,esr}-i18n: fix distinfo.

my bad.

PR:		214978
Reported by:	Gary
Approved by:	rene (implicit, mentor), fixing-my-own-mess
MFH:		2016Q4

------------------------------------------------------------------------
r427504 | cmt | 2016-12-01 22:24:17 +0800 (Thu, 01 Dec 2016) | 7 lines

update firefox 50.0.2, libxul and thunderbird 45.5.1

PR:		214978
Approved by:	jbeich (maintainer), rene (mentor, implicit)
MFH:		2016Q4
Security:	18f39fb6-7400-4063-acaf-0806e92c094f

^Csvn: E200015: Caught signal
Choose a revision from the above list and run /usr/local/sbin/portdowngrade www/firefox-i18n revision
@bn:~ % portdowngrade www/firefox-i18n r428261
A    firefox-i18n/Makefile
A    firefox-i18n/distinfo
A    firefox-i18n/Makefile.lang
A    firefox-i18n/Makefile.option
A    firefox-i18n/pkg-descr
Checked out revision 428261.
You should be done-- now cd into firefox-i18n and you can run
# make deinstall install clean

Please note that portdowngrade no longer modifies the ports tree; the
checked out port is at
/home/username/firefox-i18n
@bn:~ % cd firefox-i18n/
@bn:~/firefox-i18n % sudo make dinstall install clean
Password:
make: "/usr/home/username/firefox-i18n/Makefile" line 87: Cannot open /usr/home/username/firefox-i18n/../xpi-adblock/Makefile.xpi
make: Fatal errors encountered -- cannot continue
make: stopped in /usr/home/username/firefox-i18n
@bn:~/firefox-i18n %
Comment 2 Walter Schwarzenfeld 2018-01-14 00:37:07 UTC
We have version 57.0.2. I think this is overcome by events.