Hide Forgot
abrt version: 1.1.7 architecture: x86_64 component: report executable: /usr/bin/report kernel: 2.6.32-37.el6.x86_64 package: report-0.17-1.el6 reason: __init__.py:69:ftpFile:AttributeError: 'NoneType' object has no attribute 'startswith' release: Red Hat Enterprise Linux release 6.0 Beta (Santiago) time: 1277899552 uid: 501 backtrace ----- __init__.py:69:ftpFile:AttributeError: 'NoneType' object has no attribute 'startswith' Traceback (most recent call last): File "/usr/bin/report", line 160, in <module> app = report.report(signature, io, **optsDict) File "/usr/lib64/python2.6/site-packages/report/__init__.py", line 493, in report retval = choice(signature, io) File "/usr/lib64/python2.6/site-packages/report/__init__.py", line 413, in <lambda> (lambda module, optionsDict: lambda signature, io : module.report(signature, io, optionsDict))(module, optionsDict))) File "/usr/lib64/python2.6/site-packages/report/plugins/ftp/__init__.py", line 57, in report return ftpFile(fileName, file(fileName), io, optionsDict) File "/usr/lib64/python2.6/site-packages/report/plugins/ftp/__init__.py", line 69, in ftpFile if not ftpserver.startswith("ftp://"): AttributeError: 'NoneType' object has no attribute 'startswith' Local variables in innermost frame: username: None optionsDict: {'description': '"Plugin to send file to ftp"', 'plugin': 'ftp'} fileName: '/tmp/dummy-report.txt' urlparse: <function urlparse at 0x25dd2a8> ftpserver: None io: <report.io.GTKIO.GTKIO instance at 0x23b04d0> fileBlob: <open file '/tmp/dummy-report.txt', mode 'r' at 0x25c20b8> password: None How to reproduce ----- 1. report --gtk /tmp/dummy-report.txt 2. choose ftp 3. choose cancel
Created attachment 427966 [details] File: backtrace
This request was evaluated by Red Hat Product Management for inclusion in a Red Hat Enterprise Linux major release. Product Management has requested further review of this request by Red Hat Engineering, for potential inclusion in a Red Hat Enterprise Linux Major release. This request is not yet committed for inclusion.
This fix is very simple and safe https://fedorahosted.org/report/changeset/74ab4571bb52d5dfc69a3128a3d8a707f8c70d3e/
Red Hat Enterprise Linux 6.0 is now available and should resolve the problem described in this bug report. This report is therefore being closed with a resolution of CURRENTRELEASE. You may reopen this bug report if the solution does not work for you.