[Shinken-devel] New issue on the devel branch using web-ui umask on windows platform...
Status: Beta
Brought to you by:
naparuba
From: Jean-François B. <jea...@ve...> - 2013-05-18 09:38:20
|
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) |