Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 517168 - =app-admin/lib_users-0.8 - lib_users: error: unrecognized arguments: /usr/lib/python-exec/python3.3/lib_users
Summary: =app-admin/lib_users-0.8 - lib_users: error: unrecognized arguments: /usr/lib...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Tobias Klausmann (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-07-15 16:27 UTC by Jeroen Roovers (RETIRED)
Modified: 2014-07-15 17:33 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 Jeroen Roovers (RETIRED) gentoo-dev 2014-07-15 16:27:42 UTC
# lib_users
usage: lib_users [-h] [--version] [-m] [-s] [-S] [-i GLOB] [-I LITERAL]
lib_users: error: unrecognized arguments: /usr/lib/python-exec/python3.3/lib_users
# /usr/lib/python-exec/python3.3/lib_users
usage: lib_users [-h] [--version] [-m] [-s] [-S] [-i GLOB] [-I LITERAL]
lib_users: error: unrecognized arguments: /usr/lib/python-exec/python3.3/lib_users

Is it maybe parsing /all/ arguments, including argv[0]?
Comment 1 Tobias Klausmann (RETIRED) gentoo-dev 2014-07-15 17:20:45 UTC
*sigh* I suspect it's python-exec trying to be overly clever, turning what _was_ argv[0] into argv[1], which argparse then (rightly) barfs on. I'll investigate.
Comment 2 Tobias Klausmann (RETIRED) gentoo-dev 2014-07-15 17:33:29 UTC
Actually, I was wrong. It was me misunderstanding how argparse likes its input. Fixed, made v0.9 and moved ebuild accordingly.