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

Set correct path for Firefox on linux #456

Merged
merged 1 commit into from
Nov 2, 2018

Conversation

milosdanilov
Copy link
Contributor

When running canopy on linux (Ubuntu 18.04) i get the following error message:

1541168288570 mozrunner::runner INFO Running command: "/usr/lib/firefox-2.0" "-marionette" "-foreground" "-no-remote" "-profile" "/tmp/rust_mozprofile.5HkpmFMeb2U6"

Unhandled Exception: System.InvalidOperationException: Failed to start browser /usr/lib/firefox-2.0: no such file or directory (SessionNotCreated)

Don't know what firefox-2.0 is actually, but /usr/lib/firefox/firefox is the correct path :)

When running canopy on linux (Ubuntu 18.04) i get the following error message:
```1541168288570 mozrunner::runner INFO Running command: "/usr/lib/firefox-2.0" "-marionette" "-foreground" "-no-remote" "-profile" "/tmp/rust_mozprofile.5HkpmFMeb2U6"

Unhandled Exception: System.InvalidOperationException: Failed to start browser /usr/lib/firefox-2.0: no such file or directory (SessionNotCreated)
```

Don't know what firefox-2.0 is actually, but /usr/lib/firefox/firefox is the correct path :)
@lefthandedgoat lefthandedgoat merged commit 2bb5410 into lefthandedgoat:master Nov 2, 2018
@lefthandedgoat
Copy link
Owner

In the meantime, you can do

configuration.firefoxDir <- "your\desired\path"

before starting the browser and it should work.

@milosdanilov
Copy link
Contributor Author

milosdanilov commented Nov 2, 2018 via email

@milosdanilov milosdanilov deleted the patch-1 branch November 5, 2018 08:26
eugene-g added a commit to eugene-g/canopy that referenced this pull request Nov 8, 2018
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

Successfully merging this pull request may close these issues.

None yet

2 participants