-
Notifications
You must be signed in to change notification settings - Fork 448
Failed to generate summary HTML report: 'dict object' has no attribute 'CAPE' #2516
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
Comments
hello, just tested it works fine here, have you disaled CAPE in processing.conf? also provide more info from template as on which commit you are, and you maybe have some previous errors in console? |
By default, [CAPE] is enabled. I just disabled it, tried again, and the error is still the same.processing.conf
Debug log from command poetry run python utils/process.py -r 15 -d
|
can you share hash to try to reproduce it on my side? |
file are not on vt, and i can't find it on another platforms, can you attack it? is that just a txt file with some ips? |
Yes, this is just a regular sample file that I am using (no indication of malware). |
i just submitted random txt files, and it generated me the report just fine. i did check again those modules that fails to you but i don't see whats is wrong |
|
i have pushed some changes to those modules, if you need them, reenable it, pull from master |
After I performed the update, the error that occurred is as follows:
|
Great this is what I need, thank you will push a fix in a bit |
ok, lets try once more. do next:
also provide plz output of
|
poetry run pip freeze grep Jinja |
did you reenabble CAPE in processing.conf? that must be enabled |
I have tried enabling and disabling it, and the log is the same. |
you have in logs |
does that happens only with this txt or it happens with real samples? |
I am using the sample
|
do you have any custom plugin/signature or anything custom that you added? i can't reproduce it and you still have |
I did not add any plugins/signatures or anything else, everything is default. |
then i have no idea what is wrong |
Maybe I will try re-deploying, hopefully, everything will be fine after the last update you made. I will update you again after the re-deployment. Thank you. |
let me me know how that goes, that is very strange, and unusual to see problems with |
conf/processing.conf
conf/reporting.conf
Spoetry run python utils/process.py -r 23 -d
|
Sorry for the late update, I have tried reinstalling on Ubuntu 22.04 and 24.04. The status on Ubuntu 22.04 is Normal log if running process from weblog from poetry run python utils/process.py -r 37 -dMeanwhile, on Ubuntu 24.04, Normal log if running process from weblog from poetry run python utils/process.py -r 2 -d |
hello, thats interesting, i have both servers version in run but didn't face it. can you add some debugging inside of |
After add
|
It should be printed before, as the log is for reporting part, not processing, so you don't see it right? CAPE is enabled in processing.conf? |
thats explains it, CAPE must be on, without it it won't work and most of the stuff will just fail |
The same error occurs even though 'CAPE' has been enabled.
|
but you still not see the print that you added right? even if it would be empty, it should just print initial part |
@doomedraven Hi, I also face the same issue. However, it's apparently not only the PDF Report, but every Report that fails to be generated. I also made sure to not miss anything, but for some reason non of the reports are working. Regardless whether its JSON; PDF, HTML HTML-Summary etc etc. I'm running CAPE on an Ubuntu 24.04. Apr 14 12:14:00 sandbox-VirtualBox poetry[29933]: 2025-04-14 14:14:00,965 [lib.cuckoo.core.analysis_manager] ERROR: Task #16: Machine win10: the guest initialization hit the critical timeout, analysis aborted Apr 14 12:14:06 sandbox-VirtualBox poetry[20295]: 2025-04-14 14:14:06,760 [Task 16] [lib.cuckoo.core.plugins] ERROR: Failed to run the reporting module "RunStatistics": 'NoneType' object has no attribute 'get' |
Well your looks like configuration problem of the sandbox/vm |
That's a bummer - I just went through my config, and alos through the already finished analysis, and noticed that only one analysis came back as "reported" and only there the JSON Report worked. For some reason, all the others fail with "report.html" or "report.pdf" not found. Could you potentially show me please, where I might have misconfigured something? I'd really appreciate that. |
just read your posted log, almost everything is wrong, starting from that it can't connect to VM, etc. But html/pdf report gen doesnt work due to 3rd party lib issue. json works.
|
thanks - but the interesting thing is, that I can see that it is starting the win10 VM by itself. i'll have a look into that. So from what you are saying, only JSON is the way to go for the time being - is there a potential solution on the way or is it not going to be fixed? |
Well to see report you have webgui. For html/pdf as standalone no and I don't have time to work on it/low priority About start win10 is one thing, second thing is agent inside of the vm, see docs of configuration and testing connectivity |
really appreciated your answers - thank you! |
You are welcome, once you fix that most of the errors will disappear |
Please Help Me
I have an issue related to the reporting process
Prerequisites
Please answer the following questions for yourself before submitting an issue.
Context
$ git log | head -n1
to find outFailure Logs
in
process.log
in
reporting.conf
The text was updated successfully, but these errors were encountered: