Open Strannik74 opened 4 years ago
First thank you for your email. Yes I will. I promise to you to do that by the end of the week.
Again, thank you for your email :)
On Thu, 14 May 2020, 12:16 Strannik74, notifications@github.com wrote:
Good afternoon! I am very new. Could you add a description of how to install and configure everything
— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/EranBolan91/Instabot/issues/1, or unsubscribe https://github.com/notifications/unsubscribe-auth/AFOPMMUIIGM2D4AE3CHJPTDRROZGTANCNFSM4NAQGC3Q .
Good afternoon! I added description of how to use the program. Please if let me know if something isn't working
Добрый день! Я добавил описание как пользоваться программой. Пожалуйста, дайте мне знать, если что-то не работает
Good evening
Thanks for the description.
Installed dependencies
Here are the contents of the folder:
❯ ls
bot_folder chromedriver.exe insta_bot.ico pycache users.db view
bot.py database main.py README.md utils
❯ python3 main.py
Traceback (most recent call last):
File "main.py", line 8, in
What am I doing wrong ..?
You did good, for some reason it does not find the image. Try to delete row 8 or just comment " #" and run it again
I am very new and know little Thanks you! Done from ttkthemes import ThemedTk from view.layout import Layout from database import db "# TODO: use threading timer" "# TODO: check this https://pypi.org/project/python-crontab/" "# TODO: how to pass data between classes for the accounts when you add new one. it doesn't update the list" "# TODO: Settings, need to init when using first time the program with data." window = ThemedTk(theme='equilux')
window.attributes('-fullscreen', True) data = db.Database() Layout(window)
window.mainloop()
Next error
python3 main.py
Traceback (most recent call last):
File "main.py", line 11, in
Found the problem. The problem is "id INT PRIMARY KEY AUTOINCREMENT" - instead INT replace it with INTEGER. It should be like that - "id INTEGER PRIMARY KEY AUTOINCREMENT". Please let me know if there is another problem
Thanks Everything turns out! It started. He doesn’t want to follow.
Can you please show me the error log? btw did it follow before?
1591700574465 mozrunner::runner INFO Running command: "/usr/bin/firefox" "-marionette" "-foreground" "-no-remote" "-profile" "/tmp/rust_mozprofile.rKwbIM6mMjMl" 1591700580174 addons.webextension.screenshots@mozilla.org WARN Loading extension 'screenshots@mozilla.org': Reading manifest: Invalid extension permission: mozillaAddons 1591700580174 addons.webextension.screenshots@mozilla.org WARN Loading extension 'screenshots@mozilla.org': Reading manifest: Invalid extension permission: telemetry 1591700580175 addons.webextension.screenshots@mozilla.org WARN Loading extension 'screenshots@mozilla.org': Reading manifest: Invalid extension permission: resource://pdf.js/ 1591700580175 addons.webextension.screenshots@mozilla.org WARN Loading extension 'screenshots@mozilla.org': Reading manifest: Invalid extension permission: about:reader* JavaScript error: undefined, line 14: Error: An unexpected error occurred JavaScript error: moz-extension://18e0ef14-0ce5-418d-85c5-54fd137b2f52/lib/picture_in_picture_overrides.js, line 15: Error: Incorrect argument types for pictureInPictureParent.setOverrides. JavaScript error: resource:///modules/sessionstore/SessionStore.jsm, line 1325: uncaught exception: 2147746065 1591700582392 Marionette INFO Listening on port 33645 1591700582482 Marionette WARN TLS certificate errors will be ignored for this session 1591700621451 Marionette WARN TimedPromise timed out after 500 ms: stacktrace: bail@chrome://marionette/content/sync.js:237:64 [Parent 6548, Gecko_IOThread] WARNING: pipe error (71): Соединение разорвано другой стороной: file /build/firefox-esr-SNKf5O/firefox-esr-68.7.0esr/ipc/chromium/src/chrome/common/ipc_channel_posix.cc, line 358 [Parent 6548, Gecko_IOThread] WARNING: pipe error (79): Соединение разорвано другой стороной: file /build/firefox-esr-SNKf5O/firefox-esr-68.7.0esr/ipc/chromium/src/chrome/common/ipc_channel_posix.cc, line 358 [Parent 6548, Gecko_IOThread] WARNING: pipe error (123): Соединение разорвано другой стороной: file /build/firefox-esr-SNKf5O/firefox-esr-68.7.0esr/ipc/chromium/src/chrome/common/ipc_channel_posix.cc, line 358 1591700681745 Marionette INFO Stopped listening on port 33645
On Linux, I use webdriver.Firefox () Windows using webdriver.Chrome ('chromedriver.exe')
Never got that kind of error. You get it when you try to follow a user? Or when you run the program?
When i run the program
The program opens the hashtag user and that’s it. Nothing happens next
Sorry for the delay, try now to pull. I have added new code.
Good evening! I have a mistake again
❯ python3 main.py
Traceback (most recent call last):
File "main.py", line 2, in
Its because the path to the file is not correct. The file (" schedule.py ") should be placed in " utils " directory. And the " utils " should be inside the main directory
~/Instabot - >master root@kali ─╮ ╰─❯ ls bot_folder chromedriver.exe database insta_bot.ico main.py pycache README.md utils view
~/Instabot/utils - > master root@kali ─╮
╰─❯ ls
schedule.py utils.py
~/Instabot - > master root@kali ─╮ ╰─❯ python3 main.py
Traceback (most recent call last):
File "main.py", line 2, in
What OS do you have? Linux or Windows? I'm using Windows and i dont have any problem. If you are using Linux, i'm not sure but maybe you need to call it in another way? Eventually it should work, because all the others files you importing them exactly like this class.
Good afternoon! Windows 7 is running The program does not want to follow.
I do not understand why the program does not work. May install some component in Windows
I know why it doesn't work for you. I see that the language is not english. The bot looking for the word "Follow" , and when its not find it, then nothing happenes. Several things you can do. The logic happenes in "bot_folder -> main_bot.py " There is a function called "_follow_user", there is if statement that checks if the button is "Follow", you can change it to your language, or you can change the logic so it click on the button location by xpath
Good afternoon! I am very new. Could you add a description of how to install and configure everything