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#1887 - Namcap broken

Attached to Project: Arch Linux
Opened by Jan de Groot (JGC) - Friday, 10 December 2004, 16:38 GMT
Task Type Bug Report
Category Packages: Extra
Status Closed
Assigned To Jason Chu (jason)
Architecture not specified
Severity High
Priority Normal
Reported Version 0.7 Wombat
Due in Version Undecided
Due Date Undecided
Percent Complete 0%
Votes 0
Private No

Details

[jan@jan gpdf]$ namcap gpdf-2.8.1-1.pkg.tar.gz
Traceback (most recent call last):
File "/usr/bin/namcap", line 126, in ?
ret = pkg.analyze(pkginfo, sandbox_directory)
File "/usr/lib/python2.3/site-packages/Namcap/depends.py", line 174, in analyze
p = pacman.load(i, '/var/lib/pacman/testing/')
File "/usr/lib/python2.3/site-packages/pacman.py", line 260, in load
if prov.provides != None and package in prov.provides:
AttributeError: 'NoneType' object has no attribute 'provides'

This is the second package out of two that gives me this backtrace. It is broken since the last namcap upgrade.
This task depends upon

Closed by  Jason Chu (jason)
Monday, 13 December 2004, 20:56 GMT
Reason for closing:  Fixed
Additional comments about closing:  Fixed with version 1.5.2.1
Comment by Jason Chu (jason) - Saturday, 11 December 2004, 00:00 GMT
Looks like there's a "problem" with your testing directory (/var/lib/pacman/testing). Try refreshing it.

I'll look at the code later tonight.
Comment by Jason Chu (jason) - Saturday, 11 December 2004, 00:02 GMT
Oh yeah, you'll get that backtrace for every package you try, because it's not caused by the package.
Comment by Jan de Groot (JGC) - Saturday, 11 December 2004, 12:45 GMT
The funny part... I don't have testing in that chroot, only extra and current :P

Loading...