tachiba / atom-go-playground

Go run a active file
https://atom.io/packages/go-playground
MIT License
4 stars 6 forks source link

Failed to activate the go-playground package #10

Open dale-cooper opened 9 years ago

dale-cooper commented 9 years ago

[Enter steps to reproduce below:]

  1. Edit go code
  2. Open command palette
  3. Type gorun

Atom Version: 0.211.0 System: Microsoft Windows 8.1 Pro Thrown From: go-playground package, v0.0.2

Stack Trace

Failed to activate the go-playground package

At Cannot read property 'command' of undefined

TypeError: Cannot read property 'command' of undefined
  at Object.module.exports.activate (C:\Users\Christian\.atom\packages\go-playground\lib\go-playground.coffee:10:23)
  at Package.module.exports.Package.activateNow (C:\Users\Christian\AppData\Local\atom\app-0.211.0\resources\app.asar\src\package.js:240:19)
  at C:\Users\Christian\AppData\Local\atom\app-0.211.0\resources\app.asar\src\package.js:772:25
  at Emitter.module.exports.Emitter.emit (C:\Users\Christian\AppData\Local\atom\app-0.211.0\resources\app.asar\node_modules\event-kit\lib\emitter.js:82:11)
  at CommandRegistry.module.exports.CommandRegistry.handleCommandEvent (C:\Users\Christian\AppData\Local\atom\app-0.211.0\resources\app.asar\src\command-registry.js:222:20)
  at C:\Users\Christian\AppData\Local\atom\app-0.211.0\resources\app.asar\src\command-registry.js:3:61
  at CommandPaletteView.module.exports.CommandPaletteView.confirmed (C:\Users\Christian\AppData\Local\atom\app-0.211.0\resources\app.asar\node_modules\command-palette\lib\command-palette-view.js:159:32)
  at CommandPaletteView.module.exports.SelectListView.confirmSelection (C:\Users\Christian\AppData\Local\atom\app-0.211.0\resources\app.asar\node_modules\atom-space-pen-views\lib\select-list-view.js:338:21)
  at space-pen-div.atom.commands.add.core:confirm (C:\Users\Christian\AppData\Local\atom\app-0.211.0\resources\app.asar\node_modules\atom-space-pen-views\lib\select-list-view.js:109:19)
  at CommandRegistry.module.exports.CommandRegistry.handleCommandEvent (C:\Users\Christian\AppData\Local\atom\app-0.211.0\resources\app.asar\src\command-registry.js:241:29)
  at C:\Users\Christian\AppData\Local\atom\app-0.211.0\resources\app.asar\src\command-registry.js:3:61
  at KeymapManager.module.exports.KeymapManager.dispatchCommandEvent (C:\Users\Christian\AppData\Local\atom\app-0.211.0\resources\app.asar\node_modules\atom-keymap\lib\keymap-manager.js:520:16)
  at KeymapManager.module.exports.KeymapManager.handleKeyboardEvent (C:\Users\Christian\AppData\Local\atom\app-0.211.0\resources\app.asar\node_modules\atom-keymap\lib\keymap-manager.js:355:22)
  at HTMLDocument.module.exports.WindowEventHandler.onKeydown (C:\Users\Christian\AppData\Local\atom\app-0.211.0\resources\app.asar\src\window-event-handler.js:180:20)

Commands

     -7:01.8.0 core:move-down (atom-text-editor#editor.fontFamily.editor.mini.is-focused)
     -7:01.5.0 core:move-up (atom-text-editor#editor.fontFamily.editor.mini.is-focused)
     -4:32 core:confirm (atom-text-editor.editor.mini.is-focused)
     -0:08.5.0 command-palette:toggle (input.hidden-input)
     -0:03.3.0 core:confirm (input.hidden-input)
     -0:03.3.0 go-playground:execute (input.hidden-input)

Config

{
  "core": {},
  "go-playground": {}
}

Installed Packages

# User
go-playground, v0.0.2
go-plus, v3.3.12
minimap, v4.10.0

# Dev
No dev packages
Fresheyeball commented 9 years ago

+1

herrtreas commented 9 years ago

+1

rossmcf commented 9 years ago

+1

elvizlai commented 9 years ago

+1

depy commented 9 years ago

+1

raveenb commented 9 years ago

+1

maciejmrowiec commented 9 years ago

+1

ben181231 commented 8 years ago

+1

wangyun122 commented 8 years ago

+1

0i commented 8 years ago

+1

deepch commented 8 years ago

+1 os mac os EI

[Enter steps to reproduce below:]

  1. ...
  2. ...

Atom Version: 1.1.0 System: Mac OS X 10.11.1 Thrown From: go-playground package, v0.0.2

Stack Trace

Failed to activate the go-playground package

At Cannot read property 'command' of undefined

TypeError: Cannot read property 'command' of undefined
    at Object.module.exports.activate (/Users/deepweb/.atom/packages/go-playground/lib/go-playground.coffee:10:23)
    at Package.module.exports.Package.activateNow (/Users/deepweb/Downloads/Atom-3.app/Contents/Resources/app.asar/src/package.js:232:19)
    at /Users/deepweb/Downloads/Atom-3.app/Contents/Resources/app.asar/src/package.js:212:32
    at Package.module.exports.Package.measure (/Users/deepweb/Downloads/Atom-3.app/Contents/Resources/app.asar/src/package.js:153:15)
    at /Users/deepweb/Downloads/Atom-3.app/Contents/Resources/app.asar/src/package.js:205:26
    at Package.module.exports.Package.activate (/Users/deepweb/Downloads/Atom-3.app/Contents/Resources/app.asar/src/package.js:201:34)
    at PackageManager.module.exports.PackageManager.activatePackage (/Users/deepweb/Downloads/Atom-3.app/Contents/Resources/app.asar/src/package-manager.js:474:21)
    at /Users/deepweb/Downloads/Atom-3.app/Contents/Resources/app.asar/src/package-manager.js:457:29
    at Config.module.exports.Config.transact (/Users/deepweb/Downloads/Atom-3.app/Contents/Resources/app.asar/src/config.js:300:16)
    at PackageManager.module.exports.PackageManager.activatePackages (/Users/deepweb/Downloads/Atom-3.app/Contents/Resources/app.asar/src/package-manager.js:452:19)

Commands

Config

{
  "core": {},
  "go-playground": {}
}

Installed Packages

# User
Remote-FTP, v0.7.9
go-find-references, v1.2.3
go-playground, v0.0.2
go-plus, v3.5.1
go-rename, v0.3.0
go-runtime, v0.2.0
linter-golinter, v1.0.0
project-manager, v2.6.5
terminal-plus, v0.12.5

# Dev
No dev packages
imjcham commented 8 years ago

+1

aleksandarristic commented 8 years ago

Aaaand +1

anthony-cervantes commented 8 years ago

:+1:

sbucek commented 8 years ago

+1

dinhxuanvu commented 8 years ago

+1

metaRobin commented 8 years ago

+1

dynamix commented 8 years ago

+1

benjamin-rood commented 8 years ago

+1 Atom 1.2.0 OS X El Capitan 10.11.2 Beta (15C47a)

pozgo commented 8 years ago

+1 Atom 1.2.1 OSX EL Cap 10.11.1

marko-ciric commented 8 years ago

+1

bfitzsimmons commented 8 years ago

+1

josephbergevin commented 8 years ago

+1

westtrade commented 8 years ago

+1

miluoZ commented 8 years ago

+1

dhilipsiva commented 8 years ago

+1

stingelin commented 8 years ago

+1

brennebeck commented 8 years ago

@tachiba is this project completely unmaintained? If so, do you have an alternative or should we start looking for people to assist in getting it up to date?

pozgo commented 8 years ago

I think forking it and starting a community work on it is a way to go. Anyone interested in developing it?

brennebeck commented 8 years ago

I'm not sure how much dev time I can put into it with my current commitments, but definitely interested in assisting. It would be a shame to see this project go to waste. I can take a look at the code tomorrow and get back to you then.

I think it would be best if we could get a few people together to assist in the effort, rather than just a single person fork and do an org-fork.

Bernd Rennebeck [image: Facebook] https://www.facebook.com/hinmn [image: Github] https://github.com/brennebeck [image: HackerNews] https://news.ycombinator.com/user?id=brennebeck [image: Twitter] https://twitter.com/brennebeck [image: LinkedIn] http://ph.linkedin.com/in/berndrennebeck/

On Sat, Jan 16, 2016 at 8:27 PM, Przemysław Ożgo notifications@github.com wrote:

I think forking it and starting a community work on it is a way to go. Anyone interested in developing it?

— Reply to this email directly or view it on GitHub https://github.com/tachiba/atom-go-playground/issues/10#issuecomment-172198039 .

acbatista commented 8 years ago

+1

brennebeck commented 8 years ago

@pozgo What do you think? Is it only us that are willing or do you have some others that may be interested?

ghost commented 8 years ago

+1

pozgo commented 8 years ago

I'll try to fork it to our space during this weekend and then we could start slowly contribute to this. Let me know if you like the idea. I'm not sure how much time I could put into this project but fingers crossed and maybe we will make it live again :)

iketutg commented 8 years ago

+1

insanedefaults commented 8 years ago

+1

josephbergevin commented 8 years ago

FWIW: In SublimeText, I use the go-sublime package to create a mock playground.

  1. Open a new tab
  2. Set the syntax as GoSublime: Go
  3. Paste in your playground code as-is
    • To Run: GoSublime: Replay current package
    • To Format: GoSublime: Fmt the current file (without saving it)

Advantages over running on play.golang.org:

  1. The time package actually works as expected
  2. You can import any package that is in your gopath

I wonder if the commands Replay current package and Fmt the current file (without saving it) could be replicated with this playground package...

chespinoza commented 8 years ago

+1

nishimao commented 8 years ago

+1

autoscatto commented 8 years ago

+1

Am6puk commented 7 years ago

+1

ajpen commented 7 years ago

+1

ejronin commented 7 years ago

+1

dmatthe4952 commented 7 years ago

+1 linux machine running Atom 1.15.0

kinarashah commented 7 years ago

+1

Cannot read property 'command' of undefined
Hide Stack Trace
TypeError: Cannot read property 'command' of undefined
    at Object.activate (/Users/kshah/.atom/packages/go-playground/lib/go-playground.coffee:10:23)
    at Package.module.exports.Package.activateNow (/Applications/Atom.app/Contents/Resources/app/src/package.js:253:25)
    at /Applications/Atom.app/Contents/Resources/app/src/package.js:225:38
    at Package.module.exports.Package.measure (/Applications/Atom.app/Contents/Resources/app/src/package.js:99:21)
    at /Applications/Atom.app/Contents/Resources/app/src/package.js:218:32
    at Package.module.exports.Package.activate (/Applications/Atom.app/Contents/Resources/app/src/package.js:215:40)
    at PackageManager.module.exports.PackageManager.activatePackage (/Applications/Atom.app/Contents/Resources/app/src/package-manager.js:645:40)
    at /Applications/Atom.app/Contents/Resources/app/node_modules/settings-view/lib/package-manager.js:519:35
    at exit (/Applications/Atom.app/Contents/Resources/app/node_modules/settings-view/lib/package-manager.js:128:22)
    at triggerExitCallback (/Applications/Atom.app/Contents/Resources/app/src/buffered-process.js:338:17)
    at /Applications/Atom.app/Contents/Resources/app/src/buffered-process.js:359:17
    at Socket.<anonymous> (/Applications/Atom.app/Contents/Resources/app/src/buffered-process.js:220:15)
    at emitOne (events.js:101:20)
    at Socket.emit (events.js:188:7)
    at Pipe._handle.close [as _onclose] (net.js:493:12)
miholeus commented 7 years ago

+1

wss655366 commented 6 years ago

I cat't use it