Summary: | sys-apps/portage-2.2_rc75 (and rc74) throws AttributeError: 'NoneType' object has no attribute 'tokens' | ||
---|---|---|---|
Product: | Portage Development | Reporter: | Dave Harrison <gentoo> |
Component: | Core | Assignee: | Portage team <dev-portage> |
Status: | RESOLVED FIXED | ||
Severity: | normal | Keywords: | InVCS, REGRESSION |
Priority: | High | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Bug Depends on: | |||
Bug Blocks: | 335925 | ||
Attachments: |
Applies check that atom.use is not None
fix invalid highlight_violations() use argument |
Description
Dave Harrison
2010-09-05 13:18:31 UTC
Created attachment 246121 [details, diff]
Applies check that atom.use is not None
(In reply to comment #1) > Created an attachment (id=246121) [details] > Applies check that atom.use is not None > This patch just hides the real problem. Please add --debug to your options and attach the part after "Starting slot conflict handler". Created attachment 246181 [details, diff] fix invalid highlight_violations() use argument If not perfect, I suspect this may be close to the correct fix. It's in git here: http://git.overlays.gentoo.org/gitweb/?p=proj/portage.git;a=commit;h=d5a8a4443dcc22bf0755c031ced4cef66b2cf370 (In reply to comment #2) > (In reply to comment #1) > > Created an attachment (id=246121) [details] [details] > > Applies check that atom.use is not None > > > > This patch just hides the real problem. > > Please add --debug to your options and attach the part after "Starting slot > conflict handler". > With --debug I get the same output after "Starting slot conflict handler". I get a _lot_ more output before hand. I can attach if necessary. The atoms in question are: =xfce-base/exo-0.3.107 =xfce-base/exo-0.5.3 (In reply to comment #3) > Created an attachment (id=246181) [details] > fix invalid highlight_violations() use argument > > If not perfect, I suspect this may be close to the correct fix. It's in git > here: > > http://git.overlays.gentoo.org/gitweb/?p=proj/portage.git;a=commit;h=d5a8a4443dcc22bf0755c031ced4cef66b2cf370 > I can confirm this patch returns the correct/expected response. It's cleaned up here, but behaves the same as the previous patch: http://git.overlays.gentoo.org/gitweb/?p=proj/portage.git;a=commit;h=5a3222ee052dd924a275c4d1c8ae3c44dc684e57 (In reply to comment #6) > It's cleaned up here, but behaves the same as the previous patch: There was another bug. It used to compare ppkg with x, but it must compare parent with x. This is fixed in 2.1.9.1 and 2.2_rc76. |