No, it's not. Do you have a way of consistently reproducing it? On Thu, Jul 29, 2010 at 11:49 PM, Lawrence Pit <[email protected]>wrote:
> > > I'm getting this error as well lately, but on a linux box, when deploying a > new app. It happens sporadically, and happens with a random .sassc file. > > Warning. Error encountered while reading cache /srv/ > example.com/releases/20100730063411/tmp/sass-cache/582473ecf79940f1d87ddbbc4ab0092dc3255043/posts.sassc: > end of file reached > > Using Haml/Sass 3.0.13 (Classy Cassidy) > > Is this a known error? > > > > Cheers, > Lawrence > > > Awesome. Thanks. > > On Sat, Jul 4, 2009 at 5:10 PM, Talljoe <[email protected]> wrote: > >> >> After running the test I had looked to see if the tmp directory was >> there and it wasn't. Just ran the tests again now and there were no >> problems. I'm guessing that the directory was left around from when I >> ran with an old version of Haml (when I was getting the 10 errors) and >> when I ran the tests again with the new version the test failed but >> cleaned up properly. >> >> I fetched again just now and ran the tests and it's still working >> great. >> >> 280 tests, 2438 assertions, 0 failures, 0 errors >> >> False alarm, everybody. >> >> On Jul 4, 4:42 pm, Nathan Weizenbaum <[email protected]> wrote: >> > If you remove the tmp directory and run the tests again (twice for good >> > measure), does that error recur? >> > >> > >> > >> > On Sat, Jul 4, 2009 at 3:26 PM, Talljoe <[email protected]> wrote: >> > >> > > You're welcome. After a month of ignoring it I figured I might as >> > > well try to do something about it. >> > >> > > As for the tests, turns out I didn't have the rails gem installed (I >> > > don't use Rails on Windows). After installing rails gem I get a test >> > > failure (was at 10 until I pulled the latest version of haml-edge). >> > > Pasted athttp://gist.github.com/140750 >> > >> > > $ git log -1 >> > > commit dd402de8b3d8d0a4269bffe107ccced7cacefeea >> > > Author: Nathan Weizenbaum <[email protected]> >> > > Date: Sat Jul 4 18:06:36 2009 -0400 >> > >> > > Bump edge gem version to 2.1.44. >> > >> > > On Jul 4, 2:45 pm, Nathan Weizenbaum <[email protected]> wrote: >> > > > Merged. Thanks for this fix... I forgot all about binary-mode stuff. >> > > > Why can't you run the tests on Windows? This seems like something we >> > > should >> > > > fix. >> > >> > > > On Sat, Jul 4, 2009 at 2:19 PM, Talljoe <[email protected]> wrote: >> > >> > > > > I am using compass and haml-edge-2.1.24 on Windows 7 and still had >> > > > > problems. Patch to fix them below. >> > >> > > > > Numerous errors of: >> > > > > Warning. Error encountered while reading cache >> c:/source/Project/Web/ >> > > > > sass/.sass-cache/90b2d3441fb440bbf09588f79128ce22a6e1a3dc/ >> > > > > _horizontal_list.sassc: marshal data too short >> > >> > > > > Taking inspiration from >> > > > >http://blade.nagaokaut.ac.jp/cgi-bin/scat.rb/ruby/ruby-talk/96123 >> > > > > I changed files.rb to open the cache file for read in binary mode. >> > > > > That fixed that problem, but then I moved on to: >> > > > > Warning. Error encountered while reading cache >> c:/source/Project/Web/ >> > > > > sass/.sass-cache/d5b135de6bf0b7e6146fec131b0ab8e01033a9fc/ >> > > > > _screen.sassc: undefined class/module mpact >> > > > > Warning. Error encountered while reading cache >> c:/source/Project/Web/ >> > > > > sass/.sass-cache/fbddb75718c162793079bc2282f177095da94a51/ >> > > > > _colors.sassc: dump format error(0x18) >> > >> > > > > And various other errors like that. I changed files.rb to open >> the >> > > > > cache file for write in binary mode. >> > >> > > > > Patch at:http://gist.github.com/140735 >> > >> > > > > All tests pass (merb tests not run) on Linux. I'm not able to run >> the >> > > > > tests on my Windows machine. >> > > > > Loaded suite /usr/lib/ruby/1.8/rake/rake_test_loader >> > > > > Started >> > >> > > >> ................................................................................ >> > >> > > >> ................................................................................ >> > > > > ................................................ >> > > > > merb couldn't be loaded, skipping a test >> > > > > ............................................................ >> > > > > Finished in 7.035098 seconds. >> > >> > > > > Cheers, >> > > > > Joe >> > >> > > > > 268 tests, 2349 assertions, 0 failures, 0 errors >> > >> > > > > On May 19, 9:38 am, Chris Eppstein <[email protected]> wrote: >> > > > > > Thanks for the quick turn around. I think that will do the >> trick, and >> > > am >> > > > > > waiting to hear back from the OP. >> > > > > > chris. >> > >> > > > > > On Tue, May 19, 2009 at 9:31 AM, Nathan Weizenbaum < >> [email protected] >> > >> > > > > wrote: >> > >> > > > > > > Thanks, Chris, I've merged your change and pushed one of my >> own >> > > that >> > > > > > > might solve the root issue: >> > >> > >http://github.com/nex3/haml/commit/e59cc7090c55217a2cecda08ba9da828e3. >> > > > > .. >> > > > > > > . If someone who's on Windows could test that, that would be >> great. >> > >> > > > > > > 2009/5/19 Chris Eppstein <[email protected]>: >> > >> > > > > > > > Got this great error report on the compass mailing list. >> > >> > >http://groups.google.com/group/compass-users/browse_thread/thread/6c4. >> > > > > .. >> > >> > > > > > > > I've committed a work-around to my haml repo, but I've not >> yet >> > > had >> > > > > > > > time to diagnose and fix the root cause because I don't have >> > > access >> > > > > to >> > > > > > > > a windows environment with ruby installed. I suspect the >> issue is >> > > > > > > > because we're reading to "\n" to consume the sass cache >> preamble, >> > > but >> > > > > > > > on windows there's an "\r" floating in there causing the >> marshal >> > > > > > > > loader to choke. >> > >> > > > > > > > Chris- Hide quoted text - >> > >> > > > > > - Show quoted text -- Hide quoted text - >> > >> > > > - Show quoted text -- Hide quoted text - >> > >> > - Show quoted text - >> >> > > --~--~---------~--~----~------------~-------~--~----~ > You received this message because you are subscribed to the Google Groups > "Haml" group. > To post to this group, send email to [email protected] > To unsubscribe from this group, send email to > [email protected] > For more options, visit this group at > http://groups.google.com/group/haml?hl=en > -~----------~----~----~----~------~----~------~--~--- > > > -- > You received this message because you are subscribed to the Google Groups > "Haml" group. > To post to this group, send email to [email protected]. > To unsubscribe from this group, send email to > [email protected] <haml%[email protected]>. > For more options, visit this group at > http://groups.google.com/group/haml?hl=en. > -- You received this message because you are subscribed to the Google Groups "Haml" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/haml?hl=en.
