[typo] errors on updating to the latest typo trunk At revision1256 with db version 55

heromuto heromuto at fastmail.jp
Mon Sep 4 13:10:09 EDT 2006


Hello 

I think a rollback is best I have used 
svn update --revision  1254 and svn update -r 1254 both to no effect.

All it gives me is svn: Working copy 'tmp/cache' is missing or not
locked

However it seems to do nothing what am I missing? 

Yours truly



Heromuto



On Mon, 4 Sep 2006 09:23:09 -0500, "Sterling Anderson"
<sterling at sterlinganderson.net> said:
> You may want to revert to an older revision of the code with svn
> update -r <rev number>
> 
> They are doing quite a bit of work on things right now and things get
> broken very easily. I had been using the trunk but it just became too
> big of a hassle.
> 
> On 9/4/06, heromuto <heromuto at fastmail.jp> wrote:
> > Hello
> >
> > I have tonight updated both my typo sites dalcross.com and
> > thumbsucker.info using svn update ./*, I then ran rake migrate and
> > restarted lighttpd and rails.
> >
> > I logged into the admin console for both sites and updated my postgresql
> > db. All this is what I have always done, regrettably this time something
> > has gone wrong.
> >
> > I had a look at typo irc but was advised to speak to a typo dev so this
> > is why I am posting here.
> >
> > Both site present with Application error (Rails). and are hosted on
> > textdrive.com server.
> >
> > Thumbsucker.info production.log has the following:
> >
> > ++++++++++++++++++++++++++++++++
> > Rendering actionerrorlayoutfalse within
> > ../../themes/redsamurai/layouts/default
> > Rendering articles/error
> >
> >
> > Processing Base#index (for 58.108.48.115 at 2006-09-04 13:46:33) [GET]
> >   Parameters: {"action"=>"index", "controller"=>"articles"}
> >
> >
> > ActionView::TemplateError (The single-table inheritance mechanism failed
> > to locate the subclass: 'StaticSidebar'. This error is raised because
> > the column 'type' is reserved for storing the class in case of
> > inheritance. Please rename this column if you didn't intend it to be
> > used for storing the inheritance class or overwrite
> > Sidebar.inheritance_column to use another column for that information.)
> > on line #52 of themes/redsamurai/layouts/default.rhtml:
> > 49:                     <!-- sidebar components -->
> > 50:                     <div id="search-results"></div>
> > 51:             <% benchmark "BENCHMARK: layout/sidebars" do %>
> > 52:               <%= render_sidebars %>
> > 53:             <% end %>
> > 54:
> > 55:                     <!-- typo badge -->
> >
> >     #{RAILS_ROOT}/vendor/rails/activerecord/lib/active_record/base.rb:985:in
> >     `instantiate_without_callbacks'
> >     #{RAILS_ROOT}/vendor/rails/activerecord/lib/active_record/callbacks.rb:215:in
> >     `instantiate'
> >     #{RAILS_ROOT}/vendor/rails/activerecord/lib/active_record/base.rb:390:in
> >     `find_by_sql'
> >     #{RAILS_ROOT}/vendor/rails/activerecord/lib/active_record/base.rb:390:in
> >     `find_by_sql'
> >     #{RAILS_ROOT}/vendor/rails/activerecord/lib/active_record/base.rb:924:in
> >     `find_every'
> >     #{RAILS_ROOT}/vendor/rails/activerecord/lib/active_record/base.rb:381:in
> >     `find'
> >     #{RAILS_ROOT}/vendor/rails/activerecord/lib/active_record/associations/has_many_association.rb:83:in
> >     `find'
> >     #{RAILS_ROOT}/vendor/rails/activerecord/lib/active_record/associations/has_many_association.rb:111:in
> >     `find_target'
> >     #{RAILS_ROOT}/vendor/rails/activerecord/lib/active_record/associations/association_proxy.rb:116:in
> >     `load_target'
> >     #{RAILS_ROOT}/vendor/rails/activerecord/lib/active_record/associations/association_proxy.rb:109:in
> >     `method_missing'
> >     #{RAILS_ROOT}/vendor/rails/activerecord/lib/active_record/associations/has_many_association.rb:90:in
> >     `method_missing'
> >     #{RAILS_ROOT}/app/helpers/sidebar_helper.rb:3:in `render_sidebars'
> >     #{RAILS_ROOT}/themes/redsamurai/layouts/default.rhtml:52:in
> >     `_run_rhtml__users_home_dalcross_admin_domains_thumbsucker46info_themes_redsamurai_layouts_default'
> >     #{RAILS_ROOT}/vendor/rails/actionpack/lib/action_view/helpers/benchmark_helper.rb:18:in
> >     `benchmark'
> >     /usr/local/lib/ruby/1.8/benchmark.rb:293:in `measure'
> >     /usr/local/lib/ruby/1.8/benchmark.rb:307:in `realtime'
> >     #{RAILS_ROOT}/vendor/rails/actionpack/lib/action_view/helpers/benchmark_helper.rb:18:in
> >     `benchmark'
> >     #{RAILS_ROOT}/themes/redsamurai/layouts/default.rhtml:51:in
> >     `_run_rhtml__users_home_dalcross_admin_domains_thumbsucker46info_themes_redsamurai_layouts_default'
> >     #{RAILS_ROOT}/vendor/rails/actionpack/lib/action_view/helpers/benchmark_helper.rb:18:in
> >     `benchmark'
> >     /usr/local/lib/ruby/1.8/benchmark.rb:293:in `measure'
> >     /usr/local/lib/ruby/1.8/benchmark.rb:307:in `realtime'
> >     #{RAILS_ROOT}/vendor/rails/actionpack/lib/action_view/helpers/benchmark_helper.rb:18:in
> >     `benchmark'
> >     #{RAILS_ROOT}/themes/redsamurai/layouts/default.rhtml:10:in
> >     `_run_rhtml__users_home_dalcross_admin_domains_thumbsucker46info_themes_redsamurai_layouts_default'
> >     #{RAILS_ROOT}/vendor/rails/actionpack/lib/action_view/base.rb:314:in
> >     `compile_and_render_template'
> >     #{RAILS_ROOT}/vendor/rails/actionpack/lib/action_view/base.rb:290:in
> >     `render_template'
> >     #{RAILS_ROOT}/vendor/rails/actionpack/lib/action_view/base.rb:249:in
> >     `render_file'
> >     #{RAILS_ROOT}/vendor/rails/actionpack/lib/action_controller/layout.rb:249:in
> >     `render_without_benchmark'
> >     #{RAILS_ROOT}/vendor/rails/actionpack/lib/action_controller/benchmarking.rb:53:in
> >     `render'
> >     /usr/local/lib/ruby/1.8/benchmark.rb:293:in `measure'
> >     #{RAILS_ROOT}/vendor/rails/actionpack/lib/action_controller/benchmarking.rb:53:in
> >     `render'
> >     #{RAILS_ROOT}/app/controllers/articles_controller.rb:73:in
> >     `rescue_action_in_public'
> >     #{RAILS_ROOT}/vendor/rails/actionpack/lib/action_controller/rescue.rb:33:in
> >     `rescue_action'
> >     #{RAILS_ROOT}/vendor/rails/actionpack/lib/action_controller/rescue.rb:108:in
> >     `perform_action'
> >     #{RAILS_ROOT}/vendor/rails/actionpack/lib/action_controller/base.rb:381:in
> >     `process_without_filters'
> >     #{RAILS_ROOT}/vendor/rails/actionpack/lib/action_controller/filters.rb:377:in
> >     `process_without_session_management_support'
> >     #{RAILS_ROOT}/vendor/rails/actionpack/lib/action_controller/session_management.rb:117:in
> >     `process'
> >     #{RAILS_ROOT}/vendor/rails/railties/lib/dispatcher.rb:38:in
> >     `dispatch'
> >     #{RAILS_ROOT}/vendor/rails/railties/lib/fcgi_handler.rb:150:in
> >     `process_request'
> >     #{RAILS_ROOT}/vendor/rails/railties/lib/fcgi_handler.rb:54:in
> >     `process!'
> >     /usr/local/lib/ruby/gems/1.8/gems/fcgi-0.8.6.1/fcgi.rb:600:in
> >     `each_cgi'
> >     /usr/local/lib/ruby/gems/1.8/gems/fcgi-0.8.6.1/fcgi.rb:597:in
> >     `each_cgi'
> >     #{RAILS_ROOT}/vendor/rails/railties/lib/fcgi_handler.rb:53:in
> >     `process!'
> >     #{RAILS_ROOT}/vendor/rails/railties/lib/fcgi_handler.rb:23:in
> >     `process!'
> >     /users/home/dalcross_admin/domains/thumbsucker.info/web/public/dispatch.fcgi:24
> >
> > ++++++++++++++++++++++++++++++++
> >
> > Its seems that if I remove <%= render_sidebars %> from the
> > theme/layouts/default.rhtml the thumbsucker.info site loads but missing
> > the sidebar.
> >
> >
> > The dalcross.com  production.log has the following:
> >
> > ++++++++++++++++++++++++++++++++
> > Processing Base#index (for 58.108.48.115 at 2006-09-04 13:50:45) [GET]
> >   Session ID: 85dc77b5804fcf913e3b21dc5059663a
> >   Parameters: {}
> >
> >
> > NameError (uninitialized constant ArticlesController):
> >     /vendor/rails/activerecord/lib/../../activesupport/lib/active_support/dependencies.rb:100:in
> >     `const_missing'
> >     /vendor/rails/activerecord/lib/../../activesupport/lib/active_support/dependencies.rb:131:in
> >     `const_missing'
> >     generated/routing/recognition.rb:4:in `recognize_path'
> >     /vendor/rails/actionpack/lib/action_controller/routing.rb:477:in
> >     `recognize!'
> >     /vendor/rails/railties/lib/dispatcher.rb:38:in `dispatch'
> >     /vendor/rails/railties/lib/fcgi_handler.rb:150:in `process_request'
> >     /vendor/rails/railties/lib/fcgi_handler.rb:54:in `process!'
> >     /usr/local/lib/ruby/gems/1.8/gems/fcgi-0.8.6.1/./fcgi.rb:600:in
> >     `each_cgi'
> >     /usr/local/lib/ruby/gems/1.8/gems/fcgi-0.8.6.1/./fcgi.rb:597:in
> >     `each_cgi'
> >     /vendor/rails/railties/lib/fcgi_handler.rb:53:in `process!'
> >     /vendor/rails/railties/lib/fcgi_handler.rb:23:in `process!'
> >     /users/home/dalcross_admin/web/public/dispatch.fcgi:24
> > ++++++++++++++++++++++++++++++++
> >
> > Can anyone help me resolve this problem with typo or would I better
> > advised to revert.
> >
> > I have tried svn revert -R to no avail.
> >
> > All help deeply appreciated.
> >
> > Yours truly
> >
> > Heromuto
> > --
> >   heromuto
> >   heromuto at fastmail.jp
> >
> > --
> > http://www.fastmail.fm - A fast, anti-spam email service.
> >
> > _______________________________________________
> > Typo-list mailing list
> > Typo-list at rubyforge.org
> > http://rubyforge.org/mailman/listinfo/typo-list
> >
> 
> 
> -- 
> Sterling Anderson
> sterling [at] sterlinganderson.net
> http://sterlinganderson.net/
> 608.239.8387
> _______________________________________________
> Typo-list mailing list
> Typo-list at rubyforge.org
> http://rubyforge.org/mailman/listinfo/typo-list
-- 
  heromuto
  heromuto at fastmail.jp

-- 
http://www.fastmail.fm - One of many happy users:
  http://www.fastmail.fm/docs/quotes.html



More information about the Typo-list mailing list