Regression in old settings files
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
pelican (Ubuntu) |
New
|
Undecided
|
Unassigned |
Bug Description
I had a settings file that did not set PATH. On upgrade to Trusty (3.2.1-1 -> 3.3-1), I started seeing the following:
WARNING: Could not process theme/templates
'NoneType' object has no attribute 'lower'
ERROR: Skipping theme/templates
Done: Processed 5 articles and 0 pages in 0.45 seconds.
I'm not completely sure if this is a regression or not, or if the previous behaviour worked but was silent about these problems.
The solution seems to be to add:
PATH = "content"
to my settings files. Otherwise it seems to default to "." or something.
Research pointed me to https:/
Did the behaviour change, or is this a mistake I had made previously? Whichever way, an upgrade to Trusty appears to bring this out.
I'm not confident enough to suggest any changes to Ubuntu right now. Leaving this here in the hope that it is useful to others.