Skip to content
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

your tool DOES NOT work, fix it #268

Open
birdman-2 opened this issue Sep 19, 2023 · 9 comments
Open

your tool DOES NOT work, fix it #268

birdman-2 opened this issue Sep 19, 2023 · 9 comments
Labels
bug Something isn't working

Comments

@birdman-2
Copy link

Which environment you are using ?

Linux / Desktop

Describe the bug

Traceback (most recent call last):
File "/usr/local/lib/python3.10/dist-packages/InstagramPy/InstagramPySession.py", line 87, in init
configuration = json.load(fp)
File "/usr/lib/python3.10/json/init.py", line 293, in load
return loads(fp.read(),
File "/usr/lib/python3.10/json/init.py", line 346, in loads
return _default_decoder.decode(s)
File "/usr/lib/python3.10/json/decoder.py", line 337, in decode
obj, end = self.raw_decode(s, idx=_w(s, 0).end())
File "/usr/lib/python3.10/json/decoder.py", line 353, in raw_decode
obj, end = self.scan_once(s, idx)
json.decoder.JSONDecodeError: Expecting property name enclosed in double quotes: line 7 column 39 (char 327)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "/usr/local/bin/instagram-py", line 8, in
sys.exit(ExecuteInstagramPy())
File "/usr/local/lib/python3.10/dist-packages/InstagramPy/init.py", line 128, in ExecuteInstagramPy
session = InstagramPySession(
File "/usr/local/lib/python3.10/dist-packages/InstagramPy/InstagramPySession.py", line 90, in init
"invalid configuration file at {}".format(configuraion))
NameError: name 'configuraion' is not defined. Did you mean: 'configuration'?

Provide log output [Optional]

No response

@birdman-2 birdman-2 added the bug Something isn't working label Sep 19, 2023
@birdman-2
Copy link
Author

i have tried the "pip install requests" and it didnt work
i have also tried to reinstall the tool and it still didnt work
i am wondering if this tool ever worked lol

@acalapatih
Copy link

UP
I've same trouble with this

@Zayeem09
Copy link

is this solved??

@Z10n120
Copy link

Z10n120 commented Oct 14, 2023

sup do you know how i can get my password and username
?? i need some help dc is kingbob_6666

@Joynuldin
Copy link

Sure

@devmeireles
Copy link

I think saying "fix it' on an open source project will never be a good ideia, anyways, you can fix that with directly editing the /usr/local/lib/python3.10/dist-packages/InstagramPy/InstagramPySession.py file

So go to around line 90 then you can see:

"invalid configuration file at {}".format(configuraion))

You can rename it to configuration, probably gonna work

This was referenced Feb 12, 2024
@Scotty2Hotty9898
Copy link

I think saying "fix it' on an open source project will never be a good ideia, anyways, you can fix that with directly editing the /usr/local/lib/python3.10/dist-packages/InstagramPy/InstagramPySession.py file

So go to around line 90 then you can see:

"invalid configuration file at {}".format(configuraion))

You can rename it to configuration, probably gonna work

I’m sorry, do you mean rename the whole line to just configuration? Like delete it completely and re type configuration? Could you give an example ?

@devmeireles
Copy link

I think saying "fix it' on an open source project will never be a good ideia, anyways, you can fix that with directly editing the /usr/local/lib/python3.10/dist-packages/InstagramPy/InstagramPySession.py file
So go to around line 90 then you can see:

"invalid configuration file at {}".format(configuraion))

You can rename it to configuration, probably gonna work

I’m sorry, do you mean rename the whole line to just configuration? Like delete it completely and re type configuration? Could you give an example ?

No worries, you need to fix the typo on configuraion, this variable is declared as configuration and not configuraion, it must be enough to fix your issue

@Scotty2Hotty9898
Copy link

Oh okay, I got it thanks! Unfortunately my configuration is spelled correctly :( but I am still getting the same issue/error message. Do you have any other advice?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

7 participants