Arch Linux

Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines

Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!
Tasklist

FS#13062 - [namcap] depends on licenses package

Attached to Project: Arch Linux
Opened by Allan McRae (Allan) - Saturday, 31 January 2009, 03:15 GMT
Last edited by Allan McRae (Allan) - Sunday, 29 March 2009, 10:36 GMT
Task Type Bug Report
Category Packages: Extra
Status Closed
Assigned To Hugo Doria (hdoria)
Architecture All
Severity Low
Priority Normal
Reported Version None
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:
Running namcap without the licenses package installed causes it to crash:

> namcap gwget-0.99-5-i686.pkg.tar.gz
Traceback (most recent call last):
File "/usr/bin/namcap", line 136, in <module>
ret = pkg.analyze(pkginfo, pkgtar)
File "/usr/lib/python2.6/site-packages/Namcap/licensepkg.py", line 48, in analyze
commonlicenses = [x.lower() for x in os.listdir('/usr/share/licenses/common')]
OSError: [Errno 2] No such file or directory: '/usr/share/licenses/common'
This task depends upon

Closed by  Allan McRae (Allan)
Sunday, 29 March 2009, 10:36 GMT
Reason for closing:  Fixed
Comment by Allan McRae (Allan) - Wednesday, 11 March 2009, 12:02 GMT
I have committed to SVN trunk so this does not get missed next release.

Loading...