Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

'repoctl down -u' throwing panic and no packages are being downloaded #46

Open
PedroHLC opened this issue Aug 5, 2019 · 1 comment

Comments

@PedroHLC
Copy link

commented Aug 5, 2019

I'm not sure when it started and I'm a little lost:

Console log:

main-builder@aur-builder /t/lab2> repoctl down -u
panic: value method github.com/cassava/repoctl/vendor/github.com/goulash/pacman/aur.NotFoundError.Error called using nil *NotFoundError pointer

goroutine 1 [running]:
github.com/cassava/repoctl/vendor/github.com/goulash/pacman/aur.(*NotFoundError).Error(0x0, 0x3fe, 0x438)
        <autogenerated>:1 +0x71
github.com/cassava/repoctl.(*Repo).FindUpgrades(0xc0001ec0b0, 0xc00000c0a0, 0xc000179a30, 0x0, 0x1, 0xc00011bbd0, 0x5453f7, 0xc0001cc280, 0xc0001b81c0,
 0xe)
        /home/main-builder/pkgwork/src/src/github.com/cassava/repoctl/find.go:81 +0x129
main.glob..func2(0xb89b60, 0xc000179a30, 0x0, 0x1, 0x0, 0x0)
        /home/main-builder/pkgwork/src/src/github.com/cassava/repoctl/cmd/repoctl/down.go:60 +0x4b4
github.com/cassava/repoctl/vendor/github.com/spf13/cobra.(*Command).execute(0xb89b60, 0xc000179a10, 0x1, 0x1, 0xb89b60, 0xc000179a10)
        /home/main-builder/pkgwork/src/src/github.com/cassava/repoctl/vendor/github.com/spf13/cobra/command.go:746 +0x473
github.com/cassava/repoctl/vendor/github.com/spf13/cobra.(*Command).ExecuteC(0xb8a220, 0x879462, 0x22, 0x2c)
        /home/main-builder/pkgwork/src/src/github.com/cassava/repoctl/vendor/github.com/spf13/cobra/command.go:831 +0x2dc
github.com/cassava/repoctl/vendor/github.com/spf13/cobra.(*Command).Execute(0xb8a220, 0x0, 0x0)
        /home/main-builder/pkgwork/src/src/github.com/cassava/repoctl/vendor/github.com/spf13/cobra/command.go:784 +0x2b
main.main()
        /home/main-builder/pkgwork/src/src/github.com/cassava/repoctl/cmd/repoctl/main.go:129 +0xdf

Database is the one available at: http://lonewolf-builder.duckdns.org/chaotic-aur/x86_64
Dotfiles are these: https://github.com/PedroHLC/chaotic-aur/tree/master/home/main-builder/.config/repoctl
Note: using 0.18 release
EDIT: Tested and throwing the same output with latest master commit
Also: repoctl status shows Everything up-to-date., and repoctl status -a works great

@cassava

This comment has been minimized.

Copy link
Owner

commented Aug 10, 2019

Hey @PedroHLC, thanks for the bug report! I'll have a look at probably Monday and see if I can find a fix. The information you provided looks helpful.

@cassava cassava added the bug label Aug 10, 2019

@cassava cassava self-assigned this Aug 10, 2019

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
2 participants
You can’t perform that action at this time.