Sergio Talens-Oliag wrote, on 2009-04-29 06:37:
El Wed, Apr 22, 2009 at 08:17:29PM +0930, Arthur Marsh va escriure:
Package: childsplay
Version: 1.1-2
Severity: important


When attempting to run childsplay I encountered the following:

$ which childsplay
/usr/games/childsplay
amars...@victoria:~$ childsplay
Traceback (most recent call last):
  File "/usr/games/childsplay", line 28, in <module>
    from childsplay_sp.SPOptionParser import OParser
  File "/usr/lib/python2.5/site-packages/childsplay_sp/SPOptionParser.py", line 24, 
in <module>
    from SPVersion import optversion
  File "/usr/lib/python2.5/site-packages/childsplay_sp/SPVersion.py", line 2, in 
<module>
    import ocempgui
ImportError: No module named ocempgui

The package distributes a copy of the python-ocempgui library as it has
modifications for childsplay. The current package installs python files (included ocempgui) under:
  /usr/share/python-support/childsplay_sp/childsplay_sp

And python-support creates links to those files under:

  /var/lib/python-support/python2.5/childsplay_sp

I know that I'll have to modify the packaging when python-supporth drops
support for the legacy dirs, but the current packages are OK, at least on my
system.

What I don't understand is how you have the directory:

  /usr/lib/python2.5/site-packages/childsplay_sp/

on your system; it is not included on the package nor created by
python-support, at least on my system.

Can you try to uninstall the package, verify if the
/usr/lib/python2.5/site-packages/childsplay_sp/ directory is gone, remove it
by hand if not and reinstall the package again?


Hi, I downgraded childsplay last night to the version in lenny as the version I had installed in sid *did not show the packid maze option*.

After purging childsplay:

Removing childsplay-alphabet-sounds-ca ...
(Reading database ... 242420 files and directories currently installed.)
Removing childsplay-plugins ...
(Reading database ... 242153 files and directories currently installed.)
Removing childsplay ...
Purging configuration files for childsplay ...

I still have:

$ ls -al /usr/lib/python2.5/site-packages/childsplay_sp
total 548
drwxr-xr-x  5 root root  4096 2008-08-18 19:25 .
drwxr-xr-x 27 root root  4096 2009-04-29 08:25 ..
-rw-r--r--  1 root root   722 2008-06-25 03:58 BorgSingleton.py
-rw-r--r--  1 root root  1152 2008-08-18 19:25 BorgSingleton.pyc
-rw-r--r--  1 root root  2357 2008-06-25 03:58 check_dbase.py
-rw-r--r--  1 root root  2304 2008-08-18 19:25 check_dbase.pyc
drwxr-xr-x  2 root root  4096 2008-08-18 19:25 gui
drwxr-xr-x  2 root root  4096 2008-08-18 19:25 HyperText
-rw-r--r--  1 root root  1190 2008-06-25 03:58 __init__.py
-rw-r--r--  1 root root   145 2008-08-18 19:25 __init__.pyc
drwxr-xr-x  2 root root  4096 2008-08-18 19:25 lib
-rw-r--r--  1 root root   319 2008-08-18 19:25 SPBasePaths.py
-rw-r--r--  1 root root   429 2008-08-18 19:25 SPBasePaths.pyc
-rw-r--r--  1 root root  5485 2008-06-25 03:58 SPConstants.py
-rw-r--r--  1 root root  4353 2008-08-18 19:25 SPConstants.pyc
-rw-r--r--  1 root root  6560 2008-06-25 03:58 SPCoreButtons.py
-rw-r--r--  1 root root  6102 2008-08-18 19:25 SPCoreButtons.pyc
-rw-r--r--  1 root root 15949 2008-06-25 03:58 SPDataManager.py
-rw-r--r--  1 root root 17298 2008-08-18 19:25 SPDataManager.pyc
-rw-r--r--  1 root root 10050 2008-06-25 03:58 SPgdm.py
-rw-r--r--  1 root root  7483 2008-08-18 19:25 SPgdm.pyc
-rw-r--r--  1 root root  4754 2008-06-25 03:58 SPGoodies.py
-rw-r--r--  1 root root  6134 2008-08-18 19:25 SPGoodies.pyc
-rw-r--r--  1 root root  3110 2008-06-25 03:58 SPHelpText.py
-rw-r--r--  1 root root  3035 2008-08-18 19:25 SPHelpText.pyc
-rw-r--r--  1 root root  2234 2008-06-25 03:58 SPLogging.py
-rw-r--r--  1 root root  1821 2008-08-18 19:25 SPLogging.pyc
-rw-r--r--  1 root root 40169 2008-06-25 03:58 SPMainCore.py
-rw-r--r--  1 root root 25295 2008-08-18 19:25 SPMainCore.pyc
-rw-r--r--  1 root root 17243 2008-06-25 03:58 SPMenu.py
-rw-r--r--  1 root root 14277 2008-08-18 19:25 SPMenu.pyc
-rw-r--r--  1 root root 20029 2008-06-25 03:58 SPocwWidgets.py
-rw-r--r--  1 root root 20271 2008-08-18 19:25 SPocwWidgets.pyc
-rw-r--r--  1 root root  5331 2008-06-25 03:58 SPOptionParser.py
-rw-r--r--  1 root root  3767 2008-08-18 19:25 SPOptionParser.pyc
-rw-r--r--  1 root root 27979 2008-06-25 03:58 SPSpriteUtils.py
-rw-r--r--  1 root root 30069 2008-08-18 19:25 SPSpriteUtils.pyc
-rw-r--r--  1 root root   494 2008-06-25 03:58 SPVersion.py
-rw-r--r--  1 root root   601 2008-08-18 19:25 SPVersion.pyc
-rw-r--r--  1 root root  9645 2008-06-25 03:58 SPVirtualkeyboard.py
-rw-r--r--  1 root root 10511 2008-08-18 19:25 SPVirtualkeyboard.pyc
-rw-r--r--  1 root root  8121 2008-06-25 03:58 SQLTables.py
-rw-r--r--  1 root root  3960 2008-08-18 19:25 SQLTables.pyc
-rw-r--r--  1 root root  9901 2008-06-25 03:58 Timer.py
-rw-r--r--  1 root root  9978 2008-08-18 19:25 Timer.pyc
-rw-r--r--  1 root root 40881 2008-06-25 03:58 utils.py
-rw-r--r--  1 root root 42089 2008-08-18 19:25 utils.pyc
-rw-r--r--  1 root root    38 2008-06-25 03:58 Version.py
-rw-r--r--  1 root root   173 2008-08-18 19:25 Version.pyc

/usr/lib/python2.5/site-packages# ls -al|grep childsplay
drwxr-xr-x  5 root root    4096 2008-08-18 19:25 childsplay_sp
-rw-r--r-- 1 root root 375 2008-08-18 19:25 childsplay_sp-0.76.2.egg-info victoria:/usr/lib/python2.5/site-packages# more childsplay_sp-0.76.2.egg-info
Metadata-Version: 1.0
Name: childsplay_sp
Version: 0.76.2
Summary: Collection of educational activities
Home-page: http://schoolsplay.sf.net
Author: Stas Zytkiewicz
Author-email: stas.zytkiew...@gmail.com
License: GPL
Description: childsplay is a collection of educational activities and
        comes with extensive data collecting and multi user support.
Platform: UNKNOWN

[end quote]

I then removed /usr/lib/python2.5/site-packages/childsplay*

and purged python-ocempgui

I then installed childsplay from sid and ran it:

amars...@victoria:~$ childsplay
removed old logpath
["Hit the 'space' key or a mousebutton to skip the countdown"]
amars...@victoria:~$

This time I *did* get the packid maze option.

So it seemed that material left in:

/usr/share/python-support/childsplay_sp/childsplay_sp

caused problems.

Thanks for your help!

Arthur.



--
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to