Hello, Yipei,


You can use entry point inspector to check whether there is some error in the 
plugin registration and loading:



sudo pip install entry_point_inspector

epi group list

epi group show <your plugin group>
epi ep show <your entry point>



https://pypi.python.org/pypi/entry_point_inspector



If there is some error when loading the plugin, you may find error information 
the show command.



Best Regards

Chaoyi Huang ( joehuang )

________________________________
From: Yipei Niu [newy...@gmail.com]
Sent: 27 June 2016 21:44
To: OpenStack Development Mailing List (not for usage questions)
Cc: joehuang; Zhiyuan Cai; ski...@redhat.com; 金城 忍
Subject: [tricircle] About registering and loading a plugin

Dear all,

Recently, I learn to name a plugin based on the doc 
http://docs.openstack.org/developer/stevedore/tutorial/naming.html#. I define a 
new entry_point for the plugin, then it fails. The console prompts 
"stevedore.exception.NoMatches: No 'net.nyp.formatter' driver found, looking 
for 'simple'". After setting a new entry_point with setuptools, why stevedore 
cannot find the driver based on the entry_point?

Best regards,
Yipei
__________________________________________________________________________
OpenStack Development Mailing List (not for usage questions)
Unsubscribe: openstack-dev-requ...@lists.openstack.org?subject:unsubscribe
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev

Reply via email to