Comments (3)
Possibly related stacktrace
Traceback (most recent call last):
File "/usr/local/bin/bees", line 6, in <module>
main.main()
File "/Library/Python/2.7/site-packages/beeswithmachineguns/main.py", line 163, in main
parse_options()
File "/Library/Python/2.7/site-packages/beeswithmachineguns/main.py", line 154, in parse_options
bees.attack(options.url, options.number, options.concurrent, **additional_options)
File "/Library/Python/2.7/site-packages/beeswithmachineguns/bees.py", line 510, in attack
summarized_results = _summarize_results(results, params, csv_filename)
File "/Library/Python/2.7/site-packages/beeswithmachineguns/bees.py", line 304, in _summarize_results
summarized_results['mean_response'] = sum(complete_results) / summarized_results['num_complete_bees']
ZeroDivisionError: integer division or modulo by zero
from beeswithmachineguns.
-- UPDATE --
Just a little bit more info. I tried uninstalling and reinstalling to various versions and was seeing the same thing. Then this morning I happened to have my amazon dash up and noticed that the bees were still initializing. Once I waited for them to fully come up, all worked fine. I just wanted to post in case anyone else ran into this in the future. Was stupid on my part, but perhaps the error message should states something different if possible to better point to the real issue.
-- Prior Post --
I just installed to t2.micro AWS Ubuntu AMI ubuntu-trusty-14.04-amd64-server-20140607.1 . I have the latest version and the Bees start up but when sending attack I get the following error ending with a divide by zero:
Traceback (most recent call last): File "/usr/local/bin/bees", line 6, in <module> main.main() File "/usr/local/lib/python2.7/dist-packages/beeswithmachineguns/main.py", line 170, in main parse_options() File "/usr/local/lib/python2.7/dist-packages/beeswithmachineguns/main.py", line 161, in parse_options bees.attack(options.url, options.number, options.concurrent, **additional_options) File "/usr/local/lib/python2.7/dist-packages/beeswithmachineguns/bees.py", line 529, in attack summarized_results = _summarize_results(results, params, csv_filename) File "/usr/local/lib/python2.7/dist-packages/beeswithmachineguns/bees.py", line 315, in _summarize_results summarized_results['mean_response'] = sum(complete_results) / summarized_results['num_complete_bees'] ZeroDivisionError: integer division or modulo by zero
from beeswithmachineguns.
I also am getting this error and have not determined the cause yet. Below is a stacktrace:
bees attack -u http://54.nn.nn.nn/ -n 100000 -c 3000
:
Traceback (most recent call last):
File "/usr/local/bin/bees", line 6, in <module>
main.main()
File "/usr/local/lib/python2.7/site-packages/beeswithmachineguns/main.py", line 163, in main
parse_options()
File "/usr/local/lib/python2.7/site-packages/beeswithmachineguns/main.py", line 154, in parse_options
bees.attack(options.url, options.number, options.concurrent, **additional_options)
File "/usr/local/lib/python2.7/site-packages/beeswithmachineguns/bees.py", line 509, in attack
summarized_results = _summarize_results(results, params, csv_filename)
File "/usr/local/lib/python2.7/site-packages/beeswithmachineguns/bees.py", line 303, in _summarize_results
summarized_results['mean_response'] = sum(complete_results) / summarized_results['num_complete_bees']
ZeroDivisionError: integer division or modulo by zero
from beeswithmachineguns.
Related Issues (20)
- FIXL Some README.md `Credit` section links dead.
- SSHException: not a valid EC private key file HOT 3
- Unable to `bees up` if putting the spot instance bid flag in HOT 2
- Installation issues HOT 12
- what's bitcoin?!can U tell me how to learn about all?
- Type error returned when starting attack HOT 11
- Cannot seem to use --keepalive option
- HTTP request with post-file json data throwing errors HOT 2
- Minimal required IAM permissions HOT 1
- [Feature Request] Allow specifying post_file via relative/absolute path HOT 2
- Connection timed out running ab HOT 4
- setup installation error HOT 1
- Wasps with Bazookas
- when I run bees attack I got this error authentication methods available any help please HOT 1
- Failed error trying to describe product codes HOT 2
- Mutiple regions and their subnets ?
- paramiko out of date
- paramiko.ssh_exception.SSHException: encountered RSA key, expected OPENSSH key HOT 2
- boto.exception.NoAuthHandlerFound
- Load test recommendations
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from beeswithmachineguns.