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

Unable to locate dependent libraries when absolute path is not given to the Server() instance #97

Open
vinayvennela opened this issue Oct 27, 2020 · 2 comments

Comments

@vinayvennela
Copy link

If the browsermob-proxy path is added to $PATH, and the Server is initiated with
server = Server("browsermob-proxy") instead of server = Server("path/to/browsermob-proxy")

then the proxy server doesn't start.
A possible reason could be "Error: Unable to access jarfile /mnt/lib/browsermob-dist-2.1.4.jar

Root Cause:
Though it is implemented to check whether the executable is present in the $PATH or not, there is no way to set the path variable to the absolute path when we find the executable on the $PATH

@vinayvennela
Copy link
Author

vinayvennela commented Oct 27, 2020

@AutomatedTester Have created the PR too, please review
#98

@vinayvennela
Copy link
Author

@AutomatedTester Please review the PR.

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

1 participant