> hello, I used to have an old version of PythonCard installed, and now I
> installed the Debian packages python-pythoncard, pythoncard-doc,
> pythoncard-tools, and pythoncard, all versions 0.8.1-1.

Ok.

> Now when I run resourceEditor, I get "Unable to find PythonCard
> installation."
> 
> A look at the shell script shows that it is looking in
> /usr/lib/python2.3/site-packages/PythonCard/tools/resourceEditor/resourceEdit
> or.py "$@".
> 
> However, I do not have a directory
> "/usr/lib/python2.3/site-packages/PythonCard", I only have
> "/usr/lib/python2.3/site-packages/PythonCardPrototype".

Hrm.  That doesn't make a lot of sense.  A check of the
python2.3-pythoncard_0.8.1-1_all.deb using dpkg --contents shows that
all of the Python files are installed to the PythonCard directory.

./usr/lib/
./usr/lib/python2.3/
./usr/lib/python2.3/site-packages/
./usr/lib/python2.3/site-packages/PythonCard/
./usr/lib/python2.3/site-packages/PythonCard/components/
./usr/lib/python2.3/site-packages/PythonCard/components/__init__.py

Do you have the python2.3-pythoncard package installed on your system as
well?  The dependencies should force it.

How did you get these packages installed?  Did they come along with an
'apt-get -u upgrade' or similar, or did you force the upgrade by just
specifying those four packages by hand on the command line?  Or, did you
perhaps install directly using dpkg?  On my system dpkg seems to
(mostly) install the four packages you mentioned but then reports errors
related to the missing python2.3-pythoncard package.

My best theory right now is that you have an old version of the
python2.3-pythoncard package installed.  To confirm this, use something
like this:

   COLUMNS=132 dpkg -l | grep pythoncard 

If it does turn out that you have an old version of python2.3-pythoncard
installed, then I think the fix is for me to be more specific about the
versioned dependencies between python-pythoncard and
python2.3-pythoncard (like python-pythoncard should depend on the
python2.3-pythoncard with the exact same version it has).

KEN

-- 
Kenneth J. Pronovici <[EMAIL PROTECTED]>

Attachment: pgpcM685HdyEn.pgp
Description: PGP signature

Reply via email to