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

ERROR: Unknown error: 'test-apk_apk' on Mac executable #46

Closed
vincentcox opened this issue Mar 5, 2018 · 2 comments
Closed

ERROR: Unknown error: 'test-apk_apk' on Mac executable #46

vincentcox opened this issue Mar 5, 2018 · 2 comments
Labels
Mac OS X Issue specific on Mac OS X Release Issue appears in executable from the release

Comments

@vincentcox
Copy link
Owner

When running the Mac release, the following output is shown:

[INFO] jadx return code: 0
[INFO] Decompiling done.
[INFO] Searching trough files
[INFO] Searching done.
[INFO] start generating report
[ERROR] ERROR: Unknown error: 'test-apk_apk'.

ToDo: Disable try catch wrapper on main function to find the root cause. Maybe make a --debug option to disable this try catch wrapper.

@vincentcox vincentcox added Mac OS X Issue specific on Mac OS X Release Issue appears in executable from the release labels Mar 5, 2018
@vincentcox
Copy link
Owner Author

More output:

Traceback (most recent call last):
 File "/Users/vincentcox/Downloads/StaCoAn-0.55/src/stacoan.py", line 254, in <module>
   program(parse_args())
 File "/Users/vincentcox/Downloads/StaCoAn-0.55/src/stacoan.py", line 181, in program
   overview_html.tree_view(Project.projects[project_path], file)
 File "/Users/vincentcox/Downloads/StaCoAn-0.55/src/report_html.py", line 665, in tree_view
   project)
 File "/Users/vincentcox/Downloads/StaCoAn-0.55/src/report_html.py", line 92, in get_source_code_from_file
   if file_path in Project.projects[project.name].db_files:
KeyError: 'test-apk_apk'
[7035] Failed to execute script stacoan

vincentcox added a commit that referenced this issue Mar 9, 2018
Fix for #46
vincentcox added a commit that referenced this issue Mar 9, 2018
* Optimalisations in server and searchcode

* Reduce docker image size (#47)

This reduces the image size from 1.44GB to 264MB. This is a decrease of more than 80%. 
We achieve this by using Alpine Linux with JDK 8 as our base image.

* Explicitly use python3 (#49)

* Fix for #46
@Kevin-De-Koninck
Copy link
Contributor

Issue not seen anymore, this can be closed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Mac OS X Issue specific on Mac OS X Release Issue appears in executable from the release
Projects
None yet
Development

No branches or pull requests

2 participants