<div dir="ltr">Hi Vahid,<div><br></div><div>Sorry for the delayed response.</div><div><br></div><div>I've run your plugin and I am facing an error during the loading of your plugin: the loader complains that it is unable to find the module named "heat_translator". </div><div>As far as I can see, your plugin attempts the following import statement:</div><b>"from heat_translator import translator_shell"</b> and this is the exact statement which fails. <div>Most probably this happens because the heat_translator project does not expose its heat_translator.py file (the one defined in the root of the module) to the outer world, thus when you install it with pip this module cannot be found.</div><div>So, if you replace this import statement with something like </div><div>"<b>from translator import shell as translator_shell</b>" this should work, since the "translator" module is properly exported by the heat-translator package.<br><div><br></div><div>Hope this helps</div><div><br><div class="gmail_quote"><div dir="ltr">On Mon, Jan 11, 2016 at 10:51 PM Vahid S Hashemian <<a href="mailto:vahidhashemian@us.ibm.com" target="_blank">vahidhashemian@us.ibm.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><font size="2" face="sans-serif">Hello,</font><br><br><font size="2" face="sans-serif">I have been scratching my head at this
issue for a couple of days without any success.</font><br><br><font size="2" face="sans-serif">Here's the issue:</font><br><font size="2" face="sans-serif">I try to install my plugin (can be found
</font><a href="https://review.openstack.org/#/c/243872/" target="_blank"><font size="2" color="blue" face="sans-serif">here</font></a><font size="2" face="sans-serif">as WIP) using this command:</font><br><br><font size="2" face="sans-serif">        pip
install -e contrib/plugins/murano_heat-translator_plugin/</font><br><br><font size="2" face="sans-serif">The installer runs and reports that
"Successfully installed io.murano.plugins.oasis.tosca".</font><br><font size="2" face="sans-serif">However, when I try to import a package
to the catalog I see (while debugging) that the plugin format I just installed
is not among the plugin_loader formats that murano discovers (</font><a href="https://github.com/openstack/murano/blob/master/murano/packages/load_utils.py#L100" target="_blank"><font size="2" color="blue" face="sans-serif">here</font></a><font size="2" face="sans-serif">).</font><br><br><font size="2" face="sans-serif">I run the same scenario for the Cloudify
plugin and everything goes fine.</font><br><br><font size="2" face="sans-serif">So it appears there is something wrong
with my package (I was able to install it before). But I don't know where
to look for the root cause of this issue.</font><br><font size="2" face="sans-serif">Any pointers would be highly appreciated.</font><br><br><font size="2" face="sans-serif">Thanks.</font><br><font size="2" face="sans-serif">--Vahid</font><br><br>__________________________________________________________________________<br>
OpenStack Development Mailing List (not for usage questions)<br>
Unsubscribe: <a href="http://OpenStack-dev-request@lists.openstack.org?subject:unsubscribe" rel="noreferrer" target="_blank">OpenStack-dev-request@lists.openstack.org?subject:unsubscribe</a><br>
<a href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev" rel="noreferrer" target="_blank">http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev</a><br>
</blockquote></div></div></div></div><div dir="ltr">-- <br></div><div dir="ltr">Regards,<div>Alexander Tivelkov</div></div>