Re: [Prelude Hybrid IDS] #155: prewikka-0.9.5 global name 'preludedb_check_version' is not defined

Prelude Hybrid IDS <[email protected]>
Newsgroups gmane.comp.security.ids.prelude.devel
Message-ID <[email protected]>
#155: prewikka-0.9.5 global name 'preludedb_check_version' is not defined
------------------------------------+---------------------------------------
 Reporter:  [email protected]  |        Owner:  yoann  
     Type:  defect                  |       Status:  closed 
 Priority:  normal                  |    Milestone:         
Component:  prewikka                |      Version:  0.9    
 Severity:  normal                  |   Resolution:  invalid
 Keywords:                          |  
------------------------------------+---------------------------------------
Changes (by yoann):

  * resolution:  => invalid
  * status:  new => closed

Old description:

> After upgrading from prewikka 0.9.2 to 0.9.5 (Gentoo), prewikka stopped
> working.  I found a previous thread using Google that mentioned
> libpreludedb/libprelude bindings being out of sync, but I have re-emerged
> both of them to no avail.  Here's the error  i get in my httpd logs:
>
> Traceback (most recent call last):
>   File "/usr/share/prewikka/cgi-bin/prewikka.cgi", line 80, in ?
>     core = Core.get_core_from_config(os.environ.get("PREWIKKA_CONFIG",
> None), threaded=False)
>   File "/usr/lib/python2.4/site-packages/prewikka/Core.py", line 100, in
> get_core_from_config
>     _core_cache[path] = Core(path)
>   File "/usr/lib/python2.4/site-packages/prewikka/Core.py", line 116, in
> __init__
>     self._env.idmef_db =
> IDMEFDatabase.IDMEFDatabase(self._env.config.idmef_database)
>   File "/usr/lib/python2.4/site-packages/prewikka/IDMEFDatabase.py", line
> 261, in __init__
>     raise "libpreludedb %s or higher is required (%s found)." %
> (wanted_version, preludedb_check_version(None))
> NameError: global name 'preludedb_check_version' is not defined

New description:

 After upgrading from prewikka 0.9.2 to 0.9.5 (Gentoo), prewikka stopped
 working.  I found a previous thread using Google that mentioned
 libpreludedb/libprelude bindings being out of sync, but I have re-emerged
 both of them to no avail.  Here's the error  i get in my httpd logs:

 {{{
 Traceback (most recent call last):
   File "/usr/share/prewikka/cgi-bin/prewikka.cgi", line 80, in ?
     core = Core.get_core_from_config(os.environ.get("PREWIKKA_CONFIG",
 None), threaded=False)
   File "/usr/lib/python2.4/site-packages/prewikka/Core.py", line 100, in
 get_core_from_config
     _core_cache[path] = Core(path)
   File "/usr/lib/python2.4/site-packages/prewikka/Core.py", line 116, in
 __init__
     self._env.idmef_db =
 IDMEFDatabase.IDMEFDatabase(self._env.config.idmef_database)
   File "/usr/lib/python2.4/site-packages/prewikka/IDMEFDatabase.py", line
 261, in __init__
     raise "libpreludedb %s or higher is required (%s found)." %
 (wanted_version, preludedb_check_version(None))
 NameError: global name 'preludedb_check_version' is not defined
 }}}

Comment:

 That is it: prewikka-0.9.5 require libpreludedb 0.9.7.

-- 
Ticket URL: <https://trac.prelude-ids.org/ticket/155>
Prelude Hybrid IDS <http://www.prelude-ids.org>
The Prelude Hybrid Intrusion Detection System suite

_______________________________________________
Prelude-devel site list
[email protected]
http://www.prelude-ids.org/mailman/listinfo/prelude-devel
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.