GH05T-HUNTER5 / GH05T-INSTA

Insta BruteForce { GH05T-INSTA 7.01 } Fork it...
Other
668 stars 139 forks source link

Configuration #260

Open umarahmad200 opened 1 year ago

umarahmad200 commented 1 year ago

Invalid configuration file at /root/instapy-config.json

Creepy2e commented 1 year ago

Invalid configuration file at /root/instapy-config.json

you mean this is display by terminal?:

Traceback (most recent call last):
File "/usr/local/lib/python3.11/dist-packages/InstagramPy/InstagramPySession.py", line 87, in init
configuration = json.load(fp)
^^^^^^^^^^^^^
File "/usr/lib/python3.11/json/init.py", line 293, in load
return loads(fp.read(),
^^^^^^^^^^^^^^^^
File "/usr/lib/python3.11/json/init.py", line 346, in loads
return _default_decoder.decode(s)
^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3.11/json/decoder.py", line 337, in decode
obj, end = self.raw_decode(s, idx=_w(s, 0).end())
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3.11/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.11/dist-packages/InstagramPy/init.py", line 128, in ExecuteInstagramPy session = InstagramPySession( ^^^^^^^^^^^^^^^^^^^ File "/usr/local/lib/python3.11/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'?

i have this problem and i dont know how to fix it i have uninstall and install but everytime i get this error i hope anyone can help me

and the instapy-config.json will be created and then its delete but i have try it to open and there is this code in the instapy-config.json:

{ "api-url": "https://i.instagram.com/api/v1/", "user-agent": "Instagram 10.26.0 Android (18/4.3; 320dpi; 720x1280; Xiaomi; HM 1SW; armani; qcom; en_US)", "ig-sig-key": "4f8732eb9ba7d1c8e8897a75d6474d4eb3f5279137431b2aafb71fafe2abe178", "ig-sig-version": "4", "tor": { "server": "127.0.0.1", // Replace with the correct Tor server address "port": "9050", // Replace with the correct Tor server port "protocol": "socks5", // Replace with the correct Tor protocol if necessary "control": { "password": "", // Set the control port password if required "port": "9051" // Replace with the correct Tor control port } } } if this will work to fix it

kdiscoding commented 1 year ago

This script must be as root getting this after bash setup.sh cmd

Creepy2e commented 1 year ago

This script must be as root getting this after bash setup.sh cmd

Yes i have it run as Root But it doesnt work i have All Time the Same Error it doesnt work

Aftershock3995 commented 1 year ago

I have this issue as well

trashmanbrah commented 1 year ago

me too