<div dir="ltr"><div>This is omniORBpy-4.2.0, Python 2.7 (Python 2.7 (r27:82525), Win-32</div><div><br></div>I'm hitting an odd message on a section of my program that loops through the contents of a series of tables.<div>
<br></div><div>A code segment follows, as well as the full Python error:</div><div><br></div><div><div> nvTable = nv.findElement(_GlobalIDL.omlapi.O_NUMBER_VALIDATION_TABLE)</div><div> nvTableInternalName=nvTable.getSnapshot()[2]</div>
<div> tableSettings = nvTable.getSnapshot()[0]</div><div> while nvTable:<br></div><div> tablename = tableSettings.getFieldAsStringByName(_GlobalIDL.omlapi.F_NUMBER_VALIDATION_TABLE_NAME)[0]</div><div> tablenum = tableSettings.getFieldAsStringByName(_GlobalIDL.omlapi.F_NUMBER_VALIDATION_TABLE_INDEX)[0]</div>
<div> print "NV Table # ",tablenum</div><div> if tablenum.startswith('1') and len(tablenum) ==7:</div><div> if tablenum[1:] not in RATE_CENTERS:</div><div> RATE_CENTERS[tablenum[1:]]=[]</div>
<div> print</div><div> print "*****Table %s %s****************"%(tablenum,tablename)</div><div> nvEntry = nvTable.findElement(_GlobalIDL.omlapi.O_NUMBER_VALIDATION_ENTRY)</div>
<div> while nvEntry:</div><div> nvEntrySettings = nvEntry.getSnapshot()[0]</div><div> nvEntryInternalName = nvEntry.getSnapshot()[2]</div><div> entryname = nvEntrySettings.getFieldAsStringByName(_GlobalIDL.omlapi.F_NUMBER_VALIDATION_ENTRY_NAME)[0]</div>
<div> entryindex = nvEntrySettings.getFieldAsStringByName(_GlobalIDL.omlapi.F_NUMBER_VALIDATION_ENTRY_INDEX)[0]</div><div> if len(entryindex) == 6:</div><div> print entryindex,entryname</div>
<div> nvEntry.destroy()</div><div> nvEntry = nvTable.findNextElement(_GlobalIDL.omlapi.O_NUMBER_VALIDATION_ENTRY,nvEntryInternalName)</div><div> nvTable.destroy()</div><div> nvTable = rps.findNextElement(_GlobalIDL.omlapi.O_NUMBER_VALIDATION_TABLE,nvTableInternalName)</div>
<div> tableSettings = nvTable.getSnapshot()[0]</div><div> nvTableInternalName = nvTable.getSnapshot()[2]</div></div><div><br></div><div><br></div><div><div>Traceback (most recent call last):</div><div> File "corba_test6.py", line 94, in <module></div>
<div> entryname = nvEntrySettings.getFieldAsStringByName(_GlobalIDL.omlapi.F_NUMBER_VALIDATION_ENTRY_NAME)[0]</div><div> File "C:\Working\Saddleback Communications\CORBA\SettingsUserInterface_idl.py", line 381, in getFieldAsStringByName</div>
<div> return self._obj.invoke("getFieldAsStringByName", _0__GlobalIDL.SettingsUserInterface._d_getFieldAsStringByName, args)</div><div>omniORB.CORBA.OBJECT_NOT_EXIST: CORBA.OBJECT_NOT_EXIST(omniORB.OBJECT_NOT_EXIST_IncarnateFailed, CORBA.COMPLETED_NO)</div>
</div><div><br></div><div><br></div><div>This error is thrown after approximately 400 passes through the loop, but the exact spot where the program barfs is not constant</div><div><br></div><div><br></div><div>Help is most appreciated !</div>
<div><br></div><div>John N</div></div>