Project

General

Profile

Bug #360

Prewikka internal error

Added by Olivier D over 11 years ago. Updated over 11 years ago.

Status:
Resolved
Priority:
Normal
Target version:
Start date:
07/25/2009
Due date:
% Done:

0%

Resolution:

Description

When selecting "See alert detail" on any alert :

Prewikka internal error

'ascii' codec can't decode byte 0xaa in position 39: ordinal not in range(128)

Traceback (most recent call last):
File "/usr/lib/python2.5/site-packages/prewikka/Core.py", line 363, in process
request.content = template.respond()
File "/usr/lib/python2.5/site-packages/prewikka/templates/HTMLDocument.py", line 145, in respond
_v = VFFSL # '$body' on line 21, col 9
File "/usr/lib/python2.5/site-packages/prewikka/templates/TopLayout.py", line 134, in body
_v = VFFSL # '$toplayout_content' on line 14, col 3
File "/usr/lib/python2.5/site-packages/prewikka/templates/ClassicLayout.py", line 318, in toplayout_content
_v = VFFSL # '$main_content' on line 58, col 16
File "/usr/lib/python2.5/site-packages/prewikka/templates/MessageSummary.py", line 328, in main_content
_v = VFFSL(VFFSL) # '$display_node($sections)' on line 105, col 1
File "/usr/lib/python2.5/site-packages/prewikka/templates/MessageSummary.py", line 240, in display_node
_v = VFFSL(VFFSL, 0) # '$display_table($section, 0)' on line 71, col 3
File "/usr/lib/python2.5/site-packages/prewikka/templates/MessageSummary.py", line 185, in display_table
_v = VFFSL(VFFSL, VFFSL + 1) # '$display_table($col, $depth + 1)' on line 53, col 12
File "/usr/lib/python2.5/site-packages/prewikka/templates/MessageSummary.py", line 207, in display_table
return _dummyTrans and trans.response().getvalue() or ""
File "/usr/lib/pymodules/python2.5/Cheetah/DummyTransaction.py", line 31, in getvalue
return ''.join(outputChunks)
UnicodeDecodeError: 'ascii' codec can't decode byte 0xaa in position 39: ordinal not in range(128)

I am using debian squeeze:

ii prewikka 0.9.17-1 Graphical analysis console for the Prelude IDS Framework
ii prelude-correlator 0.9.0~beta6-1 Security Information Management System [ Correlator ]
ii prelude-lml 0.9.14-2 Hybrid Intrusion Detection System [ Log Monitoring Lackey ]
ii prelude-manager 0.9.14.2-2 Hybrid Intrusion Detection System [ Report Manager ]

Associated revisions

Revision 70f2e2e9 (diff)
Added by Yoann VANDOORSELAERE over 11 years ago

Convert all IDMEF string to Unicode, so that they are handled properly
by the Cheetah backend if used in HTML rendering. refs #360.

History

#1 Updated by Olivier D over 11 years ago

Hi,

I did nothing but reboot, and noticed that everything is ok for all alerts, but snort ones.
All snort (old and new ones) alerts bring me the same kind of "Prewikka internal error".

so here are informations related to snort :

ii snort-common 2.7.0-26 flexible Network Intrusion Detection System [common files]
ii snort-common-libraries 2.7.0-26 flexible Network Intrusion Detection System ruleset
ii snort-mysql 2.7.0-26 flexible Network Intrusion Detection System [MySQL]
ii snort-rules-default 2.7.0-26 flexible Network Intrusion Detection System ruleset

#2 Updated by Yoann VANDOORSELAERE over 11 years ago

  • Status changed from New to Assigned

#3 Updated by Yoann VANDOORSELAERE over 11 years ago

  • Status changed from Assigned to Resolved

Thanks for the report, this has been fixed as of version 0.9.17.1

#4 Updated by Yoann VANDOORSELAERE over 11 years ago

  • Target version changed from 0.9.17 to 0.9.18

Also available in: Atom PDF