Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 167477 Details for
Bug 239471
emerge 2.1.4.4 crashes when finding packages with EAPI=2
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
handle InvalidDependString exception when searching
search_invalid.patch (text/plain), 1.00 KB, created by
Zac Medico
on 2008-10-06 17:48:49 UTC
(
hide
)
Description:
handle InvalidDependString exception when searching
Filename:
MIME Type:
Creator:
Zac Medico
Created:
2008-10-06 17:48:49 UTC
Size:
1.00 KB
patch
obsolete
>Index: bin/emerge >=================================================================== >--- bin/emerge (revision 11640) >+++ bin/emerge (revision 11641) >@@ -634,13 +634,19 @@ > import portage_manifest as manifest > mf = manifest.Manifest( > pkgdir, self.settings["DISTDIR"]) >- fetchlist = self.portdb.getfetchlist(mycpv, >- mysettings=self.settings, all=True)[1] > try: >- mysum[0] = mf.getDistfilesSize(fetchlist) >- except KeyError, e: >- file_size_str = "Unknown (missing digest for %s)" % \ >- str(e) >+ fetchlist = self.portdb.getfetchlist(mycpv, >+ mysettings=self.settings, all=True)[1] >+ except portage_exception.InvalidDependString, e: >+ file_size_str = "Unknown (%s)" % (e,) >+ del e >+ else: >+ try: >+ mysum[0] = mf.getDistfilesSize(fetchlist) >+ except KeyError, e: >+ file_size_str = "Unknown (missing " + \ >+ "digest for %s)" % (e,) >+ del e > > available = False > for db in self._dbs:
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 239471
: 167477