OCR Pages tool shows 0 files created

This Forum is for the use of End Users requiring help and assistance for Tracker Software's PDF-Tools.

Moderators: TrackerSupp-Daniel, Tracker Support, Vasyl-Tracker Dev Team, Chris - Tracker Supp, Sean - Tracker, Tracker Supp-Stefan

ragkag
User
Posts: 11
Joined: Sat Jun 10, 2023 1:38 pm

OCR Pages tool shows 0 files created

Post by ragkag »

PDF-Xchange Pro 10.0.0.370 (This may have started prior to 10.x but can’t be sure)

I’m running PDFXTools using the following command line:

/Runtool:showui=no;showprog=yes;showrep=no;subfolder=no ocrPages "T:\FilesToBeOCRd\Users\AllUsers\Documents\$$Test" /Log:full=yes "C:\Users\Bob\AppData\Local\Temp\PDFXtools.txt" /Output:folder=source;Filename="%[Filename]";overwrite=yes;showfiles=no

The output log file shows 10 files processed, 0 files created. The files were created so why does it show 0?

Bob Gregory

This is the output log file:

[6/17/2023, 6:55:43 AM] ----- "OCR Pages" tool started -----
[6/17/2023, 6:55:43 AM] > Choose Input Files
[6/17/2023, 6:55:43 AM] < Choose Input Files
[6/17/2023, 6:55:43 AM] > OCR Pages
[6/17/2023, 6:55:43 AM] Info: T:\FilesToBeOCRd\Users\AllUsers\Documents\$_Bank of America\Credit Cards\Online\2023\2023-01-15 Stmt.pdf: File processing started
[6/17/2023, 6:55:43 AM] Info: T:\FilesToBeOCRd\Users\AllUsers\Documents\$_Bank of America\Credit Cards\Online\2023\2023-01-19 Special Payment Farmers Home Insurance.pdf: File processing started
[6/17/2023, 6:55:43 AM] Info: T:\FilesToBeOCRd\Users\AllUsers\Documents\$_Bank of America\Credit Cards\Online\2023\2023-03-11 Kari's Card.pdf: File processing started
[6/17/2023, 6:55:43 AM] Info: T:\FilesToBeOCRd\Users\AllUsers\Documents\$_Bank of America\Credit Cards\Online\2023\2023-02-15 Stmt.pdf: File processing started
[6/17/2023, 6:55:43 AM] Info: T:\FilesToBeOCRd\Users\AllUsers\Documents\$_Bank of America\Credit Cards\Online\2023\2023-03-11 Bob's Card.pdf: File processing started
[6/17/2023, 6:55:43 AM] Info: T:\FilesToBeOCRd\Users\AllUsers\Documents\$_Bank of America\Credit Cards\Online\2023\2023-03-15 Stmt.pdf: File processing started
[6/17/2023, 6:55:43 AM] Info: T:\FilesToBeOCRd\Users\AllUsers\Documents\$_Bank of America\Credit Cards\Online\2023\2023-04-15 Stmt.pdf: File processing started
[6/17/2023, 6:55:43 AM] Info: T:\FilesToBeOCRd\Users\AllUsers\Documents\$_Bank of America\Credit Cards\Online\2023\2023-04-05 Rewards Redemption.pdf: File processing started
[6/17/2023, 6:55:43 AM] Info: T:\FilesToBeOCRd\Users\AllUsers\Documents\$_Bank of America\Credit Cards\Online\2023\2023-05-15 Stmt.pdf: File processing started
[6/17/2023, 6:55:43 AM] Info: T:\FilesToBeOCRd\Users\AllUsers\Documents\$_Bank of America\Credit Cards\Online\2023\2023-06-15 Stmt.pdf: File processing started
[6/17/2023, 6:55:51 AM] < OCR Pages
[6/17/2023, 6:55:51 AM] > Save Documents
[6/17/2023, 6:55:51 AM] Info: T:\FilesToBeOCRd\Users\AllUsers\Documents\$_Bank of America\Credit Cards\Online\2023\2023-01-15 Stmt.pdf: File processing started
[6/17/2023, 6:55:51 AM] Info: T:\FilesToBeOCRd\Users\AllUsers\Documents\$_Bank of America\Credit Cards\Online\2023\2023-01-19 Special Payment Farmers Home Insurance.pdf: File processing started
[6/17/2023, 6:55:51 AM] Info: T:\FilesToBeOCRd\Users\AllUsers\Documents\$_Bank of America\Credit Cards\Online\2023\2023-02-15 Stmt.pdf: File processing started
[6/17/2023, 6:55:51 AM] Info: T:\FilesToBeOCRd\Users\AllUsers\Documents\$_Bank of America\Credit Cards\Online\2023\2023-03-11 Bob's Card.pdf: File processing started
[6/17/2023, 6:55:51 AM] Info: T:\FilesToBeOCRd\Users\AllUsers\Documents\$_Bank of America\Credit Cards\Online\2023\2023-03-11 Kari's Card.pdf: File processing started
[6/17/2023, 6:55:51 AM] Info: T:\FilesToBeOCRd\Users\AllUsers\Documents\$_Bank of America\Credit Cards\Online\2023\2023-03-15 Stmt.pdf: File processing started
[6/17/2023, 6:55:51 AM] Info: T:\FilesToBeOCRd\Users\AllUsers\Documents\$_Bank of America\Credit Cards\Online\2023\2023-04-05 Rewards Redemption.pdf: File processing started
[6/17/2023, 6:55:51 AM] Info: T:\FilesToBeOCRd\Users\AllUsers\Documents\$_Bank of America\Credit Cards\Online\2023\2023-04-15 Stmt.pdf: File processing started
[6/17/2023, 6:55:51 AM] Info: T:\FilesToBeOCRd\Users\AllUsers\Documents\$_Bank of America\Credit Cards\Online\2023\2023-05-15 Stmt.pdf: File processing started
[6/17/2023, 6:55:51 AM] Info: T:\FilesToBeOCRd\Users\AllUsers\Documents\$_Bank of America\Credit Cards\Online\2023\2023-06-15 Stmt.pdf: File processing started
[6/17/2023, 6:55:51 AM] < Save Documents
[6/17/2023, 6:55:51 AM] ===== "OCR Pages" tool finished: 0 errors, 10 files processed, 0 files created, 0 warnings, 8s was spent =====
User avatar
TrackerSupp-Daniel
Site Admin
Posts: 8624
Joined: Wed Jan 03, 2018 6:52 pm

Re: OCR Pages tool shows 0 files created

Post by TrackerSupp-Daniel »

Hello, ragkag

I suspect that the reason is simply because you appear to be overwriting the originals instead of creating new copies of each file separate from the original. unless I have misread your file paths, it does appear that you are opening and then saving each file to the same location with the same name.

If you could try changing the save location to a new area (or just change the default save rule from "overwrite" to "autonumber", you will most likely see the readout show new files were created. If that does not work, can you please right click your tool in PDF-Tools and choose "export tool", then send us a copy of it? If any of the steps contain sensitive information, please email us via support@pdf-xchange.com, with a link to this form post directly.

Kind regards,
Dan McIntyre - Support Technician
Tracker Software Products (Canada) LTD

+++++++++++++++++++++++++++++++++++
Our Web site domain and email address has changed as of 26/10/2023.
https://www.pdf-xchange.com
Support@pdf-xchange.com
ragkag
User
Posts: 11
Joined: Sat Jun 10, 2023 1:38 pm

Re: OCR Pages tool shows 0 files created

Post by ragkag »

Yes I am overwriting the files but if the new files are different than the original that it should count the file as "Created"
I will try your suggestion even though my procedure requires that the file is overwritten. Dimitar Djongov already replied to me
that he was able to reproduce the issue and he would bring it to the attention of the developers.

I can't test this now but I will and reply with my results.
User avatar
Vladimir G - Tracker Dev
User
Posts: 41
Joined: Thu Nov 30, 2017 1:24 pm

Re: OCR Pages tool shows 0 files created

Post by Vladimir G - Tracker Dev »

Hello, ragkag

You are right, there is a bug that leads to that "files created" counter never changes. Bug has been localized and will be fixed in the next build.

Unfortunatelly, there is no workaround for that issue.

May I ask how are you going to use the "files created" counter? If we knew that, we would possibly suggest a solution.

Best regards,
Vladimir Goshko
Software Developer
Tracker Software Products
ragkag
User
Posts: 11
Joined: Sat Jun 10, 2023 1:38 pm

Re: OCR Pages tool shows 0 files created

Post by ragkag »

I have another application that reads the OCR log file and parses it for the count of files created. It's an application I wrote so for now I can get around it with a minor program change. As long as I know there will be a fix I'm good for now.

Thank you.
User avatar
Tracker Supp-Stefan
Site Admin
Posts: 17960
Joined: Mon Jan 12, 2009 8:07 am
Location: London

Re: OCR Pages tool shows 0 files created

Post by Tracker Supp-Stefan »

Hello ragkag,

Thanks for the update, and glad you've found a solution.
Our next build is already in the works and planned for release likely in the next 1-2 weeks - so the fix on our end will also be available soon!

Kind regards,
Stefan
ragkag
User
Posts: 11
Joined: Sat Jun 10, 2023 1:38 pm

Re: OCR Pages tool shows 0 files created

Post by ragkag »

thank you. Great news.
User avatar
Tracker Supp-Stefan
Site Admin
Posts: 17960
Joined: Mon Jan 12, 2009 8:07 am
Location: London

OCR Pages tool shows 0 files created

Post by Tracker Supp-Stefan »

:)