[omniORB] omniORBpy and Python3

Michael Teske subscribe at teskor.de
Tue Mar 3 20:50:59 GMT 2020


Hi Duncan,

thanks for the quick reply.

Am 03/03/2020 um 17:32 schrieb Duncan Grisby:
> On Tue, 2020-03-03 at 14:43 +0100, Michael Teske via omniORB-list
> wrote:
> 
>> I have some problems getting omniORBpy4.2.3 to run with python3.8.2
>> on windows 10 64 bit.
>>
>> After solving the typical Pythonpath problems I am now stuck with
>> problems in the python code.
> 
> Is this problem while building it, or after you have built it?

Afterwards. Build works fine.

> [...]
>> "C:\cygwin64\home\michael.teske\build\trader-
>> branch\WINNT51_64\MSVC160\Release\lib\python\omniORB\tcInternal.py",
>> line
>> 36, in <module>
>>       for k, v in c.iteritems():
>> AttributeError: 'dict' object has no attribute 'iteritems'
> 
> The source distribution contains a python directory containing Python 2
> code, and a python3 directory containing Python 3 code. For some
> reason, you are using the Python 2 code here. What is meant to happen
> is that "make export" should copy the correct version of the Python
> code from the source directory into $TOP\lib\python.
> 
> Did you perhaps build omniORBpy against Python 2.7 instead of 3.8,
> meaning it picked the Python 2 version to export?

No, the binary module _omnipy.pyd was built against the 3.8 dll. But now as you describe the build process, this rings a 
bell. I have a custom script which copies over all the directories in my own build tree. It copies over the python dir 
from the wrong location, which worked fine all the time with python2 but now breaks. I'll try again. Should I run into 
trouble again I'll report it here :)

Greetings,
   Michael.

> Duncan.
> 




More information about the omniORB-list mailing list