PDF-Tools "Stop" Batch Process Mode can result in Destroyed Save of 0 Bytes

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

User avatar
Zardoz2293
User
Posts: 14
Joined: Thu Feb 20, 2014 11:16 am

PDF-Tools "Stop" Batch Process Mode can result in Destroyed Save of 0 Bytes

Post by Zardoz2293 »

Build 10.2.1.385 ; Released Jan 22nd, 2024

PDF-Tools > and pressing "Stop" (processing during long) "Batch Process Mode" CAN result in effectively deleting PDF file with the "When file already exists" = "Overwrite with a new file". There is no error reported or otherwise indicator the file has been damaged, other than reviewing the entire 'process' list of affected files for a 0 Byte file (this is where the "Stop" process occurred. I would not expect that an existing valid file would be destroyed with zero output. Frankly, once the file writing has started a "Stop" by the end-user should finish that current task or restore the original file (rename or otherwise). This concern has existed for sometime and I've just now discovered more than a few files lost to time.
User avatar
TrackerSupp-Daniel
Site Admin
Posts: 8624
Joined: Wed Jan 03, 2018 6:52 pm

Re: PDF-Tools "Stop" Batch Process Mode can result in Destroyed Save of 0 Bytes

Post by TrackerSupp-Daniel »

Hello, Zardoz2293

Is it possible that you have the following option enabled for that tool?
image.png
I expect that this issue is related to a bug re very recently discovered with the "delete on success" option. If you can export a copy of your tool for use to investigate over here, it would help us to verify and reproduce your issue. You can export a tool by right clicking on it, and choosing the "export tool" option presented there.

Kind regards,
You do not have the required permissions to view the files attached to this post.
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
User avatar
Paul - Tracker Supp
Site Admin
Posts: 6903
Joined: Wed Mar 25, 2009 10:37 pm
Location: Chemainus, Canada

Re: PDF-Tools "Stop" Batch Process Mode can result in Destroyed Save of 0 Bytes

Post by Paul - Tracker Supp »

Hi, Zardoz

The devs are investigating. There is a ticket, like the other is is for internal use RT#6807: PDF-Tools :: "Stop" Batch Process Mode can result in Destroyed Save of 0 Bytes


Kind regards,
Paul - Tracker Supp
Best regards

Paul O'Rorke
Tracker Support North America
http://www.tracker-software.com