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

Chromedriver not installing #1

Open
wizardone opened this issue Feb 21, 2016 · 6 comments
Open

Chromedriver not installing #1

wizardone opened this issue Feb 21, 2016 · 6 comments

Comments

@wizardone
Copy link

Hey, this is what the Heroku buildlog has for me: The bin is not being moved to the designated folder. Probably something to do with permissions. Is this buildpack working in general?

remote: -----> Fetching set buildpack https://github.com/dwayhs/heroku-buildpack-chrome.git... done
remote: -----> Chrome app detected
remote: -----> BUILD_DIR: /tmp/build_9475d4d7f21f275670a548baa815d309
remote: -----> CACHE_DIR: /app/tmp/cache
remote: -----> Updating apt caches
remote:        Ign http://archive.ubuntu.com trusty InRelease
remote:        Get:1 http://archive.ubuntu.com trusty-security InRelease [65.9 kB]
remote:        Get:2 http://archive.ubuntu.com trusty-updates InRelease [65.9 kB]
remote:        Get:3 http://apt.postgresql.org trusty-pgdg InRelease [30.1 kB]
remote:        Hit http://archive.ubuntu.com trusty Release.gpg
remote:        Hit http://archive.ubuntu.com trusty Release
remote:        Get:4 http://archive.ubuntu.com trusty-security/main amd64 Packages [421 kB]
remote:        Get:5 http://archive.ubuntu.com trusty-security/main Translation-en [231 kB]
remote:        Get:6 http://archive.ubuntu.com trusty-updates/main amd64 Packages [706 kB]
remote:        Get:7 http://archive.ubuntu.com trusty-updates/main Translation-en [356 kB]
remote:        Hit http://archive.ubuntu.com trusty/main amd64 Packages
remote:        Get:8 http://apt.postgresql.org trusty-pgdg/main amd64 Packages [57.5 kB]
remote:        Hit http://archive.ubuntu.com trusty/universe amd64 Packages
remote:        Hit http://archive.ubuntu.com trusty/main Translation-en
remote:        Hit http://archive.ubuntu.com trusty/universe Translation-en
remote:        Ign http://archive.ubuntu.com trusty/main Translation-en_US
remote:        Ign http://archive.ubuntu.com trusty/universe Translation-en_US
remote:        Ign http://apt.postgresql.org trusty-pgdg/main Translation-en_US
remote:        Ign http://apt.postgresql.org trusty-pgdg/main Translation-en
remote:        Fetched 1,933 kB in 6s (290 kB/s)
remote:        Reading package lists...
remote: -----> Fetching .debs for xvfb and unzip
remote:        Reading package lists...
remote:        Building dependency tree...
remote:        unzip is already the newest version.
remote:        The following extra packages will be installed:
remote:          libxfont1 libxkbfile1 x11-xkb-utils xfonts-base xfonts-encodings
remote:          xfonts-utils xserver-common
remote:        Suggested packages:
remote:          xfs xserver
remote:        The following NEW packages will be installed:
remote:          libxfont1 libxkbfile1 x11-xkb-utils xfonts-base xfonts-encodings
remote:          xfonts-utils xserver-common xvfb
remote:        0 upgraded, 8 newly installed, 0 to remove and 6 not upgraded.
remote:        Need to get 0 B/7,936 kB of archives.
remote:        After this operation, 14.5 MB of additional disk space will be used.
remote:        Download complete and in download only mode
remote: -----> Fetching google chrome
remote: -----> Installing google-chrome-stable_current_amd64.deb
remote: -----> Installing libxfont1_1%3a1.4.7-1ubuntu0.2_amd64.deb
remote: -----> Installing libxkbfile1_1%3a1.0.8-1_amd64.deb
remote: -----> Installing x11-xkb-utils_7.7+1_amd64.deb
remote: -----> Installing xfonts-base_1%3a1.0.3_all.deb
remote: -----> Installing xfonts-encodings_1%3a1.0.4-1ubuntu1_all.deb
remote: -----> Installing xfonts-utils_1%3a7.7+1_amd64.deb
remote: -----> Installing xserver-common_2%3a1.15.1-0ubuntu2.7_all.deb
remote: -----> Installing xvfb_2%3a1.15.1-0ubuntu2.7_amd64.deb
remote: -----> Downloading and installing ChromeDriver to /tmp/build_9475d4d7f21f275670a548baa815d309
remote: Archive:  /tmp/build_9475d4d7f21f275670a548baa815d309/vendor/chromedriver/chromedriver.zip
remote:   inflating: chromedriver            
remote: mv: cannot stat ‘/tmp/build_9475d4d7f21f275670a548baa815d309/vendor/chromedriver/chromedriver’: No such file or directory
remote: -----> exporting PATH and LIBRARY_PATH
@wyattsweet
Copy link

I'm running into the same issue.

@wizardone
Copy link
Author

@wyattsweet I don't think you will get an answer here :) I ended up doing this myself somehow

@wyattsweet
Copy link

@wizardone if you could let us know how you got Chrome installed, that would be very helpful. Thank you!

@stevewade
Copy link

@wizardone I'm getting the same issue, could you let us know what fixed it?

mv: cannot stat '/app/vendor/chromedriver/chromedriver'

Thanks

@paul-codes-1
Copy link

@wizardone +1 for help on this please

@wizardone
Copy link
Author

Sorry guys, don't think I can help much at the moment, this was more than a year ago. If I remember correctly I just had to adjust 2-3 lines of code, mainly the paths to the executables. An easy way to do this would be to dump the various paths whilie building the extension and see whether you get a null or missing value and then adjust it. This is how I did it.
Good luck :)

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

4 participants