# qiime plugin error

**URL:** https://forum.qiime2.org/t/qiime-plugin-error/17751
**Category:** Technical Support
**Created:** [December 10, 2020, 3:35pm UTC](https://forum.qiime2.org/t/qiime-plugin-error/17751 "2020-12-10T15:35:54Z")
**Posts on this page:** 5
**Page:** 1

<div class="post-metadata">

### Author: ![MarcelK](https://forum.qiime2.org/user_avatar/forum.qiime2.org/marcelk/32/16543_2.png) [@MarcelK](https://forum.qiime2.org/u/MarcelK)
#### Post date: [December 10, 2020, 3:35pm UTC](https://forum.qiime2.org/t/qiime-plugin-error/17751/1 "2020-12-10T15:35:54Z")

</div>

Hi,  
I am using qiime2 2020.8 on a cluster to compute permanova and havinr a plugin error. Here is the script below

ml qiime2  
mkdir pmaova  
qiime diversity beta-group-significance   
--i-distance-matrix agNat\_atf-distance.qza   
--m-metadata-file Map18CMR2.tsv   
--m-metadata-column agN\_AttF   
--p-method permanova   
--o-visualization pmaova/agNat\_atf-pmova.qzv

Here is the error.

Plugin error from diversity:

couldn't connect to display "localhost:26.0"

Debug info has been saved to /scratch/local/61896314/qiime2-q2cli-err-h3rk7kou.log  
I successfully ran the code and obtained the plot in an earlier attempt but not sure what is the problem now.  
Please help. Thanks

---

<div class="post-metadata">

### Author: ![cherman2](https://forum.qiime2.org/user_avatar/forum.qiime2.org/cherman2/32/17129_2.png) [@cherman2](https://forum.qiime2.org/u/cherman2)
#### Post date: [December 10, 2020, 4:37pm UTC](https://forum.qiime2.org/t/qiime-plugin-error/17751/2 "2020-12-10T16:37:49Z")

</div>

Hello @MarcelK,  
I believe your problem is that you are in a headless sever and the matplotlib backend is not set up. Greg explains how to fix that issue here: [Error converting .qza to .qzv on cluster](https://forum.qiime2.org/t/error-converting-qza-to-qzv-on-cluster/354/) .

This person's error was more similar to yours and they said that Gregs solution fixed their issue. [Error: QXcbConnection: Could not connect to display](https://forum.qiime2.org/t/error-qxcbconnection-could-not-connect-to-display/441) .

I am not 100% sure that this is the fix but try it and if it doesn't work let me know and we will try to brainstorm. Activate your qiime2 conda env and then run the `env` command and share the results. It will give us a better idea of what is happening. 😄

hope that helps!  
Chloe 🐢

---

<div class="post-metadata">

### Author: ![MarcelK](https://forum.qiime2.org/user_avatar/forum.qiime2.org/marcelk/32/16543_2.png) [@MarcelK](https://forum.qiime2.org/u/MarcelK)
#### Post date: [December 10, 2020, 6:52pm UTC](https://forum.qiime2.org/t/qiime-plugin-error/17751/5 "2020-12-10T18:52:45Z")

</div>

Solved! Thanks. Just out of curiosity why is that the qurro visualization file get saved while permanova doesn't? Before applying your solution I computed and saved a qurro.qzv file and visualized it on the cluster after I loaded ubuntu.  
Thanks again

---

<div class="post-metadata">

### Author: ![cherman2](https://forum.qiime2.org/user_avatar/forum.qiime2.org/cherman2/32/17129_2.png) [@cherman2](https://forum.qiime2.org/u/cherman2)
#### Post date: [December 11, 2020, 4:23pm UTC](https://forum.qiime2.org/t/qiime-plugin-error/17751/7 "2020-12-11T16:23:59Z")

</div>

Hello @MarcelK,  
I am glad you were able to solve your issue!  
I don't think that can answer your question with the current information I have. If you can post your command involving qurro, and any explanation of your process I will try to answer your question.  
Thanks!  
Chloe 🐢

---

<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: [January 11, 2021, 10:24pm UTC](https://forum.qiime2.org/t/qiime-plugin-error/17751/8 "2021-01-11T22:24:00Z")

</div>

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