SAP Knowledge Base Article - Preview

2093690 - Extension Module for Python doesn't work with UCS4 - SDK for SAP ASE

Symptom

  • When ASE extension module for Python is executed in the Python environment installed as UCS4, it reports an import error at sybpydb.
  • Error:  import sybpydb
    ImportError: /sybase/sdk/syb157/OCS-15_0/python/python26_64r/lib/sybpydb.so: undefined symbol: PyUnicodeUCS2_Decode


Read more...

Environment

  • Red Hat Enterprise Linux 6/ Red Hat Enterprise Linux 7
  • SAP Adaptive Server Enterprise 15.7
  • SAP Adaptive Server Enterprise 16.0
  • SDK for SAP ASE 15.7
  • SDK for SAP ASE 16.0
  • ASE 15.7/16.0 Extension Module for Python sybpydb.so
  • Specific to Python 2.6.6

Product

SAP Adaptive Server Enterprise 15.7 ; SAP Adaptive Server Enterprise 16.0 ; SAP Adaptive Server Enterprise SDK 16.0 ; Sybase SDK 15.7 ; Sybase Software Developer Kit 15.7

Keywords

Software Developer Kit, Python 2.6, 2.7, 3.1, , KBA , BC-SYB-SDK , SDK , BC-SYB-ASE , Sybase ASE Database Platform (non Business Suite) , Bug Filed

About this page

This is a preview of a SAP Knowledge Base Article. Click more to access the full version on SAP for Me (Login required).

Search for additional results

Visit SAP Support Portal's SAP Notes and KBA Search.