-
-
Notifications
You must be signed in to change notification settings - Fork 134
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Skipped files / Silent Error / Lack of verbose run #375
Comments
Just to test I upgraded to v3.2.3 and the problem still existing there, I would be happy to try to debug it, but at this point unsure how, any pointers would be appreciated. |
Please update to the new v3, where your script runs fine:
In v3 you will also see any exceptions raised in your custom python filter. |
Please note the new and very much improved |
I tested the new exif tool filter as an option but unfortunately I couldn't find a way to reproduce the desired logic. As per the example config above I am trying to date the images , and the method for doing it so doesn't only depends on exif data, if it exist it is the primary but if it doesn't then I check the file name too and if neither of them give me a date just use file create date. I am still considering the add more options for example OCR from the bottom corner the date, as old photos had the date burnt in for a few years between full manual and digital cameras. I scan quite a few of those too. I considered to just package it up into a python library and maybe add video support too , however I am way more a script kiddie rather than a programmer and writing it just for the sake of it makes no sense , unless it is used somewhere other than my own organize config . However back to the issue , I still see skipped files and I have no means to debug the issue , any suggestions ? |
Thanks for the hints so far @tfeldmann I narrowed down the error to the exif filter, here is my test setup The folder has only a test file and a test config
The config is validated
Setting up and running the test config
running exiftool manually on the file in Q
Also tried with full path for exiftool, same result
I am on the latest release from organize and 12.40 on exiftool
And the config itself
or in debug format
|
What is the output of |
The one liner version works fine
but simple variable set does not work
and
The good news is if I export it then it works
Note, if it's just set as variable then it does not show up in So the "fix" can, a simple documentation update to replace
to
or alternatively the method for detecting the path could be more try to run in as a shell something like As far as my issue goes I actually do not use the exif data from organize at all, ( as described above the complex fallback logic ) so removing the filter fixed it for me, but also added the variable to I could not find the relevant doc string in the repo, if you point me at it happy to send a PR on that, or if you consider the detection logic, where the |
Describe the bug
There is a file in the folder which should be processed but organize skipped it without any error prompt, my presumption is that the python code execution fails somewhere, but it does it so silently that I can't see where or why, and I could not find verbose or debug flag for execution only for config checking.
Screenshots
Environment (please complete the following information):
organize --version
: 2.4.0Your config file
The text was updated successfully, but these errors were encountered: