You are not logged in.

#1 2009-09-02 14:51:09

mandog
Member
From: Peru
Registered: 2008-09-17
Posts: 218

childsplay

can somebody please sort out childsplay as it does not start after it is compiled
I left a message in the comments box and tried the suggetion to no avail I need this program for my young son and his friends.
This is the link http://aur.archlinux.org/packages.php?ID=16397

Last edited by mandog (2009-09-03 06:42:25)


I'm dyslexic Please do not complain about puntuation or spelling and remember most dyslexic people have above average iq.

Offline

#2 2009-09-02 23:13:10

fukawi2
Ex-Administratorino
From: .vic.au
Registered: 2007-09-28
Posts: 6,237
Website

Re: childsplay

Providing more information on the problems you are experiencing might get you better help.

Offline

#3 2009-09-03 00:31:56

Xyne
Forum Fellow
Registered: 2008-08-03
Posts: 6,965
Website

Re: childsplay

Formatting your post with punctuation instead of one long rambling sentence will often help too. If you're not willing to make an effort to clearly explain yourself, why should others be expected to make a double effort to understand you?


My Arch Linux StuffForum EtiquetteCommunity Ethos - Arch is not for everyone

Offline

#4 2009-09-03 06:42:34

majiq
Member
Registered: 2009-03-06
Posts: 259

Re: childsplay

It's a noted error. It's also a weird error. It got fixed for me magically after doing a lot of nothing. It can't find a file that's inside the same folder as the script at that time.

Traceback (most recent call last):
  File "/usr/bin/childsplay", line 29, in <module>
    import childsplay_sp.utils as utils
  File "/usr/lib/python2.6/childsplay_sp/utils.py", line 35, in <module>
    from SPConstants import *
  File "/usr/lib/python2.6/childsplay_sp/SPConstants.py", line 25, in <module>
    import SPBasePaths
ImportError: No module named SPBasePaths

Offline

#5 2009-09-03 06:54:03

mandog
Member
From: Peru
Registered: 2008-09-17
Posts: 218

Re: childsplay

Xyne
Read my signature
To answer your question I use spell-check for spelling but I can't find a program for punctuation.
I'm very sorry if my post upset you so much but punctuation is not a consideration when you are dyslexic.
I forgot people like you can only read correct punctuation. check your own
I forgot to put the link to my question  http://aur.archlinux.org/packages.php?ID=16397 in the original post.

Last edited by mandog (2009-09-03 07:06:16)


I'm dyslexic Please do not complain about puntuation or spelling and remember most dyslexic people have above average iq.

Offline

#6 2009-09-03 07:38:59

XFire
Member
From: UK
Registered: 2008-05-11
Posts: 192

Re: childsplay

mandog wrote:

Xyne
Read my signature
To answer your question I use spell-check for spelling but I can't find a program for punctuation.
I'm very sorry if my post upset you so much but punctuation is not a consideration when you are dyslexic.
I forgot people like you can only read correct punctuation. check your own
I forgot to put the link to my question  http://aur.archlinux.org/packages.php?ID=16397 in the original post.

Sorry, but placing a full stop at the end of a point is not difficult; that improves readability considerably.

Last edited by XFire (2009-09-03 07:39:24)


There is a difference between bleeding [edge] and haemorrhaging. - Allan

Offline

#7 2009-09-03 08:45:09

bangkok_manouel
Member
From: indicates a starting point
Registered: 2005-02-07
Posts: 1,557

Re: childsplay

XFire wrote:
mandog wrote:

Xyne
Read my signature
To answer your question I use spell-check for spelling but I can't find a program for punctuation.
I'm very sorry if my post upset you so much but punctuation is not a consideration when you are dyslexic.
I forgot people like you can only read correct punctuation. check your own
I forgot to put the link to my question  http://aur.archlinux.org/packages.php?ID=16397 in the original post.

Sorry, but placing a full stop at the end of a point is not difficult; that improves readability considerably.

I don't know much about dyslexic persons but his point is to say that it *is* difficult for him. Are you suffering from something too so that you can't understand this tongue ? No offense really but seriously, he's not doing this on purpose.

Offline

#8 2009-09-03 08:50:08

fukawi2
Ex-Administratorino
From: .vic.au
Registered: 2007-09-28
Posts: 6,237
Website

Re: childsplay

Anyway, communication and personal problems aside, back to the problem the OP is experiencing...?

Offline

#9 2009-09-11 06:23:12

majiq
Member
Registered: 2009-03-06
Posts: 259

Re: childsplay

I know, a week later, but I've been busy.

Solution: In the PKGBUILD, add '-L' to the cp third from bottom just before the -R. The problem is that the cp command just copies the link in the source folder and doesn't actually create the file. The PKGBUILD ought to use install (I think), which might avoid this, though.

So here's the revised PKGBUILD:

# Contributor: Jakob Nixdorf <jakob.nixdorf@online.de>
# Maintainer: Dany Martineau <dany.luc.martineau gmail com>

pkgname=childsplay
pkgver=1.4
pkgrel=1
pkgdesc="A suite of educational games for young children"
url="http://www.schoolsplay.org/"
arch=('i686' 'x86_64')
license=('GPL')
install=('childsplay.install')
depends=('pygame' 'pygtk' 'python-pysqlite' 'python-sqlalchemy' 'python-numpy' 'sdl' 'sdl_image' 'sdl_ttf' 'sdl_mixer' 'libogg')
source=(http://downloads.sourceforge.net/schoolsplay/${pkgname}-${pkgver}.tgz SPBasePaths.py childsplay.desktop)
md5sums=('80251bd541071ad80419c7671c55b45c' '897166d9d2710b0524229992c5d881c3' 'e880a600ed5c607b230ea6f6001c93f1')
optdepends=(childplay-alphabet-sounds)

build() {
cd ${srcdir}/${pkgname}-${pkgver}
  mkdir -p ${pkgdir}/usr/bin
  mkdir -p ${pkgdir}/usr/share/{childsplay_sp,sp_alphabetsounds,applications,pixmaps}
  mkdir -p ${pkgdir}/usr/lib/python2.6/childsplay_sp
  install bin/childsplay ${pkgdir}/usr/bin/
  cp -R locale ${pkgdir}/usr/share/
  cp -R lib/CPData lib/SPData doc ${pkgdir}/usr/share/childsplay_sp/
  cp -R alphabetsounds/* ${pkgdir}/usr/share/sp_alphabetsounds
  cp -L -R *.py ${srcdir}/SPBasePaths.py gui lib ocempgui ${pkgdir}/usr/lib/python2.6/childsplay_sp
  cp ${srcdir}/childsplay.desktop ${pkgdir}/usr/share/applications
  cp lib/SPData/menu/default/logo_cp_32x32.xpm ${pkgdir}/usr/share/pixmaps
}

Offline

#10 2009-09-11 21:04:19

Xyne
Forum Fellow
Registered: 2008-08-03
Posts: 6,965
Website

Re: childsplay

@mandog
If you had that signature when I posted my reply, I didn't notice it. I would not have mentioned the absence of punctuation if I had. I assumed that you were yet another lazy person without a reading disability who simply didn't make an effort and for that mistake I apologize.

*note to self: start reading forum signatures*


My Arch Linux StuffForum EtiquetteCommunity Ethos - Arch is not for everyone

Offline

#11 2009-10-18 18:56:43

brazzmonkey
Member
From: between keyboard and chair
Registered: 2006-03-16
Posts: 818

Re: childsplay

Childsplay package hasn't been updated for a while and this issue is still present.
I changed PKGBUILD as advised, but childsplay still doesn't work, it fails with the following error :

$ childsplay
Traceback (most recent call last):
  File "/usr/bin/childsplay", line 29, in <module>
    import childsplay_sp.utils as utils
ImportError: No module named childsplay_sp.utils

Any clue?


what goes up must come down

Offline

#12 2009-10-28 22:22:56

brazzmonkey
Member
From: between keyboard and chair
Registered: 2006-03-16
Posts: 818

Re: childsplay

Don't you guys have children? Well, I guess no.


what goes up must come down

Offline

#13 2009-10-29 00:23:59

danym
Member
From: Saint-Hippolyte, Qc
Registered: 2007-05-14
Posts: 75
Website

Re: childsplay

Fixed PKGBUILD in AUR.  Just try it; it works for me....  (on i686 with an up to date system, testing not enabled)


sin² x + cos² x = 1

Offline

#14 2009-10-29 02:01:36

foutrelis
Developer
From: Athens, Greece
Registered: 2008-07-28
Posts: 705
Website

Re: childsplay

brazzmonkey wrote:
ImportError: No module named childsplay_sp.utils

Any clue?

Wrong permissions on /usr/lib/python2.6/childsplay_sp and/or its subdirectories perhaps? It runs fine here (even before danym made the last change), but if I chmod that directory to 700, the same error as yours pops up.

Offline

#15 2009-10-31 20:48:02

brazzmonkey
Member
From: between keyboard and chair
Registered: 2006-03-16
Posts: 818

Re: childsplay

Latest PKGBUILD solved it all.
Thanks danym (and foutrelis, too).


what goes up must come down

Offline

Board footer

Powered by FluxBB