Comments (8)
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.
You can close this if you want, I'm unable to reproduce it anymore...
from repoctl.
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.
Thanks for the report!
from repoctl.
Hi @peshane, do you have more than 200 packages in your repository?
from repoctl.
Hello, 322 packages. May be I should clean this.
from repoctl.
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.
I am going to assume that this issue is resolved. Feel free to re-open otherwise.
from repoctl.
Related Issues (20)
- magic number mismatch HOT 3
- 'repoctl update' picks the wrong file if version is the same HOT 2
- No recursive download with databases other than in gzip HOT 14
- Make configuration optional for certain commands
- Recursive download doesn't handle package names that are provided HOT 1
- Optimize list speed HOT 1
- Improve landing page
- Wrong package version detection is leading to catastrophic action. (Current devel) HOT 6
- Repoctl is backing-up files without any good-reason HOT 39
- Support parallel execution of repoctl HOT 1
- Sign package/database automatically on adding
- Maximum file size exceeded: wrong file size in database HOT 2
- repoctl remove --backup=false broken HOT 2
- Error on removing package with several versions. HOT 2
- Dependency resolution doesn't take into account the 'Provides' HOT 2
- Repoctl down "pkgbase" errors if the pkgbase is not available in pkgname=() HOT 7
- Repoctl deletes packages on 'unknown' entry in .PKGINFO HOT 7
- repoctl down does crash HOT 4
- New Pacman 6.1 causing repoctl to throw error HOT 18
- The package sources is not loading - gzip: invalid header HOT 6
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from repoctl.