ddfreyne changed the topic of #nanoc to: 3.7.3 (August 31th) | web http://nanoc.ws/ | repo http://bit.ly/XE6e3G | issues http://bit.ly/VfXaSV | forum http://ho.io/n-discuss | irclog http://irclog.whitequark.org/nanoc
jugglinmike has quit [Quit: Leaving.]
<bobthecow> before that runtime error, it was causing problems but not letting people know. so this is at least a step better :)
tom[] has quit [Ping timeout: 255 seconds]
tom[] has joined #nanoc
ctp has joined #nanoc
vy has quit [Ping timeout: 246 seconds]
<guardian> o/
<ddfreyne> Hi
jugglinmike has joined #nanoc
alerante has joined #nanoc
irsol has quit [Ping timeout: 240 seconds]
VitamineD has quit [Quit: Computer has gone to sleep.]
VitamineD has joined #nanoc
irsol has joined #nanoc
<guardian> ddfreyne: when nanoc compile -V says "identical", it's because it has recompiled an item THEN noticed it's identical right?
alerante has quit [Remote host closed the connection]
alerante has joined #nanoc
alerante has quit [Changing host]
alerante has joined #nanoc
<VitamineD> guardian: yes
alerante has quit [Ping timeout: 240 seconds]
<guardian> then I'm still witnessing strange behaviors from time to time
<guardian> show-data telling me nothing is outdated
<guardian> but compile -V compiling things
cDlm has joined #nanoc
VitamineD has quit [Ping timeout: 260 seconds]
cDlm has quit [Ping timeout: 268 seconds]
VitamineD has joined #nanoc
jonbullock has joined #nanoc
<dkm> I'm noticing an odd (to me) behavior in error reporting in nanoc 3.7.2: when I erroneously have multiple content files with the same name nanoc is crashing with an error in a filter library
<dkm> it's an extension to the kramdown filter, and it's the 'add_parser' lines that add my custom parser to kramdown's parser list
<dkm> if I comment out all those lines then I get the expected 'two content files with the same name error'
<dkm> any ideas on whats going on and how I can get more useful error reporting?
alerante has joined #nanoc
alerante has quit [Ping timeout: 245 seconds]
<bobthecow> what's the error say?
leobalter has joined #nanoc
<dkm> "RuntimeError: A parser with the name asides already exists!" at https://github.com/hazybluedot/hazyblue.me/blob/master/lib/dkramdown.rb#L37
<dkm> and then if I comment that line, the next 'define_parser' at 59
<dkm> so maybe it's a weird issue with kramdown's define_parser method
<bobthecow> try wrapping the whole file in `unless defined?(Kramdown::Parser::DKMramdown); ... end`
<dkm> bobthecow: oh, is this a 'nanoc makes two passes' kind of issue?
<bobthecow> that's my guess.
<bobthecow> for most things it doesn't matter, but apparently kramdown's not a fan.
<dkm> ok, yep, wrapping it in 'unless ... end' fixed it
<bobthecow> nice.
<bobthecow> it might make sense to have something about that in the docs somewhere.
<bobthecow> ddfreyne: poke. ^ ;)
<dkm> yeah, it was pretty frustrating when I was trying to debug what I thought was a problem with my kramdown parser code!
<dkm> which I knew had been working before and hadn't changed (I thought maybe there was a version change in kramdown that broke something)
<bobthecow> it'd be rad if nanoc 4 didn't double-load lib files.
prxq has joined #nanoc
jonbullock has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
alerante has joined #nanoc
alerante has quit [Ping timeout: 240 seconds]
zi has quit [Ping timeout: 260 seconds]
zi has joined #nanoc
alerante has joined #nanoc
alerante has quit [Ping timeout: 252 seconds]
jugglinmike has quit [Quit: Leaving.]