Bug 1180822
| Summary: | [abrt] rpmconf: subprocess.py:1456:_execute_child:FileNotFoundError: [Errno 2] No such file or directory: 'usr/bin/diff' | ||||||||
|---|---|---|---|---|---|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Igor Gnatenko <ignatenko> | ||||||
| Component: | rpmconf | Assignee: | Miroslav Suchý <msuchy> | ||||||
| Status: | CLOSED UPSTREAM | QA Contact: | Fedora Extras Quality Assurance <extras-qa> | ||||||
| Severity: | unspecified | Docs Contact: | |||||||
| Priority: | unspecified | ||||||||
| Version: | rawhide | CC: | msuchy, xjakub | ||||||
| Target Milestone: | --- | ||||||||
| Target Release: | --- | ||||||||
| Hardware: | x86_64 | ||||||||
| OS: | Unspecified | ||||||||
| URL: | https://retrace.fedoraproject.org/faf/reports/bthash/9ba711cd64a967e6dadf511ff41332b8d36fe547 | ||||||||
| Whiteboard: | abrt_hash:236063f3eae82fa90c3e2b5238fc3bbedd0b1618 | ||||||||
| Fixed In Version: | rpmconf-1.0.7-1 | Doc Type: | Bug Fix | ||||||
| Doc Text: | Story Points: | --- | |||||||
| Clone Of: | Environment: | ||||||||
| Last Closed: | 2015-01-10 19:09:48 UTC | Type: | --- | ||||||
| Regression: | --- | Mount Type: | --- | ||||||
| Documentation: | --- | CRM: | |||||||
| Verified Versions: | Category: | --- | |||||||
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||||
| Cloudforms Team: | --- | Target Upstream Version: | |||||||
| Embargoed: | |||||||||
| Attachments: |
|
||||||||
Created attachment 978553 [details]
File: backtrace
Created attachment 978554 [details]
File: environ
|
Description of problem: tried rpmconf -a Version-Release number of selected component: rpmconf-1.0.6-1.fc22 Additional info: reporter: libreport-2.3.0 cmdline: /usr/bin/python3 /sbin/rpmconf -a executable: /sbin/rpmconf kernel: 3.19.0-0.rc3.git1.2.fc22.x86_64 runlevel: N 5 type: Python3 uid: 0 Truncated backtrace: subprocess.py:1456:_execute_child:FileNotFoundError: [Errno 2] No such file or directory: 'usr/bin/diff' Traceback (most recent call last): File "/usr/lib/python3.4/site-packages/rpmconf/rpmconf.py", line 135, in show_diff fromlines = open(file1, "U").readlines() File "/usr/lib64/python3.4/codecs.py", line 313, in decode (result, consumed) = self._buffer_decode(data, self.errors, final) UnicodeDecodeError: 'utf-8' codec can't decode byte 0x89 in position 11: invalid start byte During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/sbin/rpmconf", line 63, in <module> main() File "/sbin/rpmconf", line 60, in main rconf.run() File "/usr/lib/python3.4/site-packages/rpmconf/rpmconf.py", line 88, in run self._handle_package(pkg_hdr) File "/usr/lib/python3.4/site-packages/rpmconf/rpmconf.py", line 253, in _handle_package tmp.format(conf_file, "rpmnew")) File "/usr/lib/python3.4/site-packages/rpmconf/rpmconf.py", line 288, in _handle_rpmnew self.show_diff(conf_file, other_file) File "/usr/lib/python3.4/site-packages/rpmconf/rpmconf.py", line 144, in show_diff universal_newlines=True) File "/usr/lib64/python3.4/subprocess.py", line 858, in __init__ restore_signals, start_new_session) File "/usr/lib64/python3.4/subprocess.py", line 1456, in _execute_child raise child_exception_type(errno_num, err_msg) FileNotFoundError: [Errno 2] No such file or directory: 'usr/bin/diff' Local variables in innermost frame: child_exec_never_called: False cwd: None p2cwrite: -1 start_new_session: False hex_errno: bytearray(b'2') child_exception_type: <class 'OSError'> restore_signals: True executable_list: (b'usr/bin/diff',) startupinfo: None close_fds: True errwrite: -1 fds_to_keep: {11} errread: -1 errno_num: 2 errpipe_data: bytearray(b'OSError:2:') devnull_fd: None part: b'' orig_executable: 'usr/bin/diff' err_msg: "No such file or directory: 'usr/bin/diff'" args: ['usr/bin/diff', '-u', '/usr/lib/jvm/java-1.8.0-openjdk-1.8.0.40-19.b12.fc22.x86_64/jre/lib/security/US_export_policy.jar', '/usr/lib/jvm/java-1.8.0-openjdk-1.8.0.40-19.b12.fc22.x86_64/jre/lib/security/US_export_policy.jar.rpmnew'] self: <subprocess.Popen object at 0x7f1d83d45a58> c2pwrite: 9 exception_name: bytearray(b'OSError') p2cread: -1 low_fds_to_close: [] preexec_fn: None pass_fds: () env: None c2pread: 8 env_list: None errpipe_write: 11 creationflags: 0 errpipe_read: 10 executable: b'usr/bin/diff' shell: False