<html xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40"><head><meta http-equiv=Content-Type content="text/html; charset=utf-8"><meta name=Generator content="Microsoft Word 15 (filtered medium)"><style><!--
/* Font Definitions */
@font-face
        {font-family:"Cambria Math";
        panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
        {font-family:"Calibri Light";
        panose-1:2 15 3 2 2 2 4 3 2 4;}
@font-face
        {font-family:"Lucida Console";
        panose-1:2 11 6 9 4 5 4 2 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0cm;
        margin-bottom:.0001pt;
        font-size:11.0pt;
        font-family:"Calibri",sans-serif;}
h1
        {mso-style-priority:9;
        mso-style-link:"Heading 1 Char";
        margin-top:12.0pt;
        margin-right:0cm;
        margin-bottom:0cm;
        margin-left:0cm;
        margin-bottom:.0001pt;
        page-break-after:avoid;
        font-size:16.0pt;
        font-family:"Calibri Light",sans-serif;
        color:#2F5496;
        font-weight:normal;}
span.Heading1Char
        {mso-style-name:"Heading 1 Char";
        mso-style-priority:9;
        mso-style-link:"Heading 1";
        font-family:"Calibri Light",sans-serif;
        color:#2F5496;}
.MsoChpDefault
        {mso-style-type:export-only;}
@page WordSection1
        {size:612.0pt 792.0pt;
        margin:72.0pt 72.0pt 72.0pt 72.0pt;}
div.WordSection1
        {page:WordSection1;}
--></style></head><body lang=EN-GB link=blue vlink="#954F72"><div class=WordSection1><p class=MsoNormal>Hi,<o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal><span style='font-size:11.5pt;font-family:"Arial",sans-serif;color:#242729;background:white'>I am writing a python corba client to a server app corba interface I generated a stub file YDS_idl.py y using omniidl compiler to compile idl provided by the server. I am able to get the serer IOR string representation with: </span><span style='color:black;background:white'><br></span><span class=Heading1Char><span style='font-size:16.0pt'>orb = CORBA.ORB_init(sys.argv, CORBA.ORB_ID) <br>obj = orb.string_to_object(SERVER_IIOP_URL) <o:p></o:p></span></span></p><p class=MsoNormal><span style='font-size:11.5pt;font-family:"Arial",sans-serif;color:#242729;background:white'><o:p> </o:p></span></p><p class=MsoNormal><span style='font-size:11.5pt;font-family:"Arial",sans-serif;color:#242729;background:white'>I now import class from the stub to narrow into a server obj. <br></span><span class=Heading1Char><span style='font-size:16.0pt'>srv_obj = YDSAdminIF._narrow(obj) <o:p></o:p></span></span></p><p class=MsoNormal><span style='font-size:11.5pt;font-family:"Arial",sans-serif;color:#242729;background:white'><br>I keep getting error: <br><i>    from YDS_idl.py import YDSAdminIF ImportError: <br>    cannot import name YDSAdminIF<o:p></o:p></i></span></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal><span style='font-family:"Lucida Console"'>Regards<o:p></o:p></span></p><p class=MsoNormal><span style='font-family:"Lucida Console"'>Toyin Awofala<o:p></o:p></span></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal><o:p> </o:p></p></div></body></html>