cuckoobox/cuckoo — Issue #23: Cuckoo stumbled in an unhandled error!
Author: Meloncete
Created: 2012-02-06 17:20:37+00:00
State: open

Hi!

after submit a binary to cuckoo i get this error, if y try to see the report via web, i have this other error:

Error response

Error code 404.

Message: Not Found.

Error code explanation: 404 = Nothing matches the given URI.

----------

Console error.

[2012-02-06 18:18:01,695] [Core.Dispatcher] DEBUG: No tasks pending.
[2012-02-06 18:18:02,520] [VirtualMachine.Execute] INFO: Cuckoo analyzer exited with code 0 on virtual machine "Cuckoo2".
[2012-02-06 18:18:02,623] (Task #434) [Core.Analysis.SaveResults] INFO: Analysis results successfully saved to "analysis/434".
[2012-02-06 18:18:02,646] (Task #434) [Core.Analysis.CleanShare] DEBUG: Shared folder "shares/Cuckoo2" cleaned successfully.
[2012-02-06 18:18:02,697] [Database.Init] DEBUG: Connected to SQLite database "db/cuckoo.db".
[2012-02-06 18:18:02,769] [Database.Complete] DEBUG: Task with ID 434 updated to status "1".
[2012-02-06 18:18:02,798] [Core.Dispatcher] DEBUG: No tasks pending.
[2012-02-06 18:18:02,799] (Task #434) [Core.Analysis.Processing] INFO: Analysis results processor started with PID "5883".
[2012-02-06 18:18:03,446] [VirtualMachine.Stop] INFO: Virtual machine "Cuckoo2" powered off successfully.
[2012-02-06 18:18:03,458] (Task #434) [Core.Analysis.FreeVM] INFO: Virtual machine "Cuckoo2" released.
[2012-02-06 18:18:03,458] (Task #434) [Core.Analysis.Run] INFO: Analyis completed.
[2012-02-06 18:18:03,801] [Database.Init] DEBUG: Connected to SQLite database "db/cuckoo.db".
[2012-02-06 18:18:03,827] [Core.Dispatcher] DEBUG: No tasks pending.
[2012-02-06 18:18:04,834] [Database.Init] DEBUG: Connected to SQLite database "db/cuckoo.db".
[2012-02-06 18:18:04,855] [Core.Dispatcher] DEBUG: No tasks pending.
[2012-02-06 18:18:05,865] [Database.Init] DEBUG: Connected to SQLite database "db/cuckoo.db".
[2012-02-06 18:18:05,889] [Core.Dispatcher] DEBUG: No tasks pending.
[2012-02-06 18:18:06,901] [Database.Init] DEBUG: Connected to SQLite database "db/cuckoo.db".
[2012-02-06 18:18:06,928] [Core.Dispatcher] DEBUG: No tasks pending.
[2012-02-06 18:18:07,930] [Database.Init] DEBUG: Connected to SQLite database "db/cuckoo.db".
[2012-02-06 18:18:07,953] [Core.Dispatcher] DEBUG: No tasks pending.
[2012-02-06 18:18:08,955] [Database.Init] DEBUG: Connected to SQLite database "db/cuckoo.db".
[2012-02-06 18:18:08,982] [Core.Dispatcher] DEBUG: No tasks pending.

------------------------------------[ERROR]-------------------------------------
Cuckoo stumbled in an unhandled error!
Before reporting the problem, please run with latest release from the development
Git repository at:
http://github.com/cuckoobox/cuckoo
If the exception persists, please send the following traceback to:
cuckoo@public.honeynet.org
The developers will try to reproduce the bug, fix it and get in touch with you.

----------------------------------[TRACEBACK]-----------------------------------
Cuckoo version: v0.3.2
Python version: 2.7.2+ (default, Oct 4 2011, 20:06:09)
[GCC 4.6.1]
OS: linux2
Command line: processor.py analysis/434
Traceback (most recent call last):
File "processor.py", line 67, in
main()
File "processor.py", line 61, in main
ReportProcessor(analysis_path).report(CuckooDict(analysis_path).process())
File "/root/cuckoo/cuckoo/reporting/reporter.py", line 59, in report
self._observable.notify(report)
File "/root/cuckoo/cuckoo/reporting/observers.py", line 68, in notify
observer.update(results)
File "/root/cuckoo/cuckoo/reporting/tasks/reporthtml.py", line 47, in update
html = template.render(**results)
File "/usr/lib/python2.7/dist-packages/mako/template.py", line 296, in render
return runtime._render(self, self.callable_, args, data)
File "/usr/lib/python2.7/dist-packages/mako/runtime.py", line 660, in _render
**_kwargs_for_callable(callable_, data))
File "/usr/lib/python2.7/dist-packages/mako/runtime.py", line 692, in _render_context
_exec_template(inherit, lclcontext, args=args, kwargs=kwargs)
File "/usr/lib/python2.7/dist-packages/mako/runtime.py", line 718, in _exec_template
callable_(context, *args, **kwargs)
File "base_html", line 37, in render_body
File "report_html", line 48, in render_content
File "/usr/lib/python2.7/dist-packages/mako/runtime.py", line 587, in _include_file
callable_(ctx, **_kwargs_for_include(callable_, context._data, **kwargs))
File "sections_general_information_html", line 94, in render_body
UnicodeDecodeError: 'ascii' codec can't decode byte 0xf3 in position 5036: ordinal not in range(128)
--------------------------------------------------------------------------------

[2012-02-06 18:18:09,762] [Database.Init] DEBUG: Connected to SQLite database "db/cuckoo.db".
[2012-02-06 18:18:09,776] [Core.Dispatcher] DEBUG: No tasks pending.
[2012-02-06 18:18:10,778] [Database.Init] DEBUG: Connected to SQLite database "db/cuckoo.db".
[2012-02-06 18:18:10,799] [Core.Dispatcher] DEBUG: No tasks pending.
[2012-02-06 18:18:11,802] [Database.Init] DEBUG: Connected to SQLite database "db/cuckoo.db".
[2012-02-06 18:18:11,822] [Core.Dispatcher] DEBUG: No tasks pending.
[2012-02-06 18:18:12,824] [Database.Init] DEBUG: Connected to SQLite database "db/cuckoo.db".
[2012-02-06 18:18:12,839] [Core.Dispatcher] DEBUG: No tasks pending.
[2012-02-06 18:18:13,845] [Database.Init] DEBUG: Connected to SQLite database "db/cuckoo.db".
[2012-02-06 18:18:13,860] [Core.Dispatcher] DEBUG: No tasks pending.
[2012-02-06 18:18:14,867] [Database.Init] DEBUG: Connected to SQLite database "db/cuckoo.db".
[2012-02-06 18:18:14,881] [Core.Dispatcher] DEBUG: No tasks pending.

Thanks.