Bug 691607 - [abrt] bootchart-0.12.4-6.1.git20101122.fc15: pybootchartgui.py:20:<module>:ImportError: No module named main
Summary: [abrt] bootchart-0.12.4-6.1.git20101122.fc15: pybootchartgui.py:20:<module>:I...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: bootchart
Version: 15
Hardware: x86_64
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Harald Hoyer
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard: abrt_hash:a2406184
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2011-03-28 23:53 UTC by Adam Williamson
Modified: 2011-04-15 21:17 UTC (History)
2 users (show)

Fixed In Version: bootchart-0.14.0-1.2.git20110331.fc15
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2011-04-05 17:16:41 UTC
Type: ---


Attachments (Terms of Use)
File: backtrace (6.44 KB, text/plain)
2011-03-28 23:53 UTC, Adam Williamson
no flags Details

Description Adam Williamson 2011-03-28 23:53:46 UTC
abrt version: 2.0.0
comment: Just run pybootchartgui or bootchart.
executable: /usr/bin/pybootchartgui
component: bootchart
kernel: 2.6.38.1-6.fc15.x86_64
reason: pybootchartgui.py:20:<module>:ImportError: No module named main
uid: 501
architecture: x86_64
username: adamw
os_release: Fedora release 15 (Lovelock)
package: bootchart-0.12.4-6.1.git20101122.fc15
time: 1301356247

Text file: backtrace, 6594 bytes

Comment 1 Adam Williamson 2011-03-28 23:53:48 UTC
Created attachment 488305 [details]
File: backtrace

Comment 2 Fedora Update System 2011-03-31 12:37:10 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 3 Fedora Update System 2011-03-31 19:43:35 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 4 Adam Williamson 2011-04-05 04:23:48 UTC
The update does not fix the issue.

Comment 5 Harald Hoyer 2011-04-05 05:40:10 UTC
(In reply to comment #4)
> The update does not fix the issue.

Huh? works perfectly here...

Comment 6 Harald Hoyer 2011-04-05 05:47:09 UTC
$ rpm -q bootchart
bootchart-0.14.0-1.1.git20110331.fc15.x86_64

$ pybootchartgui 
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 504 process, 0 exploders, 86 threads, and 4 runs
bootchart written to 'bootchart.png'

Comment 7 Harald Hoyer 2011-04-05 05:47:43 UTC
$ rpm -ql bootchart|grep main
/usr/lib/python2.7/site-packages/pybootchartgui/main.py
/usr/lib/python2.7/site-packages/pybootchartgui/main.pyc
/usr/lib/python2.7/site-packages/pybootchartgui/main.pyo

Comment 8 Harald Hoyer 2011-04-05 05:48:08 UTC
$ rpm -q python
python-2.7.1-6.fc15.x86_64

Comment 9 Harald Hoyer 2011-04-05 05:48:24 UTC
Please check your installation!!

Comment 10 Adam Williamson 2011-04-05 05:58:44 UTC
[adamw@adam SRPMS]$ rpm -q bootchart
bootchart-0.14.0-1.1.git20110331.fc15.x86_64
[adamw@adam SRPMS]$ rpm -ql bootchart|grep main
/usr/lib/python2.7/site-packages/pybootchartgui/main.py
/usr/lib/python2.7/site-packages/pybootchartgui/main.pyc
/usr/lib/python2.7/site-packages/pybootchartgui/main.pyo
[adamw@adam SRPMS]$ rpm -V bootchart
[adamw@adam SRPMS]$ rpm -q python
python-2.7.1-6.fc15.x86_64
[adamw@adam SRPMS]$ pybootchartgui 
Traceback (most recent call last):
  File "/usr/bin/pybootchartgui", line 20, in <module>
    from pybootchartgui.main import main
  File "/usr/bin/pybootchartgui.py", line 20, in <module>
ImportError: No module named main

Comment 11 Adam Williamson 2011-04-05 17:16:41 UTC
wetware error - I had a rogue /usr/bin/pybootchartgui.pyc lying around from an old from-tarball install, or something. Wiped that and it starts working fine.

Comment 12 Fedora Update System 2011-04-08 07:56:55 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 13 Fedora Update System 2011-04-15 21:17:06 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.