You are not logged in.

#1 2006-11-24 22:41:49

neodreams
Member
Registered: 2006-03-20
Posts: 87

PKGBUILD Scribes 0.3 error

Hi all

I created a PKGBUILD to get the latest version of Scribes and when I lunch the program, it fail.

PKGBUILD:

# Contributor: neodreams <yanbrodeur>

pkgname=scribes
pkgver=0.3
pkgrel=1
pkgdesc="A simple PyGTK+ text editor"
arch=(i686 x86_64)
url="http://scribes.sourceforge.net"
license="GPL"
groups=
provides=
depends=('dbus-python' 'gnome-python-desktop' 'gnome-python-extras' 'gtksourceview' 'yelp')
makedepends=()
conflicts=()
replaces=()
backup=()
install=
source=(http://neodreams.universfantastiques.org/src/${pkgname}-${pkgver}.tar.bz2)
md5sums=('2abe30a606fcb6aa310c7322df8e5ab7')

build() {
    cd ${startdir}/src/${pkgname}-${pkgver}
    ./configure --prefix=/opt/gnome --disable-scrollkeeper
    make || return 1
    make prefix=${startdir}/pkg install
}

error:

[neodreams@arch ~]$ scribes
Traceback (most recent call last):
  File "/bin/scribes", line 36, in ?
    from SCRIBES.dbusmain import main
ImportError: No module named SCRIBES.dbusmain

A bug? Something missing in my PKGBUILD ? or what, I don't know.

Offline

#2 2006-11-24 23:17:15

tardo
Member
Registered: 2006-07-15
Posts: 526

Re: PKGBUILD Scribes 0.3 error

this is what I used

# Contributor: neodreams <yanbrodeur>

pkgname=scribes
pkgver=0.3
pkgrel=1
pkgdesc="A simple PyGTK+ text editor"
url="http://scribes.sourceforge.net"
license="GPL"
depends=('dbus-python' 'gnome-python-desktop' 'gnome-python-extras' 'gtksourceview' 'yelp')
makedepends=()
source=(http://neodreams.universfantastiques.org/src/${pkgname}-${pkgver}.tar.bz2)
md5sums=('2abe30a606fcb6aa310c7322df8e5ab7')

build() {
   cd ${startdir}/src/${pkgname}-${pkgver}
   ./configure --prefix=/opt/gnome --disable-scrollkeeper
   make || return 1
   make DESTDIR=${startdir}/pkg install
}

I can start it up from the gnome menu, otherwise i HAVE to use the full /opt/gnome/bin/scribes path and not just scribes in shell. I think this might be a bug in the way the python script starts it up.

Offline

Board footer

Powered by FluxBB