AutoCrat merge stops/get's stuck with "Starting at..."

3,181 views
Skip to first unread message

ric...@zbulo.org

unread,
Jun 23, 2021, 6:55:13 AM6/23/21
to NV Autocrat Add-on
AutoCrat regularly gets stuck merging a smaller number of rows.

autocrat2.PNG
  • Upon form submission AutoCrat should merge 10-30 rows.
  • There are three templates, each only a few KB heavy. 
  • The templates that get stuck 5-10 merge fields of text, no images in either file.
I could reproduce the issue on every run. With the above 17 rows of sample data, it got stuck the first time after 10 rows, the second after 13.

Afterwards I deleted the MergeStatus column of those stuck and run AutoCrat manually on the remaining 4. After 3 it got stuck once more saying "Something is wrong. This should not be taking this long :(" 

Any best practices to prevent AutoCrat from getting stuck?

Thanks,
Ricardo

Joseph Schmidt

unread,
Jun 23, 2021, 8:36:54 AM6/23/21
to nv-autocr...@googlegroups.com
Are you changing the first row of data?  The way to control which rows get used is either by a filter in the setup or putting something in the status column.

Autocrat will not process a row with anything in the status column.  You need to delete the values in the status column if you want the rows to be processed.

I believe a form or time trigger will process all rows.



--
You received this message because you are subscribed to the Google Groups "NV Autocrat Add-on" group.
To unsubscribe from this group and stop receiving emails from it, send an email to nv-autocrat-add...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/nv-autocrat-add-on/0837459e-3b1f-4ce9-b642-8aa999694280n%40googlegroups.com.

ric...@zbulo.org

unread,
Jun 24, 2021, 9:09:03 AM6/24/21
to NV Autocrat Add-on
Hello Joe, this time I'm not following. ;)

Upon form submission the 
  • Status columns are cleared by Google Script.
  • A filter formula loads the rows.
  • AutoCrat jobs are triggered,  a conditional column determines which template is used.
  • While AutoCrat runs data is not being changed.
The first job that completes fine. Thus I would exclude delays in loading data as a potential culprit. 
The second job starts much later and gets stuck for reasons I cannot explain.
After the second job got stuck, I deleted the status column and started the job manually from the addon menu. Yet, it got stuck again. :s

Thanks!

Christopher Johnston

unread,
Jun 24, 2021, 10:07:35 AM6/24/21
to nv-autocr...@googlegroups.com
I  am also having this same issue.
Approximately 20 reports a day and 3 or 4 start merging but don't complete. I can not figure out why as if I go in and delete the status row and manually run one at a time it works fine.

Why does this happen? 



Please consider the environment before printing this email.
*********************************************************************
This communication may contain information which is confidential, personal and/or privileged. It is for the exclusive use of the intended recipient(s).
If you are not the intended recipient(s), please note that any distribution, forwarding, copying or use of this communication or the information in it is strictly prohibited. If you have received it in error please contact the sender immediately by return e-mail. Please then delete the e-mail and any copies of it and do not use or disclose its contents to any person.
Any personal views expressed in this e-mail are those of the individual sender and the company does not endorse or accept responsibility for them. Prior to taking any action based upon this e-mail message, you should seek appropriate confirmation of its authenticity.
This message has been checked for viruses on behalf of the company.
*********************************************************************


G4S Regional Management (UK&I) Limited, Registered in England No. 3189802.
G4S Care and Justice Services (UK) Limited, trading as G4S Central Government Services, Registered in England No. 390328.
G4S Health Services (UK) Limited, Registered in England No. 5121608.
G4S Government and Outsourcing Services (UK) Limited, trading as G4S Outsourcing Services, Registered in England No.3175173.
G4S Facilities Management (UK) Limited, Registered in England No. 3333860.
G4S Investigation Solutions (UK) Limited, Registered in England No. 3749819.
G4S Monitoring Technologies Limited, Registered in England No. 2626613.
G4S Ordnance Management Limited, Registered in England No. 7068855.
G4S Risk Management Limited, Registered in England No. 1540857.
G4S Secure Solutions (Iraq) Limited, Registered in England No.5128617.
G4S Risk Consulting Limited, Registered in England No. 4047630.
The Registered office of all the above companies is 46 Gillingham Street, London ,England, SW1V 1HU

G4S Aviation Services (UK) Limited, Registered in England No. 2837136.
G4S Secure Solutions (UK) Limited, Registered in England No. 1046019.
G4S Security Services (UK) Limited, Registered in England No.2380900.
G4S Cash Solutions (UK) Limited, Registered in England No.354883.
G4S Cash Centres (UK) Limited, Registered in England No.1485104.
G4S Bullion Solutions (UK) Limited, Registered in England No.7860383.
The Registered office of all the above companies is 2nd Floor, Chancery House, St Nicholas Way, Sutton, Surrey, SM1 1JB.

Joseph Schmidt

unread,
Jun 24, 2021, 11:08:44 AM6/24/21
to nv-autocr...@googlegroups.com
  • AutoCrat jobs are triggered,  a conditional column determines which template is used.
I'm confused by the above.  All merge jobs will run using the template that was used when the merge was created.  Do you mean that a filter in each merge controls which rows will be processed by that merge.

There is nothing in Autocrat that will make it wait until the script is finished.  I have seen where a script is used to modify the data and a time trigger is used for the Autocrat jobs.

Even though I'm confused if a merge doesn't run manually then there is something wrong with the data or the merge times out with the six minute limit.  

Does the merge always get stuck on the same row?  What do you mean by stuck?  Is there any error messages?

Brian Cheek

unread,
Jun 24, 2021, 11:21:55 AM6/24/21
to NV Autocrat Add-on
I am having the same problem.  For example, I ran a job, and there were 3 records to be merged.  The first one did fine and completed, but the next two had the "Starting at..." in the status column and nothing else happened.

Joseph Schmidt

unread,
Jun 24, 2021, 12:03:28 PM6/24/21
to nv-autocr...@googlegroups.com
If you remove the "starting ..." from the status column of the rows that don't process and try again, do they run?

I suspect something in the data or filters.

Christopher Johnston

unread,
Jun 24, 2021, 12:18:42 PM6/24/21
to nv-autocr...@googlegroups.com
Yes they run but have to do 1 or 2 at a time. 

As they run that time it tells us that there is nothing wrong with the data. 

Any ideas for a resolve.


Joseph Schmidt

unread,
Jun 24, 2021, 2:58:59 PM6/24/21
to nv-autocr...@googlegroups.com
I would agree that if they run manually they should run on a trigger.  How many merge tags do you have?  What happens when they don't run?  Any clues?  

Can you share a copy of the spreadsheet and template that is failing with glua...@gmail.com?  I need edit rights.

ric...@zbulo.org

unread,
Jun 25, 2021, 4:31:52 AM6/25/21
to NV Autocrat Add-on
Joe, I just shared my spreadsheet. 

As mentioned above 5-10 text merge tags. On automatic trigger they get stuck with "Starting at...", with manual run "Something is wrong. This should not be taking this long :(" 

The rows vary, it's never the same, something it goes through with a single manual run, other times stuck once more and requires two manual runs.

Same as described by Brian and Christopher.

Mohit Goyle

unread,
Jul 9, 2021, 10:51:00 PM7/9/21
to NV Autocrat Add-on
Same issue here!
Odd row gets stuck with "Starting at..." and autocrat would not complete the job. It is very random.
I have several independent forms using autocrat, this error shows up on different forms at different times. 
Am not using any scripts or any other modifications. 
Just that each form has multiple jobs, that use merge conditions depending on a column value.

Thanks

Joseph Schmidt

unread,
Jul 10, 2021, 8:17:09 AM7/10/21
to nv-autocr...@googlegroups.com
I find that it is best to have all merge jobs use the response sheet (tab) for the source.  It also helps to limit the number of merge jobs there are that run on the spreadsheet.  Autocrat has to run the merge to find out if that row should be processed.
Reply all
Reply to author
Forward
0 new messages