Hi all, I am working on the windows part of shinken, and i found an issue on 
the devel branch (not in the RC1 release) :

A commit was done for the web-ui umask option. This is not working on windows 
(i thing looking on umask that is normal ;-) and the web-ui is never displayed.

add webui option processing for bindAddress and umask 

Of course, removing that in webui-broker.py solves the issue on windows (tested 
on my windows port using the commit informations), but it's not a good fix ! 
Can someone more stuffed on python will help me on this, because with that, 
web-ui cannot start on windows :

brokerd.log:
2013-05-18 11:32:06,483 [1368869526] Error :   [broker-1] The module WebUI 
raised an exception 'Module' object has no attribute 'umask', I remove it!
2013-05-18 11:32:06,483 [1368869526] Error :   [broker-1] Back trace of this 
remove: Traceback (most recent call last):
  File "C:\temp\git-shinken1.4 - Copy\shinken\shinken\modulesmanager.py", line 
161, in get_instances
    inst = module.get_instance(mod_conf)
  File "C:\temp\git-shinken1.4 - 
Copy\shinken\shinken\modules\webui_broker\__init__.py", line 45, in get_instance
    instance = Webui_broker(plugin)
  File "C:\temp\git-shinken1.4 - 
Copy\shinken\shinken\modules\webui_broker\webui_broker.py", line 77, in __init__
    umask = getattr(modconf, 'umask')
AttributeError: 'Module' object has no attribute 'umask'

Jean-François BUTKIEWICZ 
Consultant VEOSOFT (groupe VEONERGIE) 

------------------------------------------------------------------------------
AlienVault Unified Security Management (USM) platform delivers complete
security visibility with the essential security capabilities. Easily and
efficiently configure, manage, and operate all of your security controls
from a single console and one unified framework. Download a free trial.
http://p.sf.net/sfu/alienvault_d2d
_______________________________________________
Shinken-devel mailing list
Shinken-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/shinken-devel

Reply via email to