Hi Bernie,
To just check the basics first, is sync started (started with "sync:go()" in the erlang shell), and giving the notification that the file was recompiled, or are you running 'make' and restarting the erlang vm after changing the file? When in doubt, shutting down the VM and running 'make' is always the "nuke it from orbit, it's the only way to be sure" approach.
The {error, nofile} seems to imply that the template file was not found, which leads me to believe your change of path is not being recompiled.
-Jesse
--
You received this message because you are subscribed to the Google Groups "Nitrogen Project / The Nitrogen Web Framework for Erlang" group.
To unsubscribe from this group and stop receiving emails from it, send an email to nitrogenweb...@googlegroups.com.
To post to this group, send email to nitro...@googlegroups.com.
Visit this group at http://groups.google.com/group/nitrogenweb.
For more options, visit https://groups.google.com/d/optout.
Thanks for the followup. Oh, I think I see what it's doing. It looks like during the evaluation of the template, there is a call to a module that doesn't exist within the template. That's supposed to fail silently, but perhaps I could make it generate a warning. If you're feeling adventurous, trying editing lib/nitrogen_core/src/elements/layout/element_template.erl on line 172 and remove the left-hand-side of that call - the call to ensure_loaded. Just remove the "{module, Module1} ="
Removing that *should* cause the call to that unknown module to fail silently, allowing the rest of the template to carry on its duties.
-Jesse
Perfect, that worked as expected. The template is loaded, and now it's crashing just in the page module on the line specified, you don't need the linecount module call, you can remove it altogether.
Great!
Yes, I am indeed, and we're trying to get a new version out. We meant to get a new version out last week, but alas, one section has me hemming and having about this best to present some material.
But we're almost ready to put out a new version with a handful of new chapters.
Thanks for asking. I will post to the group again once the new version is posted.
-Jesse