Re: Using cx_Oracle 6.0rc1 on Windows

Anthony Tuininga <[email protected]> Mon, 3 Jul 2017 07:59:24 -0600
Newsgroups gmane.comp.python.db.cx-oracle
Message-ID <CAE1XR-6udtAjZz+NzyGXWSX6PVvY1P_WSVtSYdj4bpYGyciteA@mail.gmail.com>
--===============5172576024808510107==
Content-Type: multipart/alternative; boundary="94eb2c184f58af610905536a2c6c"

--94eb2c184f58af610905536a2c6c
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

Hi Walter,

DPI_DEBUG_LEVEL=3D7 causes a bunch of output that tells me which public
ODPI-C functions are being called. The fact that you are not getting any at
all suggests something is going wrong even before cx_Oracle code is
involved. Can you try a few more things?

1) Use python -v so you can see if the error is occurring prior to the
actual import of cx_Oracle (it may not help but it might, too)
2) Try without the use of venv and make sure that cx_Oracle.pyd is outside
of an "egg" -- in other words, as bare bones as possible; something in that
setup could be conflicting and if so, we can narrow down the problem a bit
bit further

I also note that you are using VS 2017. Another person noted that
uninstalling VS 2017 and using an earlier version worked for him -- why
that would be is an interesting question (!!?) but if you have a machine
that doesn't have VS 2017 but an earlier version that would be worth
testing, too.

Regarding the dbapi20 tests, it would appear that this is not well
supported by the community. Go ahead and log an issue. I'll do some more
investigation. Fixing the code you noted above to work with Python 3 is
easy enough -- but it won't help much if the dbapi20.py module isn't
available!

Anthony


On Mon, Jul 3, 2017 at 6:30 AM, Walter D=C3=B6rwald <[email protected]>
wrote:

> On 30 Jun 2017, at 13:55, Walter D=C3=B6rwald wrote:
>
> On 29 Jun 2017, at 22:30, Anthony Tuininga wrote:
>>
>> Thanks, Chris. If anyone getting this issue is able to build cx_Oracle
>>> themselves, please do so with the environment variable DPI_DEBUG_LEVEL
>>> set
>>> to the value 7 and report the results here or in a GitHub issue. Thanks=
!
>>>
>>
>> [...]
>> As you suggested, we will try compiling cx_Oracle from source next week.
>>
>
> OK, we tried compiling cx_Oracle from source:
>
> =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
> =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
>
> C:\>cd C:\Program Files (x86)\Microsoft Visual
> Studio\2017\Community\VC\Auxiliary\Build
>
> C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Auxiliar=
y\Build>vcvarsall.bat
> x86_amd64
> **********************************************************************
> ** Visual Studio 2017 Developer Command Prompt v15.0.26430.13
> ** Copyright (c) 2017 Microsoft Corporation
> **********************************************************************
> [ERROR:typescript.bat] TypeScript was not added to PATH since a valid
> installation was not found
> [ERROR:VsDevCmd.bat] *** VsDevCmd.bat encountered errors. Environment may
> be incomplete and/or incorrect. ***
>
> C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Auxil
> iary\Build>cd\
>
> C:\>cd \checkouts
>
> C:\checkouts>set
> [...]
> DPI_DEBUG_LEVEL=3D7
> [...]
> Path=3DC:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\T=
ools
> \MSVC\14.10.25017\bin\HostX86\x64;C:\Program Files (x86)\Microsoft Visual
> Studio\2017\Community\VC\Tools\MSVC\14.10.25017\bin\HostX86\x86;C:\Progra=
m
> Files (x86)\Microsoft Visual Studio\2017\Community\Common7\IDE\VC\VCPacka=
ges;C:\Program
> Files (x86)\Microsoft Visual Studio\2017\Community\Common7\
> IDE\CommonExtensions\Microsoft\TestWindow;C:\Program Files
> (x86)\Microsoft Visual Studio\2017\Community\Common7\
> IDE\CommonExtensions\Microsoft\TeamFoundation\Team Explorer;C:\Program
> Files (x86)\Microsoft Visual Studio\2017\Community\MSBuild\15.0\bin\Rosly=
n;C:\Program
> Files (x86)\Microsoft Visual Studio\2017\Community\Team Tools\Performance
> Tools;C:\Program Files (x86)\Microsoft Visual Studio\Shared\Common\VSPerf=
CollectionTools\;C:\Program
> Files (x86)\Windows Kits\10\bin\x86;C:\Program Files (x86)\Windows
> Kits\10\bin\10.0.15063.0\x86;C:\Program Files (x86)\Microsoft Visual
> Studio\2017\Community\\MSBuild\15.0\bin;C:\WINDOWS\Microsoft
> .NET\Framework\v4.0.30319;C:\Program Files (x86)\Microsoft Visual
> Studio\2017\Community\Common7\IDE\;C:\Program Files (x86)\Microsoft
> Visual Studio\2017\Community\Common7\Tools\;C:\pyvenvs\default\Scri
> pts;C:\oraclexe\app\oracle\product\11.2.0\server\bin;C:\
> Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\
> Windows\System32\WindowsPowerShell\v1.0\;C:\Program Files (x86)\NVIDIA
> Corporation\PhysX\Common;C:\Program Files\Intel\WiFi\bin\;C:\Program
> Files\Common Files\Intel\WirelessCommon\;C:\Program
> Files\Git\cmd;C:\Program Files\OpenVPN\bin;C:\WINDOWS\s
> ystem32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\WINDOWS\
> System32\WindowsPowerShell\v1.0\;C:\Program Files (x86)\Windows
> Kits\10\Windows Performance Toolkit\;C:\Users\uli\AppData\
> Local\Microsoft\WindowsApps;
> [...]
>
> C:\checkouts>\pyvenvs\default\scripts\activate
>
> (default) C:\checkouts>git clone https://github.com/oracle/pyth
> on-cx_Oracle
> Cloning into 'python-cx_Oracle'...
> remote: Counting objects: 3345, done.
> remote: Compressing objects: 100% (3/3), done.
> remote: Total 3345 (delta 0), reused 1 (delta 0), pack-reused 3342
> Receiving objects: 100% (3345/3345), 4.56 MiB | 567.00 KiB/s, done.
> Resolving deltas: 100% (2344/2344), done.
>
> (default) C:\checkouts>cd python-cx_Oracle
>
> (default) C:\checkouts\python-cx_Oracle>git clone
> https://github.com/oracle/odpi
> Cloning into 'odpi'...
> remote: Counting objects: 1875, done.
> remote: Compressing objects: 100% (172/172), done.
> remote: Total 1875 (delta 85), reused 59 (delta 25), pack-reused 1678
> Receiving objects: 100% (1875/1875), 979.74 KiB | 524.00 KiB/s, done.
> Resolving deltas: 100% (1363/1363), done.
>
> (default) C:\checkouts\python-cx_Oracle>python setup.py install
> running install
> running bdist_egg
> running egg_info
> writing cx_Oracle.egg-info\PKG-INFO
> writing dependency_links to cx_Oracle.egg-info\dependency_links.txt
> writing top-level names to cx_Oracle.egg-info\top_level.txt
> reading manifest file 'cx_Oracle.egg-info\SOURCES.txt'
> reading manifest template 'MANIFEST.in'
> writing manifest file 'cx_Oracle.egg-info\SOURCES.txt'
> installing library code to build\bdist.win-amd64\egg
> running install_lib
> running build_ext
> building 'cx_Oracle' extension
> C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Tools
> \MSVC\14.10.25017\bin\HostX86\x64\cl.exe /c /nologo /Ox /W3 /GL /DNDEBUG
> /MD -DDPI_DEBUG_LEVEL=3D7 -Iodpi/include -Iodpi/src
> -IC:\pyvenvs\default\include -Ic:\programme\python36\include
> -Ic:\programme\python36\include "-IC:\Program Files (x86)\Microsoft
> Visual Studio\2017\Community\VC\Tools\MSVC\14.10.25017\ATLMFC\include"
> "-IC:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Tools=
\MSVC\14.10.25017\include"
> "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.15063.0\ucrt"
> "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.15063.0\shared"
> "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.15063.0\um"
> "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.15063.0\winrt"
> /Tcsrc/cx_Oracle.c /Fobuild\temp.win-amd64-3.6\Release\src/cx_Oracle.obj
> -DBUILD_VERSION=3D6.0rc1
> cx_Oracle.c
> c:\checkouts\python-cx_oracle\src\Connection.c(851): warning C4311:
> "Typumwandlung": Zeigerverk=C3=BCrzung von "void *" zu "long"
> creating C:\checkouts\python-cx_Oracle\build\lib.win-amd64-3.6
> C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Tools
> \MSVC\14.10.25017\bin\HostX86\x64\link.exe /nologo /INCREMENTAL:NO /LTCG
> /DLL /MANIFEST:EMBED,ID=3D2 /MANIFESTUAC:NO /LIBPATH:C:\pyvenvs\default\l=
ibs
> /LIBPATH:c:\programme\python36\libs /LIBPATH:c:\programme\python36
> /LIBPATH:C:\pyvenvs\default\PCbuild\amd64 "/LIBPATH:C:\Program Files
> (x86)\Microsoft Visual Studio\2017\Community\VC\Tools
> \MSVC\14.10.25017\ATLMFC\lib\x64" "/LIBPATH:C:\Program Files
> (x86)\Microsoft Visual Studio\2017\Community\VC\Tools\MSVC\14.10.25017\li=
b\x64"
> "/LIBPATH:C:\Program Files (x86)\Windows Kits\10\lib\10.0.15063.0\ucrt\x6=
4"
> "/LIBPATH:C:\Program Files (x86)\Windows Kits\10\lib\10.0.15063.0\um\x64"
> /EXPORT:PyInit_cx_Oracle build\temp.win-amd64-3.6\Release\src/cx_Oracle.o=
bj
> /OUT:build\lib.win-amd64-3.6\cx_Oracle.cp36-win_amd64.pyd
> /IMPLIB:build\temp.win-amd64-3.6\Release\src\cx_Oracle.cp36-win_amd64.lib
> cx_Oracle.obj : warning LNK4197: Export "PyInit_cx_Oracle" wurde mehrmals
> angegeben; erste Angabe wird verwendet.
>    Bibliothek "build\temp.win-amd64-3.6\Release\src\cx_Oracle.cp36-win_am=
d64.lib"
> und Objekt "build\temp.win-amd64-3.6\Release\src\cx_Oracle.cp36-win_amd64=
.exp"
> werden erstellt.
> Code wird generiert.
> Codegenerierung ist abgeschlossen.
> creating build\bdist.win-amd64
> creating build\bdist.win-amd64\egg
> copying build\lib.win-amd64-3.6\cx_Oracle.cp36-win_amd64.pyd ->
> build\bdist.win-amd64\egg
> creating stub loader for cx_Oracle.cp36-win_amd64.pyd
> byte-compiling build\bdist.win-amd64\egg\cx_Oracle.py to
> cx_Oracle.cpython-36.pyc
> installing package data to build\bdist.win-amd64\egg
> running install_data
> creating build\bdist.win-amd64\egg\cx_Oracle-doc
> copying LICENSE.txt -> build\bdist.win-amd64\egg\cx_Oracle-doc
> copying README.txt -> build\bdist.win-amd64\egg\cx_Oracle-doc
> creating build\bdist.win-amd64\egg\cx_Oracle-doc\samples
> copying samples\AdvancedQueuing.py -> build\bdist.win-amd64\egg\cx_O
> racle-doc\samples
> copying samples\AppContext.py -> build\bdist.win-amd64\egg\cx_O
> racle-doc\samples
> copying samples\DatabaseChangeNotification.py ->
> build\bdist.win-amd64\egg\cx_Oracle-doc\samples
> copying samples\DatabaseShutdown.py -> build\bdist.win-amd64\egg\cx_O
> racle-doc\samples
> copying samples\DatabaseStartup.py -> build\bdist.win-amd64\egg\cx_O
> racle-doc\samples
> copying samples\DMLReturningMultipleRows.py ->
> build\bdist.win-amd64\egg\cx_Oracle-doc\samples
> copying samples\DRCP.py -> build\bdist.win-amd64\egg\cx_Oracle-doc\sample=
s
> copying samples\Editioning.py -> build\bdist.win-amd64\egg\cx_O
> racle-doc\samples
> copying samples\ImplicitResults.py -> build\bdist.win-amd64\egg\cx_O
> racle-doc\samples
> copying samples\InsertGeometry.py -> build\bdist.win-amd64\egg\cx_O
> racle-doc\samples
> copying samples\QueryChangeNotification.py ->
> build\bdist.win-amd64\egg\cx_Oracle-doc\samples
> copying samples\ReturnLongs.py -> build\bdist.win-amd64\egg\cx_O
> racle-doc\samples
> copying samples\ReturnNumbersAsDecimals.py ->
> build\bdist.win-amd64\egg\cx_Oracle-doc\samples
> copying samples\ReturnUnicode.py -> build\bdist.win-amd64\egg\cx_O
> racle-doc\samples
> copying samples\RowsAsInstance.py -> build\bdist.win-amd64\egg\cx_O
> racle-doc\samples
> copying samples\ScrollableCursors.py -> build\bdist.win-amd64\egg\cx_O
> racle-doc\samples
> copying samples\Threads.py -> build\bdist.win-amd64\egg\cx_O
> racle-doc\samples
> copying samples\TransactionGuard.py -> build\bdist.win-amd64\egg\cx_O
> racle-doc\samples
> copying samples\TypeHandlers.py -> build\bdist.win-amd64\egg\cx_O
> racle-doc\samples
> copying samples\UniversalRowids.py -> build\bdist.win-amd64\egg\cx_O
> racle-doc\samples
> creating build\bdist.win-amd64\egg\cx_Oracle-doc\test
> copying test\BooleanVar.py -> build\bdist.win-amd64\egg\cx_Oracle-doc\tes=
t
> copying test\Connection.py -> build\bdist.win-amd64\egg\cx_Oracle-doc\tes=
t
> copying test\Cursor.py -> build\bdist.win-amd64\egg\cx_Oracle-doc\test
> copying test\CursorVar.py -> build\bdist.win-amd64\egg\cx_Oracle-doc\test
> copying test\DateTimeVar.py -> build\bdist.win-amd64\egg\cx_O
> racle-doc\test
> copying test\DMLReturning.py -> build\bdist.win-amd64\egg\cx_O
> racle-doc\test
> copying test\DropTest.sql -> build\bdist.win-amd64\egg\cx_Oracle-doc\test
> copying test\Error.py -> build\bdist.win-amd64\egg\cx_Oracle-doc\test
> copying test\Features12_1.py -> build\bdist.win-amd64\egg\cx_O
> racle-doc\test
> copying test\IntervalVar.py -> build\bdist.win-amd64\egg\cx_O
> racle-doc\test
> copying test\LobVar.py -> build\bdist.win-amd64\egg\cx_Oracle-doc\test
> copying test\LongVar.py -> build\bdist.win-amd64\egg\cx_Oracle-doc\test
> copying test\NCharVar.py -> build\bdist.win-amd64\egg\cx_Oracle-doc\test
> copying test\NumberVar.py -> build\bdist.win-amd64\egg\cx_Oracle-doc\test
> copying test\ObjectVar.py -> build\bdist.win-amd64\egg\cx_Oracle-doc\test
> copying test\SessionPool.py -> build\bdist.win-amd64\egg\cx_O
> racle-doc\test
> copying test\SetupTest.sql -> build\bdist.win-amd64\egg\cx_Oracle-doc\tes=
t
> copying test\StringVar.py -> build\bdist.win-amd64\egg\cx_Oracle-doc\test
> copying test\test.py -> build\bdist.win-amd64\egg\cx_Oracle-doc\test
> copying test\TestEnv.py -> build\bdist.win-amd64\egg\cx_Oracle-doc\test
> copying test\test_dbapi20.py -> build\bdist.win-amd64\egg\cx_O
> racle-doc\test
> copying test\TimestampVar.py -> build\bdist.win-amd64\egg\cx_O
> racle-doc\test
> copying test\uConnection.py -> build\bdist.win-amd64\egg\cx_O
> racle-doc\test
> copying test\uCursor.py -> build\bdist.win-amd64\egg\cx_Oracle-doc\test
> copying test\uCursorVar.py -> build\bdist.win-amd64\egg\cx_Oracle-doc\tes=
t
> copying test\uDateTimeVar.py -> build\bdist.win-amd64\egg\cx_O
> racle-doc\test
> copying test\uFeatures12_1.py -> build\bdist.win-amd64\egg\cx_O
> racle-doc\test
> copying test\uIntervalVar.py -> build\bdist.win-amd64\egg\cx_O
> racle-doc\test
> copying test\uLobVar.py -> build\bdist.win-amd64\egg\cx_Oracle-doc\test
> copying test\uLongVar.py -> build\bdist.win-amd64\egg\cx_Oracle-doc\test
> copying test\uNumberVar.py -> build\bdist.win-amd64\egg\cx_Oracle-doc\tes=
t
> copying test\uObjectVar.py -> build\bdist.win-amd64\egg\cx_Oracle-doc\tes=
t
> copying test\uSessionPool.py -> build\bdist.win-amd64\egg\cx_O
> racle-doc\test
> copying test\uStringVar.py -> build\bdist.win-amd64\egg\cx_Oracle-doc\tes=
t
> copying test\uTimestampVar.py -> build\bdist.win-amd64\egg\cx_O
> racle-doc\test
> creating build\bdist.win-amd64\egg\EGG-INFO
> copying cx_Oracle.egg-info\PKG-INFO -> build\bdist.win-amd64\egg\EGG-INFO
> copying cx_Oracle.egg-info\SOURCES.txt -> build\bdist.win-amd64\egg\EGG-
> INFO
> copying cx_Oracle.egg-info\dependency_links.txt ->
> build\bdist.win-amd64\egg\EGG-INFO
> copying cx_Oracle.egg-info\top_level.txt -> build\bdist.win-amd64\egg\EGG=
-
> INFO
> writing build\bdist.win-amd64\egg\EGG-INFO\native_libs.txt
> zip_safe flag not set; analyzing archive contents...
> __pycache__.cx_Oracle.cpython-36: module references __file__
> creating 'dist\cx_Oracle-6.0rc1-py3.6-win-amd64.egg' and adding
> 'build\bdist.win-amd64\egg' to it
> removing 'build\bdist.win-amd64\egg' (and everything under it)
> Processing cx_Oracle-6.0rc1-py3.6-win-amd64.egg
> removing 'c:\pyvenvs\default\lib\site-packages\cx_Oracle-6.0rc1-py3.6-win=
-amd64.egg'
> (and everything under it)
> creating c:\pyvenvs\default\lib\site-packages\cx_Oracle-6.0rc1-py3.6-
> win-amd64.egg
> Extracting cx_Oracle-6.0rc1-py3.6-win-amd64.egg to
> c:\pyvenvs\default\lib\site-packages
> Extracting cx_Oracle-6.0rc1-py3.6-win-amd64.egg to
> c:\pyvenvs\default\lib\site-packages
>   File "c:\pyvenvs\default\lib\site-packages\cx_Oracle-6.0rc1-py3.6
> -win-amd64.egg\cx_Oracle-doc\test\test_dbapi20.py", line 46
>     print "Testing cx_Oracle version", cx_Oracle.version
>                                     ^
> SyntaxError: Missing parentheses in call to 'print'
>
>   File "c:\pyvenvs\default\lib\site-packages\cx_Oracle-6.0rc1-py3.6
> -win-amd64.egg\cx_Oracle-doc\test\uFeatures12_1.py", line 42
>     [1L, 1L, 1L, 1L, 1L])
>       ^
> SyntaxError: invalid syntax
>
>   File "c:\pyvenvs\default\lib\site-packages\cx_Oracle-6.0rc1-py3.6
> -win-amd64.egg\cx_Oracle-doc\test\uNumberVar.py", line 26
>     nullableCol =3D 143L ** i
>                      ^
> SyntaxError: invalid syntax
>
> Adding cx-Oracle 6.0rc1 to easy-install.pth file
>
> Installed c:\pyvenvs\default\lib\site-packages\cx_oracle-6.0rc1-py3.6-
> win-amd64.egg
> Processing dependencies for cx-Oracle=3D=3D6.0rc1
> Finished processing dependencies for cx-Oracle=3D=3D6.0rc1
>
> =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
> =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
>
> It seems that this part of the code is not Python 3 compatible.
>
> Should I open a Github issue for those errors?
>
> After fixing those errors "python setup.py install" runs to completion,
> however importing cx_Oracle still fails with the same error message:
>
> =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
> =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
>
> (default) C:\checkouts\python-cx_Oracle>python setup.py install
> running install
> running bdist_egg
> running egg_info
> writing cx_Oracle.egg-info\PKG-INFO
> writing dependency_links to cx_Oracle.egg-info\dependency_links.txt
> writing top-level names to cx_Oracle.egg-info\top_level.txt
> reading manifest file 'cx_Oracle.egg-info\SOURCES.txt'
> reading manifest template 'MANIFEST.in'
> writing manifest file 'cx_Oracle.egg-info\SOURCES.txt'
> installing library code to build\bdist.win-amd64\egg
> running install_lib
> running build_ext
> building 'cx_Oracle' extension
> C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Tools
> \MSVC\14.10.25017\bin\HostX86\x64\cl.exe /c /nologo /Ox /W3 /GL /DNDEBUG
> /MD -DDPI_DEBUG_LEVEL=3D7 -Iodpi/include -Iodpi/src
> -IC:\pyvenvs\default\include -Ic:\programme\python36\include
> -Ic:\programme\python36\include "-IC:\Program Files (x86)\Microsoft
> Visual Studio\2017\Community\VC\Tools\MSVC\14.10.25017\ATLMFC\include"
> "-IC:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Tools=
\MSVC\14.10.25017\include"
> "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.15063.0\ucrt"
> "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.15063.0\shared"
> "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.15063.0\um"
> "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.15063.0\winrt"
> /Tcsrc/cx_Oracle.c /Fobuild\temp.win-amd64-3.6\Release\src/cx_Oracle.obj
> -DBUILD_VERSION=3D6.0rc1
> cx_Oracle.c
> c:\checkouts\python-cx_oracle\src\Connection.c(851): warning C4311:
> "Typumwandlung": Zeigerverk=C3=BCrzung von "void *" zu "long"
> creating C:\checkouts\python-cx_Oracle\build\lib.win-amd64-3.6
> C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Tools
> \MSVC\14.10.25017\bin\HostX86\x64\link.exe /nologo /INCREMENTAL:NO /LTCG
> /DLL /MANIFEST:EMBED,ID=3D2 /MANIFESTUAC:NO /LIBPATH:C:\pyvenvs\default\l=
ibs
> /LIBPATH:c:\programme\python36\libs /LIBPATH:c:\programme\python36
> /LIBPATH:C:\pyvenvs\default\PCbuild\amd64 "/LIBPATH:C:\Program Files
> (x86)\Microsoft Visual Studio\2017\Community\VC\Tools
> \MSVC\14.10.25017\ATLMFC\lib\x64" "/LIBPATH:C:\Program Files
> (x86)\Microsoft Visual Studio\2017\Community\VC\Tools\MSVC\14.10.25017\li=
b\x64"
> "/LIBPATH:C:\Program Files (x86)\Windows Kits\10\lib\10.0.15063.0\ucrt\x6=
4"
> "/LIBPATH:C:\Program Files (x86)\Windows Kits\10\lib\10.0.15063.0\um\x64"
> /EXPORT:PyInit_cx_Oracle build\temp.win-amd64-3.6\Release\src/cx_Oracle.o=
bj
> /OUT:build\lib.win-amd64-3.6\cx_Oracle.cp36-win_amd64.pyd
> /IMPLIB:build\temp.win-amd64-3.6\Release\src\cx_Oracle.cp36-win_amd64.lib
> cx_Oracle.obj : warning LNK4197: Export "PyInit_cx_Oracle" wurde mehrmals
> angegeben; erste Angabe wird verwendet.
>    Bibliothek "build\temp.win-amd64-3.6\Release\src\cx_Oracle.cp36-win_am=
d64.lib"
> und Objekt "build\temp.win-amd64-3.6\Release\src\cx_Oracle.cp36-win_amd64=
.exp"
> werden erstellt.
> Code wird generiert.
> Codegenerierung ist abgeschlossen.
> creating build\bdist.win-amd64
> creating build\bdist.win-amd64\egg
> copying build\lib.win-amd64-3.6\cx_Oracle.cp36-win_amd64.pyd ->
> build\bdist.win-amd64\egg
> creating stub loader for cx_Oracle.cp36-win_amd64.pyd
> byte-compiling build\bdist.win-amd64\egg\cx_Oracle.py to
> cx_Oracle.cpython-36.pyc
> installing package data to build\bdist.win-amd64\egg
> running install_data
> creating build\bdist.win-amd64\egg\cx_Oracle-doc
> copying LICENSE.txt -> build\bdist.win-amd64\egg\cx_Oracle-doc
> copying README.txt -> build\bdist.win-amd64\egg\cx_Oracle-doc
> creating build\bdist.win-amd64\egg\cx_Oracle-doc\samples
> copying samples\AdvancedQueuing.py -> build\bdist.win-amd64\egg\cx_O
> racle-doc\samples
> copying samples\AppContext.py -> build\bdist.win-amd64\egg\cx_O
> racle-doc\samples
> copying samples\DatabaseChangeNotification.py ->
> build\bdist.win-amd64\egg\cx_Oracle-doc\samples
> copying samples\DatabaseShutdown.py -> build\bdist.win-amd64\egg\cx_O
> racle-doc\samples
> copying samples\DatabaseStartup.py -> build\bdist.win-amd64\egg\cx_O
> racle-doc\samples
> copying samples\DMLReturningMultipleRows.py ->
> build\bdist.win-amd64\egg\cx_Oracle-doc\samples
> copying samples\DRCP.py -> build\bdist.win-amd64\egg\cx_Oracle-doc\sample=
s
> copying samples\Editioning.py -> build\bdist.win-amd64\egg\cx_O
> racle-doc\samples
> copying samples\ImplicitResults.py -> build\bdist.win-amd64\egg\cx_O
> racle-doc\samples
> copying samples\InsertGeometry.py -> build\bdist.win-amd64\egg\cx_O
> racle-doc\samples
> copying samples\QueryChangeNotification.py ->
> build\bdist.win-amd64\egg\cx_Oracle-doc\samples
> copying samples\ReturnLongs.py -> build\bdist.win-amd64\egg\cx_O
> racle-doc\samples
> copying samples\ReturnNumbersAsDecimals.py ->
> build\bdist.win-amd64\egg\cx_Oracle-doc\samples
> copying samples\ReturnUnicode.py -> build\bdist.win-amd64\egg\cx_O
> racle-doc\samples
> copying samples\RowsAsInstance.py -> build\bdist.win-amd64\egg\cx_O
> racle-doc\samples
> copying samples\ScrollableCursors.py -> build\bdist.win-amd64\egg\cx_O
> racle-doc\samples
> copying samples\Threads.py -> build\bdist.win-amd64\egg\cx_O
> racle-doc\samples
> copying samples\TransactionGuard.py -> build\bdist.win-amd64\egg\cx_O
> racle-doc\samples
> copying samples\TypeHandlers.py -> build\bdist.win-amd64\egg\cx_O
> racle-doc\samples
> copying samples\UniversalRowids.py -> build\bdist.win-amd64\egg\cx_O
> racle-doc\samples
> creating build\bdist.win-amd64\egg\cx_Oracle-doc\test
> copying test\BooleanVar.py -> build\bdist.win-amd64\egg\cx_Oracle-doc\tes=
t
> copying test\Connection.py -> build\bdist.win-amd64\egg\cx_Oracle-doc\tes=
t
> copying test\Cursor.py -> build\bdist.win-amd64\egg\cx_Oracle-doc\test
> copying test\CursorVar.py -> build\bdist.win-amd64\egg\cx_Oracle-doc\test
> copying test\DateTimeVar.py -> build\bdist.win-amd64\egg\cx_O
> racle-doc\test
> copying test\DMLReturning.py -> build\bdist.win-amd64\egg\cx_O
> racle-doc\test
> copying test\DropTest.sql -> build\bdist.win-amd64\egg\cx_Oracle-doc\test
> copying test\Error.py -> build\bdist.win-amd64\egg\cx_Oracle-doc\test
> copying test\Features12_1.py -> build\bdist.win-amd64\egg\cx_O
> racle-doc\test
> copying test\IntervalVar.py -> build\bdist.win-amd64\egg\cx_O
> racle-doc\test
> copying test\LobVar.py -> build\bdist.win-amd64\egg\cx_Oracle-doc\test
> copying test\LongVar.py -> build\bdist.win-amd64\egg\cx_Oracle-doc\test
> copying test\NCharVar.py -> build\bdist.win-amd64\egg\cx_Oracle-doc\test
> copying test\NumberVar.py -> build\bdist.win-amd64\egg\cx_Oracle-doc\test
> copying test\ObjectVar.py -> build\bdist.win-amd64\egg\cx_Oracle-doc\test
> copying test\SessionPool.py -> build\bdist.win-amd64\egg\cx_O
> racle-doc\test
> copying test\SetupTest.sql -> build\bdist.win-amd64\egg\cx_Oracle-doc\tes=
t
> copying test\StringVar.py -> build\bdist.win-amd64\egg\cx_Oracle-doc\test
> copying test\test.py -> build\bdist.win-amd64\egg\cx_Oracle-doc\test
> copying test\TestEnv.py -> build\bdist.win-amd64\egg\cx_Oracle-doc\test
> copying test\test_dbapi20.py -> build\bdist.win-amd64\egg\cx_O
> racle-doc\test
> copying test\TimestampVar.py -> build\bdist.win-amd64\egg\cx_O
> racle-doc\test
> copying test\uConnection.py -> build\bdist.win-amd64\egg\cx_O
> racle-doc\test
> copying test\uCursor.py -> build\bdist.win-amd64\egg\cx_Oracle-doc\test
> copying test\uCursorVar.py -> build\bdist.win-amd64\egg\cx_Oracle-doc\tes=
t
> copying test\uDateTimeVar.py -> build\bdist.win-amd64\egg\cx_O
> racle-doc\test
> copying test\uFeatures12_1.py -> build\bdist.win-amd64\egg\cx_O
> racle-doc\test
> copying test\uIntervalVar.py -> build\bdist.win-amd64\egg\cx_O
> racle-doc\test
> copying test\uLobVar.py -> build\bdist.win-amd64\egg\cx_Oracle-doc\test
> copying test\uLongVar.py -> build\bdist.win-amd64\egg\cx_Oracle-doc\test
> copying test\uNumberVar.py -> build\bdist.win-amd64\egg\cx_Oracle-doc\tes=
t
> copying test\uObjectVar.py -> build\bdist.win-amd64\egg\cx_Oracle-doc\tes=
t
> copying test\uSessionPool.py -> build\bdist.win-amd64\egg\cx_O
> racle-doc\test
> copying test\uStringVar.py -> build\bdist.win-amd64\egg\cx_Oracle-doc\tes=
t
> copying test\uTimestampVar.py -> build\bdist.win-amd64\egg\cx_O
> racle-doc\test
> creating build\bdist.win-amd64\egg\EGG-INFO
> copying cx_Oracle.egg-info\PKG-INFO -> build\bdist.win-amd64\egg\EGG-INFO
> copying cx_Oracle.egg-info\SOURCES.txt -> build\bdist.win-amd64\egg\EGG-
> INFO
> copying cx_Oracle.egg-info\dependency_links.txt ->
> build\bdist.win-amd64\egg\EGG-INFO
> copying cx_Oracle.egg-info\top_level.txt -> build\bdist.win-amd64\egg\EGG=
-
> INFO
> writing build\bdist.win-amd64\egg\EGG-INFO\native_libs.txt
> zip_safe flag not set; analyzing archive contents...
> __pycache__.cx_Oracle.cpython-36: module references __file__
> creating 'dist\cx_Oracle-6.0rc1-py3.6-win-amd64.egg' and adding
> 'build\bdist.win-amd64\egg' to it
> removing 'build\bdist.win-amd64\egg' (and everything under it)
> Processing cx_Oracle-6.0rc1-py3.6-win-amd64.egg
> removing 'c:\pyvenvs\default\lib\site-packages\cx_Oracle-6.0rc1-py3.6-win=
-amd64.egg'
> (and everything under it)
> creating c:\pyvenvs\default\lib\site-packages\cx_Oracle-6.0rc1-py3.6-
> win-amd64.egg
> Extracting cx_Oracle-6.0rc1-py3.6-win-amd64.egg to
> c:\pyvenvs\default\lib\site-packages
> cx-Oracle 6.0rc1 is already the active version in easy-install.pth
>
> Installed c:\pyvenvs\default\lib\site-packages\cx_oracle-6.0rc1-py3.6-
> win-amd64.egg
> Processing dependencies for cx-Oracle=3D=3D6.0rc1
> Finished processing dependencies for cx-Oracle=3D=3D6.0rc1
>
> (default) C:\checkouts\python-cx_Oracle>python
> Python 3.6.0 (v3.6.0:41df79263a11, Dec 23 2016, 08:06:12) [MSC v.1900 64
> bit (AMD64)] on win32
> Type "help", "copyright", "credits" or "license" for more information.
>
>> import cx_Oracle
>>>>
>>> Traceback (most recent call last):
>   File "<stdin>", line 1, in <module>
> UnicodeDecodeError: 'utf-8' codec can't decode byte 0xe4 in position 66:
> invalid continuation byte
>
>>
>>>>
> =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
> =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
>
> BTW, what does the DPI_DEBUG_LEVEL environment variable do? It seem the
> above code doesn't produce any additional output.
>
> Servus,
>    Walter
>
>
> ------------------------------------------------------------
> ------------------
> Check out the vibrant tech community on one of the world's most
> engaging tech sites, Slashdot.org! http://sdm.link/slashdot
> _______________________________________________
> cx-oracle-users mailing list
> cx-oracle-users-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org
> https://lists.sourceforge.net/lists/listinfo/cx-oracle-users
>

--94eb2c184f58af610905536a2c6c
Content-Type: text/html; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr">Hi Walter,<div><br></div><div>DPI_DEBUG_LEVEL=3D7 causes a=
 bunch of output that tells me which public ODPI-C functions are being call=
ed. The fact that you are not getting any at all suggests something is goin=
g wrong even before cx_Oracle code is involved. Can you try a few more thin=
gs?</div><div><br></div><div>1) Use python -v so you can see if the error i=
s occurring prior to the actual import of cx_Oracle (it may not help but it=
 might, too)</div><div>2) Try without the use of venv and make sure that cx=
_Oracle.pyd is outside of an &quot;egg&quot; -- in other words, as bare bon=
es as possible; something in that setup could be conflicting and if so, we =
can narrow down the problem a bit bit further</div><div><br></div><div>I al=
so note that you are using VS 2017. Another person noted that uninstalling =
VS 2017 and using an earlier version worked for him -- why that would be is=
 an interesting question (!!?) but if you have a machine that doesn&#39;t h=
ave VS 2017 but an earlier version that would be worth testing, too.</div><=
div><br></div><div>Regarding the dbapi20 tests, it would appear that this i=
s not well supported by the community. Go ahead and log an issue. I&#39;ll =
do some more investigation. Fixing the code you noted above to work with Py=
thon 3 is easy enough -- but it won&#39;t help much if the dbapi20.py modul=
e isn&#39;t available!</div><div><br></div><div>Anthony</div><div><br></div=
></div><div class=3D"gmail_extra"><br><div class=3D"gmail_quote">On Mon, Ju=
l 3, 2017 at 6:30 AM, Walter D=C3=B6rwald <span dir=3D"ltr">&lt;<a href=3D"=
mailto:[email protected]" target=3D"_blank">[email protected]</a>&g=
t;</span> wrote:<br><blockquote class=3D"gmail_quote" style=3D"margin:0 0 0=
 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class=3D"">On 30 J=
un 2017, at 13:55, Walter D=C3=B6rwald wrote:<br>
<br>
</span><blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-=
left:1px #ccc solid;padding-left:1ex"><span class=3D"">
On 29 Jun 2017, at 22:30, Anthony Tuininga wrote:<br>
<br>
<blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1p=
x #ccc solid;padding-left:1ex">
Thanks, Chris. If anyone getting this issue is able to build cx_Oracle<br>
themselves, please do so with the environment variable DPI_DEBUG_LEVEL set<=
br>
to the value 7 and report the results here or in a GitHub issue. Thanks!<br=
>
</blockquote>
<br></span>
[...]<span class=3D""><br>
As you suggested, we will try compiling cx_Oracle from source next week.<br=
>
</span></blockquote>
<br>
OK, we tried compiling cx_Oracle from source:<br>
<br>
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D<wbr>=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D<wbr>=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D<br>
<br>
C:\&gt;cd C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\=
Auxil<wbr>iary\Build<br>
<br>
C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Auxil<wbr>=
iary\Build&gt;vcvarsall.bat x86_amd64<br>
******************************<wbr>******************************<wbr>*****=
*****<br>
** Visual Studio 2017 Developer Command Prompt v15.0.26430.13<br>
** Copyright (c) 2017 Microsoft Corporation<br>
******************************<wbr>******************************<wbr>*****=
*****<br>
[ERROR:typescript.bat] TypeScript was not added to PATH since a valid insta=
llation was not found<br>
[ERROR:VsDevCmd.bat] *** VsDevCmd.bat encountered errors. Environment may b=
e incomplete and/or incorrect. ***<br>
<br>
C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Auxil<wbr>=
iary\Build&gt;cd\<br>
<br>
C:\&gt;cd \checkouts<br>
<br>
C:\checkouts&gt;set<br>
[...]<br>
DPI_DEBUG_LEVEL=3D7<br>
[...]<br>
Path=3DC:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Too=
ls<wbr>\MSVC\14.10.25017\bin\HostX86\<wbr>x64;C:\Program Files (x86)\Micros=
oft Visual Studio\2017\Community\VC\Tools<wbr>\MSVC\14.10.25017\bin\HostX86=
\<wbr>x86;C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\Com=
mon7\<wbr>IDE\VC\VCPackages;C:\Program Files (x86)\Microsoft Visual Studio\=
2017\Community\Common7\<wbr>IDE\CommonExtensions\Microsoft<wbr>\TestWindow;=
C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\Common7\<wbr>=
IDE\CommonExtensions\Microsoft<wbr>\TeamFoundation\Team Explorer;C:\Program=
 Files (x86)\Microsoft Visual Studio\2017\Community\MSBuild\<wbr>15.0\bin\R=
oslyn;C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\Team To=
ols\Performance Tools;C:\Program Files (x86)\Microsoft Visual Studio\Shared=
\Common\VSPerfCol<wbr>lectionTools\;C:\Program Files (x86)\Windows Kits\10\=
bin\x86;C:\Program Files (x86)\Windows Kits\10\bin\10.0.15063.0\x86;C<wbr>:=
\Program Files (x86)\Microsoft Visual Studio\2017\Community\\MSBuild<wbr>\1=
5.0\bin;C:\WINDOWS\Microsoft<wbr>.NET\Framework\v4.0.30319;C:\<wbr>Program =
Files (x86)\Microsoft Visual Studio\2017\Community\Common7\<wbr>IDE\;C:\Pro=
gram Files (x86)\Microsoft Visual Studio\2017\Community\Common7\<wbr>Tools\=
;C:\pyvenvs\default\Scri<wbr>pts;C:\oraclexe\app\oracle\<wbr>product\11.2.0=
\server\bin;C:\<wbr>Windows\system32;C:\Windows;C:<wbr>\Windows\System32\Wb=
em;C:\<wbr>Windows\System32\WindowsPowerS<wbr>hell\v1.0\;C:\Program Files (=
x86)\NVIDIA Corporation\PhysX\Common;C:\Pr<wbr>ogram Files\Intel\WiFi\bin\;=
C:\Progr<wbr>am Files\Common Files\Intel\WirelessCommon\;C:<wbr>\Program Fi=
les\Git\cmd;C:\Program Files\OpenVPN\bin;C:\WINDOWS\s<wbr>ystem32;C:\WINDOW=
S;C:\WINDOWS\<wbr>System32\Wbem;C:\WINDOWS\<wbr>System32\WindowsPowerShell\=
v1.<wbr>0\;C:\Program Files (x86)\Windows Kits\10\Windows Performance Toolk=
it\;C:\Users\uli\AppData\<wbr>Local\Microsoft\WindowsApps;<br>
[...]<br>
<br>
C:\checkouts&gt;\pyvenvs\default\<wbr>scripts\activate<br>
<br>
(default) C:\checkouts&gt;git clone <a href=3D"https://github.com/oracle/py=
thon-cx_Oracle" rel=3D"noreferrer" target=3D"_blank">https://github.com/ora=
cle/pyth<wbr>on-cx_Oracle</a><br>
Cloning into &#39;python-cx_Oracle&#39;...<br>
remote: Counting objects: 3345, done.<br>
remote: Compressing objects: 100% (3/3), done.<br>
remote: Total 3345 (delta 0), reused 1 (delta 0), pack-reused 3342<br>
Receiving objects: 100% (3345/3345), 4.56 MiB | 567.00 KiB/s, done.<br>
Resolving deltas: 100% (2344/2344), done.<br>
<br>
(default) C:\checkouts&gt;cd python-cx_Oracle<br>
<br>
(default) C:\checkouts\python-cx_Oracle&gt;<wbr>git clone <a href=3D"https:=
//github.com/oracle/odpi" rel=3D"noreferrer" target=3D"_blank">https://gith=
ub.com/oracle/odpi</a><br>
Cloning into &#39;odpi&#39;...<br>
remote: Counting objects: 1875, done.<br>
remote: Compressing objects: 100% (172/172), done.<br>
remote: Total 1875 (delta 85), reused 59 (delta 25), pack-reused 1678<br>
Receiving objects: 100% (1875/1875), 979.74 KiB | 524.00 KiB/s, done.<br>
Resolving deltas: 100% (1363/1363), done.<br>
<br>
(default) C:\checkouts\python-cx_Oracle&gt;<wbr>python setup.py install<br>
running install<br>
running bdist_egg<br>
running egg_info<br>
writing cx_Oracle.egg-info\PKG-INFO<br>
writing dependency_links to cx_Oracle.egg-info\dependency_<wbr>links.txt<br=
>
writing top-level names to cx_Oracle.egg-info\top_level.t<wbr>xt<br>
reading manifest file &#39;cx_Oracle.egg-info\SOURCES.tx<wbr>t&#39;<br>
reading manifest template &#39;MANIFEST.in&#39;<br>
writing manifest file &#39;cx_Oracle.egg-info\SOURCES.tx<wbr>t&#39;<br>
installing library code to build\bdist.win-amd64\egg<br>
running install_lib<br>
running build_ext<br>
building &#39;cx_Oracle&#39; extension<br>
C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Tools<wbr>=
\MSVC\14.10.25017\bin\HostX86\<wbr>x64\cl.exe /c /nologo /Ox /W3 /GL /DNDEB=
UG /MD -DDPI_DEBUG_LEVEL=3D7 -Iodpi/include -Iodpi/src -IC:\pyvenvs\default=
\include -Ic:\programme\python36\includ<wbr>e -Ic:\programme\python36\inclu=
d<wbr>e &quot;-IC:\Program Files (x86)\Microsoft Visual Studio\2017\Communi=
ty\VC\Tools<wbr>\MSVC\14.10.25017\ATLMFC\inclu<wbr>de&quot; &quot;-IC:\Prog=
ram Files (x86)\Microsoft Visual Studio\2017\Community\VC\Tools<wbr>\MSVC\1=
4.10.25017\include&quot; &quot;-IC:\Program Files (x86)\Windows Kits\10\inc=
lude\10.0.15063.0\u<wbr>crt&quot; &quot;-IC:\Program Files (x86)\Windows Ki=
ts\10\include\10.0.15063.0\s<wbr>hared&quot; &quot;-IC:\Program Files (x86)=
\Windows Kits\10\include\10.0.15063.0\u<wbr>m&quot; &quot;-IC:\Program File=
s (x86)\Windows Kits\10\include\10.0.15063.0\w<wbr>inrt&quot; /Tcsrc/cx_Ora=
cle.c /Fobuild\temp.win-amd64-3.6\Re<wbr>lease\src/cx_Oracle.obj -DBUILD_VE=
RSION=3D6.0rc1<br>
cx_Oracle.c<br>
c:\checkouts\python-cx_oracle\<wbr>src\Connection.c(851): warning C4311: &q=
uot;Typumwandlung&quot;: Zeigerverk=C3=BCrzung von &quot;void *&quot; zu &q=
uot;long&quot;<br>
creating C:\checkouts\python-cx_Oracle\<wbr>build\lib.win-amd64-3.6<br>
C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Tools<wbr>=
\MSVC\14.10.25017\bin\HostX86\<wbr>x64\link.exe /nologo /INCREMENTAL:NO /LT=
CG /DLL /MANIFEST:EMBED,ID=3D2 /MANIFESTUAC:NO /LIBPATH:C:\pyvenvs\default\=
li<wbr>bs /LIBPATH:c:\programme\python36<wbr>\libs /LIBPATH:c:\programme\py=
thon36 /LIBPATH:C:\pyvenvs\default\PC<wbr>build\amd64 &quot;/LIBPATH:C:\Pro=
gram Files (x86)\Microsoft Visual Studio\2017\Community\VC\Tools<wbr>\MSVC\=
14.10.25017\ATLMFC\lib\<wbr>x64&quot; &quot;/LIBPATH:C:\Program Files (x86)=
\Microsoft Visual Studio\2017\Community\VC\Tools<wbr>\MSVC\14.10.25017\lib\=
x64&quot; &quot;/LIBPATH:C:\Program Files (x86)\Windows Kits\10\lib\10.0.15=
063.0\ucrt\<wbr>x64&quot; &quot;/LIBPATH:C:\Program Files (x86)\Windows Kit=
s\10\lib\10.0.15063.0\um\x6<wbr>4&quot; /EXPORT:PyInit_cx_Oracle build\temp=
.win-amd64-3.6\Relea<wbr>se\src/cx_Oracle.obj /OUT:build\lib.win-amd64-3.6\=
c<wbr>x_Oracle.cp36-win_amd64.pyd /IMPLIB:build\temp.win-amd64-3<wbr>.6\Rel=
ease\src\cx_Oracle.cp36-<wbr>win_amd64.lib<br>
cx_Oracle.obj : warning LNK4197: Export &quot;PyInit_cx_Oracle&quot; wurde =
mehrmals angegeben; erste Angabe wird verwendet.<br>
=C2=A0 =C2=A0Bibliothek &quot;build\temp.win-amd64-3.6\Rele<wbr>ase\src\cx_=
Oracle.cp36-win_<wbr>amd64.lib&quot; und Objekt &quot;build\temp.win-amd64-=
3.6\Rele<wbr>ase\src\cx_Oracle.cp36-win_<wbr>amd64.exp&quot; werden erstell=
t.<br>
Code wird generiert.<br>
Codegenerierung ist abgeschlossen.<br>
creating build\bdist.win-amd64<br>
creating build\bdist.win-amd64\egg<br>
copying build\lib.win-amd64-3.6\cx_Ora<wbr>cle.cp36-win_amd64.pyd -&gt; bui=
ld\bdist.win-amd64\egg<br>
creating stub loader for cx_Oracle.cp36-win_amd64.pyd<br>
byte-compiling build\bdist.win-amd64\egg\cx_O<wbr>racle.py to cx_Oracle.cpy=
thon-36.pyc<br>
installing package data to build\bdist.win-amd64\egg<br>
running install_data<br>
creating build\bdist.win-amd64\egg\cx_O<wbr>racle-doc<br>
copying LICENSE.txt -&gt; build\bdist.win-amd64\egg\cx_O<wbr>racle-doc<br>
copying README.txt -&gt; build\bdist.win-amd64\egg\cx_O<wbr>racle-doc<br>
creating build\bdist.win-amd64\egg\cx_O<wbr>racle-doc\samples<br>
copying samples\AdvancedQueuing.py -&gt; build\bdist.win-amd64\egg\cx_O<wbr=
>racle-doc\samples<br>
copying samples\AppContext.py -&gt; build\bdist.win-amd64\egg\cx_O<wbr>racl=
e-doc\samples<br>
copying samples\DatabaseChangeNotifica<wbr>tion.py -&gt; build\bdist.win-am=
d64\egg\cx_O<wbr>racle-doc\samples<br>
copying samples\DatabaseShutdown.py -&gt; build\bdist.win-amd64\egg\cx_O<wb=
r>racle-doc\samples<br>
copying samples\DatabaseStartup.py -&gt; build\bdist.win-amd64\egg\cx_O<wbr=
>racle-doc\samples<br>
copying samples\DMLReturningMultipleRo<wbr>ws.py -&gt; build\bdist.win-amd6=
4\egg\cx_O<wbr>racle-doc\samples<br>
copying samples\DRCP.py -&gt; build\bdist.win-amd64\egg\cx_O<wbr>racle-doc\=
samples<br>
copying samples\Editioning.py -&gt; build\bdist.win-amd64\egg\cx_O<wbr>racl=
e-doc\samples<br>
copying samples\ImplicitResults.py -&gt; build\bdist.win-amd64\egg\cx_O<wbr=
>racle-doc\samples<br>
copying samples\InsertGeometry.py -&gt; build\bdist.win-amd64\egg\cx_O<wbr>=
racle-doc\samples<br>
copying samples\QueryChangeNotificatio<wbr>n.py -&gt; build\bdist.win-amd64=
\egg\cx_O<wbr>racle-doc\samples<br>
copying samples\ReturnLongs.py -&gt; build\bdist.win-amd64\egg\cx_O<wbr>rac=
le-doc\samples<br>
copying samples\ReturnNumbersAsDecimal<wbr>s.py -&gt; build\bdist.win-amd64=
\egg\cx_O<wbr>racle-doc\samples<br>
copying samples\ReturnUnicode.py -&gt; build\bdist.win-amd64\egg\cx_O<wbr>r=
acle-doc\samples<br>
copying samples\RowsAsInstance.py -&gt; build\bdist.win-amd64\egg\cx_O<wbr>=
racle-doc\samples<br>
copying samples\ScrollableCursors.py -&gt; build\bdist.win-amd64\egg\cx_O<w=
br>racle-doc\samples<br>
copying samples\Threads.py -&gt; build\bdist.win-amd64\egg\cx_O<wbr>racle-d=
oc\samples<br>
copying samples\TransactionGuard.py -&gt; build\bdist.win-amd64\egg\cx_O<wb=
r>racle-doc\samples<br>
copying samples\TypeHandlers.py -&gt; build\bdist.win-amd64\egg\cx_O<wbr>ra=
cle-doc\samples<br>
copying samples\UniversalRowids.py -&gt; build\bdist.win-amd64\egg\cx_O<wbr=
>racle-doc\samples<br>
creating build\bdist.win-amd64\egg\cx_O<wbr>racle-doc\test<br>
copying test\BooleanVar.py -&gt; build\bdist.win-amd64\egg\cx_O<wbr>racle-d=
oc\test<br>
copying test\Connection.py -&gt; build\bdist.win-amd64\egg\cx_O<wbr>racle-d=
oc\test<br>
copying test\Cursor.py -&gt; build\bdist.win-amd64\egg\cx_O<wbr>racle-doc\t=
est<br>
copying test\CursorVar.py -&gt; build\bdist.win-amd64\egg\cx_O<wbr>racle-do=
c\test<br>
copying test\DateTimeVar.py -&gt; build\bdist.win-amd64\egg\cx_O<wbr>racle-=
doc\test<br>
copying test\DMLReturning.py -&gt; build\bdist.win-amd64\egg\cx_O<wbr>racle=
-doc\test<br>
copying test\DropTest.sql -&gt; build\bdist.win-amd64\egg\cx_O<wbr>racle-do=
c\test<br>
copying test\Error.py -&gt; build\bdist.win-amd64\egg\cx_O<wbr>racle-doc\te=
st<br>
copying test\Features12_1.py -&gt; build\bdist.win-amd64\egg\cx_O<wbr>racle=
-doc\test<br>
copying test\IntervalVar.py -&gt; build\bdist.win-amd64\egg\cx_O<wbr>racle-=
doc\test<br>
copying test\LobVar.py -&gt; build\bdist.win-amd64\egg\cx_O<wbr>racle-doc\t=
est<br>
copying test\LongVar.py -&gt; build\bdist.win-amd64\egg\cx_O<wbr>racle-doc\=
test<br>
copying test\NCharVar.py -&gt; build\bdist.win-amd64\egg\cx_O<wbr>racle-doc=
\test<br>
copying test\NumberVar.py -&gt; build\bdist.win-amd64\egg\cx_O<wbr>racle-do=
c\test<br>
copying test\ObjectVar.py -&gt; build\bdist.win-amd64\egg\cx_O<wbr>racle-do=
c\test<br>
copying test\SessionPool.py -&gt; build\bdist.win-amd64\egg\cx_O<wbr>racle-=
doc\test<br>
copying test\SetupTest.sql -&gt; build\bdist.win-amd64\egg\cx_O<wbr>racle-d=
oc\test<br>
copying test\StringVar.py -&gt; build\bdist.win-amd64\egg\cx_O<wbr>racle-do=
c\test<br>
copying test\test.py -&gt; build\bdist.win-amd64\egg\cx_O<wbr>racle-doc\tes=
t<br>
copying test\TestEnv.py -&gt; build\bdist.win-amd64\egg\cx_O<wbr>racle-doc\=
test<br>
copying test\test_dbapi20.py -&gt; build\bdist.win-amd64\egg\cx_O<wbr>racle=
-doc\test<br>
copying test\TimestampVar.py -&gt; build\bdist.win-amd64\egg\cx_O<wbr>racle=
-doc\test<br>
copying test\uConnection.py -&gt; build\bdist.win-amd64\egg\cx_O<wbr>racle-=
doc\test<br>
copying test\uCursor.py -&gt; build\bdist.win-amd64\egg\cx_O<wbr>racle-doc\=
test<br>
copying test\uCursorVar.py -&gt; build\bdist.win-amd64\egg\cx_O<wbr>racle-d=
oc\test<br>
copying test\uDateTimeVar.py -&gt; build\bdist.win-amd64\egg\cx_O<wbr>racle=
-doc\test<br>
copying test\uFeatures12_1.py -&gt; build\bdist.win-amd64\egg\cx_O<wbr>racl=
e-doc\test<br>
copying test\uIntervalVar.py -&gt; build\bdist.win-amd64\egg\cx_O<wbr>racle=
-doc\test<br>
copying test\uLobVar.py -&gt; build\bdist.win-amd64\egg\cx_O<wbr>racle-doc\=
test<br>
copying test\uLongVar.py -&gt; build\bdist.win-amd64\egg\cx_O<wbr>racle-doc=
\test<br>
copying test\uNumberVar.py -&gt; build\bdist.win-amd64\egg\cx_O<wbr>racle-d=
oc\test<br>
copying test\uObjectVar.py -&gt; build\bdist.win-amd64\egg\cx_O<wbr>racle-d=
oc\test<br>
copying test\uSessionPool.py -&gt; build\bdist.win-amd64\egg\cx_O<wbr>racle=
-doc\test<br>
copying test\uStringVar.py -&gt; build\bdist.win-amd64\egg\cx_O<wbr>racle-d=
oc\test<br>
copying test\uTimestampVar.py -&gt; build\bdist.win-amd64\egg\cx_O<wbr>racl=
e-doc\test<br>
creating build\bdist.win-amd64\egg\EGG-<wbr>INFO<br>
copying cx_Oracle.egg-info\PKG-INFO -&gt; build\bdist.win-amd64\egg\EGG-<wb=
r>INFO<br>
copying cx_Oracle.egg-info\SOURCES.txt -&gt; build\bdist.win-amd64\egg\EGG-=
<wbr>INFO<br>
copying cx_Oracle.egg-info\dependency_<wbr>links.txt -&gt; build\bdist.win-=
amd64\egg\EGG-<wbr>INFO<br>
copying cx_Oracle.egg-info\top_level.t<wbr>xt -&gt; build\bdist.win-amd64\e=
gg\EGG-<wbr>INFO<br>
writing build\bdist.win-amd64\egg\EGG-<wbr>INFO\native_libs.txt<br>
zip_safe flag not set; analyzing archive contents...<br>
__pycache__.cx_Oracle.cpython-<wbr>36: module references __file__<br>
creating &#39;dist\cx_Oracle-6.0rc1-py3.6-w<wbr>in-amd64.egg&#39; and addin=
g &#39;build\bdist.win-amd64\egg&#39; to it<br>
removing &#39;build\bdist.win-amd64\egg&#39; (and everything under it)<br>
Processing cx_Oracle-6.0rc1-py3.6-win-amd<wbr>64.egg<br>
removing &#39;c:\pyvenvs\default\lib\site-p<wbr>ackages\cx_Oracle-6.0rc1-py=
3.6<wbr>-win-amd64.egg&#39; (and everything under it)<br>
creating c:\pyvenvs\default\lib\site-pa<wbr>ckages\cx_Oracle-6.0rc1-py3.6-<=
wbr>win-amd64.egg<br>
Extracting cx_Oracle-6.0rc1-py3.6-win-amd<wbr>64.egg to c:\pyvenvs\default\=
lib\site-pa<wbr>ckages<br>
Extracting cx_Oracle-6.0rc1-py3.6-win-amd<wbr>64.egg to c:\pyvenvs\default\=
lib\site-pa<wbr>ckages<br>
=C2=A0 File &quot;c:\pyvenvs\default\lib\site-p<wbr>ackages\cx_Oracle-6.0rc=
1-py3.6<wbr>-win-amd64.egg\cx_Oracle-doc\t<wbr>est\test_dbapi20.py&quot;, l=
ine 46<br>
=C2=A0 =C2=A0 print &quot;Testing cx_Oracle version&quot;, cx_Oracle.versio=
n<br>
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=
=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 ^<br>
SyntaxError: Missing parentheses in call to &#39;print&#39;<br>
<br>
=C2=A0 File &quot;c:\pyvenvs\default\lib\site-p<wbr>ackages\cx_Oracle-6.0rc=
1-py3.6<wbr>-win-amd64.egg\cx_Oracle-doc\t<wbr>est\uFeatures12_1.py&quot;, =
line 42<br>
=C2=A0 =C2=A0 [1L, 1L, 1L, 1L, 1L])<br>
=C2=A0 =C2=A0 =C2=A0 ^<br>
SyntaxError: invalid syntax<br>
<br>
=C2=A0 File &quot;c:\pyvenvs\default\lib\site-p<wbr>ackages\cx_Oracle-6.0rc=
1-py3.6<wbr>-win-amd64.egg\cx_Oracle-doc\t<wbr>est\uNumberVar.py&quot;, lin=
e 26<br>
=C2=A0 =C2=A0 nullableCol =3D 143L ** i<br>
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=
=A0^<br>
SyntaxError: invalid syntax<br>
<br>
Adding cx-Oracle 6.0rc1 to easy-install.pth file<br>
<br>
Installed c:\pyvenvs\default\lib\site-pa<wbr>ckages\cx_oracle-6.0rc1-py3.6-=
<wbr>win-amd64.egg<br>
Processing dependencies for cx-Oracle=3D=3D6.0rc1<br>
Finished processing dependencies for cx-Oracle=3D=3D6.0rc1<br>
<br>
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D<wbr>=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D<wbr>=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D<br>
<br>
It seems that this part of the code is not Python 3 compatible.<br>
<br>
Should I open a Github issue for those errors?<br>
<br>
After fixing those errors &quot;python setup.py install&quot; runs to compl=
etion, however importing cx_Oracle still fails with the same error message:=
<br>
<br>
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D<wbr>=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D<wbr>=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D<br>
<br>
(default) C:\checkouts\python-cx_Oracle&gt;<wbr>python setup.py install<br>
running install<br>
running bdist_egg<br>
running egg_info<br>
writing cx_Oracle.egg-info\PKG-INFO<br>
writing dependency_links to cx_Oracle.egg-info\dependency_<wbr>links.txt<br=
>
writing top-level names to cx_Oracle.egg-info\top_level.t<wbr>xt<br>
reading manifest file &#39;cx_Oracle.egg-info\SOURCES.tx<wbr>t&#39;<br>
reading manifest template &#39;MANIFEST.in&#39;<br>
writing manifest file &#39;cx_Oracle.egg-info\SOURCES.tx<wbr>t&#39;<br>
installing library code to build\bdist.win-amd64\egg<br>
running install_lib<br>
running build_ext<br>
building &#39;cx_Oracle&#39; extension<br>
C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Tools<wbr>=
\MSVC\14.10.25017\bin\HostX86\<wbr>x64\cl.exe /c /nologo /Ox /W3 /GL /DNDEB=
UG /MD -DDPI_DEBUG_LEVEL=3D7 -Iodpi/include -Iodpi/src -IC:\pyvenvs\default=
\include -Ic:\programme\python36\includ<wbr>e -Ic:\programme\python36\inclu=
d<wbr>e &quot;-IC:\Program Files (x86)\Microsoft Visual Studio\2017\Communi=
ty\VC\Tools<wbr>\MSVC\14.10.25017\ATLMFC\inclu<wbr>de&quot; &quot;-IC:\Prog=
ram Files (x86)\Microsoft Visual Studio\2017\Community\VC\Tools<wbr>\MSVC\1=
4.10.25017\include&quot; &quot;-IC:\Program Files (x86)\Windows Kits\10\inc=
lude\10.0.15063.0\u<wbr>crt&quot; &quot;-IC:\Program Files (x86)\Windows Ki=
ts\10\include\10.0.15063.0\s<wbr>hared&quot; &quot;-IC:\Program Files (x86)=
\Windows Kits\10\include\10.0.15063.0\u<wbr>m&quot; &quot;-IC:\Program File=
s (x86)\Windows Kits\10\include\10.0.15063.0\w<wbr>inrt&quot; /Tcsrc/cx_Ora=
cle.c /Fobuild\temp.win-amd64-3.6\Re<wbr>lease\src/cx_Oracle.obj -DBUILD_VE=
RSION=3D6.0rc1<br>
cx_Oracle.c<br>
c:\checkouts\python-cx_oracle\<wbr>src\Connection.c(851): warning C4311: &q=
uot;Typumwandlung&quot;: Zeigerverk=C3=BCrzung von &quot;void *&quot; zu &q=
uot;long&quot;<br>
creating C:\checkouts\python-cx_Oracle\<wbr>build\lib.win-amd64-3.6<br>
C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Tools<wbr>=
\MSVC\14.10.25017\bin\HostX86\<wbr>x64\link.exe /nologo /INCREMENTAL:NO /LT=
CG /DLL /MANIFEST:EMBED,ID=3D2 /MANIFESTUAC:NO /LIBPATH:C:\pyvenvs\default\=
li<wbr>bs /LIBPATH:c:\programme\python36<wbr>\libs /LIBPATH:c:\programme\py=
thon36 /LIBPATH:C:\pyvenvs\default\PC<wbr>build\amd64 &quot;/LIBPATH:C:\Pro=
gram Files (x86)\Microsoft Visual Studio\2017\Community\VC\Tools<wbr>\MSVC\=
14.10.25017\ATLMFC\lib\<wbr>x64&quot; &quot;/LIBPATH:C:\Program Files (x86)=
\Microsoft Visual Studio\2017\Community\VC\Tools<wbr>\MSVC\14.10.25017\lib\=
x64&quot; &quot;/LIBPATH:C:\Program Files (x86)\Windows Kits\10\lib\10.0.15=
063.0\ucrt\<wbr>x64&quot; &quot;/LIBPATH:C:\Program Files (x86)\Windows Kit=
s\10\lib\10.0.15063.0\um\x6<wbr>4&quot; /EXPORT:PyInit_cx_Oracle build\temp=
.win-amd64-3.6\Relea<wbr>se\src/cx_Oracle.obj /OUT:build\lib.win-amd64-3.6\=
c<wbr>x_Oracle.cp36-win_amd64.pyd /IMPLIB:build\temp.win-amd64-3<wbr>.6\Rel=
ease\src\cx_Oracle.cp36-<wbr>win_amd64.lib<br>
cx_Oracle.obj : warning LNK4197: Export &quot;PyInit_cx_Oracle&quot; wurde =
mehrmals angegeben; erste Angabe wird verwendet.<br>
=C2=A0 =C2=A0Bibliothek &quot;build\temp.win-amd64-3.6\Rele<wbr>ase\src\cx_=
Oracle.cp36-win_<wbr>amd64.lib&quot; und Objekt &quot;build\temp.win-amd64-=
3.6\Rele<wbr>ase\src\cx_Oracle.cp36-win_<wbr>amd64.exp&quot; werden erstell=
t.<br>
Code wird generiert.<br>
Codegenerierung ist abgeschlossen.<br>
creating build\bdist.win-amd64<br>
creating build\bdist.win-amd64\egg<br>
copying build\lib.win-amd64-3.6\cx_Ora<wbr>cle.cp36-win_amd64.pyd -&gt; bui=
ld\bdist.win-amd64\egg<br>
creating stub loader for cx_Oracle.cp36-win_amd64.pyd<br>
byte-compiling build\bdist.win-amd64\egg\cx_O<wbr>racle.py to cx_Oracle.cpy=
thon-36.pyc<br>
installing package data to build\bdist.win-amd64\egg<br>
running install_data<br>
creating build\bdist.win-amd64\egg\cx_O<wbr>racle-doc<br>
copying LICENSE.txt -&gt; build\bdist.win-amd64\egg\cx_O<wbr>racle-doc<br>
copying README.txt -&gt; build\bdist.win-amd64\egg\cx_O<wbr>racle-doc<br>
creating build\bdist.win-amd64\egg\cx_O<wbr>racle-doc\samples<br>
copying samples\AdvancedQueuing.py -&gt; build\bdist.win-amd64\egg\cx_O<wbr=
>racle-doc\samples<br>
copying samples\AppContext.py -&gt; build\bdist.win-amd64\egg\cx_O<wbr>racl=
e-doc\samples<br>
copying samples\DatabaseChangeNotifica<wbr>tion.py -&gt; build\bdist.win-am=
d64\egg\cx_O<wbr>racle-doc\samples<br>
copying samples\DatabaseShutdown.py -&gt; build\bdist.win-amd64\egg\cx_O<wb=
r>racle-doc\samples<br>
copying samples\DatabaseStartup.py -&gt; build\bdist.win-amd64\egg\cx_O<wbr=
>racle-doc\samples<br>
copying samples\DMLReturningMultipleRo<wbr>ws.py -&gt; build\bdist.win-amd6=
4\egg\cx_O<wbr>racle-doc\samples<br>
copying samples\DRCP.py -&gt; build\bdist.win-amd64\egg\cx_O<wbr>racle-doc\=
samples<br>
copying samples\Editioning.py -&gt; build\bdist.win-amd64\egg\cx_O<wbr>racl=
e-doc\samples<br>
copying samples\ImplicitResults.py -&gt; build\bdist.win-amd64\egg\cx_O<wbr=
>racle-doc\samples<br>
copying samples\InsertGeometry.py -&gt; build\bdist.win-amd64\egg\cx_O<wbr>=
racle-doc\samples<br>
copying samples\QueryChangeNotificatio<wbr>n.py -&gt; build\bdist.win-amd64=
\egg\cx_O<wbr>racle-doc\samples<br>
copying samples\ReturnLongs.py -&gt; build\bdist.win-amd64\egg\cx_O<wbr>rac=
le-doc\samples<br>
copying samples\ReturnNumbersAsDecimal<wbr>s.py -&gt; build\bdist.win-amd64=
\egg\cx_O<wbr>racle-doc\samples<br>
copying samples\ReturnUnicode.py -&gt; build\bdist.win-amd64\egg\cx_O<wbr>r=
acle-doc\samples<br>
copying samples\RowsAsInstance.py -&gt; build\bdist.win-amd64\egg\cx_O<wbr>=
racle-doc\samples<br>
copying samples\ScrollableCursors.py -&gt; build\bdist.win-amd64\egg\cx_O<w=
br>racle-doc\samples<br>
copying samples\Threads.py -&gt; build\bdist.win-amd64\egg\cx_O<wbr>racle-d=
oc\samples<br>
copying samples\TransactionGuard.py -&gt; build\bdist.win-amd64\egg\cx_O<wb=
r>racle-doc\samples<br>
copying samples\TypeHandlers.py -&gt; build\bdist.win-amd64\egg\cx_O<wbr>ra=
cle-doc\samples<br>
copying samples\UniversalRowids.py -&gt; build\bdist.win-amd64\egg\cx_O<wbr=
>racle-doc\samples<br>
creating build\bdist.win-amd64\egg\cx_O<wbr>racle-doc\test<br>
copying test\BooleanVar.py -&gt; build\bdist.win-amd64\egg\cx_O<wbr>racle-d=
oc\test<br>
copying test\Connection.py -&gt; build\bdist.win-amd64\egg\cx_O<wbr>racle-d=
oc\test<br>
copying test\Cursor.py -&gt; build\bdist.win-amd64\egg\cx_O<wbr>racle-doc\t=
est<br>
copying test\CursorVar.py -&gt; build\bdist.win-amd64\egg\cx_O<wbr>racle-do=
c\test<br>
copying test\DateTimeVar.py -&gt; build\bdist.win-amd64\egg\cx_O<wbr>racle-=
doc\test<br>
copying test\DMLReturning.py -&gt; build\bdist.win-amd64\egg\cx_O<wbr>racle=
-doc\test<br>
copying test\DropTest.sql -&gt; build\bdist.win-amd64\egg\cx_O<wbr>racle-do=
c\test<br>
copying test\Error.py -&gt; build\bdist.win-amd64\egg\cx_O<wbr>racle-doc\te=
st<br>
copying test\Features12_1.py -&gt; build\bdist.win-amd64\egg\cx_O<wbr>racle=
-doc\test<br>
copying test\IntervalVar.py -&gt; build\bdist.win-amd64\egg\cx_O<wbr>racle-=
doc\test<br>
copying test\LobVar.py -&gt; build\bdist.win-amd64\egg\cx_O<wbr>racle-doc\t=
est<br>
copying test\LongVar.py -&gt; build\bdist.win-amd64\egg\cx_O<wbr>racle-doc\=
test<br>
copying test\NCharVar.py -&gt; build\bdist.win-amd64\egg\cx_O<wbr>racle-doc=
\test<br>
copying test\NumberVar.py -&gt; build\bdist.win-amd64\egg\cx_O<wbr>racle-do=
c\test<br>
copying test\ObjectVar.py -&gt; build\bdist.win-amd64\egg\cx_O<wbr>racle-do=
c\test<br>
copying test\SessionPool.py -&gt; build\bdist.win-amd64\egg\cx_O<wbr>racle-=
doc\test<br>
copying test\SetupTest.sql -&gt; build\bdist.win-amd64\egg\cx_O<wbr>racle-d=
oc\test<br>
copying test\StringVar.py -&gt; build\bdist.win-amd64\egg\cx_O<wbr>racle-do=
c\test<br>
copying test\test.py -&gt; build\bdist.win-amd64\egg\cx_O<wbr>racle-doc\tes=
t<br>
copying test\TestEnv.py -&gt; build\bdist.win-amd64\egg\cx_O<wbr>racle-doc\=
test<br>
copying test\test_dbapi20.py -&gt; build\bdist.win-amd64\egg\cx_O<wbr>racle=
-doc\test<br>
copying test\TimestampVar.py -&gt; build\bdist.win-amd64\egg\cx_O<wbr>racle=
-doc\test<br>
copying test\uConnection.py -&gt; build\bdist.win-amd64\egg\cx_O<wbr>racle-=
doc\test<br>
copying test\uCursor.py -&gt; build\bdist.win-amd64\egg\cx_O<wbr>racle-doc\=
test<br>
copying test\uCursorVar.py -&gt; build\bdist.win-amd64\egg\cx_O<wbr>racle-d=
oc\test<br>
copying test\uDateTimeVar.py -&gt; build\bdist.win-amd64\egg\cx_O<wbr>racle=
-doc\test<br>
copying test\uFeatures12_1.py -&gt; build\bdist.win-amd64\egg\cx_O<wbr>racl=
e-doc\test<br>
copying test\uIntervalVar.py -&gt; build\bdist.win-amd64\egg\cx_O<wbr>racle=
-doc\test<br>
copying test\uLobVar.py -&gt; build\bdist.win-amd64\egg\cx_O<wbr>racle-doc\=
test<br>
copying test\uLongVar.py -&gt; build\bdist.win-amd64\egg\cx_O<wbr>racle-doc=
\test<br>
copying test\uNumberVar.py -&gt; build\bdist.win-amd64\egg\cx_O<wbr>racle-d=
oc\test<br>
copying test\uObjectVar.py -&gt; build\bdist.win-amd64\egg\cx_O<wbr>racle-d=
oc\test<br>
copying test\uSessionPool.py -&gt; build\bdist.win-amd64\egg\cx_O<wbr>racle=
-doc\test<br>
copying test\uStringVar.py -&gt; build\bdist.win-amd64\egg\cx_O<wbr>racle-d=
oc\test<br>
copying test\uTimestampVar.py -&gt; build\bdist.win-amd64\egg\cx_O<wbr>racl=
e-doc\test<br>
creating build\bdist.win-amd64\egg\EGG-<wbr>INFO<br>
copying cx_Oracle.egg-info\PKG-INFO -&gt; build\bdist.win-amd64\egg\EGG-<wb=
r>INFO<br>
copying cx_Oracle.egg-info\SOURCES.txt -&gt; build\bdist.win-amd64\egg\EGG-=
<wbr>INFO<br>
copying cx_Oracle.egg-info\dependency_<wbr>links.txt -&gt; build\bdist.win-=
amd64\egg\EGG-<wbr>INFO<br>
copying cx_Oracle.egg-info\top_level.t<wbr>xt -&gt; build\bdist.win-amd64\e=
gg\EGG-<wbr>INFO<br>
writing build\bdist.win-amd64\egg\EGG-<wbr>INFO\native_libs.txt<br>
zip_safe flag not set; analyzing archive contents...<br>
__pycache__.cx_Oracle.cpython-<wbr>36: module references __file__<br>
creating &#39;dist\cx_Oracle-6.0rc1-py3.6-w<wbr>in-amd64.egg&#39; and addin=
g &#39;build\bdist.win-amd64\egg&#39; to it<br>
removing &#39;build\bdist.win-amd64\egg&#39; (and everything under it)<br>
Processing cx_Oracle-6.0rc1-py3.6-win-amd<wbr>64.egg<br>
removing &#39;c:\pyvenvs\default\lib\site-p<wbr>ackages\cx_Oracle-6.0rc1-py=
3.6<wbr>-win-amd64.egg&#39; (and everything under it)<br>
creating c:\pyvenvs\default\lib\site-pa<wbr>ckages\cx_Oracle-6.0rc1-py3.6-<=
wbr>win-amd64.egg<br>
Extracting cx_Oracle-6.0rc1-py3.6-win-amd<wbr>64.egg to c:\pyvenvs\default\=
lib\site-pa<wbr>ckages<br>
cx-Oracle 6.0rc1 is already the active version in easy-install.pth<br>
<br>
Installed c:\pyvenvs\default\lib\site-pa<wbr>ckages\cx_oracle-6.0rc1-py3.6-=
<wbr>win-amd64.egg<br>
Processing dependencies for cx-Oracle=3D=3D6.0rc1<br>
Finished processing dependencies for cx-Oracle=3D=3D6.0rc1<br>
<br>
(default) C:\checkouts\python-cx_Oracle&gt;<wbr>python<span class=3D""><br>
Python 3.6.0 (v3.6.0:41df79263a11, Dec 23 2016, 08:06:12) [MSC v.1900 64 bi=
t (AMD64)] on win32<br>
Type &quot;help&quot;, &quot;copyright&quot;, &quot;credits&quot; or &quot;=
license&quot; for more information.<br>
<blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1p=
x #ccc solid;padding-left:1ex"><blockquote class=3D"gmail_quote" style=3D"m=
argin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><blockquote c=
lass=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1px #ccc solid;=
padding-left:1ex">
import cx_Oracle<br>
</blockquote></blockquote></blockquote>
Traceback (most recent call last):<br>
=C2=A0 File &quot;&lt;stdin&gt;&quot;, line 1, in &lt;module&gt;<br>
UnicodeDecodeError: &#39;utf-8&#39; codec can&#39;t decode byte 0xe4 in pos=
ition 66: invalid continuation byte<br>
<blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1p=
x #ccc solid;padding-left:1ex"><blockquote class=3D"gmail_quote" style=3D"m=
argin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><blockquote c=
lass=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1px #ccc solid;=
padding-left:1ex">
<br>
</blockquote></blockquote></blockquote>
<br></span>
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D<wbr>=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D<wbr>=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D<br>
<br>
BTW, what does the DPI_DEBUG_LEVEL environment variable do? It seem the abo=
ve code doesn&#39;t produce any additional output.<br>
<br>
Servus,<br>
=C2=A0 =C2=A0Walter<div class=3D"HOEnZb"><div class=3D"h5"><br>
<br>
------------------------------<wbr>------------------------------<wbr>-----=
-------------<br>
Check out the vibrant tech community on one of the world&#39;s most<br>
engaging tech sites, Slashdot.org! <a href=3D"http://sdm.link/slashdot" rel=
=3D"noreferrer" target=3D"_blank">http://sdm.link/slashdot</a><br>
______________________________<wbr>_________________<br>
cx-oracle-users mailing list<br>
<a href=3D"mailto:cx-oracle-users-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org" target=3D"_blank">=
[email protected]<wbr>rge.net</a><br>
<a href=3D"https://lists.sourceforge.net/lists/listinfo/cx-oracle-users" re=
l=3D"noreferrer" target=3D"_blank">https://lists.sourceforge.net/<wbr>lists=
/listinfo/cx-oracle-users</a><br>
</div></div></blockquote></div><br></div>

--94eb2c184f58af610905536a2c6c--


--===============5172576024808510107==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
--===============5172576024808510107==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

_______________________________________________
cx-oracle-users mailing list
cx-oracle-users-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org
https://lists.sourceforge.net/lists/listinfo/cx-oracle-users

--===============5172576024808510107==--