Symptom
During the execution from script generateSql.py one of the following errors occurred:
python generateSql.py
Traceback (most recent call last):
File "generateSql.py", line 1, in <module>
import argparse
File "/hana/shared/DBD/exe/linuxx86_64/HDB_1.00.122.04.1478575636_3308086/Python/lib/python2.7/argparse.py", line 88, in <module>
import re as _re
File "/hana/shared/DBD/exe/linuxx86_64/HDB_1.00.122.04.1478575636_3308086/Python/lib/python2.7/re.py", line 105, in <module>
import sre_compile
File "/hana/shared/DBD/exe/linuxx86_64/HDB_1.00.122.04.1478575636_3308086/Python/lib/python2.7/sre_compile.py", line 62
for t in _equivalences for i in t}
or execution of
python generateSql.py --action generateRepoApTest
Traceback (most recent call last):
File "generateSql.py", line 1, in <module>
import argparse
File "/hana/shared/DBD/exe/linuxx86_64/HDB_1.00.122.04.1478575636_3308086/Python/lib/python2.7/argparse.py", line 88, in <module>
import re as _re
File "/hana/shared/DBD/exe/linuxx86_64/HDB_1.00.122.04.1478575636_3308086/Python/lib/python2.7/re.py", line 105, in <module>
import sre_compile
File "/hana/shared/DBD/exe/linuxx86_64/HDB_1.00.122.04.1478575636_3308086/Python/lib/python2.7/sre_compile.py", line 62
for t in _equivalences for i in t}
^
SyntaxError: invalid syntax
import argparse"> Read more...
Environment
- DB: SAP HANA
- python Revision 2.6.9
- script 'generateSql.py' from Note 2400798 - Reoccurence of Insufficient Privilege Error After Each Database Restart
Product
Keywords
KBA , HAN-DB , SAP HANA Database , HAN-DB-SEC , SAP HANA Security & User Management , 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.