POSTING IMAGES

Support / help / discussion forum for twitter bot
Spacejunk
Posts: 16
Joined: Tue Aug 30, 2022 1:51 am

POSTING IMAGES

Post by Spacejunk »

Hi Martin hope you are well.

I am having some issues with the post images feature.
The action seems to work but only for the first time. Afterwards I get this error.

Already logged in:XXXXXX(ACCOUNT NAME)
Do not check stats: 0.525352831138889h31m since last check
Checking daily limits: XXXXXX
XXXX Account Daily limit: 4
Daily limit: tweet for account: XXXXXX11 3/4
* ERROR postmedialoop: in row: 6 Index was out of range. Must be non-negative and less than the size of the collection.
Parameter name: index
Pausing for: 6
Posting tweet: 6/592
attempt post: tweet:
Attempt: (1) Posting tweet:

It then gets stuck in a loop and is unable to post the images.

This is my first time setting this up the post images as I normally use the #media witht he location via the tweet function.

The way I have configured it is through inputting folder location as the directory and pressing import file.
This adds the filename which is the only thing I believe I need since I am only posting images without text or links.

Also, I have named my pictures files like this:
five (2).jpg
five (3).jpg
five (4).jpg
Etc
Could this be part of the problem?
This is happening with all my accounts.
Below is an example of a successful tweet and then a failed one hours later.

I appreciate your help.

Dante





Starting: 03/11/2022 20:38 PM
num threads: 1
Posting tweet: 0/548
attempt post: tweet: XXXXXXXXXXXXXXXX
Attempt: (1) Posting tweet:
Using account: XXXXX
Logindetails: XXXXXXX Proxy: XXX.200.179.142:XXX
UA: Mozilla/5.0 (Macintosh; Intel Mac OS X 13.0; rv:106.0) Gecko/20100101 Firefox/106.0
Login: get: https://twitter.com/
Checking timeline: XXXXX to ensure is logged in and account working
Search: with: XXXXX: max1 return: RETURN_URLS
tweets: 34
Search pages: 1
Got enough: 1/1
Results: 1
Scrape from users: 1
Scrape details from: 1 inputs
Getting user details for :1 ids
200
XXXXXXXXX
Total results: 1
Login: Success validate:
200
https://twitter.com/
Already logged in: XXXXXX
Do not check stats: 0.370512344638889h22m since last check
Checking daily limits: XXXXX
XXXXX Account Daily limit: 3
Daily limit: tweet for account: XXXXXX 2/3
Posting: 36591564 to XXXX
Preprocess image: five (502).jpg
PostImage: with: XXXX Proxy: XXX.200.179.142
XXXX Account Daily limit: 3
Daily limit: tweet for account: XXXX 2/3
Max length: 280
Checking tweet length: max: 280 : tweet:
Upload: C:\UsersXXXXX
buffer: 232843 (227.39 KB)
Uploading media buffer: 232843
Uploading chunk: 1 XXXX (502).jpg
Buffer uploaded: 100000/232843 - (97.66 KB/227.39 KB)
Uploading chunk: 2 C:XXXXXXXXXX(502).jpg
Buffer uploaded: 200000/232843 - (195.31 KB/227.39 KB)
Uploading chunk: 3 C:\XXXXXXXXXXXX(502).jpg
Buffer uploaded: 232843/232843 - (227.39 KB/227.39 KB)
Finalizing: C:XXXXXXXXXXXXXXfive (502).jpg
MediaID: 1588360141325451265
Post tweet: 1588360141325451265
* SUCCESS: Posted Tweet: with: XXXXXXXXXXXXX
Mass write: 0 files ImageId: 15883XXXXXXX
* SUCCESS: PostImage: with: XXXXX Proxy: xxxx200.179.14xxxx
* SUCCESS: (1) 36591564 to XXXX
Processed enough.... stopping...
SUCCESS:
C:\XXXXXXXXXXXXXXXXXXXXXfive (502).jpg

Started: 03/11/2022 20:38 PM
Finished: 03/11/2022 20:39 PM
ID: 6750b064-88fe-44f4-abdc-9effdab8bd26
Action ran for: 0hr:0min:15s
Repeat every: 7h m
+1 to dailyrepeats: (1/2)
checking daily repeats: Done Today: 1/2
Repeat from action end time
Run Next: 2022-11-04 03:39 AM
Scheduled to: November 04 2022 03:39 AM
Starting: 04/11/2022 00:10 AM
num threads: 1
Posting tweet: 0/548
attempt post: tweet:
Attempt: (1) Posting tweet:
Using account: XXXXXXXX
Logindetails: XXXXXXX Proxy: 1XX.200.179.142:XXXXX
UA: Mozilla/5.0 (Macintosh; Intel Mac OS X 13.0; rv:106.0) Gecko/20100101 Firefox/106.0
Login: get: https://twitter.com/
Checking timeline: XXXXX to ensure is logged in and account working
Search: with: XXXXXX max1 return: RETURN_URLS
tweets: 33
Search pages: 1
Got enough: 1/1
Results: 1
Scrape from users: 1
Scrape details from: 1 inputs
Getting user details for :1 ids
200

Total results: 1
Login: Success validate:
200
https://twitter.com/
Already logged in: XXXXXXXXX
Do not check stats: 1.22593446088889h13m since last check
Checking daily limits: XXXXXXX
XXXX Account Daily limit: 5
Daily limit: tweet for account: XXXXXXXX
* ERROR postmedialoop: in row: 1 Index was out of range. Must be non-negative and less than the size of the collection.
Parameter name: index
Pausing for: 1
Posting tweet: 1/548
attempt post: tweet:
Attempt: (1) Posting tweet:
Using account: XXXXXXX
Logindetails: XXXXXXXXX:XXXXXXXXXXXX Proxy:
UA: Mozilla/5.0 (Macintosh; Intel Mac OS X 13.0; rv:106.0) Gecko/20100101 Firefox/106.0
Login: get: https://twitter.com/
Checking timeline: XXXXXXX to ensure is logged in and account working
Search: with: XXXXXX: max1 return: RETURN_URLS
User avatar
martin@rootjazz
Site Admin
Posts: 34609
Joined: Fri Jan 25, 2013 10:06 pm
Location: The Funk
Contact:

Re: POSTING IMAGES

Post by martin@rootjazz »

logs please

HELP > LOGS > SUBMIT

then send your logs ID - the numbers are sufficient (displayed after successful uploading of logs)




--------------------------------

For future reference, please, read through this post and submit your issue accordingly. Not everything will be relevant to your issue, but have a read as it gives an idea of the information you can provide to help me help you as quickly as possible without delays in having to request additional information :)

https://rootjazz.com/forum/viewtopic.php?f=23&t=1634



Regards,
Martin
Spacejunk
Posts: 16
Joined: Tue Aug 30, 2022 1:51 am

Re: POSTING IMAGES

Post by Spacejunk »

Hi Martin,

Perfect! I will do that.
P.S
Since my last post, I tried to post images via album directory import and then Press WATCH FOLDER.
This worked for for several hour then the threads disappeared. I have tried saving the actions to re import if they disappear however they do not import correctly.

Sent logs 25490

Kind regards,

Dante
User avatar
martin@rootjazz
Site Admin
Posts: 34609
Joined: Fri Jan 25, 2013 10:06 pm
Location: The Funk
Contact:

Re: POSTING IMAGES

Post by martin@rootjazz »

Spacejunk wrote: Mon Nov 07, 2022 7:08 pm Hi Martin,

Perfect! I will do that.
P.S
Since my last post, I tried to post images via album directory import and then Press WATCH FOLDER.
Sorry, not sure I understand.

If you imported images to the UI to post, that is UNRELATED to a watch folder.

OR do you mean, you wanted to post albums FROM a watch folder?
This worked for for several hour then the threads disappeared. I have tried saving the actions to re import if they disappear however they do not import correctly.
Do you mean the action in the processor disappeared? That should not be possible. Only way it can be removed from the view is if you delete it - which I guess you didn't do. There is a a config to automatically removed COMPLETED actions (and / or failed actions) but again, I guess you have not set this.

Or do you mean the processing threads shows (x) but the number of processing actions is (x-y) i.e. processing threads are lost?

Sent logs 25490
Can you confirm the above, then when I know what I am looking at, I can check logs for it



Regards,
Martin
Spacejunk
Posts: 16
Joined: Tue Aug 30, 2022 1:51 am

Re: POSTING IMAGES

Post by Spacejunk »

Hi Martin,

Firstly I tried posting images by importing images files to UI and pressing post tweets.
The issue I had was that It ran ok for the first times then I got the error mentioned before:
* ERROR postmedialoop: in row: 6 Index was out of range. Must be non-negative and less than the size of the collection.


Over the weekend I tried to post images a different way while I waited for your response.
I tried inputting directory location of the folder and importing all the images, then creating the thread by pressing watch folder.
This resulted in the thread successfully posting a couple of images then, disappearing and it was not by the automatically removed COMPLETED actions feature as it is not activated and the thread was not completed.
Spacejunk
Posts: 16
Joined: Tue Aug 30, 2022 1:51 am

Re: POSTING IMAGES

Post by Spacejunk »

It's strange that they disappear, the number of my threads went down from 147 to 137.
Spacejunk
Posts: 16
Joined: Tue Aug 30, 2022 1:51 am

Re: POSTING IMAGES

Post by Spacejunk »

UPDATE:
I will run action again and resend the log with just the isolated problem.
Spacejunk
Posts: 16
Joined: Tue Aug 30, 2022 1:51 am

Re: POSTING IMAGES

Post by Spacejunk »

Submitted logs: 57943

Awaiting your comments.
Kind regards,

Dante
User avatar
martin@rootjazz
Site Admin
Posts: 34609
Joined: Fri Jan 25, 2013 10:06 pm
Location: The Funk
Contact:

Re: POSTING IMAGES

Post by martin@rootjazz »

Spacejunk wrote: Tue Nov 08, 2022 6:24 pm It's strange that they disappear, the number of my threads went down from 147 to 137.
the only way for the control to change is if you change it. The program has no code to do it. Could you have scrolled on the control accidentally when it had focus?
Spacejunk
Posts: 16
Joined: Tue Aug 30, 2022 1:51 am

Re: POSTING IMAGES

Post by Spacejunk »

I´m not sure but this only happens when I run with watch folder.
Maybe we can focus on the first error ¨post loop¨
I will just post the normal way without the watch folder.

I just sent the logs of the isolated error 57943
Post Reply