Re: [SLE] Python and Pysol [SOLVED}
From: David Herman (mesamoo115_at_comcast.net)
Date: 10/19/03
- Previous message: Alain Barthélemy: "[SLE] Quanta - No more possible to have Design and Source Code on the same screen"
- In reply to: Zach Smith (Linux): "Re: [SLE] Python and Pysol"
- Next in thread: David Herman: "Re: [SLE] Python and Pysol"
- Reply: David Herman: "Re: [SLE] Python and Pysol"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
To: suse-linux-e@suse.com Date: Sun, 19 Oct 2003 08:43:06 -0700
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
On Saturday 18 October 2003 04:09 pm, Zach Smith (Linux) wrote:
> On Sat, 2003-10-18 at 11:20, David Herman wrote:
- -----------snip---------------
> > So would you mind posting your solution? (including the version of
> > pysol and python you ended up using)
> >
> > I kind of miss pysol myself.
> > dh
> 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
> upgrading. The version of Pysol is 4.81. Hope this helps.
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
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.1 (GNU/Linux)
iD8DBQE/krELBwgxlylUsJARAlBxAJ4jrd5MPWctbDwm1vMd+xFJrf8qQwCgj1cl
9n6170yqNBqafToplA563Kk=
=MZVV
-----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: Alain Barthélemy: "[SLE] Quanta - No more possible to have Design and Source Code on the same screen"
- In reply to: Zach Smith (Linux): "Re: [SLE] Python and Pysol"
- Next in thread: David Herman: "Re: [SLE] Python and Pysol"
- Reply: David Herman: "Re: [SLE] Python and Pysol"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|