Dev plugin not reported with qiime info

Hello. I’m trying to get another plugin setup here.

I run the installation like the documentation suggested.

pip install -e .

When I ran qiime info the first time, I was able to observe a syntax error with the plugin registeration

(q2-gneiss) tests-MacBook-Pro-4:q2-gneiss mortonjt$ qiime info
QIIME is caching your current deployment for improved performance. This may take a few moments and should only happen once per deployment.
Traceback (most recent call last):
File “/Users/mortonjt/miniconda3/envs/q2-gneiss/bin/qiime”, line 6, in
sys.exit(q2cli.main.qiime())
File “/Users/mortonjt/miniconda3/envs/q2-gneiss/lib/python3.5/site-packages/click/core.py”, line 716, in call
return self.main(*args, **kwargs)
File “/Users/mortonjt/miniconda3/envs/q2-gneiss/lib/python3.5/site-packages/click/core.py”, line 696, in main
rv = self.invoke(ctx)
File “/Users/mortonjt/miniconda3/envs/q2-gneiss/lib/python3.5/site-packages/click/core.py”, line 1060, in invoke
return _process_result(sub_ctx.command.invoke(sub_ctx))
File “/Users/mortonjt/miniconda3/envs/q2-gneiss/lib/python3.5/site-packages/click/core.py”, line 889, in invoke
return ctx.invoke(self.callback, **ctx.params)
File “/Users/mortonjt/miniconda3/envs/q2-gneiss/lib/python3.5/site-packages/click/core.py”, line 534, in invoke
return callback(*args, **kwargs)
File “/Users/mortonjt/miniconda3/envs/q2-gneiss/lib/python3.5/site-packages/q2cli-0.0.6-py3.5.egg/q2cli/info.py”, line 74, in info
File “”, line 969, in _find_and_load
File “”, line 958, in _find_and_load_unlocked
File “”, line 664, in _load_unlocked
File “”, line 634, in _load_backward_compatible
File “/Users/mortonjt/miniconda3/envs/q2-gneiss/lib/python3.5/site-packages/q2cli-0.0.6-py3.5.egg/q2cli/cache.py”, line 292, in
File “/Users/mortonjt/miniconda3/envs/q2-gneiss/lib/python3.5/site-packages/q2cli-0.0.6-py3.5.egg/q2cli/cache.py”, line 61, in init
File “/Users/mortonjt/miniconda3/envs/q2-gneiss/lib/python3.5/site-packages/q2cli-0.0.6-py3.5.egg/q2cli/cache.py”, line 107, in _get_cached_state
File “/Users/mortonjt/miniconda3/envs/q2-gneiss/lib/python3.5/site-packages/q2cli-0.0.6-py3.5.egg/q2cli/cache.py”, line 205, in _cache_current_state
File “/Users/mortonjt/miniconda3/envs/q2-gneiss/lib/python3.5/site-packages/q2cli-0.0.6-py3.5.egg/q2cli/cache.py”, line 229, in _get_current_state
File “/Users/mortonjt/miniconda3/envs/q2-gneiss/lib/python3.5/site-packages/qiime-2.0.6-py3.5.egg/qiime/sdk/plugin_manager.py”, line 32, in new
self._init()
File “/Users/mortonjt/miniconda3/envs/q2-gneiss/lib/python3.5/site-packages/qiime-2.0.6-py3.5.egg/qiime/sdk/plugin_manager.py”, line 46, in _init
plugin = entry_point.load()
File “/Users/mortonjt/miniconda3/envs/q2-gneiss/lib/python3.5/site-packages/setuptools-27.2.0-py3.5.egg/pkg_resources/init.py”, line 2258, in load
File “/Users/mortonjt/miniconda3/envs/q2-gneiss/lib/python3.5/site-packages/setuptools-27.2.0-py3.5.egg/pkg_resources/init.py”, line 2264, in resolve
File “/Users/mortonjt/Dropbox/UCSD/research/q2/q2-gneiss/q2_gneiss/plugin_setup.py”, line 53
description=‘Visualize Regression Coefficient Pvalues on Tree.’
^
SyntaxError: invalid syntax

After I fixed this problem, I tried reinstalling the package. However, when I ran qiime info again, I don’t get any error message and the plugin is not recognized on the plugin registration. Any idea how I should go about resolving this issue?

Can you try running qiime dev refresh-cache? That will force a CLI cache refresh and it should start noticing your plugin. The issue you’re running into is related to https://github.com/qiime2/q2cli/issues/88.

yay I’m getting errors. Thanks!