Dragon Global Forums

Go Back   Dragon Global Forums > Other Software > DirMon Discussion

DirMon Discussion Discussion related to the DirMon application produced by Dragon Global. Questions, issues, problems, suggestions, etc. regarding Dragon Global should be posted here.

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 09-27-2006, 05:20 AM
Junior Member
 
Join Date: Sep 2006
Posts: 9
miniGranis is on a distinguished road
Default DirMon hangs and does nothing ?

Hello, I am new to dirmon so please bear with me...

I have tried to make dirmon trigger on mpg files.
For test purposes I have made a small bat file that produces a log output and creates file with the same name as the triggered mpg file but with the extension dirmon.
If a dirmon file exists with the same name as mpg file Dirmon shall not be triggered.
This works fine for most files but on a few files Dirmon hangs and does nothing. I am using DirMon2 version 0.6.1.40
Here is my ini file:
Code:
 [Global]
Polling Time = 60
Available Resources = 100
 
[Service]
Start Automatically = 0
Run as Local System = 0
Allow Interaction With Desktop = 1
Run as User = 1
User Name = administrator
User Password = ?? ? E?
 
[Job Description 1]
Name = emil
Processor = C:/tmp/do_dirmon.bat
Targets Are Paths = 0
Targets Are Extensions = 1
Command Line Options = 
Must Exist 1 = mpg
Must Exist Logic = OR
Must Exist 2 = 
Must And Or Must Not Exist Logic = AND
Must Not Exist 1 = dirmon
Must Not Exist Logic = OR
Must Not Exist 2 = 
Directory 1 = C:/tmp/dirMon
Target 1 = mpg
Resources Needed = 100
Timeout Enabled = 0
Timeout = -1
Priority Boost Due To Job Description = 0
Priority Boost Due To Age = 1
Priority Boost Due To Name = 0
Process Subdirectories = 1
Wait Until File Is Finished = 1
Wait Until File Is Idle = 1
Wait Until File Is Not Growing = 1
Wait Until File Is Not Growing Time = 10
Wait Until Drive Is Idle = 0
Wait Until Drive Is Idle Time = 2
Hide Console = 0
Blackout Enabled = 0
Blackout Start Time = 0
Blackout End Time = 0
My bat file:
Code:
Echo DirMon Triggerd on %1
del "%~dp1%~n1.dirmon"
Echo Will write to log file "%~dp1%~n1.dirmon"
Echo %time% %date% %1 >> "%~dp1%~n1.dirmon"
Echo File %1 processed by dirmon. >> "%~dp1%~n1.dirmon"
Echo End do_Dirmon >> "%~dp1%~n1.dirmon"
Files that work ok. taken from a dir command:
Code:
2006-09-25  18:21               171 2Manual Recording-2006-09-25-0.dirmon
2006-09-25  12:05       162 039 770 2Manual Recording-2006-09-25-0.mpg
2006-09-25  18:21               171 4Manual Recording-2006-09-25-0.dirmon
2006-09-25  12:05       162 039 770 4Manual Recording-2006-09-25-0.mpg
2006-09-25  18:20               169 Manual Recording-2006-09-25-0.dirmon
2006-09-25  12:05       162 039 770 Manual Recording-2006-09-25-0.mpg
2006-09-25  18:20               127 mobsync094.dirmon
2006-07-13  20:57         1 560 590 mobsync094.mpg
2006-09-25  18:19               123 port95nt.dirmon
2005-10-23  00:00         1 648 426 port95nt.mpg
2006-09-25  18:19               125 smartie52.dirmon
2005-10-27  00:00         1 589 020 smartie52.mpg
2006-09-24  19:16     1 924 257 754 Sportspegeln S?ndag-2006-09-24-0.txt
2006-09-25  17:19               125 tiff-test.dirmon
2005-03-25  00:00                59 tiff-test.mpg
2006-09-25  18:20               129 WINOT1to2UP.dirmon
2006-07-12  19:34        11 392 000 WINOT1to2UP.mpg
File that doesnt work:
Code:
 2005-05-29  00:00     1 310 584 794 Vetenskap - Barndomens myster-2005-05-29-0.mpg
Note that the filesize on "Vetenskap - Barndomens myster-2005-05-29-0.mpg" is alot bigger then on the other files.

This is a screenshot from DirMon2:



I can dig up other files as well that doesnt get processed as this tend to happen a number of my files.

Any idea on why the file "Vetenskap - Barndomens myster-2005-05-29-0.mpg" doesnt get processed ?
Reply With Quote
  #2 (permalink)  
Old 09-27-2006, 11:29 AM
Jere_Jones's Avatar
Administrator
 
Join Date: Apr 2008
Posts: 1,991
Jere_Jones has disabled reputation
Default

I may have a solution to this. I'll try to get an update out tomorrow.

Jere
__________________
DEATH TO ALL COMMERCIALS
Latest Stable: ShowAnalyzer 1.0.58 - 31 Jan 2010
Latest: DirMon2 Beta 0.6.4 - 8 May 2008
Reply With Quote
  #3 (permalink)  
Old 09-28-2006, 03:20 AM
Junior Member
 
Join Date: Sep 2006
Posts: 9
miniGranis is on a distinguished road
Default

Quote:
Originally Posted by Jere_Jones
I may have a solution to this. I'll try to get an update out tomorrow.

Jere
Sweet, thanks !

How do I know when the update is ready ? The DL page only states version 0.6.1 and I guess that is the same as the one I used 0.6.1.40
Reply With Quote
  #4 (permalink)  
Old 10-01-2006, 02:22 PM
Junior Member
 
Join Date: Sep 2006
Posts: 9
miniGranis is on a distinguished road
Default

Any news on the new version ?
Reply With Quote
  #5 (permalink)  
Old 10-04-2006, 12:27 PM
Junior Member
 
Join Date: Sep 2006
Posts: 9
miniGranis is on a distinguished road
Default Tested version 0.6.2

Tested the new 0.6.2 version and allthough the file now doesnt hang the que the file doesnt get processed. Ie I get no output from my bat file.

Any ideas ?
Reply With Quote
  #6 (permalink)  
Old 10-04-2006, 01:07 PM
Jere_Jones's Avatar
Administrator
 
Join Date: Apr 2008
Posts: 1,991
Jere_Jones has disabled reputation
Default

Anything interesting in the activity log?

Jere
__________________
DEATH TO ALL COMMERCIALS
Latest Stable: ShowAnalyzer 1.0.58 - 31 Jan 2010
Latest: DirMon2 Beta 0.6.4 - 8 May 2008
Reply With Quote
  #7 (permalink)  
Old 10-04-2006, 01:35 PM
Junior Member
 
Join Date: Sep 2006
Posts: 9
miniGranis is on a distinguished road
Default

Not really, according to me that is...

Code:
2006-Oct-04 16:03:10 - Processor done due to event.
2006-Oct-04 16:03:10 - Finished: "emil" on "C:/tmp/dirMon/mobsync094.mpg"
2006-Oct-04 16:03:20 - Starting: "emil" on "C:/tmp/dirMon/Vetenskap - Barndomens myster-2005-05-29-0.mpg"
2006-Oct-04 16:03:20 - Finished: "emil" on "C:/tmp/dirMon/Vetenskap - Barndomens myster-2005-05-29-0.mpg"
2006-Oct-04 16:03:20 - Starting: "emil" on "C:/tmp/dirMon/Manual Recording-2006-09-25-0.mpg"
2006-Oct-04 16:03:30 - Processor done due to event.
2006-Oct-04 16:03:30 - Finished: "emil" on "C:/tmp/dirMon/Manual Recording-2006-09-25-0.mpg"
2006-Oct-04 16:03:40 - Starting: "emil" on "C:/tmp/dirMon/4Manual Recording-2006-09-25-0.mpg"
2006-Oct-04 16:03:50 - Processor done due to event.
2006-Oct-04 16:03:50 - Finished: "emil" on "C:/tmp/dirMon/4Manual Recording-2006-09-25-0.mpg"
2006-Oct-04 16:04:00 - Starting: "emil" on "C:/tmp/dirMon/2Manual Recording-2006-09-25-0.mpg"
2006-Oct-04 16:04:10 - Processor done due to event.
2006-Oct-04 16:04:10 - Finished: "emil" on "C:/tmp/dirMon/2Manual Recording-2006-09-25-0.mpg"
2006-Oct-04 16:04:20 - Starting: "emil" on "C:/tmp/dirMon/Vetenskap - Barndomens myster-2005-05-29-0.mpg"
2006-Oct-04 16:04:20 - Finished: "emil" on "C:/tmp/dirMon/Vetenskap - Barndomens myster-2005-05-29-0.mpg"
2006-Oct-04 16:05:20 - Starting: "emil" on "C:/tmp/dirMon/Vetenskap - Barndomens myster-2005-05-29-0.mpg"
2006-Oct-04 16:05:20 - Finished: "emil" on "C:/tmp/dirMon/Vetenskap - Barndomens myster-2005-05-29-0.mpg"
2006-Oct-04 16:06:20 - Starting: "emil" on "C:/tmp/dirMon/Vetenskap - Barndomens myster-2005-05-29-0.mpg"
2006-Oct-04 16:06:20 - Finished: "emil" on "C:/tmp/dirMon/Vetenskap - Barndomens myster-2005-05-29-0.mpg"
2006-Oct-04 16:07:20 - Starting: "emil" on "C:/tmp/dirMon/Vetenskap - Barndomens myster-2005-05-29-0.mpg"
2006-Oct-04 16:07:20 - Finished: "emil" on "C:/tmp/dirMon/Vetenskap - Barndomens myster-2005-05-29-0.mpg"
2006-Oct-04 16:22:20 - Starting: "emil" on "C:/tmp/dirMon/Vetenskap - Barndomens myster-2005-05-29-0.mpg"
2006-Oct-04 16:22:20 - Finished: "emil" on "C:/tmp/dirMon/Vetenskap - Barndomens myster-2005-05-29-0.mpg"
2006-Oct-04 16:23:20 - Starting: "emil" on "C:/tmp/dirMon/Vetenskap - Barndomens myster-2005-05-29-0.mpg"
2006-Oct-04 16:23:20 - Finished: "emil" on "C:/tmp/dirMon/Vetenskap - Barndomens myster-2005-05-29-0.mpg"
2006-Oct-04 16:24:20 - Starting: "emil" on "C:/tmp/dirMon/Vetenskap - Barndomens myster-2005-05-29-0.mpg"
2006-Oct-04 16:24:20 - Finished: "emil" on "C:/tmp/dirMon/Vetenskap - Barndomens myster-2005-05-29-0.mpg"
2006-Oct-04 16:25:20 - Starting: "emil" on "C:/tmp/dirMon/Vetenskap - Barndomens myster-2005-05-29-0.mpg"
2006-Oct-04 16:25:20 - Finished: "emil" on "C:/tmp/dirMon/Vetenskap - Barndomens myster-2005-05-29-0.mpg"
2006-Oct-04 16:26:20 - Starting: "emil" on "C:/tmp/dirMon/Vetenskap - Barndomens myster-2005-05-29-0.mpg"
2006-Oct-04 16:26:20 - Finished: "emil" on "C:/tmp/dirMon/Vetenskap - Barndomens myster-2005-05-29-0.mpg"
2006-Oct-04 16:27:20 - Starting: "emil" on "C:/tmp/dirMon/Vetenskap - Barndomens myster-2005-05-29-0.mpg"
2006-Oct-04 16:27:20 - Finished: "emil" on "C:/tmp/dirMon/Vetenskap - Barndomens myster-2005-05-29-0.mpg"
2006-Oct-04 16:28:20 - Starting: "emil" on "C:/tmp/dirMon/Vetenskap - Barndomens myster-2005-05-29-0.mpg"
2006-Oct-04 16:28:20 - Finished: "emil" on "C:/tmp/dirMon/Vetenskap - Barndomens myster-2005-05-29-0.mpg"
2006-Oct-04 16:29:20 - Starting: "emil" on "C:/tmp/dirMon/Vetenskap - Barndomens myster-2005-05-29-0.mpg"
2006-Oct-04 16:29:20 - Finished: "emil" on "C:/tmp/dirMon/Vetenskap - Barndomens myster-2005-05-29-0.mpg"
2006-Oct-04 16:30:20 - Starting: "emil" on "C:/tmp/dirMon/Vetenskap - Barndomens myster-2005-05-29-0.mpg"
2006-Oct-04 16:30:20 - Finished: "emil" on "C:/tmp/dirMon/Vetenskap - Barndomens myster-2005-05-29-0.mpg"
2006-Oct-04 16:31:20 - Starting: "emil" on "C:/tmp/dirMon/Vetenskap - Barndomens myster-2005-05-29-0.mpg"
2006-Oct-04 16:31:20 - Finished: "emil" on "C:/tmp/dirMon/Vetenskap - Barndomens myster-2005-05-29-0.mpg"
2006-Oct-04 16:32:20 - Starting: "emil" on "C:/tmp/dirMon/Vetenskap - Barndomens myster-2005-05-29-0.mpg"
2006-Oct-04 16:32:20 - Finished: "emil" on "C:/tmp/dirMon/Vetenskap - Barndomens myster-2005-05-29-0.mpg"
2006-Oct-04 16:33:20 - Starting: "emil" on "C:/tmp/dirMon/Vetenskap - Barndomens myster-2005-05-29-0.mpg"
2006-Oct-04 16:33:20 - Finished: "emil" on "C:/tmp/dirMon/Vetenskap - Barndomens myster-2005-05-29-0.mpg"
2006-Oct-04 16:34:20 - Starting: "emil" on "C:/tmp/dirMon/Vetenskap - Barndomens myster-2005-05-29-0.mpg"
2006-Oct-04 16:34:20 - Finished: "emil" on "C:/tmp/dirMon/Vetenskap - Barndomens myster-2005-05-29-0.mpg"
2006-Oct-04 16:35:20 - Starting: "emil" on "C:/tmp/dirMon/Vetenskap - Barndomens myster-2005-05-29-0.mpg"
2006-Oct-04 16:35:20 - Finished: "emil" on "C:/tmp/dirMon/Vetenskap - Barndomens myster-2005-05-29-0.mpg"
2006-Oct-04 16:36:20 - Starting: "emil" on "C:/tmp/dirMon/Vetenskap - Barndomens myster-2005-05-29-0.mpg"
2006-Oct-04 16:36:20 - Finished: "emil" on "C:/tmp/dirMon/Vetenskap - Barndomens myster-2005-05-29-0.mpg"
2006-Oct-04 16:37:21 - Starting: "emil" on "C:/tmp/dirMon/Vetenskap - barndomens myster-2006-08-03-0.mpg"
2006-Oct-04 16:37:21 - Finished: "emil" on "C:/tmp/dirMon/Vetenskap - barndomens myster-2006-08-03-0.mpg"
2006-Oct-04 16:38:11 - Starting: "emil" on "C:/tmp/dirMon/Vetenskap - barndomens myster-2006-08-03-0.mpg"
2006-Oct-04 16:38:11 - Finished: "emil" on "C:/tmp/dirMon/Vetenskap - barndomens myster-2006-08-03-0.mpg"
2006-Oct-04 16:39:11 - Starting: "emil" on "C:/tmp/dirMon/Vetenskap - barndomens myster-2006-08-03-0.mpg"
2006-Oct-04 16:39:11 - Finished: "emil" on "C:/tmp/dirMon/Vetenskap - barndomens myster-2006-08-03-0.mpg"
2006-Oct-04 16:40:11 - Starting: "emil" on "C:/tmp/dirMon/Vetenskap - barndomens myster-2006-08-03-0.mpg"
2006-Oct-04 16:40:12 - Finished: "emil" on "C:/tmp/dirMon/Vetenskap - barndomens myster-2006-08-03-0.mpg"
2006-Oct-04 16:41:11 - Starting: "emil" on "C:/tmp/dirMon/Vetenskap - barndomens myster-2006-08-03-0.mpg"
2006-Oct-04 16:41:11 - Finished: "emil" on "C:/tmp/dirMon/Vetenskap - barndomens myster-2006-08-03-0.mpg"
2006-Oct-04 16:42:11 - Starting: "emil" on "C:/tmp/dirMon/Vetenskap - barndomens myster-2006-08-03-0.mpg"
2006-Oct-04 16:42:12 - Finished: "emil" on "C:/tmp/dirMon/Vetenskap - barndomens myster-2006-08-03-0.mpg"
2006-Oct-04 16:43:11 - Starting: "emil" on "C:/tmp/dirMon/Vetenskap - barndomens myster-2006-08-03-0.mpg"
2006-Oct-04 16:43:12 - Finished: "emil" on "C:/tmp/dirMon/Vetenskap - barndomens myster-2006-08-03-0.mpg"
2006-Oct-04 16:44:11 - Starting: "emil" on "C:/tmp/dirMon/Vetenskap - barndomens myster-2006-08-03-0.mpg"
2006-Oct-04 16:44:12 - Finished: "emil" on "C:/tmp/dirMon/Vetenskap - barndomens myster-2006-08-03-0.mpg"
2006-Oct-04 16:45:11 - Starting: "emil" on "C:/tmp/dirMon/Vetenskap - barndomens myster-2006-08-03-0.mpg"
2006-Oct-04 16:45:12 - Finished: "emil" on "C:/tmp/dirMon/Vetenskap - barndomens myster-2006-08-03-0.mpg"
2006-Oct-04 16:46:11 - Starting: "emil" on "C:/tmp/dirMon/Vetenskap - barndomens myster-2006-08-03-0.mpg"
2006-Oct-04 16:46:12 - Finished: "emil" on "C:/tmp/dirMon/Vetenskap - barndomens myster-2006-08-03-0.mpg"
2006-Oct-04 16:47:11 - Starting: "emil" on "C:/tmp/dirMon/Vetenskap - barndomens myster-2006-08-03-0.mpg"
2006-Oct-04 16:47:12 - Finished: "emil" on "C:/tmp/dirMon/Vetenskap - barndomens myster-2006-08-03-0.mpg"
2006-Oct-04 16:48:11 - Starting: "emil" on "C:/tmp/dirMon/Vetenskap - barndomens myster-2006-08-03-0.mpg"
2006-Oct-04 16:48:12 - Finished: "emil" on "C:/tmp/dirMon/Vetenskap - barndomens myster-2006-08-03-0.mpg"
2006-Oct-04 16:49:11 - Starting: "emil" on "C:/tmp/dirMon/Vetenskap - barndomens myster-2006-08-03-0.mpg"
2006-Oct-04 16:49:12 - Finished: "emil" on "C:/tmp/dirMon/Vetenskap - barndomens myster-2006-08-03-0.mpg"
2006-Oct-04 16:50:11 - Starting: "emil" on "C:/tmp/dirMon/Vetenskap - barndomens myster-2006-08-03-0.mpg"
2006-Oct-04 16:50:12 - Finished: "emil" on "C:/tmp/dirMon/Vetenskap - barndomens myster-2006-08-03-0.mpg"
2006-Oct-04 16:51:11 - Starting: "emil" on "C:/tmp/dirMon/Vetenskap - barndomens myster-2006-08-03-0.mpg"
2006-Oct-04 16:51:11 - Finished: "emil" on "C:/tmp/dirMon/Vetenskap - barndomens myster-2006-08-03-0.mpg"
2006-Oct-04 16:52:11 - Starting: "emil" on "C:/tmp/dirMon/Vetenskap - barndomens myster-2006-08-03-0.mpg"
2006-Oct-04 16:52:11 - Finished: "emil" on "C:/tmp/dirMon/Vetenskap - barndomens myster-2006-08-03-0.mpg"
2006-Oct-04 16:53:11 - Starting: "emil" on "C:/tmp/dirMon/Vetenskap - barndomens myster-2006-08-03-0.mpg"
And so on...
Reply With Quote
  #8 (permalink)  
Old 10-04-2006, 05:07 PM
Junior Member
 
Join Date: Sep 2006
Posts: 9
miniGranis is on a distinguished road
Default

I have done some more testing and I can't figure out whats going on...
I have tried to rename certains files to "*.mpg" in different pattern to see if I can "trick" DirMon2 to process the file correctly which I cant...
Can it have something to do with filesize ?
If I name smaller files to the same name as the one that fails in my example above DirMon2 works just fine.
Why is that ? How can the filesize matter ? Bigger files works ok as well (I have only tried a few.)

Also a bug in the 0.6.2 version: I cant get DirMon2 to display the console window. DirMon2.ini has the Hide Console = 0 setting but it doesnt show any window.
Reply With Quote
  #9 (permalink)  
Old 10-04-2006, 05:41 PM
Junior Member
 
Join Date: Sep 2006
Posts: 9
miniGranis is on a distinguished road
Default

An update:
This is the content of my directory after beeing processed by DirMon2.
Code:
2006-10-04  23:37               115 emil.dirmon
2006-10-04  23:28     1 307 011 118 emil.mpg
2006-08-03  22:01     1 307 011 034 orvar.mpg
2005-05-29  23:21     1 310 584 794 sune.mpg
2006-10-04  23:04               157 Vetenskap - barndomens2.dirmon
2006-09-19  07:47               349 Vetenskap - barndomens2.mpg
As you can see the file emil.mpg got processd ok by checking that the emil.dirmon file exist.
The other files orvar.mpg and sune.mpg doesnt get processed.
The small file Vetenskap - barndomens2.mpg also works ok.
Why does the file emil.mpg get process when orvar.mpg and sune.mpg doesnt, the filesize is as you can see very similar.
Reply With Quote
  #10 (permalink)  
Old 10-04-2006, 06:17 PM
Jere_Jones's Avatar
Administrator
 
Join Date: Apr 2008
Posts: 1,991
Jere_Jones has disabled reputation
Default

Try unchecking "Wait until file is finished" and "Wait until file is idle".

Jere
__________________
DEATH TO ALL COMMERCIALS
Latest Stable: ShowAnalyzer 1.0.58 - 31 Jan 2010
Latest: DirMon2 Beta 0.6.4 - 8 May 2008
Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Running SA in Normal Mode and it hangs at 99% actigner ShowAnalyzer Beta 4 10-01-2006 08:58 AM
SA Hangs andlju ShowAnalyzer Beta 5 09-17-2005 11:29 AM


All times are GMT -4. The time now is 07:24 PM.


Powered by vBulletin® Version 3.7.0
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.1.0