System Message: WARNING/2

19 views
Skip to first unread message

Ricky Mujica

unread,
May 13, 2019, 4:32:23 PM5/13/19
to nikola-discuss

Hi

Funny thing keeps happening. I followed the instructions on making a sight not a blog and made a static home page and put the blog elsewhere on the site. The first time I go to the blog after a fresh render, the bog shows up perfectly. If I go to another page and then come back, I get the following message and the page doesn't render properly:


System Message: WARNING/2 (<string>, line 9)

Explicit markup ends without a blank line; unexpected unindent.

I can't figure out what this is because it gets fixed by itself by rebuilding through the command line. But then the same thing happens if I go somewhere else and come back I get the same system message. Could this be a bug/

Thanks

Ricky

Roberto Alsina

unread,
May 13, 2019, 4:36:23 PM5/13/19
to Nikola—Discuss
Well, since the content is static it should either be there all the time or not be there all the time.

I suspect you have something cached. Clean your browser's cache, and it should go away. Or appear all the time :-)

--
You received this message because you are subscribed to the Google Groups "nikola-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to nikola-discus...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/nikola-discuss/7ffb1d7e-d55f-487b-98f9-af75491312de%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Ricky Mujica

unread,
May 14, 2019, 7:47:32 AM5/14/19
to nikola-...@googlegroups.com
I did clear the cache. It happens over and over regardless of the
browser or computer. It happens when I serve it on my desktop and when
I upload the site to my webhost. Really weird. If I upload the site
again, it works until I go to another link and come back. Just tried
it on my phone and it happened there too.
> You received this message because you are subscribed to a topic in the Google Groups "nikola-discuss" group.
> To unsubscribe from this topic, visit https://groups.google.com/d/topic/nikola-discuss/2Ijz0sa3xxQ/unsubscribe.
> To unsubscribe from this group and all its topics, send an email to nikola-discus...@googlegroups.com.
> To view this discussion on the web visit https://groups.google.com/d/msgid/nikola-discuss/CALXDAfpk4HyJNcXmy4VnkBJOE%2BNcx-V1yBFX0-XykJ_aDOtkzg%40mail.gmail.com.

Ricky Mujica

unread,
May 15, 2019, 4:54:24 PM5/15/19
to nikola-discuss
Ok, I figured out what was happening. Seems that when I added the suggestions in the "make a site, not a blog" post, it changed the way hyperlinks are rendered for anything that is in the "posts" folder. It removed a layer, so that /posts/bio became just /bio.
The problem was that when Nikola couldn't find the files in /bio, it just rendered old versions of the pages that were somehow in folders in output. Now I understand what you meant Robert when you suggested the cache. Because I hadn't made any changes to the pages themselves, I didn't realize that nikola was just rendering them from the output folder cache. The blog was the only page I changed and the problem was that it would sometimes render from the browser cache and sometimes not. As a result it didn't occur to me to check links. 
I finally deleted the output folder and had nikola rebuild it. When I did that, I broke all the pages that were in folders in the "posts" directory. That's when I decided to check links and it showed a ton of broken links. That's when I knew to go back and fix the hyperlnks path. when I took /posts out of the algorithm, everything just worked. 

Thank you for responding and for your suggestions Chris and Roberto. I really appreciate it.
I figured I'd post this in case someone else runs into the same problem :)





On Tuesday, May 14, 2019 at 7:47:32 AM UTC-4, Ricky Mujica wrote:
I did clear the cache. It happens  over and over regardless of the
browser or computer. It happens when I serve it on my desktop and when
I upload the site to my webhost. Really weird. If I upload the site
again, it works until I go to another link and come back. Just tried
it on my phone and it happened there too.

On Mon, May 13, 2019 at 4:36 PM Roberto Alsina <ral...@kde.org> wrote:
>
> Well, since the content is static it should either be there all the time or not be there all the time.
>
> I suspect you have something cached. Clean your browser's cache, and it should go away. Or appear all the time :-)
>
> On Mon, May 13, 2019 at 5:32 PM Ricky Mujica <ricky...@gmail.com> wrote:
>>
>> Hi
>>
>> Funny thing keeps happening. I followed the instructions on making a sight not a blog and made a static home page and put the blog elsewhere on the site. The first time I go to the blog after a fresh render, the bog shows up perfectly. If I go to another page and then come back, I get the following message and the page doesn't render properly:
>>
>>
>> System Message: WARNING/2 (<string>, line 9)
>>
>> Explicit markup ends without a blank line; unexpected unindent.
>>
>> I can't figure out what this is because it gets fixed by itself by rebuilding through the command line. But then the same thing happens if I go somewhere else and come back I get the same system message. Could this be a bug/
>>
>> Thanks
>>
>> Ricky
>>
>> --
>> You received this message because you are subscribed to the Google Groups "nikola-discuss" group.
>> To unsubscribe from this group and stop receiving emails from it, send an email to nikola-...@googlegroups.com.
>> To view this discussion on the web visit https://groups.google.com/d/msgid/nikola-discuss/7ffb1d7e-d55f-487b-98f9-af75491312de%40googlegroups.com.
>> For more options, visit https://groups.google.com/d/optout.
>
> --
> You received this message because you are subscribed to a topic in the Google Groups "nikola-discuss" group.
> To unsubscribe from this topic, visit https://groups.google.com/d/topic/nikola-discuss/2Ijz0sa3xxQ/unsubscribe.
> To unsubscribe from this group and all its topics, send an email to nikola-...@googlegroups.com.
Reply all
Reply to author
Forward
0 new messages