hmm, I haven't ever used the file caching with sessions to tell you the truth. Perhaps someone else has more experience with this?<br><br>-g.<br><br><div><span class="gmail_quote">On 1/10/07, <b class="gmail_sendername">
Lars Olsson</b> <<a href="mailto:lasso@lassoweb.se">lasso@lassoweb.se</a>> wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Hi list!<br><br>I often get the error below when using lighttpd + Nitro file caching.<br>Nitro is obviously looking for a non-existing cache file...Have anyone<br>else experienced something similar and maybe worked around the problem?
<br><br>Sincerely<br><br>/lasso<br><br><br><br>ERROR: Error while handling '/'.<br>ERROR: No such file or directory -<br>/tmp/nitro_file_cache/session_nsid/9fc7781f0b49443b32855bf3f191dbf0<br> /usr/lib/ruby/gems/1.8/gems/glue-
0.40.0/lib/glue/cache/file.rb:63:in<br>`initialize'<br> /usr/lib/ruby/gems/1.8/gems/glue-0.40.0/lib/glue/cache/file.rb:63:in<br>`encode_file'<br> /usr/lib/ruby/gems/1.8/gems/glue-0.40.0/lib/glue/cache/file.rb:20:in
<br>`[]='<br> /usr/lib/ruby/gems/1.8/gems/nitro-0.40.0/lib/nitro/session.rb:110:in<br>`lookup'<br> /usr/lib/ruby/gems/1.8/gems/nitro-0.40.0/lib/nitro/context.rb:126:in<br>`session'<br>/usr/lib/ruby/gems/1.8/gems/nitro-
0.40.0/lib/nitro/render.rb:260:in<br>`session'<br> /usr/lib/ruby/gems/1.8/gems/nitro-0.40.0/lib/nitro/flash.rb:144:in<br>`flash'<br> (eval):5:in `index_action'<br> /usr/lib/ruby/gems/1.8/gems/nitro-0.40.0
/lib/nitro/render.rb:128:in<br>`render'<br> /usr/lib/ruby/gems/1.8/gems/nitro-0.40.0/lib/nitro/cgi.rb:56:in `process'<br><br>/usr/lib/ruby/gems/1.8/gems/nitro-0.40.0/lib/nitro/adapter/fastcgi.rb:40:in<br>`start'
<br><br>/usr/lib/ruby/gems/1.8/gems/nitro-0.40.0/lib/nitro/adapter/fastcgi.rb:38:in<br>`start'<br><br>/usr/lib/ruby/gems/1.8/gems/nitro-0.40.0/lib/nitro/server/runner.rb:264:in<br>`invoke'<br> /usr/lib/ruby/gems/1.8/gems/nitro-
0.40.0/lib/nitro/server.rb:151:in `run'<br> /usr/lib/ruby/gems/1.8/gems/nitro-0.40.0/lib/nitro.rb:77:in `run'<br> /home/lassoweb/nitro_sites/lassoweb/run.rb:4<br> /usr/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:21:in `require'
<br> /home/lassoweb/nitro_sites/lassoweb/public/dispatch.fcgi:4<br> LOGGED FROM:<br>/usr/lib/ruby/gems/1.8/gems/nitro-0.40.0/lib/nitro/render.rb:251:in<br>`log_error'<br><br>--<br>________________________________________
<br>Lars Olsson<br><a href="mailto:lasso@lassoweb.se">lasso@lassoweb.se</a><br><a href="http://www.lassoweb.se/">http://www.lassoweb.se/</a><br><br>_______________________________________________<br>Nitro-general mailing list
<br><a href="mailto:Nitro-general@rubyforge.org">Nitro-general@rubyforge.org</a><br><a href="http://rubyforge.org/mailman/listinfo/nitro-general">http://rubyforge.org/mailman/listinfo/nitro-general</a><br></blockquote></div>
<br><br clear="all"><br>-- <br><a href="http://blog.gmosx.com">http://blog.gmosx.com</a><br><a href="http://cull.gr">http://cull.gr</a><br><a href="http://www.joy.gr">http://www.joy.gr</a><br><a href="http://nitroproject.org">
http://nitroproject.org</a>