Closed sigvaldr closed 8 years ago
This is happening because Google Code completely shut down as of January 25th. Thanks for pointing this out, I will fix this as soon as I can!
Great, Thanks!
This should be fixed now. Let me know if you have any more issues!
Ok, so now when I run 'make', I get this:
go get github.com/karmakaze/goop
rm -rf Goopfile.lock
goop install
make: goop: Command not found
make: *\ [mumbledj] Error 127
This is happening because you have not added your Go bin
folder to your PATH
variable.
If you have $GOPATH
already set (you should) you can just do this:
export PATH="$GOPATH/bin:$PATH"
I'm sorry, I am very new to this, and i'm having a problem with Go. I don't know where to set the GOPATH to. I've looked online a bit, and it says it goes where the project it, and it has a bin folder, src folder, etc. I tried setting it to where I installed Go, but it gave me an error stating that GOPATH cannot be set to GOROOT. If I am not supposed to set GOPATH to where I installed Go, then where do I set it?
On Tue, Jan 26, 2016 at 10:00 PM, Matthieu Grieger <notifications@github.com
wrote:
This is happening because you have not added your Go bin folder to your PATH variable.
If you have $GOPATH already set (you should) you can just do this:
export PATH="$GOPATH/bin:PATH"
— Reply to this email directly or view it on GitHub https://github.com/matthieugrieger/mumbledj/issues/115#issuecomment-175360178 .
No worries, here's what I normally do:
mkdir ~/go
mkdir ~/go/bin
export GOPATH="/home/yourusernamehere/go"
export PATH="$GOPATH/bin:$PATH"
Go is a bit weird in that it requires you to create your own "workspace", which is what these series of commands do. These commands assume that you have a home folder.
Thanks, That worked, but I am getting another 'unable to detect version control system for code.google.com' error again. When I ran 'make', here is what the output was:
[mpd@vps39583 mumbledj-2.8.12]$ make
go get github.com/karmakaze/goop
rm -rf Goopfile.lock
goop install
=> Fetching github.com/layeh/gumble/gumbleutil...
Initialized empty Git repository in /home/mpd/mumbledj/mumbledj-2.8.12/.vendor/tmp/src/github.com/layeh/gumble/.git/
remote: Counting objects: 2030, done.
remote: Total 2030 (delta 0), reused 0 (delta 0), pack-reused 2030
Receiving objects: 100% (2030/2030), 457.65 KiB, done.
Resolving deltas: 100% (1364/1364), done.
Checking out "abf58b0ea8b2661897f81cf69c2a6a3e37152d74"
=> Fetching github.com/layeh/gumble/gumble...
Checking out "8b9989d9c4090874546c45ceaa6ff21e95705bc4"
=> Fetching github.com/layeh/gumble/gumble_ffmpeg...
Checking out "c9fcce8fc4b71c7c53a5d3d9d48a1e001ad19a19"
=> Fetching code.google.com/p/gcfg...
goop: unable to detect version control system for code.google.com/ path
make: *** [mumbledj] Error 1
Whoops, forgot about that. Fix incoming!
By the way, thanks for all the help
Go ahead and pull the latest changes and let me know if that fixed it.
And no problem! You are helping me find some issues that I forgot about. :)
There seems to be another error regarding code.google.com. I pulled the latest changes and ran make again, and here's the full output:
[mpd@vps39583 mumbledj]$ make
go get github.com/karmakaze/goop
rm -rf Goopfile.lock
goop install
=> Fetching github.com/layeh/gumble/gumbleutil...
Initialized empty Git repository in /home/mpd/mumbledj/mumbledj/.vendor/tmp/src/github.com/layeh/gumble/.git/
remote: Counting objects: 2030, done.
remote: Total 2030 (delta 0), reused 0 (delta 0), pack-reused 2030
Receiving objects: 100% (2030/2030), 457.65 KiB, done.
Resolving deltas: 100% (1364/1364), done.
Checking out "abf58b0ea8b2661897f81cf69c2a6a3e37152d74"
=> Fetching github.com/layeh/gumble/gumble...
Checking out "8b9989d9c4090874546c45ceaa6ff21e95705bc4"
=> Fetching github.com/layeh/gumble/gumble_ffmpeg...
Checking out "c9fcce8fc4b71c7c53a5d3d9d48a1e001ad19a19"
=> Fetching github.com/scalingdata/gcfg...
Initialized empty Git repository in /home/mpd/mumbledj/mumbledj/.vendor/tmp/src/github.com/scalingdata/gcfg/.git/
remote: Counting objects: 460, done.
remote: Total 460 (delta 0), reused 0 (delta 0), pack-reused 460
Receiving objects: 100% (460/460), 113.41 KiB, done.
Resolving deltas: 100% (270/270), done.
Checking out "37aabad69cfd3d20b8390d902a8b10e245c615ff"
=> Fetching github.com/jmoiron/jsonq...
Initialized empty Git repository in /home/mpd/mumbledj/mumbledj/.vendor/tmp/src/github.com/jmoiron/jsonq/.git/
remote: Counting objects: 63, done.
remote: Total 63 (delta 0), reused 0 (delta 0), pack-reused 63
Unpacking objects: 100% (63/63), done.
Checking out "7c27c8eb9f6831555a4209f6a7d579159e766a3c"
=> Fetching dependencies for github.com/layeh/gumble/gumbleutil...
github.com/golang/protobuf (download)
github.com/layeh/gopus (download)
github.com/timshannon/go-openal (download)
Checking out "6aaa8d47701fa6cf07e914ec01fde3d4a1fe79c3"
Checking out "f312e86d7c7afea779f2503e3e26c22ee916c992"
Checking out "26bbf4cd1c280a0633a89ec3d136d8612f698891"
=> Fetching dependencies for github.com/layeh/gumble/gumble...
=> Fetching dependencies for github.com/layeh/gumble/gumble_ffmpeg...
=> Fetching dependencies for github.com/scalingdata/gcfg...
=> Fetching dependencies for github.com/jmoiron/jsonq...
=> Installing github.com/layeh/gopus...
=> Installing github.com/timshannon/go-openal...
=> Installing github.com/layeh/gumble/gumbleutil...
=> Installing github.com/layeh/gumble/gumble...
=> Installing github.com/layeh/gumble/gumble_ffmpeg...
=> Installing github.com/scalingdata/gcfg...
=> Installing github.com/jmoiron/jsonq...
=> Installing github.com/golang/protobuf...
WORK=/tmp/go-build077426535
mkdir -p $WORK/github.com/jmoiron/jsonq/_obj/
mkdir -p $WORK/github.com/jmoiron/
cd /home/mpd/mumbledj/mumbledj/.vendor/src/github.com/jmoiron/jsonq
/usr/local/go/pkg/tool/linux_amd64/compile -o $WORK/github.com/jmoiron/jsonq.a -trimpath $WORK -p github.com/jmoiron/jsonq -complete -buildid 6359c868ba95210cb3f085e596e65d3011128d94 -D _/home/mpd/mumbledj/mumbledj/.vendor/src/github.com/jmoiron/jsonq -I $WORK -pack ./doc.go ./jsonq.go
mkdir -p /home/mpd/mumbledj/mumbledj/.vendor/pkg/linux_amd64/github.com/jmoiron/
mv $WORK/github.com/jmoiron/jsonq.a /home/mpd/mumbledj/mumbledj/.vendor/pkg/linux_amd64/github.com/jmoiron/jsonq.a
can't load package: package github.com/golang/protobuf: no buildable Go source files in /home/mpd/mumbledj/mumbledj/.vendor/src/github.com/golang/protobuf
WORK=/tmp/go-build872271387
mkdir -p $WORK/github.com/layeh/gopus/_obj/
mkdir -p $WORK/github.com/layeh/
cd /home/mpd/mumbledj/mumbledj/.vendor/src/github.com/layeh/gopus
pkg-config --cflags opus opus
pkg-config --libs opus opus
CGO_LDFLAGS="-g" "-O2" "-lopus" /usr/local/go/pkg/tool/linux_amd64/cgo -objdir $WORK/github.com/layeh/gopus/_obj/ -importpath github.com/layeh/gopus -- -I/usr/include/opus -I $WORK/github.com/layeh/gopus/_obj/ decoder.go encoder.go gopus.go
gcc -I . -fPIC -m64 -pthread -fmessage-length=0 -print-libgcc-file-name
gcc -I . -fPIC -m64 -pthread -fmessage-length=0 -I/usr/include/opus -I $WORK/github.com/layeh/gopus/_obj/ -g -O2 -o $WORK/github.com/layeh/gopus/_obj/_cgo_main.o -c $WORK/github.com/layeh/gopus/_obj/_cgo_main.c
gcc -I . -fPIC -m64 -pthread -fmessage-length=0 -I/usr/include/opus -I $WORK/github.com/layeh/gopus/_obj/ -g -O2 -o $WORK/github.com/layeh/gopus/_obj/_cgo_export.o -c $WORK/github.com/layeh/gopus/_obj/_cgo_export.c
gcc -I . -fPIC -m64 -pthread -fmessage-length=0 -I/usr/include/opus -I $WORK/github.com/layeh/gopus/_obj/ -g -O2 -o $WORK/github.com/layeh/gopus/_obj/decoder.cgo2.o -c $WORK/github.com/layeh/gopus/_obj/decoder.cgo2.c
gcc -I . -fPIC -m64 -pthread -fmessage-length=0 -I/usr/include/opus -I $WORK/github.com/layeh/gopus/_obj/ -g -O2 -o $WORK/github.com/layeh/gopus/_obj/encoder.cgo2.o -c $WORK/github.com/layeh/gopus/_obj/encoder.cgo2.c
gcc -I . -fPIC -m64 -pthread -fmessage-length=0 -I/usr/include/opus -I $WORK/github.com/layeh/gopus/_obj/ -g -O2 -o $WORK/github.com/layeh/gopus/_obj/gopus.cgo2.o -c $WORK/github.com/layeh/gopus/_obj/gopus.cgo2.c
gcc -I . -fPIC -m64 -pthread -fmessage-length=0 -o $WORK/github.com/layeh/gopus/_obj/_cgo_.o $WORK/github.com/layeh/gopus/_obj/_cgo_main.o $WORK/github.com/layeh/gopus/_obj/_cgo_export.o $WORK/github.com/layeh/gopus/_obj/decoder.cgo2.o $WORK/github.com/layeh/gopus/_obj/encoder.cgo2.o $WORK/github.com/layeh/gopus/_obj/gopus.cgo2.o -g -O2 -lopus
/usr/local/go/pkg/tool/linux_amd64/cgo -objdir $WORK/github.com/layeh/gopus/_obj/ -dynpackage gopus -dynimport $WORK/github.com/layeh/gopus/_obj/_cgo_.o -dynout $WORK/github.com/layeh/gopus/_obj/_cgo_import.go
gcc -I . -fPIC -m64 -pthread -fmessage-length=0 -o $WORK/github.com/layeh/gopus/_obj/_all.o $WORK/github.com/layeh/gopus/_obj/_cgo_export.o $WORK/github.com/layeh/gopus/_obj/decoder.cgo2.o $WORK/github.com/layeh/gopus/_obj/encoder.cgo2.o $WORK/github.com/layeh/gopus/_obj/gopus.cgo2.o -g -O2 -Wl,-r -nostdlib /usr/lib/gcc/x86_64-redhat-linux/4.4.7/libgcc.a -Wl,--build-id=none
/usr/local/go/pkg/tool/linux_amd64/compile -o $WORK/github.com/layeh/gopus.a -trimpath $WORK -p github.com/layeh/gopus -buildid 3604a2ba4a02ea7d5e225d247870630466271d80 -D _/home/mpd/mumbledj/mumbledj/.vendor/src/github.com/layeh/gopus -I $WORK -pack $WORK/github.com/layeh/gopus/_obj/_cgo_gotypes.go $WORK/github.com/layeh/gopus/_obj/decoder.cgo1.go $WORK/github.com/layeh/gopus/_obj/encoder.cgo1.go $WORK/github.com/layeh/gopus/_obj/gopus.cgo1.go $WORK/github.com/layeh/gopus/_obj/_cgo_import.go
pack r $WORK/github.com/layeh/gopus.a $WORK/github.com/layeh/gopus/_obj/_all.o # internal
mkdir -p /home/mpd/mumbledj/mumbledj/.vendor/pkg/linux_amd64/github.com/layeh/
mv $WORK/github.com/layeh/gopus.a /home/mpd/mumbledj/mumbledj/.vendor/pkg/linux_amd64/github.com/layeh/gopus.a
can't load package: package github.com/timshannon/go-openal: no buildable Go source files in /home/mpd/mumbledj/mumbledj/.vendor/src/github.com/timshannon/go-openal
WORK=/tmp/go-build816554217
mkdir -p $WORK/github.com/golang/protobuf/proto/_obj/
mkdir -p $WORK/github.com/golang/protobuf/
mkdir -p $WORK/github.com/layeh/gumble/gumble/varint/_obj/
cd /home/mpd/mumbledj/mumbledj/.vendor/src/github.com/golang/protobuf/proto
/usr/local/go/pkg/tool/linux_amd64/compile -o $WORK/github.com/golang/protobuf/proto.a -trimpath $WORK -p github.com/golang/protobuf/proto -complete -buildid 0f0c21be86906d7416ad95566f89f93e06515319 -D _/home/mpd/mumbledj/mumbledj/.vendor/src/github.com/golang/protobuf/proto -I $WORK -pack ./clone.go ./decode.go ./encode.go ./equal.go ./extensions.go ./lib.go ./message_set.go ./pointer_unsafe.go ./properties.go ./text.go ./text_parser.go
mkdir -p $WORK/github.com/layeh/gumble/gumble/
cd /home/mpd/mumbledj/mumbledj/.vendor/src/github.com/layeh/gumble/gumble/varint
/usr/local/go/pkg/tool/linux_amd64/compile -o $WORK/github.com/layeh/gumble/gumble/varint.a -trimpath $WORK -p github.com/layeh/gumble/gumble/varint -complete -buildid 0525c15fdbc69702c6729f4cfcd50fc928773ba8 -D _/home/mpd/mumbledj/mumbledj/.vendor/src/github.com/layeh/gumble/gumble/varint -I $WORK -pack ./read.go ./varint.go ./write.go
mkdir -p /home/mpd/mumbledj/mumbledj/.vendor/pkg/linux_amd64/github.com/layeh/gumble/gumble/
mv $WORK/github.com/layeh/gumble/gumble/varint.a /home/mpd/mumbledj/mumbledj/.vendor/pkg/linux_amd64/github.com/layeh/gumble/gumble/varint.a
mkdir -p /home/mpd/mumbledj/mumbledj/.vendor/pkg/linux_amd64/github.com/golang/protobuf/
mv $WORK/github.com/golang/protobuf/proto.a /home/mpd/mumbledj/mumbledj/.vendor/pkg/linux_amd64/github.com/golang/protobuf/proto.a
mkdir -p $WORK/github.com/layeh/gumble/gumble/MumbleProto/_obj/
cd /home/mpd/mumbledj/mumbledj/.vendor/src/github.com/layeh/gumble/gumble/MumbleProto
/usr/local/go/pkg/tool/linux_amd64/compile -o $WORK/github.com/layeh/gumble/gumble/MumbleProto.a -trimpath $WORK -p github.com/layeh/gumble/gumble/MumbleProto -complete -buildid 6c64b2f7b0c23b73cca2435a362f75c3e3445902 -D _/home/mpd/mumbledj/mumbledj/.vendor/src/github.com/layeh/gumble/gumble/MumbleProto -I $WORK -I /home/mpd/mumbledj/mumbledj/.vendor/pkg/linux_amd64 -pack ./Mumble.pb.go ./generate.go
mv $WORK/github.com/layeh/gumble/gumble/MumbleProto.a /home/mpd/mumbledj/mumbledj/.vendor/pkg/linux_amd64/github.com/layeh/gumble/gumble/MumbleProto.a
mkdir -p $WORK/github.com/layeh/gumble/gumble/_obj/
mkdir -p $WORK/github.com/layeh/gumble/
cd /home/mpd/mumbledj/mumbledj/.vendor/src/github.com/layeh/gumble/gumble
/usr/local/go/pkg/tool/linux_amd64/compile -o $WORK/github.com/layeh/gumble/gumble.a -trimpath $WORK -p github.com/layeh/gumble/gumble -complete -buildid ed0f59ad069cc3361a9266892e4edb0f155eeb68 -D _/home/mpd/mumbledj/mumbledj/.vendor/src/github.com/layeh/gumble/gumble -I $WORK -I /home/mpd/mumbledj/mumbledj/.vendor/pkg/linux_amd64 -pack ./acl.go ./audio.go ./audiomultiplexer.go ./bans.go ./channel.go ./channels.go ./client.go ./config.go ./conn.go ./contextaction.go ./contextactions.go ./doc.go ./event.go ./eventmultiplexer.go ./handlers.go ./message.go ./permission.go ./ping.go ./pingstats.go ./protomessage.go ./request.go ./textmessage.go ./user.go ./userlist.go ./users.go ./userstats.go ./version.go ./voicetarget.go
mkdir -p /home/mpd/mumbledj/mumbledj/.vendor/pkg/linux_amd64/github.com/layeh/gumble/
mv $WORK/github.com/layeh/gumble/gumble.a /home/mpd/mumbledj/mumbledj/.vendor/pkg/linux_amd64/github.com/layeh/gumble/gumble.a
mkdir -p $WORK/github.com/layeh/gumble/gumbleutil/_obj/
cd /home/mpd/mumbledj/mumbledj/.vendor/src/github.com/layeh/gumble/gumbleutil
/usr/local/go/pkg/tool/linux_amd64/compile -o $WORK/github.com/layeh/gumble/gumbleutil.a -trimpath $WORK -p github.com/layeh/gumble/gumbleutil -complete -buildid 17e9dbae8fff0682cf536466fd3b24f2b862f265 -D _/home/mpd/mumbledj/mumbledj/.vendor/src/github.com/layeh/gumble/gumbleutil -I $WORK -I /home/mpd/mumbledj/mumbledj/.vendor/pkg/linux_amd64 -pack ./bitrate.go ./certificatelock.go ./doc.go ./listener.go ./listenerfunc.go ./main.go ./path.go ./textmessage.go
mv $WORK/github.com/layeh/gumble/gumbleutil.a /home/mpd/mumbledj/mumbledj/.vendor/pkg/linux_amd64/github.com/layeh/gumble/gumbleutil.a
WORK=/tmp/go-build135003707
WORK=/tmp/go-build870023241
mkdir -p $WORK/github.com/layeh/gumble/gumble_ffmpeg/_obj/
mkdir -p $WORK/github.com/layeh/gumble/
cd /home/mpd/mumbledj/mumbledj/.vendor/src/github.com/layeh/gumble/gumble_ffmpeg
/usr/local/go/pkg/tool/linux_amd64/compile -o $WORK/github.com/layeh/gumble/gumble_ffmpeg.a -trimpath $WORK -p github.com/layeh/gumble/gumble_ffmpeg -complete -buildid 1125ad4d92b37d1ae4b34bfb5ac7dfc8b8b8068f -D _/home/mpd/mumbledj/mumbledj/.vendor/src/github.com/layeh/gumble/gumble_ffmpeg -I $WORK -I /home/mpd/mumbledj/mumbledj/.vendor/pkg/linux_amd64 -pack ./gumble_ffmpeg.go ./source.go
mkdir -p /home/mpd/mumbledj/mumbledj/.vendor/pkg/linux_amd64/github.com/layeh/gumble/
mv $WORK/github.com/layeh/gumble/gumble_ffmpeg.a /home/mpd/mumbledj/mumbledj/.vendor/pkg/linux_amd64/github.com/layeh/gumble/gumble_ffmpeg.a
WORK=/tmp/go-build419662091
mkdir -p $WORK/github.com/scalingdata/gcfg/types/_obj/
mkdir -p $WORK/github.com/scalingdata/gcfg/
cd /home/mpd/mumbledj/mumbledj/.vendor/src/github.com/scalingdata/gcfg/types
/usr/local/go/pkg/tool/linux_amd64/compile -o $WORK/github.com/scalingdata/gcfg/types.a -trimpath $WORK -p github.com/scalingdata/gcfg/types -complete -buildid d85b95531ac4334b3cb459244d2228560e820ae5 -D _/home/mpd/mumbledj/mumbledj/.vendor/src/github.com/scalingdata/gcfg/types -I $WORK -pack ./bool.go ./doc.go ./enum.go ./int.go ./scan.go
mkdir -p $WORK/github.com/scalingdata/gcfg/token/_obj/
cd /home/mpd/mumbledj/mumbledj/.vendor/src/github.com/scalingdata/gcfg/token
/usr/local/go/pkg/tool/linux_amd64/compile -o $WORK/github.com/scalingdata/gcfg/token.a -trimpath $WORK -p github.com/scalingdata/gcfg/token -complete -buildid 43f863091fe67bc5425e13cc09f937a761063132 -D _/home/mpd/mumbledj/mumbledj/.vendor/src/github.com/scalingdata/gcfg/token -I $WORK -pack ./position.go ./serialize.go ./token.go
mkdir -p /home/mpd/mumbledj/mumbledj/.vendor/pkg/linux_amd64/github.com/scalingdata/gcfg/
mv $WORK/github.com/scalingdata/gcfg/token.a /home/mpd/mumbledj/mumbledj/.vendor/pkg/linux_amd64/github.com/scalingdata/gcfg/token.a
mkdir -p $WORK/github.com/scalingdata/gcfg/scanner/_obj/
cd /home/mpd/mumbledj/mumbledj/.vendor/src/github.com/scalingdata/gcfg/scanner
/usr/local/go/pkg/tool/linux_amd64/compile -o $WORK/github.com/scalingdata/gcfg/scanner.a -trimpath $WORK -p github.com/scalingdata/gcfg/scanner -complete -buildid da0b5532204c0f8c7cbb168bdbfb462ab871522a -D _/home/mpd/mumbledj/mumbledj/.vendor/src/github.com/scalingdata/gcfg/scanner -I $WORK -I /home/mpd/mumbledj/mumbledj/.vendor/pkg/linux_amd64 -pack ./errors.go ./scanner.go
mv $WORK/github.com/scalingdata/gcfg/types.a /home/mpd/mumbledj/mumbledj/.vendor/pkg/linux_amd64/github.com/scalingdata/gcfg/types.a
mv $WORK/github.com/scalingdata/gcfg/scanner.a /home/mpd/mumbledj/mumbledj/.vendor/pkg/linux_amd64/github.com/scalingdata/gcfg/scanner.a
mkdir -p $WORK/github.com/scalingdata/gcfg/_obj/
mkdir -p $WORK/github.com/scalingdata/
cd /home/mpd/mumbledj/mumbledj/.vendor/src/github.com/scalingdata/gcfg
/usr/local/go/pkg/tool/linux_amd64/compile -o $WORK/github.com/scalingdata/gcfg.a -trimpath $WORK -p github.com/scalingdata/gcfg -complete -buildid f9d97b84ef5c6b09577a5be061e8d8f28d0c0e90 -D _/home/mpd/mumbledj/mumbledj/.vendor/src/github.com/scalingdata/gcfg -I $WORK -I /home/mpd/mumbledj/mumbledj/.vendor/pkg/linux_amd64 -pack ./doc.go ./go1_2.go ./read.go ./set.go
mkdir -p /home/mpd/mumbledj/mumbledj/.vendor/pkg/linux_amd64/github.com/scalingdata/
mv $WORK/github.com/scalingdata/gcfg.a /home/mpd/mumbledj/mumbledj/.vendor/pkg/linux_amd64/github.com/scalingdata/gcfg.a
=> Done!
goop go build
parseconfig.go:14:2: cannot find package "code.google.com/p/gcfg" in any of:
/usr/local/go/src/code.google.com/p/gcfg (from $GOROOT)
/home/mpd/mumbledj/mumbledj/.vendor/src/code.google.com/p/gcfg (from $GOPATH)
/home/mpd/go/src/code.google.com/p/gcfg
goop: Command failed with exit status 1
make: *** [mumbledj] Error 1
Sorry, I've been making these edits online so I didn't compile to test it myself. Pull again, that one should be fixed. Hopefully that's the last issue.
Yep, that seems to have worked! Do I type the commands in the same channel as the bot, or do I send the bot a message with the command? On Jan 26, 2016 11:52 PM, "Matthieu Grieger" notifications@github.com wrote:
Sorry, I've been making these edits online so I didn't compile to test it myself. Pull again, that one should be fixed. Hopefully that's the last issue.
— Reply to this email directly or view it on GitHub https://github.com/matthieugrieger/mumbledj/issues/115#issuecomment-175397356 .
Awesome! You send it a message in the channel.
Ok, so It works with soundcloud, but whenever I try to add a youtube video, it gives me this error:
[mpd@vps39583 mumbledj]$ mumbledj -server=localhost -port=64738 -username=MumbleDJ -channel=MusicRoom
Configuration successfully loaded!
youtube-dl --verbose --no-mtime --output /home/mpd/.mumbledj/songs/2HQaBWziYvY.m4a --format m4a --prefer-ffmpeg https://youtu.be/2HQaBWziYvY
[debug] System config: []
[debug] User config: []
[debug] Command-line args: [u'--verbose', u'--no-mtime', u'--output', u'/home/mpd/.mumbledj/songs/2HQaBWziYvY.m4a', u'--format', u'm4a', u'--prefer-ffmpeg', u'https://youtu.be/2HQaBWziYvY']
[debug] Encodings: locale UTF-8, fs UTF-8, out None, pref UTF-8
[debug] youtube-dl version 2016.01.23
[debug] Python version 2.6.6 - Linux-2.6.32-042stab111.12-x86_64-with-centos-6.7-Final
[debug] exe versions: ffmpeg 0.6.5, ffprobe 0.6.5
[debug] Proxy map: {}
[youtube] 2HQaBWziYvY: Downloading webpage
ERROR: Unable to download webpage: HTTP Error 429: Too Many Requests (caused by HTTPError()); please report this issue on https://yt-dl.org/bug . Make sure you are using the latest version; type youtube-dl -U to update. Be sure to call youtube-dl with the --verbose flag and include its complete output.
File "/usr/local/bin/youtube-dl/youtube_dl/extractor/common.py", line 352, in _request_webpage
return self._downloader.urlopen(url_or_request)
File "/usr/local/bin/youtube-dl/youtube_dl/YoutubeDL.py", line 1904, in urlopen
return self._opener.open(req, timeout=self._socket_timeout)
File "/usr/lib64/python2.6/urllib2.py", line 397, in open
response = meth(req, response)
File "/usr/lib64/python2.6/urllib2.py", line 510, in http_response
'http', request, response, code, msg, hdrs)
File "/usr/lib64/python2.6/urllib2.py", line 435, in error
return self._call_chain(*args)
File "/usr/lib64/python2.6/urllib2.py", line 369, in _call_chain
result = func(*args)
File "/usr/lib64/python2.6/urllib2.py", line 518, in http_error_default
raise HTTPError(req.get_full_url(), code, msg, hdrs, fp)
youtube-dl: exit status 1
And in mumble it says:
[12:50:17 AM] MumbleDJ: The audio download for this video failed. %s has likely not generated the audio files for this %s yet. Skipping to the next song!
Have you tried doing the following?
youtube-dl -U
Yes, and it tells me 'youtube-dl is up-to-date (2016.01.23)'. and it still gives me that error
On Wed, Jan 27, 2016 at 12:54 AM, Matthieu Grieger <notifications@github.com
wrote:
Have you tried doing the following?
youtube-dl -U
— Reply to this email directly or view it on GitHub https://github.com/matthieugrieger/mumbledj/issues/115#issuecomment-175417826 .
I remember this happening before with somebody else. It had something to do with their server provider, as it seems that YouTube throttles connections from certain IP ranges.
Take a look at this issue and see if anything in there helps you: https://github.com/rg3/youtube-dl/issues/5138
Ah yes, it seems to be my IP address. However, I tried with youtube-dl manually, and i used the -4 option, and it worked. Is there anyway I could get mumbledj to use that option when adding songs from youtube?
Cool, this is pretty easy to fix then.
~/.config/youtube-dl/
and create a file named config.--force-ipv4
into the config. Nothing else needs to be in there unless you want to add more arguments.I've installed all the dependencies (to my knowledge) and when I run 'make', it returns this error: make go get github.com/karmakaze/goop /home/ubuntu/go-lang/go/bin/go: 1: /home/ubuntu/go-lang/go/bin/go: Syntax error: Unterminated quoted string make: *\ [mumbledj] Error 2
I've installed all the dependencies (to my knowledge) and when I run 'make', it returns this error:
go get github.com/nitrous-io/goop package code.google.com/p/go.tools/go/vcs: unable to detect version control system for code.google.com/ path