2567775 - sybpydb.ProgrammingError in Python application with bulk copy - SAP SDK | SAP Knowledge Base Article

SAP Knowledge Base Article - Preview

2567775 - sybpydb.ProgrammingError in Python application with bulk copy - SAP SDK

Symptom

  • Python application using bcp bulk libraries raises error when selecting sysalternates table.
  • Python Error:

Traceback (most recent call last):
File "customer.py", line 31, in <module>
blk.done()
sybpydb.ProgrammingError: ('STATE EVENT: blk layer: user error: Cannot call API blk_done(CS_BLK_ALL) from this state: data ready to send', 1)


Read more...

Environment

  • SAP Adaptive Server Enterprise (ASE) Software Developer Kit (SDK) 16.0 SP03 PL00 and higher
  • SAP Adaptive Server Enterprise (ASE) 16.0
  • Adaptive Server Enterprise extension module for Python
  • Python 3.4
  • Linux on x86_64 64 bit

Product

SAP Adaptive Server Enterprise SDK 16.0

Keywords

OCS, Developer's, Adaptive Server Enterprise SDK, Developers, py, sybpydb, CR#812202, CR812202, 812202 , KBA , BC-SYB-SDK , SDK , Bug Filed

About this page

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

Search for additional results

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