Docloader error since 1.6 beta (not the dropbox ver yet tim)

 

17 Sep 2012 18:00:08,468  INFO DocumentLoader,194 - Starting load at: Mon Sep 17 18:00:08 EST 2012
17 Sep 2012 18:00:08,515  INFO DocumentLoader,93 - Missing act for C:\OPENVPMS\DOC_IN\22216_LILY_2012-09-14-133845.pdf
17 Sep 2012 18:00:08,515  INFO DocumentLoader,93 - Missing act for C:\OPENVPMS\DOC_IN\22216_LILY_2012-09-14-141841.pdf
17 Sep 2012 18:00:08,515  INFO DocumentLoader,93 - Missing act for C:\OPENVPMS\DOC_IN\22216_LILY_2012-09-15-153841.pdf
17 Sep 2012 18:00:08,515  INFO DocumentLoader,93 - Missing act for C:\OPENVPMS\DOC_IN\22319_OLIVE_2012-09-17-163832.pdf
17 Sep 2012 18:00:08,515  INFO DocumentLoader,93 - Missing act for C:\OPENVPMS\DOC_IN\22319_OLIVE_2012-09-17-175834.pdf
17 Sep 2012 18:00:08,515  INFO DocumentLoader,93 - Missing act for C:\OPENVPMS\DOC_IN\_FREYA_2012-08-14-083009.pdf
17 Sep 2012 18:00:08,515  INFO DocumentLoader,93 - Missing act for C:\OPENVPMS\DOC_IN\_TIGGER_2012-08-14-151002.pdf
17 Sep 2012 18:00:08,515  INFO DocumentLoader,282 - Ending load at: Mon Sep 17 18:00:08 EST 2012
17 Sep 2012 18:00:08,515  INFO DocumentLoader,288 - Loaded: 0
17 Sep 2012 18:00:08,515  INFO DocumentLoader,289 - Errors: 7
17 Sep 2012 18:00:08,515  INFO DocumentLoader,290 - Total:  7
17 Sep 2012 18:00:08,531  INFO DocumentLoader,291 - Processed 7 files in 0.00 seconds (0.00 files/sec)
Been getting that errors since upgrade...ran archload etc all went fine
everything else is as expected
command line im using is
 
C:\OPENVPMS\current-release\bin\docload.bat --byid --source C:\OPENVPMS\DOC_IN --dest C:\OPENVPMS\DOC_ARCHIVE --verbose -o --regexp "^[a-zA-Z]{0,2}(\d+).*"
 
Any advice.
 

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.

Re: Docloader error since 1.6 beta (not the dropbox ver yet tim)

That regular expression will match 22216 in the first 3 files, 22319 in the next 2, and nothing in the last 2 files.

Do the acts 22216 and 22319 exist, and if so, what is their archetype?

Re: Docloader error since 1.6 beta (not the dropbox ver yet tim)

Yep I was aware of the mismatch, I dropped those files in to check if they would give the same error

As far as the ones supposed to match

Yes there is an investigation under each patient file open.  

the Acts for 22319 

 

  22319 1

act.patientInvestigation

1.0 8d4fc8d2-0061-11e2-bcba-313438569dcb Patient Investigation   1   2012-09-17 10:49:35     IN_PROGRESS

 

  22216 2 act.patientInvestigation 1.0 d5afadee-fe04-11e1-bcba-313438569dcb Patient Investigation   1   2012-09-14 10:40:51    

IN_PROGRESS

 

extracted via mysql

under the Document_acts table

both have nulled entries

 

 

 

Re: Docloader error since 1.6 beta (not the dropbox ver yet tim)

OK. This is because of OVPMS-1206 which defaults the range of documents types to load to "act.*Document*".

You'll need to pass the --type argument to the loader:

 docload.bat --byid --source C:\OPENVPMS\DOC_IN --dest C:\OPENVPMS\DOC_ARCHIVE --verbose -o --regexp "^[a-zA-Z]{0,2}(\d+).*" --type act.patientInvestigation 

If you want to be able to load multiple patient documents types:

docload.bat --byid --source C:\OPENVPMS\DOC_IN --dest C:\OPENVPMS\DOC_ARCHIVE --verbose -o --regexp "^[a-zA-Z]{0,2}(\d+).*" --type "act.patient*"
Syndicate content