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] PDF Report Generation Error #208
Comments
|
I confirm, ajinabraham commented on Aug 4, pip install html5lib==1.0b8, fixed the problem for me. |
hi abraham, " Don't Play Around. An Error just popped in!Inappropriate argument type. init() got an unexpected keyword argument 'status_code' Thanks in advance |
Use the latest master |
{"pdf_error": "Cannot Generate PDF", "err_details": "wkhtmltopdf exited with non-zero code 127. error:\n/usr/bin/wkhtmltopdf: error while loading shared libraries: libQt5WebKitWidgets.so.5: cannot open shared object file: No such file or directory\n"} I got thiserror after clone the updated code and clcik on the Download report link |
I have download the wkhtmltopdf.tar.xz and extracted |
ie bin, include, lib and share here there is no python files for install Thanks in advance Thanks |
Read the installation instruction of wkhtmltopdf |
Thank you abraham |
I have copied bin folder files into /usr/bin/ folder of the system. Then ran the application and successfully generate the pdf report for the respective apk |
1 similar comment
I have copied bin folder files into /usr/bin/ folder of the system. Then ran the application and successfully generate the pdf report for the respective apk |
I am getting 'bool' object has no attribute 'dumps' exception when I click on Download Report in Mob SF Static Analyzer The below is shown on console [INFO] Analysis is already Done. Fetching data from the DB... |
Please provide logs |
I have the same issue: ./logs/MobSF.log says: runserver log says: complete log: https://pastebin.com/eZnRd3FS |
Have you installed wkhtmltopdf? |
Yes, i did! |
Any other ideas to resolve this issue? |
This error comes when
|
I tried this command from terminal, Below is the output: C:\MobSF\Mobile-Security-Framework-MobSF-master\Mobile-Security-Framework-MobSF-master>wkhtmltopdf http://google.com google.pdf |
Looks like wkhtmltopdf is working fine. Can you share the APK over email to investigate this further. |
@ajinabraham, Now I am able to download report in Mob SF Static Analyzer, not sure how this got resolved. [INFO] VM Starting [INFO] Setting up Dynamic Analysis Environment [2018-12-04 13:49:47] |
Do you have capfuzz in your venv? |
I did install capfuzz |
I have encountered the same problem, I would like to ask how you solved it. |
If you have wkhtmltopdf installed and still seeing this. Please share the APK for further debugging. |
Thanks a lot, by reinstalling wkhtmltopdf, my issue has gone! |
I am receiving the following error when I try to download the pdf version of the report.
PDF Error:
[ERROR] PDF Report Generation Error (/MobSF/Mobile-Security-Framework-MobSF-0.9.2/StaticAnalyzer/views.py, LINE 148 "pdf = pisa.pisaDocument(StringIO( "{0}".format(html.encode('utf-8'))), result, encoding='utf-8')"): global name 'pisa' is not defined
Please assist me in fixing this error.
Thanks in advance for your help!
The text was updated successfully, but these errors were encountered: