Re: [SLE] Python and Pysol
From: David Herman (mesamoo115_at_comcast.net)
Date: 10/19/03
- Previous message: David Herman: "Re: [SLE] Python and Pysol [SOLVED}"
- In reply to: David Herman: "Re: [SLE] Python and Pysol [SOLVED}"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
To: suse-linux-e@suse.com Date: Sun, 19 Oct 2003 09:01:42 -0700
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
On Sunday 19 October 2003 08:43 am, David Herman wrote:
> On Saturday 18 October 2003 04:09 pm, Zach Smith (Linux) wrote:
> > On Sat, 2003-10-18 at 11:20, David Herman wrote:
Sorry about the last message, when I started writing it (yesterday) I
thought the solution had been found, unfortunately by the time I
finished my mail this morning it was apparent that the solution wasn't
working for me but I forgot to delete the [SOLVED] tag in the subject
line.
- ------relevent section of previous message follows------
On Saturday 18 October 2003 04:09 pm, Zach Smith (Linux) wrote:
> Sorry 'bout that...guess I should have posted it before (duh). The
> script is "pysol" located in /usr/bin. It originally reads as
> follows:
>
> #!/bin/sh
> python /usr/share/games/pysol/src/pysol.pyc
>
> Add "2.2" to the end of the word python so it comes out looking like
> this:
>
> #!/bin/sh
> python2.2 /usr/share/games/pysol/src/pysol.pyc
>
> This of course is assuming you have Python 2.2 installed. I've
> installed version 2.3.2 (from source) but 2.2 (from RPM) is still
> present on my machine which is what it originally ran under before
>
Thanks for the reply, unfortunately for me It still didn't work.
Prior to your fix Pysol would exit a few seconds after the info window
closed, I had the same response after your fix.
pysol 4.8-51, Python 2.2.1-65, python-tkinter 2.2.1-65
When running from the shell I recieve an error
File "./tk/tkinit.py", line 182, in CallWrapper____call__
File "/usr/lib/python2.2/lib-tk/Tkinter.py", line 1024,
in _substitute e.num = getint(b)
ValueError: invalid literal for int(): ??
Apparantly a problem w/ python-tkinter?
But Wait, I did more investigation, I found
/usr/lib/python was a link to /usr/lib/python2.1
I changed this so it is now a link to /usr/lib/python2.2 and now the
game starts up and runs long enough to start playing.
Unfortunately if I leave it alone for a few minutes or stop to do do
something else the game still exits with the same error as before.
Anyone have any other ideas?
- --
dh
Don't shop at GoogleGear.com!
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.1 (GNU/Linux)
iD8DBQE/krVmBwgxlylUsJARAmYPAJ4k/k8mJXOGZ4cBNfUsM/H6jVrhQgCfeXsz
ELCc9KpRE9/4F9+xuAhbmvs=
=XbrA
-----END PGP SIGNATURE-----
-- Check the headers for your unsubscription address For additional commands send e-mail to suse-linux-e-help@suse.com Also check the archives at http://lists.suse.com Please read the FAQs: suse-linux-e-faq@suse.com
- Previous message: David Herman: "Re: [SLE] Python and Pysol [SOLVED}"
- In reply to: David Herman: "Re: [SLE] Python and Pysol [SOLVED}"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|