Skip to content
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

Glob pattern in trigger.watchPattern doesn't work... #412

Closed
salcio opened this issue Jan 11, 2021 · 4 comments · Fixed by #413
Closed

Glob pattern in trigger.watchPattern doesn't work... #412

salcio opened this issue Jan 11, 2021 · 4 comments · Fixed by #413
Labels
bug Something isn't working

Comments

@salcio
Copy link
Contributor

salcio commented Jan 11, 2021

Describe the bug
When trying to use a glob pattern like '/aiinput/**/Dog*.jpg' in trigger.watchPattern exeption in verifyTriggerWatchLocation method is raised ( Unable to read contents of watch folder ${trigger.watchPattern} for trigger ${trigger.name}. Check and make sure the image folder is mounted properly. ${e})

Log entries
Unable to read contents of watch folder ${trigger.watchPattern} for trigger ${trigger.name}. Check and make sure the image folder is mounted properly. ${e}

Installation details

  • OS: Unraid
  • Docker setup UnRAID

Additional context

@salcio salcio added the bug Something isn't working label Jan 11, 2021
@salcio salcio mentioned this issue Jan 11, 2021
@neilenns
Copy link
Owner

Ahhhh good catch, fascinating. Totally forgot that glob patterns are a thing when I added that check because of the number of people specifying incorrect folder locations.

@neilenns
Copy link
Owner

I finally remembered this 😂 My bad! This is merged. Would you mind changing to the dev image in your docker config and confirming it works?

@salcio
Copy link
Contributor Author

salcio commented Jan 19, 2021

I'm not able to change that easily on my environment as I'm using image with my changes for archiving. but my image contains the changes from this issue and it works.

@neilenns
Copy link
Owner

neilenns commented Jan 19, 2021 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants