SAP Knowledge Base Article - Preview

3230149 - recoverSys.py fails after migration to Python 3

Symptom

You  want to recover the database using "recoverSys.py" after the update to HDB 2.00.059.03 and the migration to Python 3

[140412372987712, 0.089] Traceback (most recent call last):
[140412372987712, 0.090]   File "/hana/shared/<SID>/exe/linuxx86_64/HDB_2.00.059.03.../python_support/testbase.py", line 680, in run
[140412372987712, 0.090]     ret = self.runHandler(*rest, **self.extractInheritedArgs(keys))
[140412372987712, 0.090]   File "/usr/sap/<SID> /HDB00/exe/python_support/recoverSys.py", line 160, in runHandler
[140412372987712, 0.090]     self.__readLicense(licenseFile)
[140412372987712, 0.090]   File "/usr/sap/<SID> /HDB00/exe/python_support/recoverSys.py", line 521, in __readLicense
[140412372987712, 0.090]     self.license = urllib.quote(licFile.read())
[140412372987712, 0.090] AttributeError: module 'urllib' has no attribute 'quote'


Read more...

Environment

HANA 2.0

  • All SPS <= SPS04
  • SPS05 Revisions <= 59.04
  • SPS06 Revisions <= 64

Product

SAP HANA, platform edition 2.0

Keywords

Migration, Transition, python 2, recovery, recover, point in time, PIT, backup , KBA , HAN-DB-BAC , SAP HANA Backup & Recovery , HAN-DB , SAP HANA Database , Problem

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.