-
Notifications
You must be signed in to change notification settings - Fork 55
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
FileNotFoundError
raised when sipp
binanry not found
#77
Comments
provide a script to reproduce or we can't do much. |
FileNotFoundError
due to -sn
flag?
just use the demo as the script below: import pysipp |
@q1980361267 you need to install sipp first, git clone https://github.com/SIPp/sipp.git
cd sipp
cmake .
make
export PATH=$PATH:/home/username/whereyoursipbinaryisinstalled
# Then
python3 example.py Remember that this way of export just exists in one terminal, if you want to use always, add to ~/.bashrc |
@pablodz ahh thanks for that follow up. I just saw this same issue working the rebase of #87.. I just added code to raise a more explicit Probably we should write a test that verifies this more explicit raise so that user's don't get confused in the future. |
FileNotFoundError
due to -sn
flag?FileNotFoundError
raised when sipp
binanry not found
@goodboy |
raise child_exception_type(errno_num, err_msg, err_filename)
FileNotFoundError: [Errno 2] No such file or directory: '-sn': '-sn'
UPDATE (by @goodboy)
The real issue here is not loading a more explicit error when the
sipp
binary can't be found in the environment.49b50a9 contains a fix for this but we still need a test to match.
The text was updated successfully, but these errors were encountered: