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

json.decoder.JSONDecodeError: Expecting property name enclosed in double quotes: line 62 column 1 (char 4619) #52

Closed
majidmc2 opened this issue Aug 9, 2021 · 5 comments
Assignees
Labels
bug Something isn't working

Comments

@majidmc2
Copy link

majidmc2 commented Aug 9, 2021

I ran apkleaks with this command:
sudo python3 apkleaks.py -f ../myapp.apk
but I got this error:

`
** Decompiling APK...
ERROR - Incorrect arguments: File not found /usr/share/jadx/bin/../myapp.apk

** Scanning against 'com.flightio.app'

** Done with nothing. ¯_(ツ)_/¯
Traceback (most recent call last):
File "/home/majidmc2/Desktop/apkleaks/apkleaks.py", line 5, in
main()
File "/home/majidmc2/Desktop/apkleaks/apkleaks/cli.py", line 36, in main
init.scanning()
File "/home/majidmc2/Desktop/apkleaks/apkleaks/apkleaks.py", line 124, in scanning
regex = json.load(regexes)
File "/usr/lib/python3.9/json/init.py", line 293, in load
return loads(fp.read(),
File "/usr/lib/python3.9/json/init.py", line 346, in loads
return _default_decoder.decode(s)
File "/usr/lib/python3.9/json/decoder.py", line 337, in decode
obj, end = self.raw_decode(s, idx=_w(s, 0).end())
File "/usr/lib/python3.9/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 62 column 1 (char 4619)
`

@w4h4z
Copy link

w4h4z commented Aug 9, 2021

same here

@dwisiswant0 dwisiswant0 self-assigned this Aug 10, 2021
@dwisiswant0 dwisiswant0 added the bug Something isn't working label Aug 10, 2021
@kmskrishna
Copy link

same issue,

@mlniang
Copy link

mlniang commented Aug 10, 2021

Removing the comma at the end of the last line in regexes.json file solved this issue for me.

@dwisiswant0
Copy link
Owner

Closing as fixed on v2.6.1.

@azerpas
Copy link

azerpas commented Feb 17, 2022

Still getting this issue with the Docker image

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

6 participants