Bug 796609 - [abrt] pylint-0.24.0-1.fc16: subprocess.py:1228:_execute_child:OSError: [Errno 2] No such file or directory
Summary: [abrt] pylint-0.24.0-1.fc16: subprocess.py:1228:_execute_child:OSError: [Errn...
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: Fedora
Classification: Fedora
Component: pylint
Version: 16
Hardware: x86_64
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Brian Lane
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard: abrt_hash:b402b40be8b1d582b0f61bd86fa...
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2012-02-23 10:19 UTC by Roman Rakus
Modified: 2014-01-13 00:14 UTC (History)
3 users (show)

Fixed In Version: pylint-0.25.1-1
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2012-03-15 00:18:15 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Roman Rakus 2012-02-23 10:19:00 UTC
libreport version: 2.0.8
abrt_version:   2.0.7
cmdline:        /usr/bin/python /usr/bin/pylint --import-graph=/tmp/graph.txt system-config-kdump.py
comment:        Just want to create import graph of some python script. Looks like some missing dependency.
event_log:      2012-02-23-11:18:55> The report was appended to /home/rrakus/abrt-logger.log
executable:     /usr/bin/pylint
kernel:         3.2.5-3.fc16.x86_64
reason:         subprocess.py:1228:_execute_child:OSError: [Errno 2] No such file or directory
reported_to:    file: /home/rrakus/abrt-logger.log
time:           Thu 23 Feb 2012 11:12:44 AM CET
uid:            501
username:       rrakus

backtrace:
:subprocess.py:1228:_execute_child:OSError: [Errno 2] No such file or directory
:
:Traceback (most recent call last):
:  File "/usr/bin/pylint", line 4, in <module>
:    lint.Run(sys.argv[1:])
:  File "/usr/lib/python2.7/site-packages/pylint/lint.py", line 863, in __init__
:    linter.check(args)
:  File "/usr/lib/python2.7/site-packages/pylint/lint.py", line 502, in check
:    checker.close()
:  File "/usr/lib/python2.7/site-packages/pylint/lint.py", line 590, in close
:    self.make_reports(self.stats, old_stats)
:  File "/usr/lib/python2.7/site-packages/pylint/utils.py", line 408, in make_reports
:    r_cb(report_sect, stats, old_stats)
:  File "/usr/lib/python2.7/site-packages/pylint/checkers/imports.py", line 347, in report_dependencies_graph
:    make_graph(filename, dep_info, sect, '')
:  File "/usr/lib/python2.7/site-packages/pylint/checkers/imports.py", line 122, in make_graph
:    dependencies_graph(filename, dep_info)
:  File "/usr/lib/python2.7/site-packages/pylint/checkers/imports.py", line 115, in dependencies_graph
:    printer.generate(filename)
:  File "/usr/lib/python2.7/site-packages/logilab/common/graph.py", line 123, in generate
:    shell=use_shell)
:  File "/usr/lib64/python2.7/subprocess.py", line 493, in call
:    return Popen(*popenargs, **kwargs).wait()
:  File "/usr/lib64/python2.7/subprocess.py", line 679, in __init__
:    errread, errwrite)
:  File "/usr/lib64/python2.7/subprocess.py", line 1228, in _execute_child
:    raise child_exception
:OSError: [Errno 2] No such file or directory
:
:Local variables in innermost frame:
:errread: None
:c2pread: None
:gc_was_enabled: True
:errwrite: None
:shell: False
:errpipe_write: 24
:executable: 'dot'
:close_fds: False
:self: <subprocess.Popen object at 0x7f9d5a711790>
:env: None
:cwd: None
:child_exception: OSError(2, 'No such file or directory')
:args: ['dot', '-T', 'txt', '/tmp/graphJJJneR.dot', '-o', '/tmp/graph.txt']
:fd: None
:c2pwrite: None
:data: 'cexceptions\nOSError\np0\n(I2\nS\'No such file or directory\'\np1\ntp2\nRp3\n(dp4\nS\'child_traceback\'\np5\nS\'Traceback (most recent call last):\\n  File "/usr/lib64/python2.7/subprocess.py", line 1180, in _execute_child\\n    os.execvp(executable, args)\\n  File "/usr/lib64/python2.7/os.py", line 344, in execvp\\n    _execvpe(file, args)\\n  File "/usr/lib64/python2.7/os.py", line 380, in _execvpe\\n    func(fullname, *argrest)\\nOSError: [Errno 2] No such file or directory\\n\'\np6\nsb.'
:creationflags: 0
:errpipe_read: 23
:preexec_fn: None
:p2cread: None
:startupinfo: None
:p2cwrite: None
:universal_newlines: False

Comment 1 Roman Rakus 2012-02-23 10:25:38 UTC
Missing dep is graphviz

Comment 2 Brian Lane 2012-03-15 00:18:15 UTC
Looks like it no longer does a traceback when graphviz isn't installed. I'm not sure that adding graphviz as a dep is the right way to go since it is an optional feature.

Comment 3 Fedora Update System 2012-03-15 00:19:23 UTC
pylint-0.25.1-1.fc17 has been submitted as an update for Fedora 17.
https://admin.fedoraproject.org/updates/pylint-0.25.1-1.fc17

Comment 4 Fedora Update System 2012-04-12 02:29:40 UTC
pylint-0.25.1-1.fc17 has been pushed to the Fedora 17 stable repository.  If problems still persist, please make note of it in this bug report.


Note You need to log in before you can comment on or make changes to this bug.