-
Notifications
You must be signed in to change notification settings - Fork 248
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
Run changeme outside of project directory #45
Comments
Thanks for the bug report. So according to the Python documentation, a generator in python should always raise a Until 1.0.3 gets published, swapping line 260 with |
Looks like I'm getting a newish error now. I tried both the swapping line 260 with the new code and running the dev branch. Traceback (most recent call last): |
Ok, I can finally reproduce it (I was shooting in the dark earlier). It looks like you're running I'm going to rename this issue to better reflect the issue and work on getting this resolved for the next release. Thanks again for the bug report and troubleshooting. |
Changeme fails to run with the following output:
/opt/changeme/changeme.py -d PTDS_scan_1.xml
[09:12:21][core][_validate_args] Delay is set to 500 milliseconds
[09:12:21][core][_validate_args] http
[09:12:23][core][check_version] Unable to retrieve latest changeme version.
Traceback (most recent call last):
File "/opt/changeme/changeme.py", line 6, in
core.main()
File "/opt/changeme/changeme/core.py", line 48, in main
creds = load_creds(config)
File "/opt/changeme/changeme/core.py", line 260, in load_creds
protocols = next(os.walk('creds'))[1]
StopIteration
/opt/changeme/changeme.py -d 10.154.1.1
[13:40:18][core][_validate_args] Delay is set to 500 milliseconds
[13:40:18][core][_validate_args] http
[13:40:20][core][check_version] Unable to retrieve latest changeme version.
Traceback (most recent call last):
File "/opt/changeme/changeme.py", line 6, in
core.main()
File "/opt/changeme/changeme/core.py", line 48, in main
creds = load_creds(config)
File "/opt/changeme/changeme/core.py", line 260, in load_creds
protocols = next(os.walk('creds'))[1]
StopIteration
The text was updated successfully, but these errors were encountered: