Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 307647 - app-portage/gentoolkit-0.3.0_rc9 bad exception handling
Summary: app-portage/gentoolkit-0.3.0_rc9 bad exception handling
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Portage Tools Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 237964
  Show dependency tree
 
Reported: 2010-03-03 17:26 UTC by Patrick Lauer
Modified: 2010-04-06 09:59 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Patrick Lauer gentoo-dev 2010-03-03 17:26:22 UTC
$ equery f /etc/hosts 
Traceback (most recent call last):
  File "/usr/bin/equery-2.6", line 35, in <module>
    equery.main()
  File "/usr/lib64/python2.6/site-packages/gentoolkit/equery/__init__.py", line 343, in main
    loaded_module.main(module_args)
  File "/usr/lib64/python2.6/site-packages/gentoolkit/equery/files.py", line 304, in main
    matches = do_lookup(query, QUERY_OPTS)
  File "/usr/lib64/python2.6/site-packages/gentoolkit/helpers.py", line 417, in do_lookup
    matches = _do_simple_lookup(query, simple_package_finder, query_opts)
  File "/usr/lib64/python2.6/site-packages/gentoolkit/helpers.py", line 478, in _do_simple_lookup
    print_query_info(query, query_opts)
  File "/usr/lib64/python2.6/site-packages/gentoolkit/helpers.py", line 621, in print_query_info
    cat, pkg = split_cpv(query)[:2]
  File "/usr/lib64/python2.6/site-packages/gentoolkit/helpers.py", line 676, in split_cpv
    raise errors.GentoolkitInvalidPackageName(query)
AttributeError: 'module' object has no attribute 'GentoolkitInvalidPackageName'


Oops, using f instead of b makes it crash hard :)
Comment 1 Douglas Anderson 2010-03-04 03:33:25 UTC
Oops, thanks Patrick.

FuzzyRay, fixed in genscripts r243.
Comment 2 Christian Ruppert (idl0r) gentoo-dev 2010-04-06 09:59:38 UTC
This bug has been fixed in app-portage/gentoolkit-0.3.0_rc10, thanks for reporting this issue.