Closed bnmnetp closed 10 years ago
Version of Nikola, please.
I tried it with 6.4, and with HEAD from github. Same error.
Weird, with 6.4, IPython themes are working for me... For current master I have to work on them yet... I will try to investigate further...
I started over, and added some things in one at a time. I have isolated it to the NAVIGATION_LINKS variable in conf.py
NAVIGATION_LINKS = {
DEFAULT_LANG: (
('/archive.html', 'Archives'),
('/categories/index.html', 'Tags'),
('/rss.xml', 'RSS'),
('/galleries','Photos'),
((('/stories/publications.html','Publications'),('/stories/publications.html','Bar')),'pages')
),
}
If I comment out the line that creates the pages pull down menu, it works fine. with that line in there I get the traceback above. The line works fine with other themes so maybe I'm doing something wrong for the ipython-xkcd theme??
ipython-xkcd does not support this kind of pull down menu, I have to work on the themes to update them... thanks for dig into it!
OK, that explains it.
The theme page for ipython-xkcd says: "Has a fixed navigation bar at top that displays the NAVIGATION_LINKS setting and supports nested menus"
So, you may want to update that until it does.
In fact, when I wrote it, it was not supported, but there were some changes later improving the themes... so let me check why is not working... thanks.
@damianavila You should check all your themes in the repo… we changed a lot in v7, and they can easily break. Changes include comment handler template names, HIDE_SOURCELINK → SHOW_SOURCELINK, a general structure overhaul, addition of new blocks, functions and template hooks, and much more…
Yes, I took a look at the weekend an they are broken with v7 and I have to fix a lot of things... I will try to work on them during the week, but not sure if I can get enough time to make it OK by the v7 release... If not, I suppose we can "suspend" my themes to avoid people trying to use it with v7... but first, let see if I can fix them before the release date...
@damianavila I am 100% ok with delaying the release a few days, or adding version checks like we have for plugins so you have more time to fix them.
On Wed, Apr 23, 2014 at 5:06 PM, Roberto Alsina notifications@github.comwrote:
@damianavila https://github.com/damianavila I am 100% ok with delaying the release a few days, or adding version checks like we have for plugins so you have more time to fix them.
— Reply to this email directly or view it on GitHubhttps://github.com/getnikola/nikola/issues/1253#issuecomment-41172256 .
The themes (zen in particular) are possibly the most professional ones we have, we should make sure they’re usable with our shiny new release. We should wait.
Chris “Kwpolska” Warrick http://kwpolska.tk PGP: 5EAAEA16 stop html mail | always bottom-post | only UTF-8 makes sense
Yes, I am pointing my efforts to this one, because the other ones are only minor modifications from the shipped by Nikola itself...
OK, ipython theme was easy to fix... I finally began with the simple one because I had only 10 min free in the lunch... I will try go forward... go go go Damián!
Hi,
I did a clean install into a virtual environment using python3.4. Everything works fine with the defaults, but when I try to use the ipython-xkcd theme I get the following crash.
I thought it might be 3.4 related, so I installed in a python2.7 virtual environment and got the same error. Any ideas or workarounds?