Hi Harry, Unfortunately, I probably cannot provide any further insight here. I just saw what looked to be a raw system level error. I am too out of date with OAE to know anything about the actual tests.
This looks like it might actually be another system-level problem, though. Multiple processes opening the file descriptors or something: https://github.com/gruntjs/grunt-contrib-watch/issues/75#issuecomment-17826879 Maybe try to kill any previous processes that were running? These kinds of things that spawn lots of processes and/or watch lots of files are usually tricky. Thanks, -Noah On Nov 27, 2013, at 11:34 AM, Harry Wang wrote: > Hi Noah, > > Thanks for your suggestion. I used: launchctl limit maxfiles 2048 2048 to > increase the limit to 2048 and got another error: > > Cannot GET /tests/mocked/index.html?widget=footer > (the above msg shown in the browser, the log is below) > > Running "watch:mock" (watch) task > Waiting...2013-11-27 11:30 grunt[12527] (CarbonCore.framework) > FSEventStreamStart: register_with_server: ERROR: f2d_register_rpc() => (null) > (-21) > 2013-11-27 11:30 grunt[12527] (CarbonCore.framework) FSEventStreamStart: > register_with_server: ERROR: f2d_register_rpc() => (null) (-21) > .... > > > Harry > > On Nov 27, 2013, at 10:53 AM, Noah Botimer <boti...@umich.edu> wrote: > >> This kind of thing can happen pretty easily in virtual machines (where >> things like inotify can act strangely because of shared folders, etc.). >> >> You may want to check your ulimit -n to see if there you're hitting a real >> open file limit. >> >> Thanks, >> -Noah >> >> On Nov 27, 2013, at 10:31 AM, Harry Wang wrote: >> >>> Hi All, >>> >>> I tried to learn TDD of OAE widget by following the tutorial developed by >>> Stephen at >>> https://github.com/sathomas/3akai-ux/wiki/Test-Driven-Development-of-an-OAE-Widget >>> but ran into error when doing: grunt mock:footer >>> >>> The error log is attached below. >>> >>> I found that OAE 3akai repo has Gruntfile.js and want to know whether this >>> is an updated version of this tutorial or other tutorial related to running >>> the tests for 3akai and Hilary. >>> >>> Thanks, >>> >>> Harry >>> >>> >>> Running "mock:footer" (mock) task >>> >>> Running "connect:mock" (connect) task >>> Started connect web server on 127.0.0.1:9000. >>> >>> Running "open:mock" (open) task >>> >>> Running "watch:mock" (watch) task >>> Waiting... >>> >>> ... >>> >>> Running "watch:mock" (watch) task >>> Waiting...Warning: EMFILE, too many open files >>> Fatal error: Maximum call stack size exceeded >>> >>> >>> _______________________________________________ >>> oae-dev mailing list >>> oae-dev@collab.sakaiproject.org >>> http://collab.sakaiproject.org/mailman/listinfo/oae-dev >> >
_______________________________________________ oae-dev mailing list oae-dev@collab.sakaiproject.org http://collab.sakaiproject.org/mailman/listinfo/oae-dev