swaaz / InstaBot

Instagram bot built using Python and Selenium
37 stars 13 forks source link

Fix the TimeOutException and other bug fixes #24

Closed autumnlewjb closed 4 years ago

autumnlewjb commented 4 years ago

This pull request will eventually fix #23. Instead of fixing the issue, I managed to do bug-hunting for the whole program and found another error: the program was unable to access the Privacy and Security section when the cancel sent requests process was carried out. I managed to fix both of them in this pull request, at least when I run the program from bash on Windows.

autumnlewjb commented 4 years ago

I used MacOSX and chromedriver for option 1 (list un-followers). It worked, but I received below error. List is printed on the screen.

error: Invalid VCS root mapping The directory ~/…staBot-master (swazz) is registered as a Git root, but no Git repositories were found there. Configure...

May I have a look at the full output, plus error message you've encountered? Screenshot or text will do. Also, did you clone this repository to your local machine or you just downloaded it as zip to your local storage?

cyborg2006 commented 4 years ago

I used MacOSX and chromedriver for option 1 (list un-followers). It worked, but I received below error. List is printed on the screen. error: Invalid VCS root mapping The directory ~/…staBot-master (swazz) is registered as a Git root, but no Git repositories were found there. Configure...

May I have a look at the full output, plus error message you've encountered? Screenshot or text will do. Also, did you clone this repository to your local machine or you just downloaded it as zip to your local storage?

I copied to local machine ( I mean I downloaded as zip). I found some issues due to my mistake and trying again. I am updating my comment. Please let me half an our for final. Meanwhile thank you for your support.

autumnlewjb commented 4 years ago

ERROR: Invalid VCS root mapping The directory ~/…staBot-master (swazz) is registered as a Git root, but no Git repositories were found there. Configure...

This error was most probably due to the method you used in order to have a copy of the Git repository on your local machine. Plus, I was using VS Code for editing, which I reckone why it is part of the error message. In order to solve this problem, you have 2 options which I discovered so far:

Refer StackOverflow thread here

Happy Coding!