Prewikka Python Error

Machu Quentin <[email protected]> Fri, 26 Nov 2010 20:18:50 +0100
Newsgroups gmane.comp.security.ids.prelude.user
Message-ID <[email protected]>
Hello.

I had Prewikka 0.9.9.4 ( or something like that ) and I updated to 1.0.0 on
my Debian.

BUT I've a prob and after 3 hours.. didnt find a solution ... Can u help me
?

*tail -f /var/log/apache2/error.log*
*[Fri Nov 26 19:55:57 2010] [error] [client 82.238.124.99] PathInfo: '/'
[Fri Nov 26 19:55:57 2010] [error] [client 82.238.124.99] Traceback (most
recent call last):
[Fri Nov 26 19:55:57 2010] [error] [client 82.238.124.99]   File
"/usr/lib/python2.5/site-packages/mod_python/importer.py", line 1537, in
HandlerDispatch\n    default=default_handler, arg=req, silent=hlist.silent)
[Fri Nov 26 19:55:57 2010] [error] [client 82.238.124.99]   File
"/usr/lib/python2.5/site-packages/mod_python/importer.py", line 1202, in
_process_target\n    module = import_module(module_name, path=path)
[Fri Nov 26 19:55:57 2010] [error] [client 82.238.124.99]   File
"/usr/lib/python2.5/site-packages/mod_python/importer.py", line 304, in
import_module\n    return __import__(module_name, {}, {}, ['*'])
[Fri Nov 26 19:55:57 2010] [error] [client 82.238.124.99]   File
"/usr/lib/python2.5/site-packages/prewikka/ModPythonHandler.py", line 20, in
<module>\n    from prewikka import Core, Request, localization
[Fri Nov 26 19:55:57 2010] [error] [client 82.238.124.99]   File
"/usr/lib/python2.5/site-packages/prewikka/Core.py", line 23, in
<module>\n    import prewikka.views
[Fri Nov 26 19:55:57 2010] [error] [client 82.238.124.99]   File
"/usr/lib/python2.5/site-packages/prewikka/views/__init__.py", line 21, in
<module>\n    from prewikka.views import \\
[Fri Nov 26 19:55:57 2010] [error] [client 82.238.124.99] ImportError:
cannot import name messagelisting*

*tail -fn 500 /etc/prewikka/prewikka.conf*
*[general]
# Number of heartbeat to analyze in the heartbeat analysis view.
#heartbeat_count: 30

# If the offset between two heartbeat is off by more than the specified
# offset (in seconds), the analyzer will be represented as offline.
#heartbeat_error_margin: 3

# This setting tell Prewikka to not show the full exception when
# an error occur:
#disable_error_traceback

# Open external (references, IP lookup, and port lookup) links
# in a new windows.
external_link_new_window

# When a defined number of classification, source, or target exceed
# the default value (10), an expension link will be provided to lookup
# the remaining entry.
#
#max_aggregated_source: 10
#max_aggregated_target: 10
#max_aggregated_classification: 10


# Asynchronous DNS resolution (require twisted.names and twisted.internet)
#
# While rendering view containing address scheduled for asynchronous
# DNS resolution, it is possible that the rendering terminate too fast
# for all DNS requests to complete.
#
# The dns_max_delay setting determine Prewikka behavior:
# - [-1] No DNS resolution is performed.
# - [0] Do not wait, immediatly send results to the client.
# - [x] Wait at most x seconds, then send results to the client.
#
# dns_max_delay: 0


# Default locale to use (default is English):
default_locale: fr


[interface]
software: Prewikka
place: Harmony-Hosting
title: Prelude Console

[host_commands]
#
# You can use the $host variable that will be substituted with
# the source/target host value.
#
#MyCommand: /path/to/command <parameters>
#Command Title: /usr/bin/test -x $host -a

[idmef_database]
#
# if your database is a sqlite file, please use:
#
# type: sqlite3
# file: /path/to/your/sqlite_database
#
type: mysql
host: localhost
user: prelude-manager
pass: ZZZZZZZZZZZZZ
name: preludemanager

[database]
type: mysql
host: localhost
user: prewikka
pass: ZZZZZZZZ
name: prewikka

# Standard login / password authentication:
[auth loginpassword]
expiration: 60


# Rely on webserver for user authentication:
#
# User that authenticate for the first time won't have any permission.
# If the "default_admin_user" option is provided, the specified user will
# be granted ALL access, allowing to edit other users permissions.
#
# [auth cgi]
# default_admin_user: myuser


# Disable Prewikka authentication:
# [auth anonymous]


# Logging configuration:
# - You can activate several log section.
# - Log level might be set to all/debug, info, warning, error, critical.
#   If unspecified, the default level is "warning".

# [log stderr]
# level: info

# [log file]
# level: debug
# file: /tmp/prewikka.log

# [log syslog]
# level: info

# [log nteventlog]
# level: info

# [log smtp]
level: warning
host: localhost
from: root
to: root
subject: Prewikka Warning

*Thanks ! REally !*

*
_______________________________________________
Prelude-user site list
[email protected]
http://lists.prelude-technologies.com/mailman/listinfo/prelude-user