Bug 666151 - [abrt] bootchart-0.12.4-3.1.git20101122.fc15: main.py:101:_get_filename:TypeError: cannot concatenate 'str' and 'NoneType' objects
Summary: [abrt] bootchart-0.12.4-3.1.git20101122.fc15: main.py:101:_get_filename:TypeE...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: bootchart
Version: rawhide
Hardware: x86_64
OS: Unspecified
low
medium
Target Milestone: ---
Assignee: Harald Hoyer
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard: abrt_hash:8508d088
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2010-12-29 07:47 UTC by Peter Hjalmarsson
Modified: 2011-04-15 21:17 UTC (History)
2 users (show)

Fixed In Version: bootchart-0.14.0-1.2.git20110331.fc15
Clone Of:
Environment:
Last Closed: 2011-04-15 21:17:40 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
File: backtrace (966 bytes, text/plain)
2010-12-29 07:47 UTC, Peter Hjalmarsson
no flags Details

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.


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