[Yum-devel] New traceback after "switch back to using AnacondaDepsolver by default" commit
Terje Røsten
terje.rosten at ntnu.no
Wed Feb 14 17:32:11 UTC 2007
System: current rawhide i386, fresh yum from cvs.
Traceback (most recent call last):
File "yummain.py", line 193, in <module>
main(sys.argv[1:])
File "yummain.py", line 172, in main
base.doTransaction()
File "/root/sources/yum/cli.py", line 301, in doTransaction
problems = self.downloadPkgs(downloadpkgs)
File "/root/sources/yum/yum/__init__.py", line 699, in downloadPkgs
remote_pkgs.sort(mediasort)
File "/root/sources/yum/yum/__init__.py", line 648, in mediasort
a = a.getDiscNum()
File "/root/sources/yum/yum/packages.py", line 436, in getDiscNum
(scheme, netloc, path, query, fragid) = urlparse.urlsplit(self.basepath)
File "/usr/lib/python2.5/urlparse.py", line 194, in urlsplit
i = url.find(':')
AttributeError: 'NoneType' object has no attribute 'find'
The getDiscNum() function was introduced here:
PatchSet 1876
Date: 2007/02/12 23:14:20
Author: katzj
Branch: HEAD
Tag: (none)
Log:
* switch back to using AnacondaDepsolver by default
media fixes:
* remove the media placeholder at this point
* sort downloading based on discid to avoid ping pong-ing between discs
* handle getting the discnum from the package
* default disc to 1, not None
- Terje
More information about the Yum-devel
mailing list