Bug 866563
| Summary: | '@VERSION@' displayed in exception report, not version string | ||||||
|---|---|---|---|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Steve Tyler <stephent98> | ||||
| Component: | system-config-kickstart | Assignee: | Vratislav Podzimek <vpodzime> | ||||
| Status: | CLOSED CURRENTRELEASE | QA Contact: | Fedora Extras Quality Assurance <extras-qa> | ||||
| Severity: | unspecified | Docs Contact: | |||||
| Priority: | unspecified | ||||||
| Version: | 17 | CC: | clumens, vpodzime | ||||
| Target Milestone: | --- | Keywords: | Reopened | ||||
| Target Release: | --- | ||||||
| Hardware: | Unspecified | ||||||
| OS: | Unspecified | ||||||
| Whiteboard: | |||||||
| Fixed In Version: | Doc Type: | Bug Fix | |||||
| Doc Text: | Story Points: | --- | |||||
| Clone Of: | Environment: | ||||||
| Last Closed: | 2013-02-08 02:27:15 UTC | Type: | Bug | ||||
| Regression: | --- | Mount Type: | --- | ||||
| Documentation: | --- | CRM: | |||||
| Verified Versions: | Category: | --- | |||||
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||
| Cloudforms Team: | --- | Target Upstream Version: | |||||
| Embargoed: | |||||||
| Attachments: |
|
||||||
|
Description
Steve Tyler
2012-10-15 15:55:17 UTC
(In reply to comment #0) > Created attachment 627546 [details] > screenshot showing '@VERSION@', instead of version string > > Description of problem: > When an exception is raised in system-config-kickstart, the resulting > exception report shows the string '@VERSION@', instead of the version string. This looks like a autotools macro. How did you get the copy of system-config-kickstart? I guess you have just copied the tree from the sources, right? From a suitable working directory: $ cp -ip `which system-config-kickstart` system-config-kickstart.TEST $ ./system-config-kickstart.TEST That seems to work ... (In reply to comment #2) > From a suitable working directory: > > $ cp -ip `which system-config-kickstart` system-config-kickstart.TEST > $ ./system-config-kickstart.TEST > > That seems to work ... Closing this as NOTABUG then. The exception reports shown in the examples in Comment 0 have '@VERSION@' instead of an actual version string. That is indeed a bug. Using a modified system-config-kickstart.TEST is a reproducer. I reran the same reproducer from /usr/bin/ and got the same results: $ /usr/bin/system-config-kickstart.TEST Can you suggest a better reproducer? $ diff -u /usr/bin/system-config-kickstart /usr/bin/system-config-kickstart.TEST --- /usr/bin/system-config-kickstart 2012-01-14 16:57:54.000000000 -0800 +++ /usr/bin/system-config-kickstart.TEST 2012-10-16 03:49:52.972743543 -0700 @@ -102,4 +102,5 @@ handler = ExceptionHandler(config, GraphicalIntf(), ExceptionDump) handler.install(ksGui) + import foo ksGui.run() And the bug has been present for some time: Example 1: Bug 582755 - AttributeError: 'NoneType' object has no attribute 'contains' Andrew Jamison 2010-04-15 14:07:01 EDT The following was filed automatically by system-config-kickstart: system-config-kickstart @VERSION@ exception report Traceback (most recent call last): Example 2: Bug 689161 - OSError: [Errno 13] Permission denied: '/var/tmp/yum-njd-LrUZic' Nathan 2011-03-19 20:58:59 EDT The following was filed automatically by system-config-kickstart: system-config-kickstart @VERSION@ exception report Traceback (most recent call last): Example 3: Bug 512458 - test bug Chris Lumens 2009-07-17 15:08:52 EDT The following was filed automatically by system-config-kickstart: system-config-kickstart @VERSION@ exception report Traceback (most recent call last): Okay, I understand it now and will look at it. (In reply to comment #7) > Okay, I understand it now and will look at it. Thanks. BTW, fault injection by source modification is used in some QA test cases: QA:Testcase Libreport anaconda https://fedoraproject.org/wiki/QA:Testcase_Libreport_anaconda Fixed on master, but it is likely to be quite a while before I can do a new build for master or an update for F17. anaconda is keeping me busy. system-config-kickstart-2.9.0-1.fc18 has been submitted as an update for Fedora 18. https://admin.fedoraproject.org/updates/system-config-kickstart-2.9.0-1.fc18 Package system-config-kickstart-2.9.0-1.fc18: * should fix your issue, * was pushed to the Fedora 18 testing repository, * should be available at your local mirror within two days. Update it with: # su -c 'yum update --enablerepo=updates-testing system-config-kickstart-2.9.0-1.fc18' as soon as you are able to. Please go to the following url: https://admin.fedoraproject.org/updates/FEDORA-2013-1856/system-config-kickstart-2.9.0-1.fc18 then log in and leave karma (feedback). system-config-kickstart-2.9.0-1.fc18 has been pushed to the Fedora 18 stable repository. If problems still persist, please make note of it in this bug report. |