Summary: | app-portage/elogviewer-0.5.2-r2 doesn't show all content of elog files | ||
---|---|---|---|
Product: | Portage Development | Reporter: | parafin <help> |
Component: | Third-Party Tools | Assignee: | Portage Tools Team <tools-portage> |
Status: | RESOLVED DUPLICATE | ||
Severity: | normal | CC: | Mathias.Laurin+gentoo |
Priority: | High | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Bug Depends on: | 330029 | ||
Bug Blocks: |
Description
parafin
2008-07-31 15:39:51 UTC
Mathias, can you help us fix the traceback shown in comment #0? (In reply to comment #1) > Mathias, can you help us fix the traceback shown in comment #0? > Hi, I am not really using it anymore, but I will look into it ASAP. (In reply to comment #1) > Mathias, can you help us fix the traceback shown in comment #0? > OK, I think I get it: 1. Stage QA did not exist when I wrote elogviewer and I did not update it since, so there may be other missing "stages", cf. line 96-99 and again lines 277-280 and 299-308 for what is now identified. 2. The stage is extracted from the elog file with a regexp line 390: - before the colon -> header - after the colon -> section it is assumed that there would be a single word before the colon, i.e., WARN, INFO, etc. and a single word after the colon, i.e., preinst, etc. Now, the program could parse: "QA: other" if it knew about QA. But it gets confused at the line that follows: "QA Notice: The following <snip>". It tries to convert "QA Notice" into a header, the space between the two words most likely generates the error reported line 374 in the traceback. I am really sorry but the only gentoo system I have, now, does not do X, so I really cannot fix the program myself, I hope this is enough information for somebody else to provide a patch. Possibly simply rejecting (wrongly identified) headers: more than one word before the colon, would fix this. When I wrote the program, I checked the sources of portage to look for a place where the "stages" could be gotten, but they were hardcoded, so I also hardcoded them into my program. I know you did a lot of work on portage, so maybe this has changed? Anyway, do not hesitate to tell me if any of this is not clear. I added QA in elogviewer 0.6.0 This bug is a duplicate of #330029 *** This bug has been marked as a duplicate of bug 330029 *** |