SAP Knowledge Base Article - Preview

2288354 - Python: undefined symbol: PyUnicodeUCS2_Decode - SDK for SAP ASE

Symptom

The following error happens with Python 3.3 and Python 3.1 of the sybpydb.so file:

File "test.py", line 55, in <module>
    import sybpydb
ImportError: $SYBASE/$SYBASE_OCS/python/python31_64r/lib/sybpydb.so: undefined symbol: PyUnicodeUCS2_Decode


Read more...

Environment

  • SAP Sybase Software Developers Kit (SDK) 15.7
  • SAP Software Developers Kit (SDK) for Adaptive Server Enterprise (ASE) 16.0
  • Adaptive Server Enterprise extension module for Python
  • Python

Product

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

Keywords

CR788302 , CR#788302 , 788302, Unicode, py , KBA , BC-SYB-SDK , SDK , BC-SYB-ASE , Sybase ASE Database Platform (non Business Suite) , Product Enhancement

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.