The last bootchart update claims a fix for "bootchart failed to write bootchart.png and displayed an error: "Can't write to %s bootchart.png"", but this doesn't seem really fixed in bootchart-0.14.0-1.2.git20110331.fc15.x86_64 . I think the %s bit is gone, but it still can't write the file: [adamw@adam ~]$ bootchart -o /home/adamw No path given, trying /var/log/bootchart.tgz parsing '/var/log/bootchart.tgz' parsing 'header' parsing 'cmdline2.log' parsing 'paternity.log' parsing 'proc_cpuinfo.log' parsing 'proc_diskstats.log' parsing 'proc_meminfo.log' parsing 'proc_stat.log' parsing 'taskstats.log' merged 0 logger processes pruned 767 process, 0 exploders, 156 threads, and 8 runs Can't write to /home/adamw/bootchart.png happens every time I try, with or without a -o parameter. I don't see an SELinux denial so I don't think that's it.
touch bootchart.png works for me as a workaround
(In reply to comment #1) > touch bootchart.png works for me as a workaround yep. same here
In /usr/lib/python2.7/site-packages/pybootchartgui/main.py we have: if not os.access(filename, os.W_OK): print("Can't write to %s" % filename); return 2 As file "bootchart.png" does not exists this test will not succeed. If we just delete this 3 lines bootchart command with no parameters creates bootchart.png file.
bootchart-0.14.0-1.3.git20110630.fc15 has been submitted as an update for Fedora 15. https://admin.fedoraproject.org/updates/bootchart-0.14.0-1.3.git20110630.fc15
Package bootchart-0.14.0-1.3.git20110630.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.3.git20110630.fc15' as soon as you are able to. Please go to the following url: https://admin.fedoraproject.org/updates/bootchart-0.14.0-1.3.git20110630.fc15 then log in and leave karma (feedback).
bootchart-0.14.0-1.3.git20110630.fc15 has been pushed to the Fedora 15 stable repository. If problems still persist, please make note of it in this bug report.