following along with the demo steps , when starting the server , as indicated below, the server fails to start. ? is there any other demo to try, a complete download demo would be nice ? is Masterview working for anyone ? thx MasterView using REXML Sax2Parser version = 3.1.7.2 Using default admin_auth mixin for MasterView admin (local requests only) /usr/lib/ruby/gems/1.8/gems/activesupport-2.2.2/lib/active_support/dependencies.rb:445:in `load_missing_constant'': uninitialized constant Dependencies (NameError) from /usr/lib/ruby/gems/1.8/gems/activesupport-2.2.2/lib/active_support/dependencies.rb:77:in `const_missing'' from /usr/lib/ruby/gems/1.8/gems/activesupport-2.2.2/lib/active_support/dependencies.rb:89:in `const_missing'' from /usr/lib/ruby/gems/1.8/gems/masterview-0.3.4/lib/masterview/extras/init_mv_admin_pages.rb:90 from /usr/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in `gem_original_require'' from /usr/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in `require'' from /usr/lib/ruby/gems/1.8/gems/activesupport-2.2.2/lib/active_support/dependencies.rb:153:in `require'' from /usr/lib/ruby/gems/1.8/gems/activesupport-2.2.2/lib/active_support/dependencies.rb:521:in `new_constants_in'' from /usr/lib/ruby/gems/1.8/gems/activesupport-2.2.2/lib/active_support/dependencies.rb:153:in `require'' ... 35 levels... from /usr/lib/ruby/gems/1.8/gems/rails-2.2.2/lib/commands/server.rb:49 from /usr/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in `gem_original_require'' from /usr/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in `require'' from script/server:3 -- ----- Fight back spam! Download the Blue Frog. http://www.bluesecurity.com/register/s?user=c3Bvd2FnZTI3NTk%3D
On Tue, 16 Dec 2008 09:00:08 -0600, Mark Spowage wrote:> following along with the demo steps , when starting the server > , as indicated below, the server fails to start. > > ? is there any other demo to try, a complete download demo would be nice > ? is Masterview working for anyone ?Masterview development has regretably been "on hiatus" most of this year due to other commitments of the developers, but I''m (finally) working on getting it revived. Needs rework to catch up with all the rails 2.x versions - the core rendering engine is stable, but the hooks needed to integrate into the rails framework changed significantly with the 2.0 release. Your stack trace indicates you''re running with rails 2.2, so that definitely won''t work yet. I really need masterview working on latest rails for some of my own web sites, so hope to have some progress soon. ~ Deb
Deb Lewis
2008-Dec-19 19:33 UTC
[Masterview-devel] Reviving Masterview for rails 2.x [ruby frustrations]
On Fri, 19 Dec 2008 09:35:22 -0800, Deb Lewis wrote:> trying to figure out why MV template parsing > was completely broken (error that mv prefix wasn''t recognized)Ruby 1.8.6 p111 had REXML 3.1.7.1 in the standard library. Ruby 1.8.6 p114 has REXML 3.1.7.2 in the standard library. And this point release introduced IMO a pretty significant functional change: namespace prefixes are now strictly checked against namespace declarations, per the XML namespaces specification. Strictly correct; practically problematic. There''s a ticket against REXML on this and a patch to allow client to disable strict namespace checking (just as client can choose whether or not to validate the xml document against a DTD/schema). http://www.germane-software.com/projects/rexml/ticket/165 So I''ve incorporated the patch in our masterview initialization and voila, things finally run again in my rails 2.0 test setup. sheesh. There''s one other REXML change showing up in a unit test failure, but it''s fairly minor and I''ll tweak something suitably (diff answer coming back from 3.1.7.3 for some xml directive attributes) So maybe I can finally get the MV 2.0 update completed and committed and move on the 2.1 and 2.2 integration this w/e. ~ Deb