mb0 / lab

golab: go local application builder - a web-based golang ide
BSD 2-Clause "Simplified" License
159 stars 16 forks source link

Missing repository github.com/garyburd/go-websocket #11

Open kokizzu opened 10 years ago

kokizzu commented 10 years ago

The respository github.com/garyburd/go-websocket is 404 now

github.com/garyburd/go-websocket (download)
Username for 'https://github.com': kokizzu
Password for 'https://kokizzu@github.com': 
# cd .; git clone https://github.com/garyburd/go-websocket /home/kyz/Dropbox/go/src/github.com/garyburd/go-websocket
Cloning into '/home/kyz/Dropbox/go/src/github.com/garyburd/go-websocket'...
remote: Repository not found.
fatal: repository 'https://github.com/garyburd/go-websocket/' not found
package github.com/mb0/lab/golab
        imports github.com/garyburd/go-websocket/websocket: exit status 128
mb0 commented 10 years ago

i switched to working with vim some time ago, but am not happy with that. i have some new ideas and am currently working on a simpler replacement for my needs.

i am not sure how to proceed with this repository. but if you are or want to use it i will fix the import in a couple of days. if you like to tinker with it and send a pull request i would be happy to accept. the solution is straight forward just change the import path to github.com/gorilla/websocket and it should work more with minor edits

thanks for reporting

kokizzu commented 10 years ago

yes, i have fix the import: http://pastie.org/9285800

but when i start it:

$ go build
$ ./golab -http
2014/06/13 15:35:06 found gocode at: /usr/lib/go/bin/gocode
2014/06/13 15:35:06 starting http://localhost:8910/
starting lab for: [/usr/lib/go/src/pkg /home/kyz/Dropbox/go/src]

it shows only 3 icons and "Documents/" on top left, and nothing else

kokizzu commented 10 years ago

ah, there's an error on Javascript Console

Uncaught TypeError: Cannot read property 'Result' of undefined report.js:11
Backbone.Model.extend.getresult report.js:11
(anonymous function) VM528:6
c underscore-min.js:1
Backbone.View.extend.render base.js:14
Backbone.View.extend.addOne base.js:31
w backbone-min.js:8
g.Events.trigger backbone-min.js:10
f.extend._onModelEvent backbone-min.js:27
w backbone-min.js:8
g.Events.trigger backbone-min.js:10
f.extend.add backbone-min.js:20
Backbone.View.extend.addreports report.js:96
w backbone-min.js:8
g.Events.trigger backbone-min.js:10
ws.onmessage conn.js:56
kokizzu commented 10 years ago

editing the ./static/view/report.js line 11 into

return {Errmsg:'foo'};

gives no more error on the Javascript console, but everything else still the same (only 3 buttons and Documents/)

mb0 commented 10 years ago

ok thanks for looking into it. i will fix it tomorrow if you haven't found a solution by then.

kokizzu commented 10 years ago

ok, thanks ^^

jlanteigne commented 9 years ago

I know this is an old thread, but I am still running into this issue myself. Is there a workaround?