Opened 9 years ago

Closed 9 years ago

#151 closed incident (fixed)

wlportal geeft foutmeldingen op Leythenrode: config.yaml ontbreekt

Reported by: huub Owned by: rick
Keywords: Cc:
Location: Generiek

Description

Op Leythenrode staat de wlportal-log vol met
ERROR:root:Traceback (most recent call last):

File "index.cgi", line 69, in <module>

conf.update(yaml.load(open('/usr/local/etc/wlportal/config.yaml')))

IOError: [Errno 2] No such file or directory: '/usr/local/etc/wlportal/config.yaml'

Er is wel een config.yaml.sample file.

Change History (3)

comment:1 Changed 9 years ago by rick

Owner: set to rick
Status: newassigned

I will take it.

comment:2 Changed 9 years ago by rick

In 10287/iris:

Config file is not mandatory, this should not flag an error.

Fixes: beheer#151

Also seems to speedup loading the wlportal quite a bit. Renders in 1.5 seconds
now, instead of the 4+seconds (beheer#133).

comment:3 Changed 9 years ago by rick

Resolution: fixed
Status: assignedclosed
Note: See TracTickets for help on using tickets.