List Info

Thread: Sass and newcookie-based sessions not playing nice?




Sass and newcookie-based sessions not playing nice?
country flaguser name
United States
2007-02-27 11:29:56
I'm still looking through the source but I'm getting these
errors
since I updated Edge Rails this morning...

Rendering
/home/rsl/dev/apps/oyster/config/../vendor/rails/actionpack/

lib/action_controller/templates/rescues/layout.erb
(internal_server_error)
`name' required
/home/rsl/dev/apps/oyster/config/../vendor/rails/actionpack/
lib/
action_controller/cgi_ext/cookie_performance_fix.rb:44:in
`initialize'
/home/rsl/dev/apps/oyster/config/../vendor/rails/actionpack/
lib/
action_controller/session/cookie_store.rb:111:in
`write_cookie'
/home/rsl/dev/apps/oyster/config/../vendor/rails/actionpack/
lib/
action_controller/session/cookie_store.rb:71:in `close'
/usr/lib/ruby/1.8/cgi/session.rb:330:in `close'
/home/rsl/dev/apps/oyster/config/../vendor/rails/actionpack/
lib/
action_controller/base.rb:1236:in `close_session'
/home/rsl/dev/apps/oyster/config/../vendor/rails/actionpack/
lib/
action_controller/base.rb:1280:in
`process_cleanup_without_flash'
/home/rsl/dev/apps/oyster/config/../vendor/rails/actionpack/
lib/
action_controller/flash.rb:146:in
`process_cleanup_without_filters'
/home/rsl/dev/apps/oyster/config/../vendor/rails/actionpack/
lib/
action_controller/filters.rb:662:in
`process_cleanup_without_session_management_support'
/home/rsl/dev/apps/oyster/config/../vendor/rails/actionpack/
lib/
action_controller/session_management.rb:132:in
`process_cleanup_without_components'
/home/rsl/dev/apps/oyster/config/../vendor/rails/actionpack/
lib/
action_controller/components.rb:178:in `process_cleanup'
/home/rsl/dev/apps/oyster/config/../vendor/rails/actionpack/
lib/
action_controller/base.rb:481:in `process_without_filters'
/home/rsl/dev/apps/oyster/config/../vendor/rails/actionpack/
lib/
action_controller/filters.rb:624:in
`process_without_session_management_support'
/home/rsl/dev/apps/oyster/config/../vendor/rails/actionpack/
lib/
action_controller/session_management.rb:122:in
`sass_old_process'
/home/rsl/dev/apps/oyster/config/../vendor/plugins/haml/lib/
sass/
plugin.rb:116:in `process'
/home/rsl/dev/apps/oyster/config/../vendor/rails/actionpack/
lib/
action_controller/base.rb:326:in `process'
/home/rsl/dev/apps/oyster/config/../vendor/rails/railties/li
b/
dispatcher.rb:39:in `dispatch'
/usr/lib/ruby/gems/1.8/gems/mongrel-1.0.1/lib/mongrel/rails.
rb:78:in
`process'
/usr/lib/ruby/gems/1.8/gems/mongrel-1.0.1/lib/mongrel/rails.
rb:76:in
`process'
/usr/lib/ruby/gems/1.8/gems/mongrel-1.0.1/lib/mongrel.rb:618
:in
`process_client'
/usr/lib/ruby/gems/1.8/gems/mongrel-1.0.1/lib/mongrel.rb:617
:in
`process_client'
/usr/lib/ruby/gems/1.8/gems/mongrel-1.0.1/lib/mongrel.rb:736
:in `run'
/usr/lib/ruby/gems/1.8/gems/mongrel-1.0.1/lib/mongrel.rb:736
:in `run'
/usr/lib/ruby/gems/1.8/gems/mongrel-1.0.1/lib/mongrel.rb:720
:in `run'
/usr/lib/ruby/gems/1.8/gems/mongrel-1.0.1/lib/mongrel/config
urator.rb:
271:in `run'
/usr/lib/ruby/gems/1.8/gems/mongrel-1.0.1/lib/mongrel/config
urator.rb:
270:in `run'
/usr/lib/ruby/gems/1.8/gems/mongrel-1.0.1/bin/mongrel_rails:
127:in
`run'
/usr/lib/ruby/gems/1.8/gems/mongrel-1.0.1/lib/mongrel/comman
d.rb:
211:in `run'
/usr/lib/ruby/gems/1.8/gems/mongrel-1.0.1/bin/mongrel_rails:
243
/usr/bin/mongrel_rails:16

The thing is that I'm not using sass at all so why is it
jumping in
the mix there?


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the
Google Groups "Haml" group.
To post to this group, send email to hamlgooglegroups.com
To unsubscribe from this group, send email to
haml-unsubscribegooglegroups.com
For more options, visit this group at http://grou
ps.google.com/group/haml?hl=en
-~----------~----~----~----~------~----~------~--~---


Re: Sass and newcookie-based sessions not playing nice?
country flaguser name
United States
2007-02-27 12:36:44
Sass needs to activate to at least check if there are
templates to 
render. I'll look into this.

- Nathan

RSL wrote:
> I'm still looking through the source but I'm getting
these errors
> since I updated Edge Rails this morning...
>
> Rendering
/home/rsl/dev/apps/oyster/config/../vendor/rails/actionpack/

> lib/action_controller/templates/rescues/layout.erb
> (internal_server_error)
> `name' required
>
/home/rsl/dev/apps/oyster/config/../vendor/rails/actionpack/
lib/
>
action_controller/cgi_ext/cookie_performance_fix.rb:44:in
`initialize'
>
/home/rsl/dev/apps/oyster/config/../vendor/rails/actionpack/
lib/
> action_controller/session/cookie_store.rb:111:in
`write_cookie'
>
/home/rsl/dev/apps/oyster/config/../vendor/rails/actionpack/
lib/
> action_controller/session/cookie_store.rb:71:in
`close'
> /usr/lib/ruby/1.8/cgi/session.rb:330:in `close'
>
/home/rsl/dev/apps/oyster/config/../vendor/rails/actionpack/
lib/
> action_controller/base.rb:1236:in `close_session'
>
/home/rsl/dev/apps/oyster/config/../vendor/rails/actionpack/
lib/
> action_controller/base.rb:1280:in
`process_cleanup_without_flash'
>
/home/rsl/dev/apps/oyster/config/../vendor/rails/actionpack/
lib/
> action_controller/flash.rb:146:in
`process_cleanup_without_filters'
>
/home/rsl/dev/apps/oyster/config/../vendor/rails/actionpack/
lib/
> action_controller/filters.rb:662:in
> `process_cleanup_without_session_management_support'
>
/home/rsl/dev/apps/oyster/config/../vendor/rails/actionpack/
lib/
> action_controller/session_management.rb:132:in
> `process_cleanup_without_components'
>
/home/rsl/dev/apps/oyster/config/../vendor/rails/actionpack/
lib/
> action_controller/components.rb:178:in
`process_cleanup'
>
/home/rsl/dev/apps/oyster/config/../vendor/rails/actionpack/
lib/
> action_controller/base.rb:481:in
`process_without_filters'
>
/home/rsl/dev/apps/oyster/config/../vendor/rails/actionpack/
lib/
> action_controller/filters.rb:624:in
> `process_without_session_management_support'
>
/home/rsl/dev/apps/oyster/config/../vendor/rails/actionpack/
lib/
> action_controller/session_management.rb:122:in
`sass_old_process'
>
/home/rsl/dev/apps/oyster/config/../vendor/plugins/haml/lib/
sass/
> plugin.rb:116:in `process'
>
/home/rsl/dev/apps/oyster/config/../vendor/rails/actionpack/
lib/
> action_controller/base.rb:326:in `process'
>
/home/rsl/dev/apps/oyster/config/../vendor/rails/railties/li
b/
> dispatcher.rb:39:in `dispatch'
>
/usr/lib/ruby/gems/1.8/gems/mongrel-1.0.1/lib/mongrel/rails.
rb:78:in
> `process'
>
/usr/lib/ruby/gems/1.8/gems/mongrel-1.0.1/lib/mongrel/rails.
rb:76:in
> `process'
>
/usr/lib/ruby/gems/1.8/gems/mongrel-1.0.1/lib/mongrel.rb:618
:in
> `process_client'
>
/usr/lib/ruby/gems/1.8/gems/mongrel-1.0.1/lib/mongrel.rb:617
:in
> `process_client'
>
/usr/lib/ruby/gems/1.8/gems/mongrel-1.0.1/lib/mongrel.rb:736
:in `run'
>
/usr/lib/ruby/gems/1.8/gems/mongrel-1.0.1/lib/mongrel.rb:736
:in `run'
>
/usr/lib/ruby/gems/1.8/gems/mongrel-1.0.1/lib/mongrel.rb:720
:in `run'
>
/usr/lib/ruby/gems/1.8/gems/mongrel-1.0.1/lib/mongrel/config
urator.rb:
> 271:in `run'
>
/usr/lib/ruby/gems/1.8/gems/mongrel-1.0.1/lib/mongrel/config
urator.rb:
> 270:in `run'
>
/usr/lib/ruby/gems/1.8/gems/mongrel-1.0.1/bin/mongrel_rails:
127:in
> `run'
>
/usr/lib/ruby/gems/1.8/gems/mongrel-1.0.1/lib/mongrel/comman
d.rb:
> 211:in `run'
>
/usr/lib/ruby/gems/1.8/gems/mongrel-1.0.1/bin/mongrel_rails:
243
> /usr/bin/mongrel_rails:16
>
> The thing is that I'm not using sass at all so why is
it jumping in
> the mix there?
>
>
> >
>
>   


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the
Google Groups "Haml" group.
To post to this group, send email to hamlgooglegroups.com
To unsubscribe from this group, send email to
haml-unsubscribegooglegroups.com
For more options, visit this group at http://grou
ps.google.com/group/haml?hl=en
-~----------~----~----~----~------~----~------~--~---


Re: Sass and newcookie-based sessions not playing nice?
user name
2007-02-27 13:07:31
I completely removed Haml from vendor/plugins and the problem still happens so it's not Haml's fault. For the moment, disabling sessions altogether makes the error go away but I hope they get this sorted out quickly 'cause I need sessions for the flash object still. I think. Maybe that's changed with the new setup as well.

RSL

On 2/27/07, RSL < scondsgmail.com">scondsgmail.com> wrote:

I'm still looking through the source but I'm getting these errors
since I updated Edge Rails this morning...

Rendering /home/rsl/dev/apps/oyster/config/../vendor/rails/actionpack/
lib/action_controller/templates/rescues/layout.erb
(internal_server_error)
`name' required
/home/rsl/dev/apps/oyster/config/../vendor/rails/actionpack/lib/
action_controller/cgi_ext/cookie_performance_fix.rb:44:in `initialize'
/home/rsl/dev/apps/oyster/config/../vendor/rails/actionpack/lib/
action_controller/session/cookie_store.rb:111:in `write_cookie'
/home/rsl/dev/apps/oyster/config/../vendor/rails/actionpack/lib/
action_controller/session/cookie_store.rb:71:in `close';
/usr/lib/ruby/1.8/cgi/session.rb:330:in `close';
/home/rsl/dev/apps/oyster/config/../vendor/rails/actionpack/lib/
action_controller/base.rb:1236:in `close_session'
/home/rsl/dev/apps/oyster/config/../vendor/rails/actionpack/lib/
action_controller/base.rb:1280:in `process_cleanup_without_flash&#39;
/home/rsl/dev/apps/oyster/config/../vendor/rails/actionpack/lib/
action_controller/flash.rb:146:in `process_cleanup_without_filters'
/home/rsl/dev/apps/oyster/config/../vendor/rails/actionpack/lib/
action_controller/filters.rb:662:in
`process_cleanup_without_session_management_support'
/home/rsl/dev/apps/oyster/config/../vendor/rails/actionpack/lib/
action_controller/session_management.rb:132:in
`process_cleanup_without_components'
/home/rsl/dev/apps/oyster/config/../vendor/rails/actionpack/lib/
action_controller/components.rb:178:in `process_cleanup'
/home/rsl/dev/apps/oyster/config/../vendor/rails/actionpack/lib/
action_controller/base.rb:481:in `process_without_filters'
/home/rsl/dev/apps/oyster/config/../vendor/rails/actionpack/lib/
action_controller/filters.rb:624:in
`process_without_session_management_support'
/home/rsl/dev/apps/oyster/config/../vendor/rails/actionpack/lib/
action_controller/session_management.rb:122:in `sass_old_process';
/home/rsl/dev/apps/oyster/config/../vendor/plugins/haml/lib/sass/
plugin.rb:116:in `process&#39;
/home/rsl/dev/apps/oyster/config/../vendor/rails/actionpack/lib/
action_controller/base.rb:326:in `process&#39;
/home/rsl/dev/apps/oyster/config/../vendor/rails/railties/lib/
dispatcher.rb:39:in `dispatch&#39;
/usr/lib/ruby/gems/1.8/gems/mongrel-1.0.1/lib/mongrel/rails.rb:78:in
`process';
/usr/lib/ruby/gems/1.8/gems/mongrel-1.0.1/lib/mongrel/rails.rb:76:in
`process'
/usr/lib/ruby/gems/1.8/gems/mongrel-1.0.1/lib/mongrel.rb:618:in
`process_client&#39;
/usr/lib/ruby/gems/1.8/gems/mongrel- 1.0.1/lib/mongrel.rb:617:in
`process_client&#39;
/usr/lib/ruby/gems/1.8/gems/mongrel-1.0.1/lib/mongrel.rb:736:in `run'
/usr/lib/ruby/gems/1.8/gems/mongrel-1.0.1/lib/mongrel.rb:736:in `run'
/usr/lib/ruby/gems/1.8/gems/mongrel- 1.0.1/lib/mongrel.rb:720:in `run'
/usr/lib/ruby/gems/1.8/gems/mongrel-1.0.1/lib/mongrel/configurator.rb:
271:in `run'
/usr/lib/ruby/gems/1.8/gems/mongrel-1.0.1/lib/mongrel/configurator.rb:
270:in `run'
/usr/lib/ruby/gems/1.8/gems/mongrel-1.0.1/bin/mongrel_rails:127:in
`run';
/usr/lib/ruby/gems/1.8/gems/mongrel-1.0.1/lib/mongrel/command.rb:
211:in `run'
/usr/lib/ruby/gems/1.8/gems/mongrel-1.0.1/bin/mongrel_rails:243
/usr/bin/mongrel_rails:16

The thing is that I'm not using sass at all so why is it jumping in
the mix there?




--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Haml" group.
To post to this group, send email to hamlgooglegroups.com
To unsubscribe from this group, send email to haml-unsubscribegooglegroups.com
For more options, visit this group at http://groups.google.com/group/haml?hl=en
-~----------~----~----~----~------~----~------~--~---

Re: Sass and newcookie-based sessions not playing nice?
user name
2007-02-27 19:49:54
Sheesh! I finally tracked down the cause of the errors. It indeed had nothing to do with Haml. :/ The new session options were conflicting with my previous ones. More info can be found here: http://ryandaigle.com/articles/2007/2/21/what-s-new-in-edge-rails-cookie-based-sessions

Thanks anyhow.

RSL

On 2/27/07, Nathan Weizenbaum < nex342gmail.com">nex342gmail.com> wrote:

Sass needs to activate to at least check if there are templates to
render. I'll look into this.

- Nathan

RSL wrote:
>; I'm still looking through the source but I'm getting these errors
>; since I updated Edge Rails this morning...
>
> Rendering /home/rsl/dev/apps/oyster/config/../vendor/rails/actionpack/
&gt; lib/action_controller/templates/rescues/layout.erb
>; (internal_server_error)
> `name' required
&gt; /home/rsl/dev/apps/oyster/config/../vendor/rails/actionpack/lib/
> action_controller/cgi_ext/cookie_performance_fix.rb:44:in `initialize'
&gt; /home/rsl/dev/apps/oyster/config/../vendor/rails/actionpack/lib/
> action_controller/session/cookie_store.rb:111:in `write_cookie'
&gt; /home/rsl/dev/apps/oyster/config/../vendor/rails/actionpack/lib/
> action_controller/session/cookie_store.rb:71:in `close';
> /usr/lib/ruby/1.8/cgi/session.rb:330:in `close';
> /home/rsl/dev/apps/oyster/config/../vendor/rails/actionpack/lib/
> action_controller/base.rb:1236:in `close_session'
> /home/rsl/dev/apps/oyster/config/../vendor/rails/actionpack/lib/
> action_controller/base.rb:1280:in `process_cleanup_without_flash&#39;
> /home/rsl/dev/apps/oyster/config/../vendor/rails/actionpack/lib/
> action_controller/flash.rb:146:in `process_cleanup_without_filters'
> /home/rsl/dev/apps/oyster/config/../vendor/rails/actionpack/lib/
> action_controller/filters.rb:662:in
> `process_cleanup_without_session_management_support9;
> /home/rsl/dev/apps/oyster/config/../vendor/rails/actionpack/lib/
> action_controller/session_management.rb:132:in
> `process_cleanup_without_components'
&gt; /home/rsl/dev/apps/oyster/config/../vendor/rails/actionpack/lib/
> action_controller/components.rb:178:in `process_cleanup'
> /home/rsl/dev/apps/oyster/config/../vendor/rails/actionpack/lib/
> action_controller/base.rb:481:in `process_without_filters'
&gt; /home/rsl/dev/apps/oyster/config/../vendor/rails/actionpack/lib/
> action_controller/filters.rb:624:in
> `process_without_session_management_support'
> /home/rsl/dev/apps/oyster/config/../vendor/rails/actionpack/lib/
> action_controller/session_management.rb:122:in `sass_old_process';
> /home/rsl/dev/apps/oyster/config/../vendor/plugins/haml/lib/sass/
> plugin.rb:116:in `process&#39;
> /home/rsl/dev/apps/oyster/config/../vendor/rails/actionpack/lib/
> action_controller/base.rb:326:in `process&#39;
> /home/rsl/dev/apps/oyster/config/../vendor/rails/railties/lib/
&gt; dispatcher.rb:39:in `dispatch&#39;
> /usr/lib/ruby/gems/1.8/gems/mongrel-1.0.1/lib/mongrel/rails.rb:78:in
> `process&#39;
> /usr/lib/ruby/gems/1.8/gems/mongrel- 1.0.1/lib/mongrel/rails.rb:76:in
> `process&#39;
> /usr/lib/ruby/gems/1.8/gems/mongrel-1.0.1/lib/mongrel.rb:618:in
&gt; `process_client'
> /usr/lib/ruby/gems/1.8/gems/mongrel-1.0.1/lib/mongrel.rb:617:in
> `process_client'
> /usr/lib/ruby/gems/1.8/gems/mongrel-1.0.1/lib/mongrel.rb:736:in `run'
> /usr/lib/ruby/gems/1.8/gems/mongrel-1.0.1/lib/mongrel.rb:736:in `run'
> /usr/lib/ruby/gems/1.8/gems/mongrel- 1.0.1/lib/mongrel.rb:720:in `run'
> /usr/lib/ruby/gems/1.8/gems/mongrel-1.0.1/lib/mongrel/configurator.rb:
> 271:in `run'
> /usr/lib/ruby/gems/1.8/gems/mongrel-1.0.1/lib/mongrel/configurator.rb:
>; 270:in `run'
> /usr/lib/ruby/gems/1.8/gems/mongrel-1.0.1/bin/mongrel_rails:127:in
> `run'
> /usr/lib/ruby/gems/1.8/gems/mongrel-1.0.1/lib/mongrel/command.rb:
> 211:in `run'
> /usr/lib/ruby/gems/1.8/gems/mongrel- 1.0.1/bin/mongrel_rails:243
> /usr/bin/mongrel_rails:16
>
&gt; The thing is that I'm not using sass at all so why is it jumping in
> the mix there?
>;
>
> >
>
>

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Haml" group.
To post to this group, send email to hamlgooglegroups.com
To unsubscribe from this group, send email to haml-unsubscribegooglegroups.com
For more options, visit this group at http://groups.google.com/group/haml?hl=en
-~----------~----~----~----~------~----~------~--~---

[1-4]

about | contact  Other archives ( Real Estate discussion Medical topics )