Comments for PySol
08 Jan 2006 22:54
Re: Two Suit Spider for Pysol
> This doesn't seem to work in 4.82.
> Mandriva 2006 beta.
>
> Anybody know why not?
>
> I don't think it likes the suits=(0,2)
> part.
It doesn't work on my machine either. The minimal plugin script that seems to work is:
from gamedb import *
from spider import *
class Spider2suit(Spider):
pass
registerGame(GameInfo(200000, Spider2suit, "Two Suit Spider", GI.GT_SPIDER, 4, 0, suits=(0,2)))
(With the registerGame function all one one line.)
The "gotchas" that I stumbled upon: Classes and functions are not available by default on my system, needing to be imported seperately. Each solitaire game needs evidently to have its own class, thus the introduction of the Spider2suit class.
Ethan
06 Sep 2005 12:00
Re: Two Suit Spider for Pysol
This doesn't seem to work in 4.82. Mandriva 2006 beta.
Anybody know why not?
I don't think it likes the suits=(0,2) part.
09 Mar 2004 18:22
Two Suit Spider for Pysol
Add the following line to the (new) file
~/.pysol/plugins/spider2suit.py
keeping it all to one line, preserving upper and lower case in every word.
(this file location is on a debian based system, other distros this may, but not very likely, vary):
registerGame(GameInfo(200000, Spider, "Two Suit Spider", GI.GT_SPIDER, 4, 0, suits=(0,2)))
I'm tired of WinXP getting all the glory over one silly game!
15 Nov 2003 10:57
Re: Mac OS X
>
> % Has anyone managed to get this
> running
> % on Mac OS X? If so, a link or
> % instructions would be appreciated.
> %
> % THanks.
>
>
> Are you still looking for a way to get
> this to work? I've had it working on OS
> X for ages, but unforunately, I never
> saw this forum until now.
>
> If you are interested, let me know and
> I'll upload a .dmg of the working code,
> plus a diff so you can see what the
> changes are.
I've been trying to run this on Mac OSX 10.3 with no
luck. Python.app was created properly, but when I try
to launch it, the icon pulses in the doc like it's going to
load up, but then just dissapears.
I installed the Tkinter libraries. When I go into the
scripts-2.3 folder (the same area where the Python.app
is), inside it, there is a pysol file. When I type python
pysol (in that directory), I get the following screen (I'm
running as root):
{'errno': None, 'args': ("pysol: DataLoader could not
find ('html/license.html',)",), 'strerror': None, 'filename':
None}
Traceback (most recent call last):
File "pysol", line 126, in ?
sys.exit(main(sys.argv))
File "/System/Library/Frameworks/Python.framework/
Versions/2.3/lib/python2.3/site-packages/Pysol/
main.py", line 515, in main
r = pysol_main(args)
File "/System/Library/Frameworks/Python.framework/
Versions/2.3/lib/python2.3/site-packages/Pysol/
main.py", line 454, in pysol_main
r = pysol_init(app, args)
File "/System/Library/Frameworks/Python.framework/
Versions/2.3/lib/python2.3/site-packages/Pysol/
main.py", line 87, in pysol_init
app.dataloader = DataLoader(args[0], f)
File "/System/Library/Frameworks/Python.framework/
Versions/2.3/lib/python2.3/site-packages/Pysol/util.py",
line 187, in __init__
raise os.error, str(argv0) + ": DataLoader could not
find " + str(filenames)
OSError: pysol: DataLoader could not find ('html/
license.html',)
Any ideas what's happening, or how I could make it
work?
23 Jun 2003 00:08
Re: Mac OS X
> Has anyone managed to get this running
> on Mac OS X? If so, a link or
> instructions would be appreciated.
>
> THanks.
Are you still looking for a way to get this to work? I've had it working on OS X for ages, but unforunately, I never saw this forum until now.
If you are interested, let me know and I'll upload a .dmg of the working code, plus a diff so you can see what the changes are.
01 May 2003 04:14
Thank you!
I must do some work now, but instead of this i'm playing and enjoying your wonderful pictures. I really can't stop! :-)
05 Feb 2003 21:48
Re: Mac OS X
> I tried this, but it is complainging
> about the Tkinter lib, which doesn't
> seem to be part of Fink. Any
> suggestions? Thanks.
Oops, never mind, it hadn't finished installing yet. Now it is complaining about my display name. I tried setting it with a set command, but perhaps it needs something specific, because it is still giving me the error "no display name and no $DISPLAY environment variable." Any ideas?
THanks.
05 Feb 2003 21:43
Re: Mac OS X
I tried this, but it is complainging about the Tkinter lib, which doesn't seem to be part of Fink. Any suggestions? Thanks.
03 Feb 2003 13:18
Re: Mac OS X
> Has anyone managed to get this running
> on Mac OS X? If so, a link or
> instructions would be appreciated.
>
> THanks.
It runs without any problem on my system (10.2.3, Apple's X11 beta, and Fink's Python 2.2). I already had X11 and Python installed when I downloaded pysol, so it was just a matter of extracting to /usr/local, starting an xterm, and running pysol.
New release?
What about a new release?
It's still great and very playable, but I really would enjoy some new games and the plethora of new cool features; and also... Yes! I would like it to fit better in my DE !!
Thanks,
Giancarlo