FredrikNoren / ungit

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

Fresh install doesn't work #112

Closed pdavid0 closed 11 years ago

pdavid0 commented 11 years ago

Windows 8 installed via npm.

"Whooops Something went wrong, reload the page to start over."

Nothing more, nothing less ...

danielchatfield commented 11 years ago

Same

daegalus commented 11 years ago

Same error here.

[Edit] Javascript Console gives me this info:

Uncaught TypeError: Type error ungit.js:7413

And line 7413 has this:

context.setLineDash(undefined);

brayann commented 11 years ago

Same here, but in OS X 10.8.4.

I guess it has some problems to manage remotes that are bitbucket private repos. Here's the error:

info: GET /api/log?path=%2FUsers%2Fbrayann%2FSites%2Fterceirizame&limit=65

child_process.js:927
throw errnoException(process._errno, 'spawn');
      ^
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 /usr/local/lib/node_modules/ungit/source/git.js:12:31
at Object.q.process [as _onImmediate] (/usr/local/lib/node_modules/ungit/node_modules/async/lib/async.js:728:21)
at processImmediate [as _immediateCallback] (timers.js:330:15)

With projects without remotes, I'm getting this error after navigating for a while:

typeError: Cannot call method 'trim' of undefined
at /usr/local/lib/node_modules/ungit/source/git-parser.js:149:69
at Array.forEach (native)
at Object.exports.parseGitLog [as parser] (/usr/local/lib/node_modules/ungit/source/git-parser.js:149:10)
at /usr/local/lib/node_modules/ungit/source/git.js:28:42
at ChildProcess.exithandler (child_process.js:635:7)
at ChildProcess.EventEmitter.emit (events.js:98:17)
at maybeClose (child_process.js:735:16)
at Socket.<anonymous> (child_process.js:948:11)
at Socket.EventEmitter.emit (events.js:95:17)
at Pipe.close (net.js:466:12)

Bot of them give me the error in the browser:

Connection lost Refresh the page to try to reconnect or the error Something went wrong

Any ideas?

daegalus commented 11 years ago

Might be a 1.5 issue. When I updated to 1.6, it works fine now.

fluidpixel commented 11 years ago

Same for me. Refreshing many times sometimes works, but then when scrolling through the repo it doesn't take long to retrigger:

child_process.js:927 throw errnoException(process._errno, 'spawn'); ^ 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 /usr/local/lib/node_modules/ungit/source/git.js:12:31 at Object.q.process as _onImmediate at processImmediate as _immediateCallback

FredrikNoren commented 11 years ago

Ok lots of different errors in this one :) Closing this one and delegating to specific bug reports:

@pdavid0 and @danielchatfield Try looking in the console of both the cli part and in your browsers, if you can find any more details please open a specific issue with a bit more details and I'll see if I can help you.

@Daegalus Awesome that it works for you now!

@brayann The first error seems to be a duplicate of #118, try updating to 0.1.6 and if that doesn't help see my comment in #118. The second error is a bit weirder, I've open another issue for it: #125, if you can find any more information it would be helpful (seems almost like you have a commit with an empty message or something?)

@fluidpixel Also #118

pdavid0 commented 11 years ago

Updating to 1.6 solved m'y issue.

Thanks for The support / great app :)