# Unexpected Error during Import \[PairedEndFastqManifest\]

**URL:** <https://forum.qiime2.org/t/unexpected-error-during-import-pairedendfastqmanifest/20787>\
**Category:** Technical Support\
**Tags:** import\
**Created:** [September 17, 2021, 9:31pm UTC](https://forum.qiime2.org/t/unexpected-error-during-import-pairedendfastqmanifest/20787 "2021-09-17T21:31:21Z")\
**Posts on this page:** 14\
**Page:** 1

<div class="post-metadata">

**Author:** ![Hayley\_Guay](https://forum.qiime2.org/user_avatar/forum.qiime2.org/hayley_guay/32/11891_2.png) [@Hayley\_Guay](https://forum.qiime2.org/u/Hayley_Guay)\
**Post date:** [September 17, 2021, 9:31pm UTC](https://forum.qiime2.org/t/unexpected-error-during-import-pairedendfastqmanifest/20787/1 "2021-09-17T21:31:21Z")

</div>

Hello, I have been trying to import my sequence data through the PairedEndFastqManifestPhred33V2 protocols, but have been getting this error code in red when I try to import by manifest file - "An unexpected error has occurred:  
Unknown expression: \<class '\_ast.List'\>" and some more debug info. This error seems to be unrelated to my data set, but I am stuck on how to fix it. I am a beginner to this software so any suggestions appreciated.

---

<div class="post-metadata">

**Author:** ![thermokarst](https://forum.qiime2.org/letter_avatar_proxy/v4/letter/t/8e7dd6/32.png) [@thermokarst](https://forum.qiime2.org/u/thermokarst)\
**Post date:** [September 20, 2021, 2:53pm UTC](https://forum.qiime2.org/t/unexpected-error-during-import-pairedendfastqmanifest/20787/2 "2021-09-20T14:53:24Z")

</div>

Hi @Hayley_Guay!

Sorry to hear you're running into problems, but unfortunately we are missing quite a bit of important information necessary to help you! Please provide the following:

- The version of QIIME used
- The exact command or commands run (copy-and-paste)
- The _complete_ error observed

Thanks! :qiime2:

---

<div class="post-metadata">

**Author:** ![Hayley\_Guay](https://forum.qiime2.org/user_avatar/forum.qiime2.org/hayley_guay/32/11891_2.png) [@Hayley\_Guay](https://forum.qiime2.org/u/Hayley_Guay)\
**Post date:** [September 20, 2021, 9:20pm UTC](https://forum.qiime2.org/t/unexpected-error-during-import-pairedendfastqmanifest/20787/3 "2021-09-20T21:20:15Z")

</div>

![image](https://forum-qiime2-org.s3.dualstack.us-west-2.amazonaws.com/original/2X/a/a5c68c3a5a686be00516fca78782e4ace301f5be.png)  
This is a screenshot showing the exact command I entered and the entire response it gave. Please let me know if you need to see anything more. I am using qiime2 (2021.4) Thanks!

---

<div class="post-metadata">

**Author:** ![Hayley\_Guay](https://forum.qiime2.org/user_avatar/forum.qiime2.org/hayley_guay/32/11891_2.png) [@Hayley\_Guay](https://forum.qiime2.org/u/Hayley_Guay)\
**Post date:** [September 20, 2021, 9:20pm UTC](https://forum.qiime2.org/t/unexpected-error-during-import-pairedendfastqmanifest/20787/4 "2021-09-20T21:20:17Z")

</div>

![image](https://forum-qiime2-org.s3.dualstack.us-west-2.amazonaws.com/original/2X/b/bc771d5b29ebb0328adc8a7b181875d65d795a46.png)

---

<div class="post-metadata">

**Author:** ![thermokarst](https://forum.qiime2.org/letter_avatar_proxy/v4/letter/t/8e7dd6/32.png) [@thermokarst](https://forum.qiime2.org/u/thermokarst)\
**Post date:** [September 21, 2021, 4:21am UTC](https://forum.qiime2.org/t/unexpected-error-during-import-pairedendfastqmanifest/20787/5 "2021-09-21T04:21:07Z")

</div>



---

<div class="post-metadata">

**Author:** ![Hayley\_Guay](https://forum.qiime2.org/user_avatar/forum.qiime2.org/hayley_guay/32/11891_2.png) [@Hayley\_Guay](https://forum.qiime2.org/u/Hayley_Guay)\
**Post date:** [September 21, 2021, 11:46pm UTC](https://forum.qiime2.org/t/unexpected-error-during-import-pairedendfastqmanifest/20787/6 "2021-09-21T23:46:58Z")

</div>

I have been trying different methods to import my files but no such luck yet - it seems like Ubuntu(qiime2) is not able to access to files on my local disk in order to import. Is there any way to check if I have missed a step importing? I am following the protocol that I completed the tutorials with, adjusted for my dataset. The screenshot shows the command and error I have been getting.

 ![image](https://forum-qiime2-org.s3.dualstack.us-west-2.amazonaws.com/original/2X/8/83fa907e1fd6aa1696cfe62b6aab044f40e28151.png)  
Anyone have any ideas? Running this on a windows computer, still qiime2-2021.4

---

<div class="post-metadata">

**Author:** ![thermokarst](https://forum.qiime2.org/letter_avatar_proxy/v4/letter/t/8e7dd6/32.png) [@thermokarst](https://forum.qiime2.org/u/thermokarst)\
**Post date:** [September 23, 2021, 7:40pm UTC](https://forum.qiime2.org/t/unexpected-error-during-import-pairedendfastqmanifest/20787/7 "2021-09-23T19:40:23Z")

</div>

Hi @Hayley_Guay!

Looks like you've got a few issues here!

> [@Hayley\_Guay](#):
>
> This is a screenshot showing the exact command I entered and the entire response it gave

The issue here is that you have a typo in the `--type` parameter - you specified `[PairedEndSequencesWithQuality]` when you probably meant `SampleData[PairedEndSequencesWithQuality]`

> [@Hayley\_Guay](#):
>
> I am following the protocol that I completed the tutorials with, adjusted for my dataset.

There is an issue with the `--type` here, too - you have specified an invalid type for the particular `--input-format` you're using here - you can update this to `SampleData[SequencesWithQuality]`. Please see [this tutorial](https://docs.qiime2.org/2021.8/tutorials/importing/) for more details.

Finally, there is a third issue - it will become a problem once you sort out the `--type` issues above --- you appear to be providing a windows-style filepath to your `--input-path` flag, however the rest of the paths in the logs above show unix-style filepaths - you should be using the unix-style paths. If you're using the WSL, then you'll need to make sure you're providing the appropriate path to the drive with your files, too.

Keep us posted!  
:qiime2: 🦖

---

<div class="post-metadata">

**Author:** ![thermokarst](https://forum.qiime2.org/letter_avatar_proxy/v4/letter/t/8e7dd6/32.png) [@thermokarst](https://forum.qiime2.org/u/thermokarst)\
**Post date:** [September 23, 2021, 7:40pm UTC](https://forum.qiime2.org/t/unexpected-error-during-import-pairedendfastqmanifest/20787/8 "2021-09-23T19:40:26Z")

</div>



---

<div class="post-metadata">

**Author:** ![Hayley\_Guay](https://forum.qiime2.org/user_avatar/forum.qiime2.org/hayley_guay/32/11891_2.png) [@Hayley\_Guay](https://forum.qiime2.org/u/Hayley_Guay)\
**Post date:** [September 23, 2021, 11:19pm UTC](https://forum.qiime2.org/t/unexpected-error-during-import-pairedendfastqmanifest/20787/9 "2021-09-23T23:19:15Z")

</div>

Thank you, this helps! Is there any way to get the unix style filepaths from the windows file? I used the wslpath command to change my manifest filepath within ubuntu, but the manifest is still full of windows style paths that the program does not want to read.

Edit - I did also notice that I was using the wrong file type (or at least, mislabeling my data as the wrong type). I am trying to input a FastQ manifest file that contains separate filepaths to the forward and the reverse reads of each sample (10 samples in total, one forward and one reverse read for each, separate files for the fwd/rev reads). I've included the new command and the error it now gives me.

 ![image](https://forum-qiime2-org.s3.dualstack.us-west-2.amazonaws.com/original/2X/0/0fa79a061f3e24c806d4366a54e488d5f483805d.png)

---

<div class="post-metadata">

**Author:** ![thermokarst](https://forum.qiime2.org/letter_avatar_proxy/v4/letter/t/8e7dd6/32.png) [@thermokarst](https://forum.qiime2.org/u/thermokarst)\
**Post date:** [September 25, 2021, 12:00am UTC](https://forum.qiime2.org/t/unexpected-error-during-import-pairedendfastqmanifest/20787/10 "2021-09-25T00:00:58Z")

</div>



---

<div class="post-metadata">

**Author:** ![thermokarst](https://forum.qiime2.org/letter_avatar_proxy/v4/letter/t/8e7dd6/32.png) [@thermokarst](https://forum.qiime2.org/u/thermokarst)\
**Post date:** [September 25, 2021, 12:04am UTC](https://forum.qiime2.org/t/unexpected-error-during-import-pairedendfastqmanifest/20787/11 "2021-09-25T00:04:16Z")

</div>

> [@Hayley\_Guay](#):
>
> Thank you, this helps!

Glad to hear it!

> [@Hayley\_Guay](#):
>
> Is there any way to get the unix style filepaths from the windows file?

I'm not sure, I don't use the WSL, its a little bit outside of our wheelhouse at Q2-HQ. Maybe you can write a script? Or use find-and-replace in a text editor?

> [@Hayley\_Guay](#):
>
> I did also notice that I was using the wrong file type

This is the same problem as before - your `--type` doesn't match the `--input-format` you've specified - take a look at the tutorial I shared in my last post, it has two examples for the SE and PE versions of the manifest formats which should help you get on the right path!

:qiime2:

---

<div class="post-metadata">

**Author:** ![thermokarst](https://forum.qiime2.org/letter_avatar_proxy/v4/letter/t/8e7dd6/32.png) [@thermokarst](https://forum.qiime2.org/u/thermokarst)\
**Post date:** [September 25, 2021, 12:04am UTC](https://forum.qiime2.org/t/unexpected-error-during-import-pairedendfastqmanifest/20787/12 "2021-09-25T00:04:18Z")

</div>



---

<div class="post-metadata">

**Author:** ![thermokarst](https://forum.qiime2.org/letter_avatar_proxy/v4/letter/t/8e7dd6/32.png) [@thermokarst](https://forum.qiime2.org/u/thermokarst)\
**Post date:** [October 14, 2021, 1:58am UTC](https://forum.qiime2.org/t/unexpected-error-during-import-pairedendfastqmanifest/20787/13 "2021-10-14T01:58:13Z")

</div>

An off-topic reply has been split into a new topic: [Types vs Formats - Phred Offset](https://forum.qiime2.org/t/types-vs-formats-phred-offset/21060)

Please keep replies on-topic in the future.

---

<div class="post-metadata">

**Author:** ![system](https://forum-qiime2-org.s3.dualstack.us-west-2.amazonaws.com/original/3X/2/1/21af5fe23cb6f4579467c66a9ed94e55274ca7bd.svg) [@system](https://forum.qiime2.org/u/system)\
**Post date:** [November 14, 2021, 7:58am UTC](https://forum.qiime2.org/t/unexpected-error-during-import-pairedendfastqmanifest/20787/14 "2021-11-14T07:58:30Z")

</div>

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