Bug 666151

Summary: [abrt] bootchart-0.12.4-3.1.git20101122.fc15: main.py:101:_get_filename:TypeError: cannot concatenate 'str' and 'NoneType' objects
Product: [Fedora] Fedora Reporter: Peter Hjalmarsson <kanelxake>
Component: bootchartAssignee: Harald Hoyer <harald>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: low    
Version: rawhideCC: aquini, harald
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Unspecified   
Whiteboard: abrt_hash:8508d088
Fixed In Version: bootchart-0.14.0-1.2.git20110331.fc15 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2011-04-15 21:17:40 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:
Description Flags
File: backtrace none

Description Peter Hjalmarsson 2010-12-29 07:47:30 UTC
abrt version: 1.1.14
architecture: x86_64
cmdline: /usr/bin/python /usr/bin/bootchart -o .
comment: None of the three worked, hit this as I tried to see if bug #666149 happends when the output directory is something writeable.
component: bootchart
executable: /usr/bin/bootchart
kernel: 2.6.37-0.rc7.git0.2.fc15.x86_64
package: bootchart-0.12.4-3.1.git20101122.fc15
reason: main.py:101:_get_filename:TypeError: cannot concatenate 'str' and 'NoneType' objects
release: Fedora release 15 (Rawhide)
time: 1293608784
uid: 500

backtrace
-----
main.py:101:_get_filename:TypeError: cannot concatenate 'str' and 'NoneType' objects

Traceback (most recent call last):
  File "/usr/bin/bootchart", line 23, in <module>
    sys.exit(main())
  File "/usr/lib/python2.7/site-packages/pybootchartgui/main.py", line 142, in main
    filename = _get_filename(args, options)
  File "/usr/lib/python2.7/site-packages/pybootchartgui/main.py", line 101, in _get_filename
    return os.path.join (dname, fname + "." + options.format)
TypeError: cannot concatenate 'str' and 'NoneType' objects

Local variables in innermost frame:
dname: '.'
path: '/var/log/bootchart.tgz'
options: <Values at 0x1f14fc8: {'profile': False, 'verbose': False, 'format': None, 'show_all': False, 'annotate_file': None, 'quiet': False, 'annotate': None, 'show_pid': False, 'crop_after': None, 'boottime': False, 'prune': True, 'output': '.', 'veryquiet': False, 'interactive': False}>
fname: '/var/log/bootchart'
paths: ['/var/log/bootchart.tgz']

How to reproduce
-----
1. bootchart -o .
2. bootchart -o ~
3. bootchart --output=/home/xake

Comment 1 Peter Hjalmarsson 2010-12-29 07:47:33 UTC
Created attachment 471041 [details]
File: backtrace

Comment 2 Fedora Admin XMLRPC Client 2010-12-30 18:23:40 UTC
This package has changed ownership in the Fedora Package Database.  Reassigning to the new owner of this component.

Comment 3 Fedora Admin XMLRPC Client 2011-01-03 10:28:01 UTC
This package has changed ownership in the Fedora Package Database.  Reassigning to the new owner of this component.

Comment 4 Fedora Update System 2011-03-31 12:37:25 UTC
bootchart-0.14.0-1.1.git20110331.fc15 has been submitted as an update for Fedora 15.
https://admin.fedoraproject.org/updates/bootchart-0.14.0-1.1.git20110331.fc15

Comment 5 Fedora Update System 2011-03-31 19:43:50 UTC
Package bootchart-0.14.0-1.1.git20110331.fc15:
* should fix your issue,
* was pushed to the Fedora 15 testing repository,
* should be available at your local mirror within two days.
Update it with:
# su -c 'yum update --enablerepo=updates-testing bootchart-0.14.0-1.1.git20110331.fc15'
as soon as you are able to, then reboot.
Please go to the following url:
https://admin.fedoraproject.org/updates/bootchart-0.14.0-1.1.git20110331.fc15
then log in and leave karma (feedback).

Comment 6 Fedora Update System 2011-04-08 07:57:10 UTC
bootchart-0.14.0-1.2.git20110331.fc15 has been submitted as an update for Fedora 15.
https://admin.fedoraproject.org/updates/bootchart-0.14.0-1.2.git20110331.fc15

Comment 7 Fedora Update System 2011-04-15 21:17:21 UTC
bootchart-0.14.0-1.2.git20110331.fc15 has been pushed to the Fedora 15 stable repository.  If problems still persist, please make note of it in this bug report.