FredrikNoren / ungit

The easiest way to use git. On any platform. Anywhere.
MIT License
10.44k stars 637 forks source link

Crashes on large git repositories #100

Closed brentryan closed 11 years ago

brentryan commented 11 years ago

info: Sending exception to bugsense error: Error: EMFILE, open '/usr/local/lib/node_modules/ungit/public/images/remoteIcon.png' info: Sending exception to bugsense error: Error: EMFILE, open '/usr/local/lib/node_modules/ungit/public/images/branchIcon.png' info: Sending exception to bugsense error: Error: EMFILE, open '/usr/local/lib/node_modules/ungit/public/images/tagIcon.png' error: TypeError: Cannot read property 'body' of undefined at /usr/local/lib/node_modules/ungit/source/bugsense.js:50:109 at Request.callback (/usr/local/lib/node_modules/ungit/node_modules/superagent/lib/node/index.js:585:30) at ClientRequest. (/usr/local/lib/node_modules/ungit/node_modules/superagent/lib/node/index.js:553:10) at ClientRequest.EventEmitter.emit (events.js:95:17) at Socket.socketErrorListener (http.js:1548:9) at Socket.EventEmitter.emit (events.js:95:17) at net.js:830:16 at process._tickCallback (node.js:415:13) info: Sending exception to bugsense error: TypeError: Cannot read property 'body' of undefined at /usr/local/lib/node_modules/ungit/source/bugsense.js:50:109 at Request.callback (/usr/local/lib/node_modules/ungit/node_modules/superagent/lib/node/index.js:585:30) at ClientRequest. (/usr/local/lib/node_modules/ungit/node_modules/superagent/lib/node/index.js:553:10) at ClientRequest.EventEmitter.emit (events.js:95:17) at Socket.socketErrorListener (http.js:1548:9) at Socket.EventEmitter.emit (events.js:95:17) at net.js:830:16 at process._tickCallback (node.js:415:13) info: Sending exception to bugsense error: TypeError: Cannot read property 'body' of undefined at /usr/local/lib/node_modules/ungit/source/bugsense.js:50:109 at Request.callback (/usr/local/lib/node_modules/ungit/node_modules/superagent/lib/node/index.js:585:30) at ClientRequest. (/usr/local/lib/node_modules/ungit/node_modules/superagent/lib/node/index.js:553:10) at ClientRequest.EventEmitter.emit (events.js:95:17) at Socket.socketErrorListener (http.js:1548:9) at Socket.EventEmitter.emit (events.js:95:17) at net.js:830:16 at process._tickCallback (node.js:415:13) info: Sending exception to bugsense error: TypeError: Cannot read property 'body' of undefined at /usr/local/lib/node_modules/ungit/source/bugsense.js:50:109 at Request.callback (/usr/local/lib/node_modules/ungit/node_modules/superagent/lib/node/index.js:585:30) at ClientRequest. (/usr/local/lib/node_modules/ungit/node_modules/superagent/lib/node/index.js:553:10) at ClientRequest.EventEmitter.emit (events.js:95:17) at Socket.socketErrorListener (http.js:1548:9) at Socket.EventEmitter.emit (events.js:95:17) at net.js:830:16 at process._tickCallback (node.js:415:13) info: Sending exception to bugsense

error: Error: spawn EMFILE at errnoException (child_process.js:980:11) at ChildProcess.spawn (child_process.js:927:11) at exports.spawn (child_process.js:715:9) at Object.exports.execFile (child_process.js:607:15) at Object.exports.exec (child_process.js:578:18) at git (/usr/local/lib/node_modules/ungit/source/git.js:12:24) at /usr/local/lib/node_modules/ungit/source/git-api.js:278:3 at callbacks (/usr/local/lib/node_modules/ungit/node_modules/express/lib/router/index.js:161:37) at ensurePathExists (/usr/local/lib/node_modules/ungit/source/git-api.js:76:4) at callbacks (/usr/local/lib/node_modules/ungit/node_modules/express/lib/router/index.js:161:37)

FredrikNoren commented 11 years ago

This looks like a duplicate of #89 , closing. Re-open if 0.1.6 doesn't solve this (when it's released)