On 4/2/07, <b class="gmail_sendername">David Koontz</b> <<a href="mailto:david@koontzfamily.org">david@koontzfamily.org</a>> wrote:<div><span class="gmail_quote"></span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
I have installed masterview into the vendor directory and when I start<br>up mongrel I get:<br><br>Initializing MasterView configuration (2007-04-02 13:18)<br>Program name = script/server<br>Using default admin_auth mixin for MasterView admin (local requests only)
<br>Adding MasterView AdminPages controller directories to controller_paths<br>MasterView Admin pages enabled<br>Failure to parse template. Exception=undefined method `progress' for<br>#<MasterView::TemplateProcessing::SAXParserListener:0x224d5f8>
<br>Failure to parse template. Exception=undefined method `progress' for<br>#<MasterView::TemplateProcessing::SAXParserListener:0x248661c><br>Failure to parse template. Exception=undefined method `progress' for
<br>#<MasterView::TemplateProcessing::SAXParserListener:0x240b0d4><br>Failure to parse template. Exception=undefined method `progress' for<br>#<MasterView::TemplateProcessing::SAXParserListener:0x23c21e0><br>
Failure to parse template. Exception=undefined method `progress' for<br>#<MasterView::TemplateProcessing::SAXParserListener:0x23acbec><br>Failure to parse template. Exception=undefined method `progress' for<br>
#<MasterView::TemplateProcessing::SAXParserListener:0x2391234><br>Adding hook to allow MasterView to check for templates that have changed<br>when processing a request<br>Adding hooks to enable Rails to read erb directly from MasterView
<br>MasterView plugin initialized - Version 0.3.2<br>** Rails loaded.<br>Followed by the rest of the normal rails startup output.<br><br>When I try to hit <a href="http://localhost:3000/masterview">http://localhost:3000/masterview
</a> or other url's that<br>are masterview generated content I get the same error again<br><br>Failure to parse template. Exception=undefined method `progress' for<br>#<MasterView::TemplateProcessing::SAXParserListener:0x3718bf8>
<br><br>Any idea on what I might have done wrong? I'm on Rails 1.2.<br></blockquote></div><br><br>I am guessing that possibly you may have REXML 3.1.6??<br><br>If you possibly have rexml 3.1.6 (I have only tested with up to
3.1.5) then maybe they have changed their interface some so they don't support the progress method. Rexml 3.1.5 was broken with regards to parsing doctypes, so I fixed it and submitted a patch to them, but since I wasn't sure when people would get the latest version and not sure what version the patch would go into (or when), I included a patched version of the parser which MasterView is using.
<br><br>It is possible that something in 3.1.6 changed the rexml interface such that this patched parser is now broken. (no longer supporting progress method). <br><br>So what I need to do is to download 3.1.6 and see if I can reproduce the error. I can also verify whether they have applied the patch I submitted them and if so then my patched rexml would not be needed for
3.1.6+<br><br>I have to run now, but I will try to take a look tonight to see if that is the case.<br><br>Jeff<br>