| Summary: | can't output arbitrary strings | |||
|---|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Karel Volný <kvolny> | |
| Component: | beakerlib | Assignee: | Petr Muller <pmuller> | |
| Status: | CLOSED ERRATA | QA Contact: | ||
| Severity: | unspecified | Docs Contact: | ||
| Priority: | unspecified | |||
| Version: | 19 | CC: | ohudlick, pmuller, psplicha, qa-errata-list | |
| Target Milestone: | --- | |||
| Target Release: | --- | |||
| Hardware: | Unspecified | |||
| OS: | Unspecified | |||
| Whiteboard: | ||||
| Fixed In Version: | beakerlib-1.7-1.fc19 | Doc Type: | Bug Fix | |
| Doc Text: | Story Points: | --- | ||
| Clone Of: | ||||
| : | 921695 (view as bug list) | Environment: | ||
| Last Closed: | 2013-05-22 03:18:19 UTC | Type: | --- | |
| Regression: | --- | Mount Type: | --- | |
| Documentation: | --- | CRM: | ||
| Verified Versions: | Category: | --- | ||
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | ||
| Cloudforms Team: | --- | Target Upstream Version: | ||
| Bug Depends On: | ||||
| Bug Blocks: | 921695 | |||
|
Description
Karel Volný
2011-04-13 13:13:55 UTC
I have not found an easy way to stringify the byte value itself, but I have fixed the traceback by replacing the garbage by the UTF replacement character, so the output not looks like this: $ rlFail $'\xFF' :: [ FAIL ] :: � http://git.fedorahosted.org/cgit/beakerlib.git/commit /?id=e8bae52f99b92e37bdd4764ff26aac59f6f331c5 seems that an easy way would be to open RFE for Python to add a new value to the errors argument, somthing like "quote" which would print the numeric value instead of the replacement character :-) New enough python has this feature, but remember that this needs to run on RHEL4 python too. (In reply to comment #3) > New enough python has this feature, comparing http://docs.python.org/2/howto/unicode.html and http://docs.python.org/3/howto/unicode.html I don't get the impression that anything has changed in this regard ...? > but remember that this needs to run on RHEL4 python too. ahem, RHEL3 is still not dead ... This bug appears to have been reported against 'rawhide' during the Fedora 19 development cycle. Changing version to '19'. (As we did not run this process for some time, it could affect also pre-Fedora 19 development cycle bugs. We are very sorry. It will help us with cleanup during Fedora 19 End Of Life. Thank you.) More information and reason for this action is here: https://fedoraproject.org/wiki/BugZappers/HouseKeeping/Fedora19 beakerlib-1.7-1.fc19 has been submitted as an update for Fedora 19. https://admin.fedoraproject.org/updates/beakerlib-1.7-1.fc19 Package beakerlib-1.7-1.fc19: * should fix your issue, * was pushed to the Fedora 19 testing repository, * should be available at your local mirror within two days. Update it with: # su -c 'yum update --enablerepo=updates-testing beakerlib-1.7-1.fc19' as soon as you are able to. Please go to the following url: https://admin.fedoraproject.org/updates/FEDORA-2013-7067/beakerlib-1.7-1.fc19 then log in and leave karma (feedback). beakerlib-1.7-1.fc19 has been pushed to the Fedora 19 stable repository. If problems still persist, please make note of it in this bug report. |