FredrikNoren / ungit

The easiest way to use git. On any platform. Anywhere.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Crash after few seconds on MacOSX Mavericks

marcosinigaglia opened this issue · comments

Hi, i have problem with ungit.
After i start ungit in one of my projects ungit start to refresh the page for few times and then the application stop. Where i can find some logs?
My environment:
MacOS Mavericks
Git version 1.8.3.4 (Apple Git-47)
Node.js v0.10.20

I too have this issue.
OSX Mavericks
npm 1.3.11
Git 1.8.4
node v0.10.20

Here is Chrome's console output:

The key "" is not recognized and ignored. (index):5
App version: 0.5.0
Initing bugtracking
Google analytics inited (index):686
Keen.io inited (index):699
event.returnValue is deprecated. Please use the standard event.preventDefault() instead.
Failed to load resource: the server responded with a status of 404 (Not Found) http://www.gravatar.com/avatar/6b29265711096368866daaf049343526?default=404
Failed to load resource: the server responded with a status of 404 (Not Found) http://www.gravatar.com/avatar/72c56fb2a3edddd7b9490b8e4227a5a5?default=404
Failed to load resource http://localhost:8448/api/fetch
Failed to load resource http://localhost:8448/api/remote/tags?path=%2FUsers%2Fuser%2Fgo%2Fsrc%2Fgithub.com%2Fuser%2Frepo&remote=origin&socketId=0
Failed to load resource: the server responded with a status of 404 (Not Found) http://www.gravatar.com/avatar/6b29265711096368866daaf049343526?default=404
Failed to load resource: the server responded with a status of 404 (Not Found) http://www.gravatar.com/avatar/72c56fb2a3edddd7b9490b8e4227a5a5?default=404
Failed to load resource: the server responded with a status of 404 (Not Found) http://www.gravatar.com/avatar/6b29265711096368866daaf049343526?default=404
Failed to load resource: the server responded with a status of 404 (Not Found) http://www.gravatar.com/avatar/72c56fb2a3edddd7b9490b8e4227a5a5?default=404
Failed to load resource http://localhost:8448/api/fetch
Failed to load resource http://localhost:8448/api/remote/tags?path=%2FUsers%2Fuser%2Fgo%2Fsrc%2Fgithub.com%2Fuser%2Frepo&remote=origin&socketId=0
Failed to load resource http://localhost:8448/socket.io/1/?t=1383781373866
Failed to load resource http://localhost:8448/socket.io/1/?t=1383781374869
Fire change event due to re-activity main.js:253
Failed to load resource http://localhost:8448/api/status?path=%2FUsers%2Fuser%2Fgo%2Fsrc%2Fgithub.com%2Fuser%2Frepo&socketId=0
Failed to load resource http://localhost:8448/socket.io/1/?t=1383781376870
Failed to load resource http://localhost:8448/socket.io/1/?t=1383781380872
Fire change event due to re-activity main.js:253
Failed to load resource http://localhost:8448/api/status?path=%2FUsers%2Fuser%2Fgo%2Fsrc%2Fgithub.com%2Fuser%2Frepo&socketId=0
Failed to load resource http://localhost:8448/socket.io/1/?t=1383781389392
Failed to load resource http://localhost:8448/socket.io/1/?t=1383781405391
Failed to load resource http://localhost:8448/socket.io/1/?t=1383781437392
Failed to load resource: the server responded with a status of 404 (Not Found) http://www.gravatar.com/avatar/6b29265711096368866daaf049343526?default=404
Failed to load resource: the server responded with a status of 404 (Not Found) http://www.gravatar.com/avatar/72c56fb2a3edddd7b9490b8e4227a5a5?default=404
Failed to load resource: the server responded with a status of 404 (Not Found) http://www.gravatar.com/avatar/6b29265711096368866daaf049343526?default=404
Failed to load resource: the server responded with a status of 404 (Not Found) http://www.gravatar.com/avatar/72c56fb2a3edddd7b9490b8e4227a5a5?default=404
Failed to load resource http://localhost:8448/api/remote/tags?path=%2FUsers%2Fuser%2Fgo%2Fsrc%2Fgithub.com%2Fuser%2Frepo&remote=origin&socketId=0
Failed to load resource http://localhost:8448/api/fetch
Failed to load resource: the server responded with a status of 404 (Not Found) http://www.gravatar.com/avatar/6b29265711096368866daaf049343526?default=404
Failed to load resource: the server responded with a status of 404 (Not Found) http://www.gravatar.com/avatar/72c56fb2a3edddd7b9490b8e4227a5a5?default=404
Failed to load resource: the server responded with a status of 404 (Not Found) http://www.gravatar.com/avatar/6b29265711096368866daaf049343526?default=404
Failed to load resource: the server responded with a status of 404 (Not Found) http://www.gravatar.com/avatar/72c56fb2a3edddd7b9490b8e4227a5a5?default=404
Failed to load resource http://localhost:8448/api/remote/tags?path=%2FUsers%2Fuser%2Fgo%2Fsrc%2Fgithub.com%2Fuser%2Frepo&remote=origin&socketId=0
Failed to load resource http://localhost:8448/api/fetch
Failed to load resource: the server responded with a status of 404 (Not Found) http://www.gravatar.com/avatar/6b29265711096368866daaf049343526?default=404
Failed to load resource: the server responded with a status of 404 (Not Found) http://www.gravatar.com/avatar/72c56fb2a3edddd7b9490b8e4227a5a5?default=404
Failed to load resource: the server responded with a status of 404 (Not Found) http://www.gravatar.com/avatar/6b29265711096368866daaf049343526?default=404
Failed to load resource: the server responded with a status of 404 (Not Found) http://www.gravatar.com/avatar/72c56fb2a3edddd7b9490b8e4227a5a5?default=404
Failed to load resource http://localhost:8448/api/remote/tags?path=%2FUsers%2Fuser%2Fgo%2Fsrc%2Fgithub.com%2Fuser%2Frepo&remote=origin&socketId=0
Failed to load resource http://localhost:8448/api/fetch
Failed to load resource http://localhost:8448/socket.io/1/?t=1383781508395
Failed to load resource http://localhost:8448/socket.io/1/?t=1383781509395
Failed to load resource http://localhost:8448/socket.io/1/?t=1383781511396
Failed to load resource http://localhost:8448/socket.io/1/?t=1383781515395
Fire change event due to re-activity main.js:253
Failed to load resource http://localhost:8448/api/status?path=%2FUsers%2Fuser%2Fgo%2Fsrc%2Fgithub.com%2Fuser%2Frepo&socketId=0
Failed to load resource http://localhost:8448/socket.io/1/?t=1383781523396
Failed to load resource http://localhost:8448/socket.io/1/?t=1383781540396
Failed to load resource http://localhost:8448/socket.io/1/?t=1383781572397
Failed to load resource http://localhost:8448/socket.io/1/?t=1383781636398
Fire change event due to re-activity main.js:253
Failed to load resource http://localhost:8448/api/status?path=%2FUsers%2Fuser%2Fgo%2Fsrc%2Fgithub.com%2Fuser%2Frepo&socketId=0
Fire change event due to re-activity main.js:253
GET http://localhost:8448/api/status?path=%2FUsers%2Fuser%2Fgo%2Fsrc%2Fgithub.com%2Fuser%2Frepo&socketId=0  superagent.js:1217
GET http://localhost:8448/socket.io/1/?t=1383781764403  socket.io.js:1659

And the terminal output:

info: BugTracker set version: 0.5.0
info: BugTracker set user hash
info: BugTracker set version: 0.5.0
2013-11-06T23:45:01.357Z - info: socket.io started
2013-11-06T23:45:01.358Z - info: Listening on port 8448
Browse to http://localhost:8448/#/repository?path=%2FUsers%2Fuser%2Fgo%2Fsrc%2Fgithub.com%2Fuser%2Frepo
Took 503ms to start server.
## Ungit started ##
2013-11-06T23:45:01.363Z - info: BugTracker set user hash
info: Sending to keen.io: server-start {"launchTimeMs":503,"version":"0.5.0","userHash":"4896bd77c7544313601da444c672287d"}
2013-11-06T23:45:01.441Z - info: handshake authorized gplPm6A_Zd91YQk0zgmu
2013-11-06T23:45:01.458Z - info: GET /images/logo.png
2013-11-06T23:45:01.465Z - info: GET /api/latestversion
2013-11-06T23:45:01.843Z - info: GET /api/quickstatus?path=%2FUsers%2Fuser%2Fgo%2Fsrc%2Fgithub.com%2Fuser%2Frepo&socketId=0
2013-11-06T23:45:01.860Z - info: GET /
2013-11-06T23:45:02.123Z - info: GET /css/styles.css
2013-11-06T23:45:02.126Z - info: GET /serverdata.js
2013-11-06T23:45:02.128Z - info: GET /js/raven.min.js
2013-11-06T23:45:02.133Z - info: GET /js/ungit.js
2013-11-06T23:45:02.644Z - info: Start watching /Users/user/go/src/github.com/user/repo
2013-11-06T23:45:02.645Z - info: GET /api/status?path=%2FUsers%2Fuser%2Fgo%2Fsrc%2Fgithub.com%2Fuser%2Frepo&socketId=0
2013-11-06T23:45:02.646Z - info: GET /api/log?path=%2FUsers%2Fuser%2Fgo%2Fsrc%2Fgithub.com%2Fuser%2Frepo&limit=25&socketId=0
2013-11-06T23:45:02.647Z - info: GET /api/checkout?path=%2FUsers%2Fuser%2Fgo%2Fsrc%2Fgithub.com%2Fuser%2Frepo&socketId=0
2013-11-06T23:45:02.648Z - info: GET /api/remotes?path=%2FUsers%2Fuser%2Fgo%2Fsrc%2Fgithub.com%2Fuser%2Frepo&socketId=0
info: BugTracker set version: 0.5.0
2013-11-06T23:45:03.757Z - info: socket.io started
2013-11-06T23:45:03.758Z - info: Listening on port 8448
## Ungit started ##
2013-11-06T23:45:03.762Z - info: BugTracker set user hash
2013-11-06T23:45:04.409Z - info: handshake authorized POiHQ-qOhCyGdw_AzhMO
2013-11-06T23:45:04.421Z - info: GET /images/logo.png
2013-11-06T23:45:04.426Z - info: GET /api/latestversion
2013-11-06T23:45:04.618Z - info: GET /api/quickstatus?path=%2FUsers%2Fuser%2Fgo%2Fsrc%2Fgithub.com%2Fuser%2Frepo&socketId=0
2013-11-06T23:45:04.980Z - info: Start watching /Users/user/go/src/github.com/user/repo
2013-11-06T23:45:04.983Z - info: GET /api/status?path=%2FUsers%2Fuser%2Fgo%2Fsrc%2Fgithub.com%2Fuser%2Frepo&socketId=0
2013-11-06T23:45:04.984Z - info: GET /api/log?path=%2FUsers%2Fuser%2Fgo%2Fsrc%2Fgithub.com%2Fuser%2Frepo&limit=25&socketId=0
2013-11-06T23:45:04.985Z - info: GET /api/checkout?path=%2FUsers%2Fuser%2Fgo%2Fsrc%2Fgithub.com%2Fuser%2Frepo&socketId=0
2013-11-06T23:45:04.990Z - info: GET /api/remotes?path=%2FUsers%2Fuser%2Fgo%2Fsrc%2Fgithub.com%2Fuser%2Frepo&socketId=0
2013-11-06T23:45:05.052Z - info: POST /api/fetch
2013-11-06T23:45:05.056Z - info: GET /api/remote/tags?path=%2FUsers%2Fuser%2Fgo%2Fsrc%2Fgithub.com%2Fuser%2Frepo&remote=origin&socketId=0
info: BugTracker set version: 0.5.0
Username for 'https://github.com': Username for 'https://github.com': 2013-11-06T23:45:05.845Z - info: socket.io started
2013-11-06T23:45:05.846Z - info: Listening on port 8448
## Ungit started ##
2013-11-06T23:45:05.851Z - info: BugTracker set user hash
2013-11-06T23:45:06.408Z - info: handshake authorized 7fULs9vxn8QCZYy4zhs2
2013-11-06T23:45:06.419Z - info: GET /images/logo.png
2013-11-06T23:45:06.423Z - info: GET /api/latestversion
2013-11-06T23:45:06.610Z - info: GET /api/quickstatus?path=%2FUsers%2Fuser%2Fgo%2Fsrc%2Fgithub.com%2Fuser%2Frepo&socketId=0
2013-11-06T23:45:06.776Z - info: Start watching /Users/user/go/src/github.com/user/repo
2013-11-06T23:45:06.777Z - info: GET /api/status?path=%2FUsers%2Fuser%2Fgo%2Fsrc%2Fgithub.com%2Fuser%2Frepo&socketId=0
2013-11-06T23:45:06.778Z - info: GET /api/log?path=%2FUsers%2Fuser%2Fgo%2Fsrc%2Fgithub.com%2Fuser%2Frepo&limit=25&socketId=0
2013-11-06T23:45:06.780Z - info: GET /api/checkout?path=%2FUsers%2Fuser%2Fgo%2Fsrc%2Fgithub.com%2Fuser%2Frepo&socketId=0
2013-11-06T23:45:06.781Z - info: GET /api/remotes?path=%2FUsers%2Fuser%2Fgo%2Fsrc%2Fgithub.com%2Fuser%2Frepo&socketId=0
2013-11-06T23:45:06.829Z - info: POST /api/fetch
2013-11-06T23:45:06.833Z - info: GET /api/remote/tags?path=%2FUsers%2Fuser%2Fgo%2Fsrc%2Fgithub.com%2Fuser%2Frepo&remote=origin&socketId=0
Stopped keeping ungit alive

I have this issue as well.

OSX Mavericks (with latest Commandline Tools)
Git 1.8.4.1
node v0.10.18

Used port: 8080
BugTracker: enabled

When i run ungit it connects, shows the repo, loses connection after a second, reconnects, shows the repo again for moment and then loses connection permanently.

Can you try upgrading npm and node? (It sounds like it might be the same issue this guy had: #249)

Yes!

ungit works with Node V0.11.8 and nom 1.3.13! I’m going to give it a spin tomorrow. 
  

Node v.0.10.21 solve the problem.