<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>Question Re: Unable to connect to ASE 16 with python 3.8 on RHEL8 in Technology Q&amp;A</title>
    <link>https://community.sap.com/t5/technology-q-a/unable-to-connect-to-ase-16-with-python-3-8-on-rhel8/qaa-p/13709099#M4830285</link>
    <description>&lt;P&gt;Hey, &lt;a href="https://community.sap.com/t5/user/viewprofilepage/user-id/207550"&gt;@ryan_hansen&lt;/a&gt;, can you please confirm that do other python version like 3.9 and above are supported or not?&lt;/P&gt;</description>
    <pubDate>Wed, 22 May 2024 10:19:08 GMT</pubDate>
    <dc:creator>HarshPatel1</dc:creator>
    <dc:date>2024-05-22T10:19:08Z</dc:date>
    <item>
      <title>Unable to connect to ASE 16 with python 3.8 on RHEL8</title>
      <link>https://community.sap.com/t5/technology-q-a/unable-to-connect-to-ase-16-with-python-3-8-on-rhel8/qaq-p/12518604</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
  &lt;P&gt;I've a ASE 16 installed on RHEL 8 with python3.8 and I'm unable to connect to the server with python.&lt;/P&gt;
  &lt;P&gt;If I do not specify the password with the default test.py, I have a Login Failed (normal behaviour) :&lt;/P&gt;
  &lt;P&gt;&lt;EM&gt;python test.py&lt;/EM&gt;&lt;/P&gt;
  &lt;P&gt;&lt;EM&gt;Cannot raise error, context is NULL&lt;/EM&gt;&lt;/P&gt;
  &lt;P&gt;&lt;EM&gt;Traceback (most recent call last):&lt;/EM&gt;&lt;/P&gt;
  &lt;P&gt;&lt;EM&gt; File "test.py", line 55, in &amp;lt;module&amp;gt;&lt;/EM&gt;&lt;/P&gt;
  &lt;P&gt;&lt;EM&gt; conn = sybpydb.connect(user='sa', password='')&lt;/EM&gt;&lt;/P&gt;
  &lt;P&gt;&lt;EM&gt;sybpydb.ProgrammingError: ('Login failed.\n', 4002)&lt;/EM&gt;&lt;/P&gt;
  &lt;P&gt;If I put the good password , it seems that the connection is done but I have the following error message :&lt;/P&gt;
  &lt;P&gt; &lt;EM&gt;python test.py&lt;BR /&gt;&lt;/EM&gt; &lt;/P&gt;
  &lt;P&gt;&lt;EM&gt;Traceback (most recent call last):&lt;/EM&gt;&lt;/P&gt;
  &lt;P&gt;&lt;EM&gt; File "test_HBC.py", line 55, in &amp;lt;module&amp;gt;&lt;/EM&gt;&lt;/P&gt;
  &lt;P&gt;&lt;EM&gt; conn = sybpydb.connect(dsn="user=sa;password=XXXXXXX")&lt;/EM&gt;&lt;/P&gt;
  &lt;P&gt;&lt;STRONG&gt;&lt;EM&gt;sybpydb.ProgrammingError: ('ct_con_props(): user api layer: external error: An illegal value of 9234 given for parameter property.', 5)&lt;/EM&gt;&lt;/STRONG&gt;&lt;/P&gt;
  &lt;P&gt;MyASE version is &lt;STRONG&gt; Adaptive Server Enterprise/16.0 SP03 PL10/EBF 29808 SMP&lt;/STRONG&gt;/P/x86_64/SLES 11.1/ase160sp03pl10x/3880/64-bit/FBO/Wed May 12 20:32:12 2021 &lt;/P&gt;
  &lt;P&gt;I tried to use all sybpydb.py installed on my server, the latest I have is in $SYBASE /OCS-16_0/python/python34_64r/lib&lt;/P&gt;
  &lt;P&gt;My PYTHONPATH is (I also tried with other python3x_64r versions)&lt;/P&gt;
  &lt;P&gt;&lt;STRONG&gt; setenv PYTHONPATH ${SYBASE}/${SYBASE_OCS}/python/python37_64r/lib:${SYBASE}/${SYBASE_OCS}/lib&lt;/STRONG&gt;&lt;/P&gt;
  &lt;P&gt;My PYthon version is :&lt;/P&gt;
  &lt;P&gt;&lt;STRONG&gt;Python 3.8.8 (default, Aug 11 2021, 06:52:42)&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;
  &lt;P&gt;&lt;STRONG&gt;[GCC 8.5.0 20210514 (Red Hat 8.5.0-3)] on linux&lt;/STRONG&gt;&lt;/P&gt;
  &lt;P&gt;Python 3.8 is not supported ? I should install python 3.7 instead ?thank you for your helpRegardsHervé&lt;/P&gt;</description>
      <pubDate>Thu, 17 Feb 2022 08:32:49 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/unable-to-connect-to-ase-16-with-python-3-8-on-rhel8/qaq-p/12518604</guid>
      <dc:creator>herve_bauchon</dc:creator>
      <dc:date>2022-02-17T08:32:49Z</dc:date>
    </item>
    <item>
      <title>Re: Unable to connect to ASE 16 with python 3.8 on RHEL8</title>
      <link>https://community.sap.com/t5/technology-q-a/unable-to-connect-to-ase-16-with-python-3-8-on-rhel8/qaa-p/12518605#M4692130</link>
      <description>&lt;P&gt;Hi Bauchon. I added the ASE tag to make your question visible in the relevant community. Regards. -Witalij&lt;/P&gt;</description>
      <pubDate>Thu, 17 Feb 2022 13:52:09 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/unable-to-connect-to-ase-16-with-python-3-8-on-rhel8/qaa-p/12518605#M4692130</guid>
      <dc:creator>Vitaliy-R</dc:creator>
      <dc:date>2022-02-17T13:52:09Z</dc:date>
    </item>
    <item>
      <title>Re: Unable to connect to ASE 16 with python 3.8 on RHEL8</title>
      <link>https://community.sap.com/t5/technology-q-a/unable-to-connect-to-ase-16-with-python-3-8-on-rhel8/qaa-p/12518606#M4692131</link>
      <description>&lt;P&gt;Currently Python 3.8 is not supported.&lt;/P&gt;&lt;P&gt;Current version of python we have built modules for:&lt;BR /&gt;~/ase1641$ cd OCS-16_0/python&lt;/P&gt;&lt;P&gt;~/ase1641/OCS-16_0/python$ ls&lt;/P&gt;&lt;P&gt;python26_64r  python26ucs4_64r  python31_64r  python34_64r  python37_64r&lt;/P&gt;&lt;P&gt;python26_64r  = Python 2.6&lt;/P&gt;&lt;P&gt;python26ucs4_64r  = Python 2.6&lt;/P&gt;&lt;P&gt;python31_64r  = Python 3.1&lt;/P&gt;&lt;P&gt;python34_64r  = Python 3.4&lt;/P&gt;&lt;P&gt;python37_64r = Python 3.7&lt;/P&gt;&lt;P&gt;We are currently trying to release a new python module for newer versions of python.&lt;/P&gt;</description>
      <pubDate>Wed, 09 Mar 2022 16:43:39 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/unable-to-connect-to-ase-16-with-python-3-8-on-rhel8/qaa-p/12518606#M4692131</guid>
      <dc:creator>ryan_hansen</dc:creator>
      <dc:date>2022-03-09T16:43:39Z</dc:date>
    </item>
    <item>
      <title>Re: Unable to connect to ASE 16 with python 3.8 on RHEL8</title>
      <link>https://community.sap.com/t5/technology-q-a/unable-to-connect-to-ase-16-with-python-3-8-on-rhel8/qaa-p/12518607#M4692132</link>
      <description>&lt;P&gt;Thank you for the confirmation.&lt;/P&gt;&lt;P&gt;however, we managed to make this connection work by removing the libraries used by our client application (Kondor) from the LD_LIBRARY_PATH used by our python program.&lt;/P&gt;</description>
      <pubDate>Thu, 10 Mar 2022 09:55:37 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/unable-to-connect-to-ase-16-with-python-3-8-on-rhel8/qaa-p/12518607#M4692132</guid>
      <dc:creator>herve_bauchon</dc:creator>
      <dc:date>2022-03-10T09:55:37Z</dc:date>
    </item>
    <item>
      <title>Re: Unable to connect to ASE 16 with python 3.8 on RHEL8</title>
      <link>https://community.sap.com/t5/technology-q-a/unable-to-connect-to-ase-16-with-python-3-8-on-rhel8/qaa-p/12518608#M4692133</link>
      <description>&lt;P&gt;Hi,&lt;BR /&gt;&lt;BR /&gt;Please note that Python 3.9 is now supported in ASE/SDK 16.0 SP04 PL02.&lt;/P&gt;&lt;P&gt;Hope this helps,&lt;BR /&gt;Ryan&lt;/P&gt;</description>
      <pubDate>Fri, 24 Jun 2022 18:53:20 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/unable-to-connect-to-ase-16-with-python-3-8-on-rhel8/qaa-p/12518608#M4692133</guid>
      <dc:creator>ryan_hansen</dc:creator>
      <dc:date>2022-06-24T18:53:20Z</dc:date>
    </item>
    <item>
      <title>Re: Unable to connect to ASE 16 with python 3.8 on RHEL8</title>
      <link>https://community.sap.com/t5/technology-q-a/unable-to-connect-to-ase-16-with-python-3-8-on-rhel8/qaa-p/13709099#M4830285</link>
      <description>&lt;P&gt;Hey, &lt;a href="https://community.sap.com/t5/user/viewprofilepage/user-id/207550"&gt;@ryan_hansen&lt;/a&gt;, can you please confirm that do other python version like 3.9 and above are supported or not?&lt;/P&gt;</description>
      <pubDate>Wed, 22 May 2024 10:19:08 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/unable-to-connect-to-ase-16-with-python-3-8-on-rhel8/qaa-p/13709099#M4830285</guid>
      <dc:creator>HarshPatel1</dc:creator>
      <dc:date>2024-05-22T10:19:08Z</dc:date>
    </item>
  </channel>
</rss>

