Opened 12 years ago

Closed 12 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 by rick, 12 years ago

Owner: set to rick
Status: newassigned

I will take it.

comment:2 by rick, 12 years ago

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 by rick, 12 years ago

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