test.json needs proper formatting
The test.json that gets generated in the gen_config.py -i step is all bunched up and has no formatting whatsoever. This leads to the analysis.sh step not functioning properly. With the current (lack of) formatting, the error message is:
user@app-check-wp:/usr/local/app-check/appium-bot$ ./analyze.sh com.carmunis.carmunisfree 10101
Bot Log Analyzer (BLA) Version: 0.1.0 >Y<
Parsing options: APK file = '+4917195890849' Track file = '/usr/local/app-check/bot-logs/com.carmunis.carmunisfree_10101.trk' Output file = '/usr/local/app-check/bot-logs/com.carmunis.carmunisfree_10101.zip' Analyzing APK: Traceback (most recent call last): File "bot_analyzer.py", line 731, in sys.exit(main(sys.argv[1:])) File "bot_analyzer.py", line 88, in main apk = analyze_apk(apk_file, print) File "/usr/local/app-check/repos/appium-bot/mad_bot/tools/apk.py", line 31, in analyze_apk analysis = misc.AnalyzeAPK(apk_file, sess) File "/home/user/.local/lib/python3.7/site-packages/androguard/misc.py", line 55, in AnalyzeAPK with open(_file, "rb") as fd: FileNotFoundError: [Errno 2] No such file or directory: '+4917195890849'
If I format the file properly, the analyze.sh runs without a problem.test_current.jsontest_required.json