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

'NoneType' object has no attribute 'Empty' #38

Open
ghost opened this issue Nov 29, 2013 · 1 comment
Open

'NoneType' object has no attribute 'Empty' #38

ghost opened this issue Nov 29, 2013 · 1 comment

Comments

@ghost
Copy link

ghost commented Nov 29, 2013

I get these errors (not all the time):

Exception in thread Thread-1 (most likely raised during interpreter shutdown):
Traceback (most recent call last):
File "/usr/lib/python2.7/threading.py", line 551, in __bootstrap_inner
File "/opt/virtenvs/django_slice/src/multimechanize/multimechanize/resultswriter.py", line 51, in run
<type 'exceptions.AttributeError'>: 'NoneType' object has no attribute 'Empty'

The config is the default config that is created with a new project.
[global]
run_time = 30
rampup = 0
results_ts_interval = 10
progress_bar = on
console_logging = off
xml_report = off

[user_group-1]
threads = 3
script = v_user.py

[user_group-2]
threads = 3
script = v_user.py

@ghost
Copy link
Author

ghost commented Nov 29, 2013

Attention hack ahead!

I've added:
rw.running = False
time.sleep(.5)
in utilities/run.py just before run_test() returns

And replaced the 'while True:' line in resultswriter.py by 'while self.running:' which is initially set to True (add self.running = True to init)

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

0 participants