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

depchase tracebacks when a non-existent binary rpm name is given on the commandline #9

Open
KarstenHopp opened this issue Aug 9, 2017 · 1 comment

Comments

@KarstenHopp
Copy link

KarstenHopp commented Aug 9, 2017

$ ./depchase -a x86_64 -c repos.cfg resolve vim
Traceback (most recent call last):
  File "./depchase", line 495, in <module>
    cli(obj={})
  File "/usr/lib/python3.6/site-packages/click/core.py", line 722, in __call__
    return self.main(*args, **kwargs)
  File "/usr/lib/python3.6/site-packages/click/core.py", line 697, in main
    rv = self.invoke(ctx)
  File "/usr/lib/python3.6/site-packages/click/core.py", line 1066, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/usr/lib/python3.6/site-packages/click/core.py", line 895, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/usr/lib/python3.6/site-packages/click/core.py", line 535, in invoke
    return callback(*args, **kwargs)
  File "/usr/lib/python3.6/site-packages/click/decorators.py", line 17, in new_func
    return f(get_current_context(), *args, **kwargs)
  File "./depchase", line 469, in resolve
    binary, source = solve(solver, pkgnames, selfhost=selfhost)
  File "./depchase", line 360, in solve
    assert not sel.isempty(), "Could not find package for {}".format(n)
AssertionError: Could not find package for vim

I know that vim isn't a binary rpm package, but this should be a little more user friendly.

@ignatenkobrain
Copy link
Member

AssertionError: Could not find package for vim

so isn't this enough? ;)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants