# Preprocess Fail

**URL:** <https://forum.biobakery.org/t/preprocess-fail/2727>\
**Category:** MetaWIBELE\
**Created:** [October 27, 2021, 11:22pm UTC](https://forum.biobakery.org/t/preprocess-fail/2727 "2021-10-27T23:22:28Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![cazzlewazzle89](https://yyz1.discourse-cdn.com/flex027/user_avatar/forum.biobakery.org/cazzlewazzle89/32/317_2.png) [@cazzlewazzle89](https://forum.biobakery.org/u/cazzlewazzle89)\
**Post date:** [October 27, 2021, 11:22pm UTC](https://forum.biobakery.org/t/preprocess-fail/2727/1 "2021-10-27T23:22:28Z")

</div>

Hi all,

I’m trying to get Metawibele to run on the demo data.  
I installed using conda and have all the correct dependences (including the optional ones) but I am getting the following error

```auto
Traceback (most recent call last):
  File "/home/cwwalsh/miniconda3/envs/metawibele/bin/preprocess.py", line 179, in <module>
    main(parse_cli_arguments())
  File "/home/cwwalsh/miniconda3/envs/metawibele/bin/preprocess.py", line 152, in main
    assembly_dir, contigs)
  File "/home/cwwalsh/miniconda3/envs/metawibele/lib/python3.7/site-packages/metawibele/tools/preprocessing_tasks.py", line 220, in assembly
    mylog = contig + ".log" 
NameError: name 'contig' is not defined

```

It looks as though it is looking for contigs have not been created (the `Output/Preprocess/assembly` directory is empty).

Any advice you have would be greatly appreciated.  
Calum

P.S. the command I used to generate the error is below

```auto
metawibele preprocess \
           --input RawReads/ \
           --output Output/Preprocess/ \
           --output-basename demo \
           --extension-paired "_R1.fastq.gz,_R2.fastq.gz" \
           --extension ".fastq.gz" \
           --threads 4 \
           --config metawibele.cfg

```

---

<div class="post-metadata">

**Author:** ![YancongZhang](https://yyz1.discourse-cdn.com/flex027/user_avatar/forum.biobakery.org/yancongzhang/32/1176_2.png) [@YancongZhang](https://forum.biobakery.org/u/YancongZhang)\
**Post date:** [November 12, 2021, 4:16pm UTC](https://forum.biobakery.org/t/preprocess-fail/2727/2 "2021-11-12T16:16:23Z")

</div>

Hi Calum,

Thanks for your interest in MetaWIBELE! This issue has been fixed in the new version of MetaWIBELE (v0.4.2). We have released it to pip and conda. And the Docker image will come out soon as well. Please feel free to try this new version.

Best,  
Yancong
