gitrob
gitrob copied to clipboard
Unable to Instal Gitrob | router.go:41:54: too few values in assetfs.AssetFS literal
Hey there and thank you for using the issue tracker!
Checklist before filing an issue:
- [ ] Is this something you can debug and fix? Send a pull request! Bug fixes and documentation fixes are welcome.
- [ ] Have a usage question? Ask your question on StackOverflow, StackExchange Security or similar platform.
- [ ] Have an idea for a feature? Make sure that it hasn't been suggested before and describe your idea in detail.
None of the above? create a bug report
Make sure to add all the information needed to understand the bug so that someone can help. If information is missing, the issue will be labeled with 'Needs more information' and closed until there is enough information.
Expected Behavior
Installation of Gitrob
Actual Behavior
Unable to install Gitrob
Steps to Reproduce the Problem
- Using the below commands: root@kali:~/tools# go version go version go1.14.4 linux/amd64 root@kali:~/tools# root@kali:~/tools# go get github.com/michenriksen/gitrob
github.com/michenriksen/gitrob/core
../go/src/github.com/michenriksen/gitrob/core/router.go:41:54: too few values in assetfs.AssetFS literal root@kali:~/tools# root@kali:~/tools# ls -l $GOPATH/bin/git* ls: cannot access '/root/go/bin/git*': No such file or directory root@kali:~/tools#
Specifications
- Gitrob version: Latest (go get github.com/michenriksen/gitrob)
- Operating system: Linux kali 5.4.0-kali3-amd64 #1 SMP Debian 5.4.13-1kali1 (2020-01-20) x86_64 GNU/Linux
- Go version: go1.14.4 linux/amd64
I am also facing the same issue.
My OS is Ubuntu 18.04.4 LTS and I am using go version go1.13.3 linux/amd64.
I can confirm the above reported issue as upon installing using command: go get github.com/michenriksen/gitrob
, I am getting the same error:
/home/redacted/go/src/github.com/michenriksen/gitrob/core/router.go:41:54: too few values in &assetfs.AssetFS literal
Solving of problem just reinstall os and upgrade by using ubuntu server only ..
On Tue, 8 Sep, 2020, 18:31 0xsunil, [email protected] wrote:
I am also facing the same issue.
My OS is Ubuntu 18.04.4 LTS and I am using go version go1.13.3 linux/amd64.
I can confirm the above reported issue as upon installing using command: go get github.com/michenriksen/gitrob, I am getting the same error:
/home/redacted/go/src/github.com/michenriksen/gitrob/core/router.go:41:54: too few values in &assetfs.AssetFS literal
— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/michenriksen/gitrob/issues/211#issuecomment-688849952, or unsubscribe https://github.com/notifications/unsubscribe-auth/ANCMFYO7GWAXTMCFKZUXKADSEYTKDANCNFSM4Q5QZQSQ .
I'm facing the same problem while installing.
Go version: go version go1.15.2 linux/amd64
The simple fix, it simply pin the package to 1.0.0 That is a fork of gitrob that is being rebuilt from almost the ground up to be more modular and feature rich. It is still rough around the edges and not ready for prime but it does fix all the issues laid out here as well as contain most of the feature requests and pr's.
That is all you need to do, pin it and then build it from source and you should be good to go. This is a known issue with the version included here. No need to do anything else. Just be careful when doing go get -u
as that will but up that package and you will have the same problem again.
@sidahmed-malaoui @preethamarun00 @0xsunil @sofily-security
HI , Please i don't well understand your concept ... @mattyjones Using your package above, i went to "go-bindata-assetfs" and using it imade some changing in the "router.go" file of gitrob repository but i still get the same error..
When run this : go get github.com/michenriksen/gitrob
github.com/michenriksen/gitrob/core
../../../go/src/github.com/michenriksen/gitrob/core/router.go:41:54: too few values in &assetfs.AssetFS literal
Any suggestion ....Thks
@Tcarters If you want to use this repo:
- Clone the repo
https://github.com/michenriksen/gitrob.git
-
go mod init
to use go mod -
rm Gopkg*
remove the old stuff -
go build
to build it
This will get you past the assetFS issue. There are still a few other library games to play as well, I don't remember how I solved them atm, just play with versions and make sure if you change the versions, delete the old package from the disk for good measure and remove your g.sum as that will simply pull the older version that was already downloaded.. The key here is to make sure github.com/elazarl/go-bindata-assetfs v1.0.0
does not get upgraded via go get -u
the issue everyone is having is a known issue with the new version and the current code base.
Helo bros go to "precompiled version is available" in gitrob repo and then go assets and find your os version download it its run fine I solve my issue with this you can also try for that
you can download binary and unzip it and mv gitrob $GOPATH/bin TO TEST IT WOTK WRITE gitrob No GitHub access token given. Please provide via command line option or in the GITROB_ACCESS_TOKEN environment variable and you should config .bashrc to add export GITROB_ACCESS_TOKEN="your_token " and fun
Hello,if you touch os software as per your thinking after 1year may get problem with Linux kernel
On Mon, 5 Oct, 2020, 09:27 Mr-Viurs, [email protected] wrote:
you can download binary and unzip it and mv gitrob $GOPATH/bin TO TEST IT WOTK WRITE gitrob No GitHub access token given. Please provide via command line option or in the GITROB_ACCESS_TOKEN environment variable and you should config .bashrc to add export GITROB_ACCESS_TOKEN="your_token " and fun
— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/michenriksen/gitrob/issues/211#issuecomment-703383120, or unsubscribe https://github.com/notifications/unsubscribe-auth/ANCMFYLU3WV7HJ6APR2C3D3SJE74JANCNFSM4Q5QZQSQ .
Hii,Just reinstalled os and TOOL INTENTIONAL Broken! In terminal method to install... That be better to get it... -------- Original message --------From: karmickei [email protected]Date: Tue, 24 Nov, 2020, 15:19To: michenriksen/gitrob [email protected]Cc: preethamarun [email protected], Mention [email protected]Subject: Re: [michenriksen/gitrob] Unable to Instal Gitrob | router.go:41:54: too few values in assetfs.AssetFS literal (#211) IS THIS TOOL INTENTIONAL BROKEN! ??? why this error still exist and what is the fix? :(
—You are receiving this because you were mentioned.Reply to this email directly, view it on GitHub, or unsubscribe.
4\. go buil
That worked for me. Thanks
Awesome, thanks!
On Mon, Jan 18, 2021 at 5:52 PM Chintan Gurjar [email protected] wrote:
4. go buil
That worked for me. Thanks
— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/michenriksen/gitrob/issues/211#issuecomment-762216394, or unsubscribe https://github.com/notifications/unsubscribe-auth/ANCMFYLTCBTNM72CZTFSNE3S2QRYRANCNFSM4Q5QZQSQ .