aerial_wildlife_detection icon indicating copy to clipboard operation
aerial_wildlife_detection copied to clipboard

Datatabase schema is not set

Open frafra opened this issue 4 years ago • 1 comments
trafficstars

Database schema is required by this script:

https://github.com/microsoft/aerial_wildlife_detection/blob/de150d03e267676876554f62188689cf4196f4bb/projectCreation/import_images.py#L50

Missing from:

https://github.com/microsoft/aerial_wildlife_detection/blob/de150d03e267676876554f62188689cf4196f4bb/config/settings.ini#L127-L140

I would also suggest raising an error if the parameter is mandatory but missing.

schema should be equal to the user name.

frafra avatar Apr 20 '21 12:04 frafra

Thank you very much for this issue. This is a legacy script that originates to AIDE version 1.0 where only one "project" could be supported at a time (and had to be specified in the settings.ini file, precisely through the schema keyword). With AIDE version 2.0, this keyword has become obsolete as an arbitrary number of projects can now be created.

I have resolved the issue in the latest commit (and also removed the SQL injection vulnerability mentioned in the respective issue). The same holds for the file in the latest development branch.

bkellenb avatar May 14 '21 15:05 bkellenb