You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
First off, thanks for making this awesome script public. I started writing something to do this, but my scripting skills are inadequate to do as nice a job as what you've done. This may not be an "issue" but possibly a misunderstanding on how the app should behave.
I built on Fedora26 x86_64, Python 3.6.2, Flask 0.12.2, mongod version 3.4.6. I'm able to add a directory, do the "find", and generate the Flask web page with legit duplicates. When I click the DELETE button on a file my terminal under which Python is running displays
"127.0.0.1 - - [16/Dec/2017 12:20:18] "OPTIONS /picture/" and a valid path to the image file, but the file doesn't get moved to the defined Trash directory. I dropped a couple extra "cprint" statements in to see if I could observe what's happening. It looks to me as if the
@app.route('/picture/everything:file_name', methods=['DELETE'])
should call the "delete_picture(file_name, db) function but putting cprint statement above that call does not produce any output. I get no other output in my terminal window and I'm not finding that the script is logging information anywhere else.
I'll continue to read up on python and try to understand the flow, but I suspect I'm missing something basic or not launching it properly, or maybe my python version is not behaving as expected.
The text was updated successfully, but these errors were encountered:
First off, thanks for making this awesome script public. I started writing something to do this, but my scripting skills are inadequate to do as nice a job as what you've done. This may not be an "issue" but possibly a misunderstanding on how the app should behave.
I built on Fedora26 x86_64, Python 3.6.2, Flask 0.12.2, mongod version 3.4.6. I'm able to add a directory, do the "find", and generate the Flask web page with legit duplicates. When I click the DELETE button on a file my terminal under which Python is running displays
"127.0.0.1 - - [16/Dec/2017 12:20:18] "OPTIONS /picture/" and a valid path to the image file, but the file doesn't get moved to the defined Trash directory. I dropped a couple extra "cprint" statements in to see if I could observe what's happening. It looks to me as if the
@app.route('/picture/everything:file_name', methods=['DELETE'])
should call the "delete_picture(file_name, db) function but putting cprint statement above that call does not produce any output. I get no other output in my terminal window and I'm not finding that the script is logging information anywhere else.
I'll continue to read up on python and try to understand the flow, but I suspect I'm missing something basic or not launching it properly, or maybe my python version is not behaving as expected.
The text was updated successfully, but these errors were encountered: