# First tutorial: IllegalArgumentException

**URL:** <https://discuss.hail.is/t/first-tutorial-illegalargumentexception/1201>\
**Category:** Hail Query & hailctl\
**Created:** [December 6, 2019, 7:58am UTC](https://discuss.hail.is/t/first-tutorial-illegalargumentexception/1201 "2019-12-06T07:58:30Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![cliveno1](https://yyz2.discourse-cdn.com/flex036/user_avatar/discuss.hail.is/cliveno1/32/1115_2.png) [@cliveno1](https://discuss.hail.is/u/cliveno1)\
**Post date:** [December 6, 2019, 7:58am UTC](https://discuss.hail.is/t/first-tutorial-illegalargumentexception/1201/1 "2019-12-06T07:58:30Z")

</div>

I installed using pip on Windows (including Java 8 JRE). Everything seems to work, e.g. hl.init(). The problem began with `hl.utils.get_1kg('data/')`, when I get `Error summary: IllegalArgumentException: Wrong FS: file://C:\Users\darwell\AppData\Local\Temp\tmp2u_gs310\1kg.vcf.bgz, expected: file:///`

However, the `1kg.vcf.bgz` file appears in a Temp folder, so I can move it to the `data` folder.

But from `hl.import_vcf('data/1kg.vcf.bgz').write('data/1kg.mt', overwrite=True)` I get the error `Error summary: IOException: (null) entry in command string: null chmod 0644 C:\Users\darwell\Desktop\work\hail\data\1kg.mt\rows\rows\parts\part-1-2-1-0-f31275e4-ec4b-ab19-4b85-b7adc12dbfd9`

Although, `hl.import_vcf('data/1kg.vcf.bgz')` only finds the file

---

<div class="post-metadata">

**Author:** ![johnc1231](https://yyz2.discourse-cdn.com/flex036/user_avatar/discuss.hail.is/johnc1231/32/286_2.png) [@johnc1231](https://discuss.hail.is/u/johnc1231)\
**Post date:** [December 6, 2019, 2:43pm UTC](https://discuss.hail.is/t/first-tutorial-illegalargumentexception/1201/2 "2019-12-06T14:43:18Z")

</div>

In general, Hail isn’t supported / expected to work on Windows. I don’t use a Windows computer, so not exactly sure how this works, but we do have users who go through the Linux Subsystem on Windows and manage to get it work.

---

<div class="post-metadata">

**Author:** ![cliveno1](https://yyz2.discourse-cdn.com/flex036/user_avatar/discuss.hail.is/cliveno1/32/1115_2.png) [@cliveno1](https://discuss.hail.is/u/cliveno1)\
**Post date:** [December 9, 2019, 7:38am UTC](https://discuss.hail.is/t/first-tutorial-illegalargumentexception/1201/3 "2019-12-09T07:38:29Z")

</div>

OK thank you - I thought this might be the reason but was hopeful as it seemed to function pretty well
