blogofile icon indicating copy to clipboard operation
blogofile copied to clipboard

WARNING:blogofile.template:Location is used more than once: _site/./index.html

Open mwcz opened this issue 12 years ago • 5 comments

When I run blogofile build I get the error:

WARNING:blogofile.template:Location is used more than once: _site/./index.html

This is with a simple_blog_html5 that I just init'd. No modifications yet.

To work around this, I ran blogofile -vv build which completed without errors. Go figure.

mwcz avatar Nov 15 '11 00:11 mwcz

Was this with the plugins branch?

I used simple_blog_html5 to create http://douglatornell.ca 6 or 7 months ago and never saw this error. Things have evolved quite a bit since I started working on the plugins branch in May 2012 so I'm closing this because I can't see any way that I can reproduce the issue.

Feel free to re-open if you have more info/details to share.

douglatornell avatar Jul 22 '12 03:07 douglatornell

I haven't run into it in months; you probably fixed it in your sleep.

mwcz avatar Jul 27 '12 17:07 mwcz

This warning will appear if there is an index.html.mako in the site's root (for example, I forgot to delete the one automatically created on init) and the _config.py is modified to have the blog in the root of the site (blog.path = "").

alkhimey avatar May 17 '13 21:05 alkhimey

Thanks for the new information @alkhimey. Reopened and tagged as a bug, however, I'm presently travelling with sporadic, limited network access, so it will be couple of weeks before I can do anything with this. Thanks for your patience.

douglatornell avatar May 18 '13 07:05 douglatornell

I wrote that comment for those who might be puzzled by the warning and will search this message on google.

I don't think this behaviour is a bug. Blogofile warns the user that it have more than one candidate for index.html. I think it is very reasonable.

alkhimey avatar May 18 '13 18:05 alkhimey