# ANCOMbc ErrorPlugin error from ancombc: 'label' Debug info has been saved to /tmp/qiime2-q2cli-err-y273h2ef.log

**URL:** https://forum.qiime2.org/t/ancombc-errorplugin-error-from-ancombc-label-debug-info-has-been-saved-to-tmp-qiime2-q2cli-err-y273h2ef-log/27304
**Category:** User Support
**Tags:** ancom-bc
**Created:** [August 4, 2023, 2:56am UTC](https://forum.qiime2.org/t/ancombc-errorplugin-error-from-ancombc-label-debug-info-has-been-saved-to-tmp-qiime2-q2cli-err-y273h2ef-log/27304 "2023-08-04T02:56:13Z")
**Posts on this page:** 5
**Page:** 1

<div class="post-metadata">

### Author: ![JiaqianLi](https://forum.qiime2.org/letter_avatar_proxy/v4/letter/j/ccd318/32.png) [@JiaqianLi](https://forum.qiime2.org/u/JiaqianLi)
#### Post date: [August 4, 2023, 2:56am UTC](https://forum.qiime2.org/t/ancombc-errorplugin-error-from-ancombc-label-debug-info-has-been-saved-to-tmp-qiime2-q2cli-err-y273h2ef-log/27304/1 "2023-08-04T02:56:13Z")

</div>

Hi friends!  
I downloaded the ANCOM-bc according to the install instruction and it seems successfully. However, when I was trying to analysis, Plugin error from ancombc:

'label'

Debug info has been saved to /tmp/qiime2-q2cli-err-y273h2ef.log  
Could anyone please help me to figure out what happend?  
  
Detail:  
Traceback (most recent call last):  
File "/home/haichao/miniconda3/envs/qiime2-2020.6/lib/python3.6/site-packages/pandas/core/indexes/base.py", line 2897, in get\_loc  
return self.\_engine.get\_loc(key)  
File "pandas/\_libs/index.pyx", line 107, in pandas.\_libs.index.IndexEngine.get\_loc  
File "pandas/\_libs/index.pyx", line 131, in pandas.\_libs.index.IndexEngine.get\_loc  
File "pandas/\_libs/hashtable\_class\_helper.pxi", line 1607, in pandas.\_libs.hashtable.PyObjectHashTable.get\_item  
File "pandas/\_libs/hashtable\_class\_helper.pxi", line 1614, in pandas.\_libs.hashtable.PyObjectHashTable.get\_item  
KeyError: 'label'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):  
File "/home/haichao/miniconda3/envs/qiime2-2020.6/lib/python3.6/site-packages/q2cli/commands.py", line 329, in **call**  
results = action(\*\*arguments)  
File "", line 2, in ancombc  
File "/home/haichao/miniconda3/envs/qiime2-2020.6/lib/python3.6/site-packages/qiime2/sdk/action.py", line 245, in bound\_callable  
output\_types, provenance)  
File "/home/haichao/miniconda3/envs/qiime2-2020.6/lib/python3.6/site-packages/qiime2/sdk/action.py", line 390, in _callable\_executor_  
output\_views = self.\_callable(\*\*view\_args)  
File "/home/haichao/miniconda3/envs/qiime2-2020.6/lib/python3.6/site-packages/q2\_ancombc/\_method.py", line 56, in ancombc  
for var in variables  
File "/home/haichao/miniconda3/envs/qiime2-2020.6/lib/python3.6/site-packages/q2\_ancombc/\_method.py", line 56, in   
for var in variables  
File "/home/haichao/miniconda3/envs/qiime2-2020.6/lib/python3.6/site-packages/pandas/core/frame.py", line 2995, in **getitem**  
indexer = self.columns.get\_loc(key)  
File "/home/haichao/miniconda3/envs/qiime2-2020.6/lib/python3.6/site-packages/pandas/core/indexes/base.py", line 2899, in get\_loc  
return self.\_engine.get\_loc(self.\_maybe\_cast\_indexer(key))  
File "pandas/\_libs/index.pyx", line 107, in pandas.\_libs.index.IndexEngine.get\_loc  
File "pandas/\_libs/index.pyx", line 131, in pandas.\_libs.index.IndexEngine.get\_loc  
File "pandas/\_libs/hashtable\_class\_helper.pxi", line 1607, in pandas.\_libs.hashtable.PyObjectHashTable.get\_item  
File "pandas/\_libs/hashtable\_class\_helper.pxi", line 1614, in pandas.\_libs.hashtable.PyObjectHashTable.get\_item  
KeyError: 'label'

---

<div class="post-metadata">

### Author: ![lizgehret](https://forum.qiime2.org/user_avatar/forum.qiime2.org/lizgehret/32/17128_2.png) [@lizgehret](https://forum.qiime2.org/u/lizgehret)
#### Post date: [August 7, 2023, 9:04pm UTC](https://forum.qiime2.org/t/ancombc-errorplugin-error-from-ancombc-label-debug-info-has-been-saved-to-tmp-qiime2-q2cli-err-y273h2ef-log/27304/2 "2023-08-07T21:04:56Z")

</div>

Hi @JiaqianLi,

I am going to merge this post with the existing one you have open regarding this issue. Please refer to our code of conduct, specifically [keeping your questions tidy](https://forum.qiime2.org/faq#keep-tidy) - cross-posting makes it more difficult for us to address everyone's questions in a timely manner, and creates more difficulty for future users who are searching for specific topics on the forum. Thanks for your understanding! Cheers 🦎

---

<div class="post-metadata">

### Author: ![lizgehret](https://forum.qiime2.org/user_avatar/forum.qiime2.org/lizgehret/32/17128_2.png) [@lizgehret](https://forum.qiime2.org/u/lizgehret)
#### Post date: [August 7, 2023, 9:05pm UTC](https://forum.qiime2.org/t/ancombc-errorplugin-error-from-ancombc-label-debug-info-has-been-saved-to-tmp-qiime2-q2cli-err-y273h2ef-log/27304/3 "2023-08-07T21:05:34Z")

</div>

An off-topic reply has been merged into an existing topic: [error while running ancom-bc](https://forum.qiime2.org/t/error-while-running-ancom-bc/27331)

Please keep replies on-topic in the future.

---

<div class="post-metadata">

### Author: ![lizgehret](https://forum.qiime2.org/user_avatar/forum.qiime2.org/lizgehret/32/17128_2.png) [@lizgehret](https://forum.qiime2.org/u/lizgehret)
#### Post date: [August 7, 2023, 9:05pm UTC](https://forum.qiime2.org/t/ancombc-errorplugin-error-from-ancombc-label-debug-info-has-been-saved-to-tmp-qiime2-q2cli-err-y273h2ef-log/27304/4 "2023-08-07T21:05:59Z")

</div>



---

<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: [September 8, 2023, 3:06am UTC](https://forum.qiime2.org/t/ancombc-errorplugin-error-from-ancombc-label-debug-info-has-been-saved-to-tmp-qiime2-q2cli-err-y273h2ef-log/27304/5 "2023-09-08T03:06:14Z")

</div>

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