You are not logged in.
hi to all
i can't run pybootchartgui from bootchart2-git package because i get this error:
Traceback (most recent call last):
File "/usr/bin/pybootchartgui", line 20, in <module>
from pybootchartgui.main import main
ImportError: No module named pybootchartgui.main
i think is an incompatibility between python2 (that script) and python3 (in my system)
thanks
PS: to install it i used the PKGBUILD provided in the aur comments
Last edited by nTia89 (2011-01-05 14:32:21)
+pc: custom | AMD Opteron 175 | nForce4 Ultra | 2GB ram DDR400 | nVidia 9800GT 1GB | ArchLinux x86_64 w/ openbox
+laptop: Apple | MacBook (2,1) | 2GB ram | Mac OS X 10.4 -> DIED
+ultrabook: Dell | XPS 13 (9343) | 8GB ram | 256GB ssd | FullHD display | Windows 8.1 64bit ArchLinux x86_64 w/ Gnome
Offline
up
+pc: custom | AMD Opteron 175 | nForce4 Ultra | 2GB ram DDR400 | nVidia 9800GT 1GB | ArchLinux x86_64 w/ openbox
+laptop: Apple | MacBook (2,1) | 2GB ram | Mac OS X 10.4 -> DIED
+ultrabook: Dell | XPS 13 (9343) | 8GB ram | 256GB ssd | FullHD display | Windows 8.1 64bit ArchLinux x86_64 w/ Gnome
Offline
Can't remember if I had to alter it or not but here's the PKGBUILD I used and everythings working fine here, if this works ok, maybe give the pkg maintainer a prod.
# Contributor: DuGi <dugi@irc.pl>
pkgname=bootchart2-git
pkgrel=1
pkgver=20101125
pkgdesc="Boot Process Performance Visualization"
arch=(i686 x86_64)
url="http://github.com/mmeeks/bootchart"
license=('GPL')
source=()
md5sums=()
provides=('bootchart2')
conflicts=('bootchart2' 'bootchart')
depends=('busybox' 'pygobject' 'pygtk')
makedepends=('git')
install=bootchart2-git.install
_gitname="bootchart"
_gitroot="git://github.com/mmeeks/${_gitname}.git"
build() {
cd ${srcdir}
if [[ -d ${srcdir}/${_gitname}-build ]] ; then
rm -rf ${srcdir}/${_gitname}-build
fi
git clone ${srcdir}/${_gitname} ${srcdir}/${_gitname}-build
}
package() {
cd ${srcdir}/${_gitname}-build
sed -i -e 's|python2.6|python2.7|' \
-e 's|python\b|python2|g' Makefile
make
make DESTDIR="${pkgdir}" install
sed -i "s|#!/usr/bin/python$|#!/usr/bin/python2|" ${pkgdir}/usr/bin/pybootchartgui
}
Last edited by sausageandeggs (2011-01-04 22:04:41)
() Registered Linux user #500376
/\ www.asciiribbon.org - against html e-mail
Offline
sausageandeggs - python (i.e. python3) in your depends array is unnecessary and confusing. pygobject pulls in python2 as a dependency, and that takes of it.
Offline
Thanks Tomk, Indeed it is, if I remember properly I just edited the original PKGBUILD enough to get it working when i installed this, and didn't do a 'proper' job with it.
Should have really checked over though before posting. Previous post edited and many apologies if I confused anyone.
() Registered Linux user #500376
/\ www.asciiribbon.org - against html e-mail
Offline
Thanks Tomk, Indeed it is, if I remember properly I just edited the original PKGBUILD enough to get it working when i installed this, and didn't do a 'proper' job with it.
Should have really checked over though before posting. Previous post edited and many apologies if I confused anyone.
also your doesn't work for me
but modifing it as below http://aur.pastebin.com/qD7xT2xF , now it works perfectly
thanks
+pc: custom | AMD Opteron 175 | nForce4 Ultra | 2GB ram DDR400 | nVidia 9800GT 1GB | ArchLinux x86_64 w/ openbox
+laptop: Apple | MacBook (2,1) | 2GB ram | Mac OS X 10.4 -> DIED
+ultrabook: Dell | XPS 13 (9343) | 8GB ram | 256GB ssd | FullHD display | Windows 8.1 64bit ArchLinux x86_64 w/ Gnome
Offline