WatchDirectory Forum
http://www.watchdirectory.net/cgi-bin/yabb25/YaBB.pl
watchDirectory forums >> Bug Reports >> missed events
http://www.watchdirectory.net/cgi-bin/yabb25/YaBB.pl?num=1312238160

Message started by brussel13 on Aug 2nd, 2011 at 12:36am

Title: missed events
Post by brussel13 on Aug 2nd, 2011 at 12:36am
I have just started using Windows 7.  Upgraded to the most recent WD 4.6.6
Previously with XP everything worked great.  I'm using WD to keep our data backup up to a central repository as soon as the files are acquired from the data acquisition program.

With Win7 it just does not work.  I can manually create a file in the watched directory and it is copied as I would expect.  But when the camera program creates a file in exactly the same directory, the file is ignored.

The monitoring method seems to have no impact.  Polling does not work.
Even just setting the task to copy to a local directory does not work when the camera program writes the file versus a manual creation of the file.


Title: Re: missed events
Post by Gert on Aug 2nd, 2011 at 7:40am
Hello Brussel,

That sounds strange, my first thought would have been to change the monitoring method - but you said you already tried that.

Can you please "Enable Debug" as described in this blog:
http://blog-en.gdpsoftware.com/2010/06/send-task-backup-to-support.html
Set the monitoring method to "Polling" (just for this test) and the "how to run" to "start manually" (not as a Windows Service).

Then create a file yourself (a file that is detected by WD) and after that let your camera program create a file (not detected by WD). Then stop the task and send me a backup of the task to inspect.
Please let me know the names of the 2 files (the one that is detected and the one that isn't detected).

Gert

Title: Re: missed events
Post by brussel13 on Sep 23rd, 2011 at 6:52pm
Hi,

I installed the latest version mentioned in the forum.
Watchdir still misses files created by the camera software, but still works fine with "hand made" files.
Any thoughts?

Ross

Title: Re: missed events
Post by Dirk on Sep 23rd, 2011 at 7:12pm
Ross,

Gert is on a trip with low internet connection, so I try to help you.
The "hand made" files hav the same extension like the camera files?
Can you try to copy a camera file to another location, disconnect the camera and then move/copy that file to yoour watched folder. Is the file detected now?
Have you set up any filters?

Title: Re: missed events
Post by brussel13 on Sep 29th, 2011 at 2:17am
Good news.  Watch Directory actually worked, with the camera software and everything!  The caveat is that I still need to be logged in as the local admin user.  We are forced to operate under and restricted user that authenticates with a domain, whatever that means.  Watch Directory fails to do anything when logged in as this limited power user.
The message displayed in the console window is:
***ERROR*** TTC: Error Code: 0
Description: The operation completed successfully.
. Caught unhandled exception, current event ignored.

Again, the file is not copied, either a hand created text file or a file copied to the watched directory etc...

I'm certain the limited user has write permissions on both directories as I can manually create files in either.

Title: Re: missed events
Post by Dirk on Sep 29th, 2011 at 8:14am
Please check the the permisions of the folder the camera software is writing to and also check the permission of one of the files the software write.
How is the task started (manual, as windows service, in autostart folder)?
Please tell me the full path the camera write to and the path of your task settings (press CTRL+9 in control center to see that folder). Check the permission there too. You (the limited user) should have full access there.

WatchDirectory Forum » Powered by YaBB 2.5.2!
YaBB Forum Software © 2000-2017. All Rights Reserved.