Skip to main content
Topic solved
This topic has been marked as solved and requires no further attention.
Topic: Pysol won't run (Read 1293 times) previous topic - next topic
0 Members and 1 Guest are viewing this topic.

Pysol won't run

After my last computer dies on me, and having got a newer computer (a Packard Bell(end)). I have had to re-install Artix on the newer computer using the latest iso.

One app I installed as a game called Pysol, however when trying to run this app I get the following message.
Code: [Select]
Traceback (most recent call last):
  File "/usr/bin/pysol", line 28, in <module>
    init()
  File "/usr/lib/python3.7/site-packages/pysollib/init.py", line 92, in init
    from six.moves import tkinter
ModuleNotFoundError: No module named 'six'

Any help would be appreciated.

Thank you.


Re: Pysol won't run

Reply #2
Thanks for the suggestion but still won't run.

Code: [Select]
Traceback (most recent call last):
  File "/usr/bin/pysol", line 28, in <module>
    init()
  File "/usr/lib/python3.7/site-packages/pysollib/init.py", line 93, in init
    root = tkinter.Tk(className=pysollib.settings.TITLE)
  File "/usr/lib/python3.7/tkinter/__init__.py", line 2023, in __init__
    self.tk = _tkinter.create(screenName, baseName, className, interactive, wantobjects, useTk, sync, use)
_tkinter.TclError: unknown color name "BACKGROUND"

Re: Pysol won't run

Reply #3
Read the error messages. They are helpful. The relevant line in your case is:

Code: [Select]
_tkinter.TclError: unknown color name "BACKGROUND"

This could be a wide variety of things. Make sure that you have all the dependencies required for Pysol installed and that you are using the correct python version (i.e. 2 or 3). If all that is good, and you are still getting that message, then it's probably something upstream and you should send them a bug report.

Re: Pysol won't run

Reply #4
This is a TCL/Tk error; the background color is expected to be read from some environment variable or config file (useful for working right in both light and dark themes), which fails.

See this and this for a possible solution.

Re: Pysol won't run

Reply #5
Pysolfc has now been updated and works. Thank you Arch