Giter Club home page Giter Club logo

Comments (8)

cassava avatar cassava commented on September 26, 2024

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.

from repoctl.

PedroHLC avatar PedroHLC commented on September 26, 2024

You can close this if you want, I'm unable to reproduce it anymore...

from repoctl.

peshane avatar peshane commented on September 26, 2024

shoud be reopen, get exactly the same error with v0.19:

~/tmp/pkgbuild » repoctl down -u                                                                                                                                                                 1 ↵
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, 0x13d, 0x13d)
        <autogenerated>:1 +0x71
github.com/cassava/repoctl.(*Repo).FindUpgrades(0xc0001d80b0, 0xc0000a6040, 0xc0001809d0, 0x0, 0x1, 0xe, 0xd, 0xc0001c8070, 0xc000105d20, 0x5cbba7)
        /home/peshane/tmp/pkgbuild/repoctl/src/src/github.com/cassava/repoctl/find.go:81 +0x113
main.glob..func2(0xce94e0, 0xc0001809d0, 0x0, 0x1, 0x0, 0x0)
        /home/peshane/tmp/pkgbuild/repoctl/src/src/github.com/cassava/repoctl/cmd/repoctl/down.go:60 +0x4a7
github.com/cassava/repoctl/vendor/github.com/spf13/cobra.(*Command).execute(0xce94e0, 0xc0001809b0, 0x1, 0x1, 0xce94e0, 0xc0001809b0)
        /home/peshane/tmp/pkgbuild/repoctl/src/src/github.com/cassava/repoctl/vendor/github.com/spf13/cobra/command.go:829 +0x453
github.com/cassava/repoctl/vendor/github.com/spf13/cobra.(*Command).ExecuteC(0xce9c60, 0x0, 0x0, 0xc0001aa700)
        /home/peshane/tmp/pkgbuild/repoctl/src/src/github.com/cassava/repoctl/vendor/github.com/spf13/cobra/command.go:917 +0x2fb
github.com/cassava/repoctl/vendor/github.com/spf13/cobra.(*Command).Execute(...)
        /home/peshane/tmp/pkgbuild/repoctl/src/src/github.com/cassava/repoctl/vendor/github.com/spf13/cobra/command.go:867
main.main()
        /home/peshane/tmp/pkgbuild/repoctl/src/src/github.com/cassava/repoctl/cmd/repoctl/main.go:129 +0xd3

from repoctl.

cassava avatar cassava commented on September 26, 2024

Thanks for the report!

from repoctl.

cassava avatar cassava commented on September 26, 2024

Hi @peshane, do you have more than 200 packages in your repository?

from repoctl.

peshane avatar peshane commented on September 26, 2024

Hello, 322 packages. May be I should clean this.

from repoctl.

cassava avatar cassava commented on September 26, 2024

Hey @peshane, no that's fine. The function where the problem occurs in has two paths that can be taken: one for less than 200 and one for more. This is because if there are more than 200 packages, I have to use multiple queries to get all the data.

Now, I wasn't able to completely reproduce the problem, but I think I've found a solution to it anyway. That's currently in the devel branch, so if you care to try that out it'd be useful to know if that solves the issue.

from repoctl.

cassava avatar cassava commented on September 26, 2024

I am going to assume that this issue is resolved. Feel free to re-open otherwise.

from repoctl.

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.