-
Notifications
You must be signed in to change notification settings - Fork 64
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
I got this error on windows 11 #49
Comments
Hey @6abr is it the first time using IGFI ? |
@new92 yes |
Hello, I tried again on my kali linux virtual machine, but somehow I got the same error: Traceback (most recent call last): |
Ok that’s clearly a bug of IGFI let me fix it and I’ll get back to you. |
Hey @6abr I made some changes and hopefully fixed the bug. It should be running just fine now. So try it and let me know |
Hello @new92 , Maybe, i am doing something wrong. I am on Kali linux VM and I got this error. btw i dont know if that is matter, but i can see a consent.txt file but when i used the cat cmd to it, it didnt show anything. I tried with my windows 11 laptop and i got the same error Traceback (most recent call last): |
@6abr ok try running IGFI from the |
@new92 sorry for bother you, I got this error. tell me thats my fault. |
Hey @6abr don't worry about it, ok to resolve this issue try running IGFI using root access. |
Dear @new92 |
Hey @6abr really don't worry about it. Why when running IGFI with root access it's unable to locate the session file ? Do you specify the file path using the --session option in the terminal / command line ? Oh I see the issue now, so you don't need to run the |
Hey @new92 , its me again. When I run igfi.py from the igfi directory with root, it cant find the session but when i navigate to the directory where is the session i clearly see the session file, so i dont understand why it cant find it. |
Hi @6abr can you send me a sceenshot of the complete error message ? I really can't understand why igfi is unable to find the session file. My email address is: [email protected] |
hey! erorr on windows 11. any solution? Traceback (most recent call last): During handling of the above exception, another exception occurred: Traceback (most recent call last): |
Hey @6abr oh I see, that's a strange one. Well if you're using an older version of the Instagram app try updating it. Otherwise try re-installing IGFI. If that doesn't work also try rebooting your device and/or your wifi (disable it wait for a couple of seconds and enable it again). |
@Akkiii To avoid this error login to Instagram from Firefox, run the |
Still I am getting the same error.... as I have followed your mentioned steps |
Ok, let's see, so the correct installation steps are these: sudo su
git clone https://github.com/new92/IGFI
cd IGFI
sudo pip install -r ./files/requirements.txt
python3 ./cookies.py
python3 ./igfi.py -u <username> -p <password> --session <path_to_session_file> The session file will be generated when running the |
@new92 Do we need to replace the path_to_session_file with some other thing in the below command:- If we don't need to put anything then you can mention it in the readme file. |
Also, I executed the window commands that you mentioned in the ReadMe file Even though I logged in to the Instagram in the firefox browser. |
Hey @aditya-kumar-129 ok thanks for mentioning these issues. Although I can't locate the "python3 ./igfi.py -u -p --session <path_to_session_file>" you're talking about. The command which appears on the README I see in all installation guides is the "python3 ./igfi.py -u -p --session <path_to_session_file>". To answer your question, you replace the <path_to_session_file> with the path generated from the "python3 ./cookies.py" command. As for the error you're encountering to be honest, it's the first time I see an error with such message. However you can try the following steps:
|
@new92 Regarding the above quote Actually, I also tried in the Ubuntu terminal on my Windows machine by installing the ubuntu. I tried to solve the error and at one place I got that I need to include the path to the cookies file using the -c command I don't know what exactly is the issue. If you could help me it would be greatful. |
@new92 |
Hey @aditya-kumar-129 are you logged in to your Instagram account from Firefox ? |
Yup.
…On Wed, 20 Mar, 2024, 11:10 pm Spiros Panagiotou, ***@***.***> wrote:
Hey @aditya-kumar-129 <https://github.com/aditya-kumar-129> are you
logged in to your Instagram account from Firefox ?
—
Reply to this email directly, view it on GitHub
<#49 (comment)>, or
unsubscribe
<https://github.com/notifications/unsubscribe-auth/ATQYCDH52TUGLPUAS2XMUVTYZHCYZAVCNFSM6AAAAABBIVGGQ6VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDAMJQGIYDCMBWGQ>
.
You are receiving this because you were mentioned.Message ID:
***@***.***>
|
I can use Instagram properly so yeah it's not blocked.(temporary block)
I checked the links
The first one does not have a solution although they have the same issue.
For the second one, I am not able to get what exactly they talked about
because in the beginning it was related to the error and i think then the
topic changed as much as I can understand from the conversations.
Just have one question that do we need any kind of webdriver also for
firefox??
…On Wed, Mar 20, 2024 at 11:52 PM Spiros Panagiotou ***@***.***> wrote:
Ok, check if Instagram locked your account temporarily and you need to
follow a verification process. Check also these issues maybe they'll offer
a better solution.
- Link 1 <instaloader/instaloader#2048>
- Link 2 <instaloader/instaloader#1264>
—
Reply to this email directly, view it on GitHub
<#49 (comment)>, or
unsubscribe
<https://github.com/notifications/unsubscribe-auth/ATQYCDDJ4GYSYQJKLFWGFL3YZHHXBAVCNFSM6AAAAABBIVGGQ6VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDAMJQGMYTANJVHA>
.
You are receiving this because you were mentioned.Message ID:
***@***.***>
|
Ok so the error is originated from the Firefox browser. More specifically, Firefox must have changed their database columns which leads to the specific error. In order to resolve this issue you have to install a compatible with the script version of Firefox. That would be 78.x So uninstall the current version of Firefox and install the 78.x one. To answer your question, no it's not necessary to install Firefox's webdriver. |
I am using my windows 11 laptop and everything started working, but when I answered the last question I got this error message:
Traceback (most recent call last):
File "C:\Users\Acer\Downloads\IGFI\scripts\igfi.py", line 659, in
main(username=str(args.username).strip().lower(), sessionfile=str(args.sessionfile).replace('\', '/'))
File "C:\Users\Acer\Downloads\IGFI\scripts\igfi.py", line 413, in main
client.user_follow(users[NAMES[j]])
File "C:\Users\Acer\AppData\Local\Programs\Python\Python312\Lib\site-packages\instagrapi\mixins\user.py", line 735, in user_follow
assert self.user_id, "Login required"
AssertionError: Login required
C:\Users\Acer\Downloads\IGFI\scripts>
The text was updated successfully, but these errors were encountered: