question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Locust 0.7.3: TypeError trying to run test

See original GitHub issue

I don’t think I had this problem previously and not sure how to fix this. Any pointers? I’m using the example from the quick start.

(csx)[me@ni-fl-01 csx]$ locust -f example.py -H http://tata
[2015-09-16 08:29:35,679] ni-fl-01.ni.coxlab.net/INFO/locust.main: Starting web monitor at *:8089
[2015-09-16 08:29:35,680] ni-fl-01.ni.coxlab.net/ERROR/stderr: Traceback (most recent call last):
[2015-09-16 08:29:35,680] ni-fl-01.ni.coxlab.net/ERROR/stderr: File "/home/smalenfa/csx/bin/locust", line 8, in <module>
[2015-09-16 08:29:35,680] ni-fl-01.ni.coxlab.net/ERROR/stderr: 
[2015-09-16 08:29:35,680] ni-fl-01.ni.coxlab.net/ERROR/stderr: load_entry_point('locustio==0.7.3', 'console_scripts', 'locust')()
[2015-09-16 08:29:35,680] ni-fl-01.ni.coxlab.net/ERROR/stderr: File "/home/smalenfa/csx/lib/python2.6/site-packages/locust/main.py", line 437, in main
[2015-09-16 08:29:35,680] ni-fl-01.ni.coxlab.net/ERROR/stderr: 
[2015-09-16 08:29:35,680] ni-fl-01.ni.coxlab.net/ERROR/stderr: gevent.signal(signal.SIGTERM, sig_term_handler)
[2015-09-16 08:29:35,680] ni-fl-01.ni.coxlab.net/ERROR/stderr: TypeError
[2015-09-16 08:29:35,680] ni-fl-01.ni.coxlab.net/ERROR/stderr: :
[2015-09-16 08:29:35,680] ni-fl-01.ni.coxlab.net/ERROR/stderr: 'module' object is not callable
[2015-09-16 08:29:35,680] ni-fl-01.ni.coxlab.net/ERROR/stderr: 

Issue Analytics

  • State:closed
  • Created 8 years ago
  • Comments:6 (2 by maintainers)

github_iconTop GitHub Comments

1reaction
SteveYfcommented, May 20, 2020

I am using python3.7, I updated the version of gevent package to 1.4.0, no problem

0reactions
heymancommented, May 20, 2020

Hmm, we currently specify the gevent version to >= 1.5 (since 1.4 has a problem with Python 3.8 IIRC).

Read more comments on GitHub >

github_iconTop Results From Across the Web

Changelog Highlights — Locust 2.14.0 documentation
Fix issue when editing user count while running a test using –class-picker ... Ensure heartbeat_worker doesnt try to re-establish connection to workers when ......
Read more >
locustio Changelog - pyup.io
Test file can not be named locust.py \(or any other name that is the same as an existing python package\) ... Locust 0.7.3:...
Read more >
Issue Installing Locustio(0.7.5) Package - Stack Overflow
You should install locust package it's not locustio anymore: pip install locust. Locust package has moved from 'locustio' to 'locust'.
Read more >
Source - GitHub
[\#1424](https://github.com/locustio/locust/issues/1424) - Two test\_stop events triggered when --run-time ... Locust 0.7.3: TypeError trying to run test ...
Read more >
Proper POST file upload (load testing with Locust)-django
I'm trying to make a load test for Django-based website. I use Locust 0.7.3 and python 2.7.10. Here I make POST - filling...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found