Skip to content
This repository has been archived by the owner on Apr 16, 2019. It is now read-only.

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

Open
mwcz opened this issue Nov 15, 2011 · 5 comments
Open
Assignees
Labels
Milestone

Comments

@mwcz
Copy link

mwcz commented Nov 15, 2011

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.

@douglatornell
Copy link
Collaborator

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.

@mwcz
Copy link
Author

mwcz commented Jul 27, 2012

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

@alkhimey
Copy link

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 = "").

@ghost ghost assigned douglatornell May 18, 2013
@douglatornell
Copy link
Collaborator

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 douglatornell reopened this May 18, 2013
@alkhimey
Copy link

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.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

3 participants