cancel
Showing results for 
Search instead for 
Did you mean: 

hanacleaner.py doesn't work with python 3

maximino_suarez
Explorer
0 Kudos

Good morning,

After the upgrade from Python 2 to 3, the hanacleanear.py doesn't work. I receive the next error:

File "hanacleaner.py", line 235

print message

^

SyntaxError: Missing parentheses in call to 'print'. Did you mean print(message)?

Does any one have this issue? I've sent and email to christian.hansen01@sap.com (the owner of the script) but I haven't received any answer..RegardsMaxi
View Entire Topic
aprao
Participant
0 Kudos

Hi Maximino,

Rename the hanacleaner.py with hanacleaner.py.old

Download the hanacleaner.py script again from Github as given the link below

https://github.com/chriselswede/hanacleaner

Then upload it into the Hana DB server and then run Python script again.