Jump to content
MarvinR

Batch Process Fails with version 1.7.0.367

Recommended Posts

I have two macros that I will run in a batch process against .tiff files to get ready for processing in Affinity Photo. The first macro makes a copy of the background layer and names it to "Color Efex Pro 4 - ". The second macro simply creates a new pixel layer and names it "Cleanup Layer". Both macros only have two steps.

In AP 1.7.0.367 when I select say 12 files to run in the batch process and execute these two macros only 2 or 3 (it is not consistent in the number if will process) then the batch process will end without error and AP will shutdown. On restarting AP there is no indication that any sort of error has taken place. That is the mail problem.

The second problem is that in the Library panel the option to Edit a macro is greyed out. I found this when I was going to open the macro to look at the code. The options to Delete Macro or Rename Macro are active but the Edit Macro is greyed out.

I have attached an export of Editing Macros - Marvin.afmacros for your use in testing.  In this library category the two files I am call in the batch process are "Create Layer for Color Efex Pro 4" and "Create Cleanup Layer". I call them in that order. These macros have been running for about a year without any difficulty in Batch processing batches containing as many as 40 .tiff files.  The error I have described above is happening when I try a batch of only 12 files.

Running Windows 10 with latest updates.

Thank you

Marvin "Butch" Reinhart

Editing Macros - Marvin.afmacros

Share this post


Link to post
Share on other sites

For the first problem try switching Parallel Processing off in the batch job screen (this was supposedly "fixed" but try it switched off)

For the second problem the option to Edit a macro will be greyed out if you have no document open

I have tested editing your macros with a document open and it edits Ok 


Due to the ongoing Brexit negotiations, punctuation, spelling and grammar will be used sparingly until further notice.

Share this post


Link to post
Share on other sites

I have done it with and without Parallel Processing on. Additionally, after I posted my initial problem I went back and looked at the size of the files created by the batch process.  The size of the file created when the macros were run as a part of the batch process the size of the AP file created was 450MB.  When I opened the same .tiff file and ran the two macros manually the size of the AP file created was 173MB. So, there is definitely something taking place in the batch process of running these two macros that is in error.

Appreciate your info on the reason the Edit was greyed out. Should have realized that. 

Thanks

Marvin "Butch" Reinhart

 

Share this post


Link to post
Share on other sites

I tested the batch function with one simple JPG file, converting to an AFPhoto file and assigning 2 macros (not yours just 2 of the simple default macros)

I could get it to consistently crash on the 2nd or subsequent runs using the same parameters in the batch screen

That is, it crashes when using 2 macros and it has to overwrite the AFPhoto file previously created on the first run

I could not get it to crash when using just 1 macro no matter how many times I ran it

1. Recommend you edit your first macro and add the steps from your second macro, then save as a new 3rd macro and run the batch job again just using the 3rd macro to see what happens.

2. As regards the file size differences you mention in your last post.  I also see this when using a  batch job with no macros assigned, so I do not think macros are relevant here.

3.  It's a sunny Sunday morning where I am so I've only spent 10 minutes on this.  My observations/conclusions should really demand more testing on my part before posting this post, but the dog has other ideas for how to spend today, which usually involves chasing balls and sniffing a lot of butts.  If only my life was that simple.


Due to the ongoing Brexit negotiations, punctuation, spelling and grammar will be used sparingly until further notice.

Share this post


Link to post
Share on other sites

Thanks for testing Carl. Hope you and your dog had a pleasant morning.

Marvin "Butch" Reinhart

Share this post


Link to post
Share on other sites

Hi,

I'm trying to batch convert Sony ARW file to Affinity Photo file. I'm converting 300+ images. I have done this in the past multiple times without issue. With version 1.7 the batch process fails every time. I turned off "parallel processing". Affinity Photo still crashes without any warning. Please help.

Share this post


Link to post
Share on other sites

The problem with Affinity Photo quitting a batch process without an error still exists. The first macro makes a copy of the background layer and names it to "Color Efex Pro 4 - ". The second macro simply creates a new pixel layer and names it "Cleanup Layer". Both macros only have two steps.  I attached copies of these macros to the original report above. I have run these macros successfully for many months.  There was something changed in 1.7.0.367 that caused this situation to start occurring. The test that I just ran was to try running those macros in a batch process on 5 files.  After the first two photos AP quit without giving an error message. As stated before the process will stop after 2 or 3 files are processed. I have tested this with and without parallel processing checked and get the same results.

Please, before anyone tells me to combine the two macros, understand that I have a series of individual macros from which I will pick two or three to combine depending on what I am going to be doing with a particular photo. 

Thanks,

Share this post


Link to post
Share on other sites

Hi all,

Sorry for the delayed reply

It looks like it crashes only when you save as afphoto. Everything else seems to be fine. In the meantime, I've logged this with our developers. 

Thanks,

Gabe. 

Share this post


Link to post
Share on other sites

Thank you very much. Also, yesterday I posted an update to this situation with the title "Batch Process Creates Very Large Files Ver 1.7.1.404". When I ran a test using a single macro in the batch process, it failed after creating two files.  So, I simply restarted Affinity Photo and ran the macro manually.  I saw that the .afphoto file created by the batch process was 359mb while the .afphoto file created by manually running the macro and saving as an .afphoto file was only 159mb.

Thanks

Marvin "Butch" Reinhart

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×