hmm, I haven&#39;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> &lt;<a href="mailto:lasso@lassoweb.se">lasso@lassoweb.se</a>&gt; 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 &#39;/&#39;.<br>ERROR: No such file or directory -<br>/tmp/nitro_file_cache/session_nsid/9fc7781f0b49443b32855bf3f191dbf0<br>&nbsp;&nbsp; /usr/lib/ruby/gems/1.8/gems/glue-
0.40.0/lib/glue/cache/file.rb:63:in<br>`initialize&#39;<br>&nbsp;&nbsp; /usr/lib/ruby/gems/1.8/gems/glue-0.40.0/lib/glue/cache/file.rb:63:in<br>`encode_file&#39;<br>&nbsp;&nbsp; /usr/lib/ruby/gems/1.8/gems/glue-0.40.0/lib/glue/cache/file.rb:20:in
<br>`[]=&#39;<br>&nbsp;&nbsp; /usr/lib/ruby/gems/1.8/gems/nitro-0.40.0/lib/nitro/session.rb:110:in<br>`lookup&#39;<br>&nbsp;&nbsp; /usr/lib/ruby/gems/1.8/gems/nitro-0.40.0/lib/nitro/context.rb:126:in<br>`session&#39;<br>/usr/lib/ruby/gems/1.8/gems/nitro-
0.40.0/lib/nitro/render.rb:260:in<br>`session&#39;<br>&nbsp;&nbsp; /usr/lib/ruby/gems/1.8/gems/nitro-0.40.0/lib/nitro/flash.rb:144:in<br>`flash&#39;<br>&nbsp;&nbsp; (eval):5:in `index_action&#39;<br>&nbsp;&nbsp; /usr/lib/ruby/gems/1.8/gems/nitro-0.40.0
/lib/nitro/render.rb:128:in<br>`render&#39;<br>&nbsp;&nbsp; /usr/lib/ruby/gems/1.8/gems/nitro-0.40.0/lib/nitro/cgi.rb:56:in `process&#39;<br><br>/usr/lib/ruby/gems/1.8/gems/nitro-0.40.0/lib/nitro/adapter/fastcgi.rb:40:in<br>`start&#39;
<br><br>/usr/lib/ruby/gems/1.8/gems/nitro-0.40.0/lib/nitro/adapter/fastcgi.rb:38:in<br>`start&#39;<br><br>/usr/lib/ruby/gems/1.8/gems/nitro-0.40.0/lib/nitro/server/runner.rb:264:in<br>`invoke&#39;<br>&nbsp;&nbsp; /usr/lib/ruby/gems/1.8/gems/nitro-
0.40.0/lib/nitro/server.rb:151:in `run&#39;<br>&nbsp;&nbsp; /usr/lib/ruby/gems/1.8/gems/nitro-0.40.0/lib/nitro.rb:77:in `run&#39;<br>&nbsp;&nbsp; /home/lassoweb/nitro_sites/lassoweb/run.rb:4<br>&nbsp;&nbsp; /usr/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:21:in `require&#39;
<br>&nbsp;&nbsp; /home/lassoweb/nitro_sites/lassoweb/public/dispatch.fcgi:4<br>&nbsp;&nbsp; LOGGED FROM:<br>/usr/lib/ruby/gems/1.8/gems/nitro-0.40.0/lib/nitro/render.rb:251:in<br>`log_error&#39;<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>