catapult-project / catapult

Deprecated Catapult GitHub. Please instead use http://crbug.com "Speed>Benchmarks" component for bugs and https://chromium.googlesource.com/catapult for downloading and editing source code..
https://chromium.googlesource.com/catapult
BSD 3-Clause "New" or "Revised" License
1.91k stars 562 forks source link

Following setup steps for WebPageReplay Fails #4653

Open dustinlessard-wf opened 4 years ago

dustinlessard-wf commented 4 years ago

While following the SetUp steps at : https://github.com/catapult-project/catapult/tree/master/web_page_replay_go

I encounter the following errors:

Terminal Output > wf14358:web_page_replay_go dustinlessard$ go get github.com/catapult-project/catapult/web_page_replay_go package github.com/catapult-project/catapult/web_page_replay_go: no Go files in /Users/dustinlessard/go/src/github.com/catapult-project/catapult/web_page_replay_go wf14358:web_page_replay_go dustinlessard$ go run src/wpr.go record --http_port=8080 --https_port=8081 /tmp/archive.wprgo > github.com/catapult-project/catapult/web_page_replay_go/src/webpagereplay ../../../go/src/github.com/catapult-project/catapult/web_page_replay_go/src/webpagereplay/legacyformatconvertor.go:40:17: cannot use cli.StringFlag literal (type cli.StringFlag) as type cli.Flag in array or slice literal: cli.StringFlag does not implement cli.Flag (Apply method has pointer receiver) ../../../go/src/github.com/catapult-project/catapult/web_page_replay_go/src/webpagereplay/legacyformatconvertor.go:46:17: cannot use cli.StringFlag literal (type cli.StringFlag) as type cli.Flag in array or slice literal: cli.StringFlag does not implement cli.Flag (Apply method has pointer receiver) ../../../go/src/github.com/catapult-project/catapult/web_page_replay_go/src/webpagereplay/legacyformatconvertor.go:52:17: cannot use cli.StringFlag literal (type cli.StringFlag) as type cli.Flag in array or slice literal: cli.StringFlag does not implement cli.Flag (Apply method has pointer receiver) ../../../go/src/github.com/catapult-project/catapult/web_page_replay_go/src/webpagereplay/legacyformatconvertor.go:56:17: cannot use cli.StringFlag literal (type cli.StringFlag) as type cli.Flag in array or slice literal: cli.StringFlag does not implement cli.Flag (Apply method has pointer receiver) ../../../go/src/github.com/catapult-project/catapult/web_page_replay_go/src/webpagereplay/legacyformatconvertor.go:60:14: cannot use cli.IntFlag literal (type cli.IntFlag) as type cli.Flag in array or slice literal: cli.IntFlag does not implement cli.Flag (Apply method has pointer receiver) ../../../go/src/github.com/catapult-project/catapult/web_page_replay_go/src/webpagereplay/legacyformatconvertor.go:66:14: cannot use cli.IntFlag literal (type cli.IntFlag) as type cli.Flag in array or slice literal: cli.IntFlag does not implement cli.Flag (Apply method has pointer receiver)
mayhemer commented 4 years ago

I'd like to escalate this issue because it completely blocks using WPR on new installations. Thanks.