<html dir="ltr">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<style id="owaParaStyle">P {
        MARGIN-TOP: 0px; MARGIN-BOTTOM: 0px
}
</style>
</head>
<body fPStyle="1" ocsi="0">
<div style="direction: ltr;font-family: Tahoma;color: #000000;font-size: 10pt;">
<p>Hello, Yipei,</p>
<p> </p>
<p>You can use entry point inspector to check whether there is some error in the plugin registration and loading:</p>
<p> </p>
<p>sudo pip install entry_point_inspector</p>
<p>epi group list</p>
<div>epi group show <your plugin group></div>
<div>epi ep show <your entry point></div>
<p> </p>
<p><a href="https://pypi.python.org/pypi/entry_point_inspector">https://pypi.python.org/pypi/entry_point_inspector</a></p>
<p> </p>
<p>If there is some error when loading the plugin, you may find error information the show command.</p>
<p> </p>
<p>Best Regards</p>
<p>Chaoyi Huang ( joehuang )</p>
<div style="FONT-FAMILY: Times New Roman; COLOR: #000000; FONT-SIZE: 16px">
<hr tabindex="-1">
<div style="DIRECTION: ltr" id="divRpF606504"><font color="#000000" size="2" face="Tahoma"><b>From:</b> Yipei Niu [newypei@gmail.com]<br>
<b>Sent:</b> 27 June 2016 21:44<br>
<b>To:</b> OpenStack Development Mailing List (not for usage questions)<br>
<b>Cc:</b> joehuang; Zhiyuan Cai; skinjo@redhat.com; ½ð³Ç ÈÌ<br>
<b>Subject:</b> [tricircle] About registering and loading a plugin<br>
</font><br>
</div>
<div></div>
<div>
<div dir="ltr">Dear all,
<div><br>
</div>
<div>Recently, I learn to name a plugin based on the doc <a href="http://docs.openstack.org/developer/stevedore/tutorial/naming.html#" target="_blank">
http://docs.openstack.org/developer/stevedore/tutorial/naming.html#</a>. 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?</div>
<div><br>
</div>
<div>Best regards,</div>
<div>Yipei</div>
</div>
</div>
</div>
</div>
</body>
</html>