Closed salcio closed 3 years ago
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.
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?
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.
Ok thanks!
From: salcio notifications@github.com Sent: Tuesday, January 19, 2021 12:40:08 PM To: danecreekphotography/node-deepstackai-trigger node-deepstackai-trigger@noreply.github.com Cc: Neil Enns info@danecreekphotography.com; State change state_change@noreply.github.com Subject: Re: [danecreekphotography/node-deepstackai-trigger] Glob pattern in trigger.watchPattern doesn't work... (#412)
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.
— You are receiving this because you modified the open/close state. Reply to this email directly, view it on GitHubhttps://github.com/danecreekphotography/node-deepstackai-trigger/issues/412#issuecomment-763125747, or unsubscribehttps://github.com/notifications/unsubscribe-auth/ACIVHFQC5XMIUJ7RHI7QTRLS2XU2RANCNFSM4V5Q52LQ.
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
Additional context