gda-score / code

Tools for generating General Data Anonymity Scores (www.gda-score.org)
MIT License
7 stars 1 forks source link

attacks/examples/explore1.py not terminating #44

Closed yoid2000 closed 4 years ago

yoid2000 commented 4 years ago

When running attacks/examples/explore1.py, it does not terminate. The last printed message was:

ERROR: Failed to remove cache DB cacheDBs/exampleExplore2.db

I notice, however, that no such .db file exists. Rather, the name of the .db file is explore1.py.diffix.latest.banking.accounts.db. Maybe this is related to the error?

On the assumption that this is related to the recent upgrade of caching, will assign this to Ali ;)

frzmohammadali commented 4 years ago

fixes for both termination and "failed to remove cache DB" issues has been addressed in version 2.3.3 (current) of the "gda-score-code" package.

issue log: program termination signal handling does not work ideally at the moment but implemented to its best possible extend. (some delay should be acceptable)

"failed to remove cache DB" error was due to usage of class level variable instead of instance level variable mistakenly in the code which is now fixed.