Hans
2009-Sep-09 08:07 UTC
Strange behavior of rails - configuration ?, memory leak ?, system ? - error
System problems with rails ? I have dveloped a rather complex rails application with many gems and pluginsg. It worked fine until some days ago, when I started to get some unredicatble errors that I cannot understand When I use a certain function for the second time, the system responds with the error ActionView::TemplateError (No such file or directory - getcwd) on line #10 of app/views/layouts/configuration.html.erb: I use a plugin in this code called navigation helper , but I do not think that''s the problem. When I i change the code I still get the same error message pointing to line 10 that then is completely different. The only way to progress is to restart the server (I use webrick in a local setup on a mac), then it works again until I use that function the second time When I load en error reporting plugin josevalim-rails-footnotes I also get the errors ActionView::TemplateError (No such file or directory - getcwd) in / Library/Ruby/Gems/1.8/gems/actionpack-2.3.3/lib/action_controller/ templates/rescues/_trace.erb ArgumentError (A copy of AuthenticatedSystem has been removed from the module tree but is still active!): ArgumentError (A copy of ApplicationController has been removed from the module tree but is still active!): I have got similar errors before, but then I just have to reload the page to get it working agin What is going on ? Have I configured rails in a wrong way, is my program eating up itself or is there memory leaks, is it a system bug or what ???? Any help would be very appreciated
Conrad Taylor
2009-Sep-09 08:23 UTC
Re: Strange behavior of rails - configuration ?, memory leak ?, system ? - error
On Wed, Sep 9, 2009 at 1:07 AM, Hans <Hans.Marmolin-6LjvI5LOC4niH4Lt12DN6A@public.gmane.org> wrote:> > System problems with rails ? > I have dveloped a rather complex rails application with many gems and > pluginsg. > It worked fine until some days ago, when I started to get some > unredicatble errors that I cannot understand > >So, what changed some days ago?> When I use a certain function for the second time, the system responds > with the error > ActionView::TemplateError (No such file or directory - getcwd) on line > #10 of app/views/layouts/configuration.html.erb: >What''s exactly on line #10 of configuration.html.erb? At this time, I can only make guesses because you haven''t provided enough information. -Conrad ps: Please provide a better subject in your future posts to the mailing list. It will help us better help you.> I use a plugin in this code called navigation helper , but I do not > think that''s the problem. When I i change the code I still get the > same error message pointing to line 10 that then is completely > different. > The only way to progress is to restart the server (I use webrick in a > local setup on a mac), then it works again until I use that function > the second time > > When I load en error reporting plugin josevalim-rails-footnotes I also > get the errors > ActionView::TemplateError (No such file or directory - getcwd) in / > Library/Ruby/Gems/1.8/gems/actionpack-2.3.3/lib/action_controller/ > templates/rescues/_trace.erb > ArgumentError (A copy of AuthenticatedSystem has been removed from the > module tree but is still active!): > ArgumentError (A copy of ApplicationController has been removed from > the module tree but is still active!): > I have got similar errors before, but then I just have to reload the > page to get it working agin > >> What is going on ? Have I configured rails in a wrong way, is my > program eating up itself or is there memory leaks, is it a system bug > or what ???? > >> Any help would be very appreciated > > > > >--~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
Hans Marmolin
2009-Sep-09 08:35 UTC
Re: Strange behavior of rails - configuration ?, memory leak ?, system ? - error
I cannot say what happend about 10 days ago, I implemented som new remote calls with forms and started to use nested forms and also more javascripts, but nothing more specific was done. Also changed to a new Imac and had to reinstall rails and other things, but that was done some days before the errors showed up The line 10 is the last line in this call (navigation is a method in plugin navigation helper) <%= navigation [ :about_disweb, ''Displays information about current version of Disweb''.to_local(:view), :import_gedcom_file, ''Import of data from gedcom files (note that all existing data then is deleted)'', :import_gedcom_picture, ''Import of pictures defined in from gedcom files (note that meta data is already saved in table pictures)'', :clear_flock, ''Deletes all data in the flock''], :hover_text => true, :authorize => [:all], :usage => :role_requirement %> but when I rearrange the code the line 10 could also be the 3 line above On 9 Sep, 10:23, Conrad Taylor <conra...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:> On Wed, Sep 9, 2009 at 1:07 AM, Hans <Hans.Marmo...-6LjvI5LOC4niH4Lt12DN6A@public.gmane.org> wrote: > > > System problems with rails ? > > I have dveloped a rather complex rails application with many gems and > > pluginsg. > > It worked fine until some days ago, when I started to get some > > unredicatble errors that I cannot understand > > So, what changed some days ago? > > > When I use a certain function for the second time, the system responds > > with the error > > ActionView::TemplateError (No such file or directory - getcwd) on line > > #10 of app/views/layouts/configuration.html.erb: > > What''s exactly on line #10 of configuration.html.erb? At this time, I can > only make guesses because you haven''t provided enough information. > > -Conrad > > ps: Please provide a better subject in your future posts to the mailing > list. It will help us better help you. > > > I use a plugin in this code called navigation helper , but I do not > > think that''s the problem. When I i change the code I still get the > > same error message pointing to line 10 that then is completely > > different. > > The only way to progress is to restart the server (I use webrick in a > > local setup on a mac), then it works again until I use that function > > the second time > > > When I load en error reporting plugin josevalim-rails-footnotes I also > > get the errors > > ActionView::TemplateError (No such file or directory - getcwd) in / > > Library/Ruby/Gems/1.8/gems/actionpack-2.3.3/lib/action_controller/ > > templates/rescues/_trace.erb > > ArgumentError (A copy of AuthenticatedSystem has been removed from the > > module tree but is still active!): > > ArgumentError (A copy of ApplicationController has been removed from > > the module tree but is still active!): > > I have got similar errors before, but then I just have to reload the > > page to get it working agin > > > What is going on ? Have I configured rails in a wrong way, is my > > program eating up itself or is there memory leaks, is it a system bug > > or what ???? > > > Any help would be very appreciated > >