You are not logged in.

#1 2005-04-07 15:35:06

dave.roberts
Member
Registered: 2005-04-02
Posts: 36

Superkaramba Python "No module named os"

When starting themes in Superkaramba, I receive the following error:

[dave@myhost ~]$ superkaramba
Could not find platform independent libraries <prefix>
Could not find platform dependent libraries <exec_prefix>
Consider setting $PYTHONHOME to <prefix>[:<exec_prefix>]
'import site' failed; use -v for traceback
superkaramba: TaskManager::TaskManager()
Traceback (most recent call last):
  File "/home/dave/OSXDocker/OSXDocker.py", line 4, in ?
    import os
ImportError: No module named os

According to this page http://www.bscw.de/english/faq/faq_i11.html, a library of python needs to be set properly during build.  Any idea how to correct these errors?

Offline

#2 2005-04-07 15:47:34

Snowman
Developer/Forum Fellow
From: Montreal, Canada
Registered: 2004-08-20
Posts: 5,212

Re: Superkaramba Python "No module named os"

Check http://bbs.archlinux.org/viewtopic.php? … perkaramba
There is an updated  PKGBUILD.

Offline

#3 2005-04-07 15:57:41

dave.roberts
Member
Registered: 2005-04-02
Posts: 36

Re: Superkaramba Python "No module named os"

Thanks!  I'm not much of a hacker so I suppose I'll wait for this to go into a pacman repository

Offline

#4 2005-04-07 16:22:35

Snowman
Developer/Forum Fellow
From: Montreal, Canada
Registered: 2004-08-20
Posts: 5,212

Re: Superkaramba Python "No module named os"

It isn't hard to make a package. Paste

pkgname=superkaramba
pkgver=0.35
pkgrel=1
pkgdesc="SuperKaramba is, in simple terms, a tool that allows you to easily create interactive eye-candy on your KDE desktop. Currently, only linux is officially supported. "
license="GPL"
depends=('kdebase' 'kdelibs' 'python')
makedepends=()
conflicts=()
replaces=()
backup=()
install=
source=(http://www.angelfire.com/geek/p0z3r/superkaramba-0.35-Python2.4.tar.gz)


build() {
   cd $startdir/src/superkaramba-0.35-Python2.4
   ./configure --prefix=/opt/kde
   make || return 1
   make DESTDIR=$startdir/pkg install
 } 

into a file named PKGBUILD.
Then run

makepkg

to build the package. To install, as rooot do

pacman -U superkaramba-0.35-.pkg.tar.gz

Offline

#5 2005-04-07 22:19:57

T-Dawg
Forum Fellow
From: Charlotte, NC
Registered: 2005-01-29
Posts: 2,736

Re: Superkaramba Python "No module named os"

You can append 'ci' to makepkg (makepkg -ci) to clean up build files and install the package after its created via pacman.

Offline

#6 2005-04-11 19:27:12

dave.roberts
Member
Registered: 2005-04-02
Posts: 36

Re: Superkaramba Python "No module named os"

Thanks, worked great!

Although I think it would be better for the community as a whole if the effort was spent to integrate this into pacman.  Makes it easy for the stupid people like myself!

Offline

#7 2005-04-11 19:42:18

phrakture
Arch Overlord
From: behind you
Registered: 2003-10-29
Posts: 7,879
Website

Re: Superkaramba Python "No module named os"

dave.roberts wrote:

Thanks, worked great!

Although I think it would be better for the community as a whole if the effort was spent to integrate this into pacman.  Makes it easy for the stupid people like myself!

packages introduced into the official repos are based on the community... with the new AUR, you can vote for new packages, and if there's enough of a call, then it will get placed in the official repos...
I don't know if superkaramba has enough of a backing to do that (alot of people hate superkaramba)

Offline

#8 2005-04-11 22:05:51

dave.roberts
Member
Registered: 2005-04-02
Posts: 36

Re: Superkaramba Python "No module named os"

My spoon is too big.

How do we vote for such packages?  Maybe this could be made more useful if there was "automatic voting" or a hit to a counter on a server every time a user installs the package via pacman.  If some package has many many downloads / installs via pacman, it would be wise to include it in the official repository.

I know it's easy to spout off ideas without backing them with coding or implementation ideas, but it seems useful.

Offline

#9 2005-04-11 22:11:18

phrakture
Arch Overlord
From: behind you
Registered: 2003-10-29
Posts: 7,879
Website

Re: Superkaramba Python "No module named os"

dave.roberts wrote:

How do we vote for such packages?

check this out: http://bbs.archlinux.org/viewtopic.php?t=11605

dave.roberts wrote:

Maybe this could be made more useful if there was "automatic voting" or a hit to a counter on a server every time a user installs the package via pacman.  If some package has many many downloads / installs via pacman, it would be wise to include it in the official repository.

I know it's easy to spout off ideas without backing them with coding or implementation ideas, but it seems useful.

I proposed this on the mailing list when they released AUR (today)... it sounds interesting, however, due to numerous mirrors, it's almost impossible... especially if one mirror fails and pacman goes to the next, it would record 2 "votes" for that package...

Xentac brought up the idea of incorporating it into archstats, as that records installed packages... which could be promising... we'll see what develops

Offline

Board footer

Powered by FluxBB