Page 2 of 2
Re: Bug in API
Posted: Tue Nov 10, 2015 11:19 am
by jomann
Hmm so the problem is more than likely caused by too many being written at once... although it adds to the file instead of overwriting it like before it seems like the import is being imported before they are all written and maybe the file is being locked/deleted before the rest get entered in. I'll have to test sending a bunch all at once (I only sent a few at once) and I can get back to you.
Re: Bug in API
Posted: Tue Nov 10, 2015 11:26 am
by BanditBBS
jomann wrote:Hmm so the problem is more than likely caused by too many being written at once... although it adds to the file instead of overwriting it like before it seems like the import is being imported before they are all written and maybe the file is being locked/deleted before the rest get entered in. I'll have to test sending a bunch all at once (I only sent a few at once) and I can get back to you.
I put my sleep commands back in, but set to 1 and 9 out of 11 were added. So looks like a sleep 3 would still be needed between them all. In your testing, I'd at least test adding 15 back to back.
Re: Bug in API
Posted: Tue Nov 10, 2015 11:37 am
by jomann
I have an idea. I'll get back to you sometime this afternoon hopefully with a fix you can try.
Re: Bug in API
Posted: Wed Nov 11, 2015 10:56 am
by jomann
This has been fixed in 5.2.2. Closing this.