Giter Club home page Giter Club logo

Comments (8)

scdickson avatar scdickson commented on August 14, 2024 7

I solved it. Make sure in your PATH environment variable, you have the path to your go/bin directory. This is where abot and glock are installed. In my case, it's:

export PATH=$PATH:/home/ubuntu/go/bin

from glock.

chamoda avatar chamoda commented on August 14, 2024

I'm having the same issue

from glock.

NassarX avatar NassarX commented on August 14, 2024

having same issue with abot's setup and glock too

from glock.

kaminskypavel avatar kaminskypavel commented on August 14, 2024

+1

from glock.

chamoda avatar chamoda commented on August 14, 2024

I can confirm @scdickson's solution is working. Thanks

from glock.

mikeumus avatar mikeumus commented on August 14, 2024

Good one @scdickson. In Cloud9 IDE the path is /home/ubuntu/workspace/bin/ for default C9 workspaces but Cloud9 falls over again in abot's psql commands in the cmd/setup.sh script from it's nested postgres nature. I've posted the issue on the C9 Community forum but for the purposes of this error, @scdickson's got it solved. Thanks to you 🙇.

from glock.

NassarX avatar NassarX commented on August 14, 2024

it works now

from glock.

rajkotraja avatar rajkotraja commented on August 14, 2024

i am having same issue, can anyone help, i m trying to install on Ubuntu 12.04

Thank you
root@localhost:/work/src/github.com/robfig/glock# cd $GOPATH/src/github.com/its
abot/abot
root@localhost:
/work/src/github.com/itsabot/abot# cmd/setup.sh

  • [starting] ***********************************************************

    [ok] checking for go binary
    [ok] checking GOPATH
    [ok] installing dependency manager
    [err] syncing dependencies

    [cmd] glock sync 'github.com/itsabot/abot'

bash: glock: command not found
root@localhost:/work/src/github.com/itsabot/abot# export GOPATH=$PATH:/usr/loca
l/go/bin
root@localhost:
/work/src/github.com/itsabot/abot# cmd/setup.sh

  • [starting] ***********************************************************

    [ok] checking for go binary
    [ok] checking GOPATH
    [ok] installing dependency manager
    [err] syncing dependencies

    [cmd] glock sync 'github.com/itsabot/abot'

bash: glock: command not found
root@localhost:/work/src/github.com/itsabot/abot# cd $GOPATH
-bash: cd: /usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/gam
es:/usr/local/go/bin:/home/ubuntu/go/bin:/usr/local/go/bin:/usr/local/go/bin:/us
r/local/go/bin:/usr/local/go/bin: No such file or directory
root@localhost:
/work/src/github.com/itsabot/abot# export GOPATH=/usr/local/go/b
in
root@localhost:~/work/src/github.com/itsabot/abot# cd $GOPATH
root@localhost:/usr/local/go/bin# go get github.com/itsabot/abot

github.com/jmoiron/sqlx

src/github.com/jmoiron/sqlx/bind.go:142: undefined: strings.IndexByte
root@localhost:/usr/local/go/bin# cd $GOPATH/src/github.com/itsabot/abot
root@localhost:/usr/local/go/bin/src/github.com/itsabot/abot# cmd/setup.sh

  • [starting] ***********************************************************

    [ok] checking for go binary
    [ok] checking GOPATH
    [ok] installing dependency manager
    [err] syncing dependencies

    [cmd] glock sync 'github.com/itsabot/abot'

bash: glock: command not found
root@localhost:/usr/local/go/bin/src/github.com/itsabot/abot# abot server
No command 'abot' found, did you mean:
Command 'rbot' from package 'rbot' (universe)
abot: command not found
root@localhost:/usr/local/go/bin/src/github.com/itsabot/abot#

from glock.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.