Can't run PySolFC on Mac

96 views
Skip to first unread message

mojosam

unread,
Dec 14, 2019, 6:07:13 PM12/14/19
to FOSS Card Games
I would like to run PySolFC on my Mac, but I can't get it to run. I am on OS 10.14.6. The current version of Python on my system iis 3.7.

There's a script called setup_osx.py. Looking inside, I see that it wants me to call it via "python setup.py py2app". When I run that, (calling either python or python3), it returns:

usage: setup.py [global_opts] cmd1 [cmd1_opts] [cmd2 [cmd2_opts] ...]
   or: setup.py --help [cmd1 cmd2 ...]
   or: setup.py --help-commands
   or: setup.py cmd --help
error: invalid command 'py2app'

There's also a script called setup.py. When I run that (via "python3 setup.py" or "python setup.py"), it returns:

usage: setup.py [global_opts] cmd1 [cmd1_opts] [cmd2 [cmd2_opts] ...]
   or: setup.py --help [cmd1 cmd2 ...]
   or: setup.py --help-commands
   or: setup.py cmd --help
error: no commands supplied

OK. I'll tell it to install pysol.py (via "python3 setup.py pysol.py" or "python setup.py pysol.py"), it returns:

invalid command name 'pysol.py'

If I just try running pysol.py by itself (via "python3 pysol.py" or "python pysol.py"), it returns:

Traceback (most recent call last):
  File "pysol.py", line 28, in <module>
    init()
  File "/Applications/Games/PySolFC-2.4.0/pysollib/init.py", line 92, in init
    from six.moves import tkinter
ModuleNotFoundError: No module named 'six'

So how can I run this game?

Shlomi Fish

unread,
Dec 15, 2019, 1:28:21 PM12/15/19
to mojosam, FOSS Card Games
Hi!

Please reply to all recipients.

 
So how can I run this game?

You may need to install additional dependencies, and I admit that the macos port has seen some bitrot.

--
You received this message because you are subscribed to the Google Groups "FOSS Card Games" group.
To unsubscribe from this group and stop receiving emails from it, send an email to foss-card-gam...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/foss-card-games/42d6b868-a72d-4067-ba2f-395483a31994%40googlegroups.com.


--
Shlomi Fish http://www.shlomifish.org/

Buddha has the Chuck Norris nature.

Please reply to list if it's a mailing list post - http://shlom.in/reply .

mojosam

unread,
Dec 22, 2019, 11:53:23 PM12/22/19
to FOSS Card Games
OK. I think I installed all of the dependencies it wants.

So when I run "python3 pysol.py", I get the following output in the terminal:

PySolFC: WARNING: b'config file: validation error: section: "general", key: "game_geometry"'
PySolFC: WARNING: b'config file: validation error: section: "general", key: "solver_presets"'
PySolFC: WARNING: b'config file: validation error: section: "general", key: "solver_show_progress"'
PySolFC: WARNING: b'config file: validation error: section: "general", key: "solver_max_iterations"'
PySolFC: WARNING: b'config file: validation error: section: "general", key: "display_win_message"'
PySolFC: WARNING: b'config file: validation error: section: "cardsets", key: "scale_cards"'
PySolFC: WARNING: b'config file: validation error: section: "cardsets", key: "scale_x"'
PySolFC: WARNING: b'config file: validation error: section: "cardsets", key: "scale_y"'
PySolFC: WARNING: b'config file: validation error: section: "cardsets", key: "auto_scale"'
PySolFC: WARNING: b'config file: validation error: section: "cardsets", key: "preserve_aspect_ratio"'

Then a dialog box pops up that says:

No cardsets were found!!!
Main data directory is:
/Applications/Games/PySolFC-2.4.0/data
Please check your PySol installation.

Shlomi Fish

unread,
Dec 26, 2019, 1:51:51 PM12/26/19
to mojosam, FOSS Card Games
Hi Mojosam,

sorry for the late reply.

On Mon, Dec 23, 2019 at 6:53 AM mojosam <dtc23...@liamekaens.com> wrote:
OK. I think I installed all of the dependencies it wants.

So when I run "python3 pysol.py", I get the following output in the terminal:

PySolFC: WARNING: b'config file: validation error: section: "general", key: "game_geometry"'
PySolFC: WARNING: b'config file: validation error: section: "general", key: "solver_presets"'
PySolFC: WARNING: b'config file: validation error: section: "general", key: "solver_show_progress"'
PySolFC: WARNING: b'config file: validation error: section: "general", key: "solver_max_iterations"'
PySolFC: WARNING: b'config file: validation error: section: "general", key: "display_win_message"'
PySolFC: WARNING: b'config file: validation error: section: "cardsets", key: "scale_cards"'
PySolFC: WARNING: b'config file: validation error: section: "cardsets", key: "scale_x"'
PySolFC: WARNING: b'config file: validation error: section: "cardsets", key: "scale_y"'
PySolFC: WARNING: b'config file: validation error: section: "cardsets", key: "auto_scale"'
PySolFC: WARNING: b'config file: validation error: section: "cardsets", key: "preserve_aspect_ratio"'


I'm not getting that with an empty ~/.PySolFC/options.cfg file so try correcting them:
 
Then a dialog box pops up that says:

No cardsets were found!!!
Main data directory is:
/Applications/Games/PySolFC-2.4.0/data
Please check your PySol installation.

--
You received this message because you are subscribed to the Google Groups "FOSS Card Games" group.
To unsubscribe from this group and stop receiving emails from it, send an email to foss-card-gam...@googlegroups.com.

mojosam

unread,
Jan 9, 2020, 3:35:29 PM1/9/20
to FOSS Card Games
Now it's my turn to apologize. I got busy.

It works! So far, at least.

Thanks for your help!
To unsubscribe from this group and stop receiving emails from it, send an email to foss-ca...@googlegroups.com.

Shlomi Fish

unread,
Jan 11, 2020, 1:36:10 PM1/11/20
to mojosam, FOSS Card Games
On Thu, Jan 9, 2020 at 10:35 PM mojosam <dtc23...@liamekaens.com> wrote:
Now it's my turn to apologize. I got busy.

It works! So far, at least.

Thanks for your help!


Thanks for the update, you are welcome, and I'm glad.
 
To unsubscribe from this group and stop receiving emails from it, send an email to foss-card-gam...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/foss-card-games/3b47efaa-655d-4d96-9b3a-5882ac03f5c7%40googlegroups.com.
Reply all
Reply to author
Forward
0 new messages