# Bug: Cannot race. 'NoneType' object has no attribute 'read\_bytes'

**URL:** <https://discuss.elastic.co/t/bug-cannot-race-nonetype-object-has-no-attribute-read-bytes/218221>\
**Category:** Elasticsearch\
**Tags:** rally\
**Created:** [February 6, 2020, 4:42pm UTC](https://discuss.elastic.co/t/bug-cannot-race-nonetype-object-has-no-attribute-read-bytes/218221 "2020-02-06T16:42:54Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![steevegldev](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/steevegldev/32/62222_2.png) [@steevegldev](https://discuss.elastic.co/u/steevegldev)\
**Post date:** [February 6, 2020, 4:42pm UTC](https://discuss.elastic.co/t/bug-cannot-race-nonetype-object-has-no-attribute-read-bytes/218221/1 "2020-02-06T16:42:55Z")

</div>

> <https://github.com/elastic/rally/issues/888>
>
> Rally version (get with esrally --version): esrally 1.4.0
> Invoked command: esrally --distribution-version=7.5.2 --track=eventdata --challenge=append-no-conflicts
> Configuration file (located in ~/.rally/rally.ini)):
> config.version = 17
> \[system\]
> env.name = local
> \[node\]
> root.dir...

---

<div class="post-metadata">

**Author:** ![danielmitterdorfer](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/danielmitterdorfer/32/110510_2.png) [@danielmitterdorfer](https://discuss.elastic.co/u/danielmitterdorfer)\
**Post date:** [February 7, 2020, 8:00am UTC](https://discuss.elastic.co/t/bug-cannot-race-nonetype-object-has-no-attribute-read-bytes/218221/2 "2020-02-07T08:00:26Z")

</div>

Hi,

based on what I see from the OS output on the linked issue you seem to run on the Windows subsystem for Linux (WSL). I could reproduce the behavior you are seeing on such a system. The library we're using (psutil), [has no support for WSL yet](https://github.com/giampaolo/psutil/issues/1251). While we could probably workaround this specific issue there might be other things that are lurking and we also don't have any CI coverage for WSL.

I suggest that you either run your load generator on Linux or use our [Rally Docker image](https://esrally.readthedocs.io/en/stable/docker.html). Note that you can still benchmark Elasticsearch clusters running on Windows (if you set them up yourself) but the load generator needs to run on Linux.

Daniel

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [March 6, 2020, 8:00am UTC](https://discuss.elastic.co/t/bug-cannot-race-nonetype-object-has-no-attribute-read-bytes/218221/3 "2020-03-06T08:00:27Z")

</div>

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.
