heroku-toolbelt 3.23.3在Ubuntu上打破了

时间:2015-01-18 18:06:19

标签: ubuntu heroku heroku-toolbelt

我在Ubuntu 14.04.1 LTS上遇到了heroku工具包的问题。每当我运行任何heroku命令时,我都会得到以下信息:

panic: user: Current not implemented on linux/amd64

goroutine 1 [running]:
main.homeDir(0x0, 0x0)
    /Users/jdickey/src/github.com/heroku/heroku-cli/filesystem.go:17 +0x75
main.init()
    /Users/jdickey/src/github.com/heroku/heroku-cli/filesystem.go:9 +0x148

goroutine 2 [runnable]:
runtime.forcegchelper()
    /usr/local/Cellar/go/1.4/libexec/src/runtime/proc.go:90
runtime.goexit()
    /usr/local/Cellar/go/1.4/libexec/src/runtime/asm_amd64.s:2232 +0x1

goroutine 3 [runnable]:
runtime.bgsweep()
    /usr/local/Cellar/go/1.4/libexec/src/runtime/mgc0.go:82
runtime.goexit()
    /usr/local/Cellar/go/1.4/libexec/src/runtime/asm_amd64.s:2232 +0x1

goroutine 4 [runnable]:
runtime.runfinq()
    /usr/local/Cellar/go/1.4/libexec/src/runtime/malloc.go:712
runtime.goexit()
    /usr/local/Cellar/go/1.4/libexec/src/runtime/asm_amd64.s:2232 +0x1

goroutine 5 [runnable]:
github.com/stvp/rollbar.func·001()
    /Users/jdickey/src/github.com/stvp/rollbar/rollbar.go:73
created by github.com/stvp/rollbar.init·1
    /Users/jdickey/src/github.com/stvp/rollbar/rollbar.go:78 +0x5f
error loading plugin topics
panic: user: Current not implemented on linux/amd64

goroutine 1 [running]:
main.homeDir(0x0, 0x0)
    /Users/jdickey/src/github.com/heroku/heroku-cli/filesystem.go:17 +0x75
main.init()
    /Users/jdickey/src/github.com/heroku/heroku-cli/filesystem.go:9 +0x148

goroutine 2 [runnable]:
runtime.forcegchelper()
    /usr/local/Cellar/go/1.4/libexec/src/runtime/proc.go:90
runtime.goexit()
    /usr/local/Cellar/go/1.4/libexec/src/runtime/asm_amd64.s:2232 +0x1

goroutine 3 [runnable]:
runtime.bgsweep()
    /usr/local/Cellar/go/1.4/libexec/src/runtime/mgc0.go:82
runtime.goexit()
    /usr/local/Cellar/go/1.4/libexec/src/runtime/asm_amd64.s:2232 +0x1

goroutine 4 [runnable]:
runtime.runfinq()
    /usr/local/Cellar/go/1.4/libexec/src/runtime/malloc.go:712
runtime.goexit()
    /usr/local/Cellar/go/1.4/libexec/src/runtime/asm_amd64.s:2232 +0x1

goroutine 5 [runnable]:
github.com/stvp/rollbar.func·001()
    /Users/jdickey/src/github.com/stvp/rollbar/rollbar.go:73
created by github.com/stvp/rollbar.init·1
    /Users/jdickey/src/github.com/stvp/rollbar/rollbar.go:78 +0x5f
error loading plugin commands

我的用户帐户不是jdickey而且我在Linux上,而不是OS X.因此,作为一名程序员,我认为在heroku toolbelt代码中有一些已编译的工件。这似乎表明" go"库。

无论我尝试使用什么heroku命令,除了命令生成的任何其他消息之外,它还会发出此命令。在进程崩溃之前,命令似乎永远不会完成执行。

所以我的问题是:是否有其他人看到这个并且有人确定了解决方法或修复?有没有办法将此文件作为Heroku开发团队的错误提交?任何建议都会受到赞赏,因为这会影响我完成工作的能力。

1 个答案:

答案 0 :(得分:2)

这是在https://github.com/heroku/heroku-cli/commit/201ed5dc774e9f7ee256e80e16c19f6504b36e3f

解决的错误

很遗憾,此处的插件组件可能无法自动更新,因此您可能需要手动删除~/.heroku/heroku-cli才能将其修复。

顺便说一句,你在追溯中看到我的用户名的原因是因为Go的编译方式。这是我们正在努力解决的问题。