Hello Martin!
Simple bug I've come across lately.
I have several posting modules that include carousels (albums). I set the posting modules with these to MaxItems:1, FluctuateMaxItemsTodo:0 for posting.
When the module runs, I expect it to post once for the day (as I have it set).
However, it posts 2-3 posts when the module selects a carousel post (album posts), instead of stopping at 1.
Can you help resolve this?
Logs: 26838
[Bug/error] Posting Module Posting more than Allotted Max
- martin@rootjazz
- Site Admin
- Posts: 30218
- Joined: Fri Jan 25, 2013 10:06 pm
- Location: The Funk
- Contact:
Re: [Bug/error] Posting Module Posting more than Allotted Max
Are you saying
1) the program will make 2-3 new posts?
Or
2) it makes 1 post, but with 2-3 images (an album / carousels)
Looking at last action in logs I am not seeing an issue.
Album selected, it posted the images of the album then stopped
Can you provide more information on what exactly is going wrong please
Regards,
Martin
1) the program will make 2-3 new posts?
Or
2) it makes 1 post, but with 2-3 images (an album / carousels)
Looking at last action in logs I am not seeing an issue.
Album selected, it posted the images of the album then stopped
12:21:54: * SUCCESS: (1 / 1) with: <acc> <image_code>
12:21:54: * That's enough now, stopping....1 / 1 <image_code>
Can you provide more information on what exactly is going wrong please
Regards,
Martin
Re: [Bug/error] Posting Module Posting more than Allotted Max
Check the logs with account Asc*
Sample Below
I am saying that the program will continue posting 1-2 more albums after the Maximum set 1 photo/album limit. The posting function continues as if the limit were 2-3, versus 1.martin@rootjazz wrote: ↑Thu Aug 04, 2022 9:01 pm Are you saying
1) the program will make 2-3 new posts?
Or
2) it makes 1 post, but with 2-3 images (an album / carousels)
Looking at last action in logs I am not seeing an issue.
Sample Below
LOGS for Sample: 95964Upload image:REDACTED1\bec40ea8-8183-4b7c-8bff-1eb1d263e540.jpg
UploadId: 1659705265012
Uploading image buffer: 110232 bec40ea8-8183-4b7c-8bff-1eb1d263e540.jpg
Stream upload: 200
https://i.instagram.com/rupload_igphoto ... _-32127694
{"upload_id":"1659705265012","xsharing_nonces":{},"status":"ok"}
Media ID: 1659705265012
uploaded:REDACTED1\bec40ea8-8183-4b7c-8bff-1eb1d263e540.jpg mediaID: 1659705265012
Get Timeline: redacted
* IGNORE ad: media: 2882459811688043260_47973673578 https://www.instagram.com/p/CgAje1DAVL8 of: 47973673578:https://www.instagram.com/caesarssports
* IGNORE ad: media: 2897512397909433756_3936317490 https://www.instagram.com/p/Cg2CCyZrp2c of: 3936317490:https://www.instagram.com/thirdeyethoughts
* IGNORE ad: media: 2897509787199319722_37874812554 https://www.instagram.com/p/Cg2Bcy_O66q of: 37874812554:https://www.instagram.com/astraltruth
* IGNORE ad: media: 2897653574592506668_7470671725 https://www.instagram.com/p/Cg2iJLbuiss of: 7470671725:https://www.instagram.com/everything.aligns
* IGNORE ad: media: 2865530302280737324_24089147688 https://www.instagram.com/p/CfEaKCwj6Is of: 24089147688:https://www.instagram.com/threatlockersecurity
Scraped: 1
Timeline: total scraped: 1
Upload image:REDACTED1\01628cfe-1374-4f17-8398-5e7e6e6aedd3.jpg
UploadId: 1659705279026
Uploading image buffer: 244103 01628cfe-1374-4f17-8398-5e7e6e6aedd3.jpg
Stream upload: 200
https://i.instagram.com/rupload_igphoto ... 1547544952
{"upload_id":"1659705279026","xsharing_nonces":{},"status":"ok"}
Media ID: 1659705279026
uploaded:REDACTED1\01628cfe-1374-4f17-8398-5e7e6e6aedd3.jpg mediaID: 1659705279026
* SUCCESS: Image URL:REDACTED
Checking caption posted correctly
Checking if caption posted correctly
Create delete image action for: 2160 hours of album: CNvSA6pnCxQ_hhJWR
Delete action to run: 03/11/2022 09:15 AM
Logging processed: 1004818123 REDACTED\CNvSA6pnCxQ\867990cc-c27c-4888-a262-fcd0a401c1ae.jpg
Logging processed: 1291526153 REDACTED\CNvSA6pnCxQ\9268f2fb-0009-4188-a738-8e1e3672e393.jpg
Logging processed: 1383389315 REDACTED\CNvSA6pnCxQ\99f07fda-7686-498e-932f-dc4f59b1d650.jpg
Logging processed: 1422721498 REDACTED\CNvSA6pnCxQ\9bc1508c-cf2b-440a-915d-daef1dcac8df.jpg
Logging processed: 168944849 REDACTED\CNvSA6pnCxQ\a348b644-25b7-44c0-9b4f-bb78e4fab374.jpg
Logging processed: 1342815202 REDACTED\CNvSA6pnCxQ\c25f243a-3f5e-4c05-aa20-a8446497d142.jpg
* SUCCESS: (2 / 1) with: redacted CNvSA6pnCxQ_hhJWR
* That's enough now, stopping....2 / 1 CNvSA6pnCxQ_hhJWR
Photo album: COvQP8HHzcf_hMsOq 2 images
Posting album images: COvQP8HHzcf_hMsOq 2 with: redacted
Global Daily limit: 0
Crc: REDACTED\COvQP8HHzcf\08d242fc-eef3-45c7-b0f0-8984153f8637.jpg 1647627056
Attempt post: 5efb87e4-ce53-431e-987a-175962ea3040 with: redacted
Copy image to upload directory: From:REDACTED1\5efb87e4-ce53-431e-987a-175962ea3040.jpg toREDACTED1\c1898b72-716e-41f7-92c8-abb594dc0143.jpg
preprocess image: watermark: redacted
Crc: REDACTED\COvQP8HHzcf\8f82ee3c-46f0-421f-91a6-0a3f5d6781c1.jpg 3970224267
Attempt post: e0bc0932-1b22-4abd-91d8-9fc25de89644 with: redacted
Copy image to upload directory: From:REDACTED1\e0bc0932-1b22-4abd-91d8-9fc25de89644.jpg toREDACTED1\16418438-50f3-421a-a7b4-0de11e7a7cc2.jpg
preprocess image: watermark: redacted
Upload: with: redacted 2
Caption REDACTED
Get Timeline: redacted
* IGNORE ad: media: 2895406103389846965_4652698433 https://www.instagram.com/p/CgujIKxDL21 of: 4652698433:https://www.instagram.com/adamkifer
* IGNORE ad: media: 2897512397909433756_3936317490 https://www.instagram.com/p/Cg2CCyZrp2c of: 3936317490:https://www.instagram.com/thirdeyethoughts
* IGNORE ad: media: 2897509787199319722_37874812554 https://www.instagram.com/p/Cg2Bcy_O66q of: 37874812554:https://www.instagram.com/astraltruth
* IGNORE ad: media: 2897653574592506668_7470671725 https://www.instagram.com/p/Cg2iJLbuiss of: 7470671725:https://www.instagram.com/everything.aligns
Scraped: 1
Timeline: total scraped: 1
Upload image:REDACTED1\11856eff-25f6-4d0c-b5ad-cd6962996cb8.jpg
UploadId: 1659705306086
Uploading image buffer: 98871 11856eff-25f6-4d0c-b5ad-cd6962996cb8.jpg
Stream upload: 200
https://i.instagram.com/rupload_igphoto ... 2105238629
{"upload_id":"1659705306086","xsharing_nonces":{},"status":"ok"}
Media ID: 1659705306086
uploaded:REDACTED1\11856eff-25f6-4d0c-b5ad-cd6962996cb8.jpg mediaID: 1659705306086
Get Timeline: redacted
* IGNORE ad: media: 2885744518890647142_40748958100 https://www.instagram.com/p/CgMOVnBAe5m of: 40748958100:https://www.instagram.com/cleanprene
* IGNORE ad: media: 2897512397909433756_3936317490 https://www.instagram.com/p/Cg2CCyZrp2c of: 3936317490:https://www.instagram.com/thirdeyethoughts
* IGNORE ad: media: 2897509787199319722_37874812554 https://www.instagram.com/p/Cg2Bcy_O66q of: 37874812554:https://www.instagram.com/astraltruth
* IGNORE ad: media: 2897653574592506668_7470671725 https://www.instagram.com/p/Cg2iJLbuiss of: 7470671725:https://www.instagram.com/everything.aligns
Scraped: 1
Timeline: total scraped: 1
Upload image:REDACTED1\3933e131-f5f5-4acc-9df6-a3cce61ee987.jpg
UploadId: 1659705311750
Uploading image buffer: 257741 3933e131-f5f5-4acc-9df6-a3cce61ee987.jpg
Stream upload: 200
https://i.instagram.com/rupload_igphoto ... 1540046186
{"upload_id":"1659705311750","xsharing_nonces":{},"status":"ok"}
Media ID: 1659705311750
uploaded:REDACTED1\3933e131-f5f5-4acc-9df6-a3cce61ee987.jpg mediaID: 1659705311750
* SUCCESS: Image URL: REDACTED
Checking caption posted correctly
Checking if caption posted correctly
Create delete image action for: 2160 hours of album: COvQP8HHzcf_hMsOq
Delete action to run: 03/11/2022 09:15 AM
Logging processed: 1647627056 REDACTED\COvQP8HHzcf\08d242fc-eef3-45c7-b0f0-8984153f8637.jpg
Logging processed: 3970224267 REDACTED\COvQP8HHzcf\8f82ee3c-46f0-421f-91a6-0a3f5d6781c1.jpg
* SUCCESS: (3 / 1) with: redacted COvQP8HHzcf_hMsOq
* That's enough now, stopping....3 / 1 COvQP8HHzcf_hMsOq
Started: 05/08/2022 09:12 AM
Finished: 05/08/2022 09:15 AM
ID: 3e181136-22a4-404f-a8ab-d28463ba80c0
Action ran for: 0hr:3min:24s
loc:1687684568
Repeat action: daily runner: 9:15
Repeat action: hours: 9 mins: 15
loc:16488614786718676878647
Fluctuate wait: 14
Random fluctuate: 14
Next Daily runnner: After Fluctuated: 2022-08-06 09:18 AM
Repeat action: schedule time: 06/08/2022 09:18 AM
Scheduled to: August 06 2022 09:18 AM
- martin@rootjazz
- Site Admin
- Posts: 30218
- Joined: Fri Jan 25, 2013 10:06 pm
- Location: The Funk
- Contact:
Re: [Bug/error] Posting Module Posting more than Allotted Max
ok, strange, that didn't happen in the action I saw (last action in last logs you sent).
Must be something different in the album post that causes it to jump and not process the "if DONE > LIMIT then STOP"
Must be something different in the album post that causes it to jump and not process the "if DONE > LIMIT then STOP"
Re: [Bug/error] Posting Module Posting more than Allotted Max
Yeah it was in a few other actions, not necessarily the last ones.martin@rootjazz wrote: ↑Fri Aug 05, 2022 6:00 pm ok, strange, that didn't happen in the action I saw (last action in last logs you sent).
I can confirm this happens with album posts. Any account I currently run with an album post will post more than the allotted maximum based on the settings shared in the OP.
Same way it happens in the sample logs I shared.
- martin@rootjazz
- Site Admin
- Posts: 30218
- Joined: Fri Jan 25, 2013 10:06 pm
- Location: The Funk
- Contact:
Re: [Bug/error] Posting Module Posting more than Allotted Max
I don't understand how it can sometimes happen yes and sometimes no. The code either works or fails....
Looking into it
Looking into it
- martin@rootjazz
- Site Admin
- Posts: 30218
- Joined: Fri Jan 25, 2013 10:06 pm
- Location: The Funk
- Contact:
Re: [Bug/error] Posting Module Posting more than Allotted Max
Are you running multiple threads?
IF you want to post 1 image, and use 3 threads, it could be, 3 threads start because at that point in time, no images posted, so 1 thread completes and stops ANY MORE threads starting, but the other 2 threads complete.
Could that be it?
Because the code looks like it works. After posting it tests max_num_wanted against num_posted and stops...
IF you want to post 1 image, and use 3 threads, it could be, 3 threads start because at that point in time, no images posted, so 1 thread completes and stops ANY MORE threads starting, but the other 2 threads complete.
Could that be it?
Because the code looks like it works. After posting it tests max_num_wanted against num_posted and stops...
- martin@rootjazz
- Site Admin
- Posts: 30218
- Joined: Fri Jan 25, 2013 10:06 pm
- Location: The Funk
- Contact:
Re: [Bug/error] Posting Module Posting more than Allotted Max
MAde some changed and improved logging so next version will help understand better