LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 11-12-2019, 06:31 PM   #1
TSquaredF
Member
 
Registered: Dec 2005
Location: "The South Coast of Texas"
Distribution: Slackware64-current
Posts: 564

Rep: Reputation: Disabled
PySolFC will build, but not run


Today I caused a minor upset on my machine & had to reinstall a couple of packages. The other programs repackaged, installed & worked fine, but PySolFC did not. The package built & installed OK, but when I try to run it, I get:
Code:
Traceback (most recent call last):
File "/usr/bin/pysol.py", line 37, in <module>
from pysollib.main import main  # noqa: E402
File "/usr/lib64/python2.7/site-packages/pysollib/main.py", line 32, in <module>
from pysollib.util import DataLoader
File "/usr/lib64/python2.7/site-packages/pysollib/util.py", line 30, in <module>
from pysollib.mfxutil import Image
File "/usr/lib64/python2.7/site-packages/pysollib/mfxutil.py", line 54, in <module>
if TOOLKIT == 'tk' and Image and Image.VERSION >= '1.1.7':
AttributeError: 'module' object has no attribute 'VERSION'
Not being a python programmer, I have no idea what I am being told here. Can someone help me out?
Thanks,
Bill
 
Old 11-12-2019, 07:21 PM   #2
TheRealGrogan
Member
 
Registered: Oct 2010
Location: Ontario, Canada
Distribution: Slackware, LFS, Manjaro (for gaming)
Posts: 570

Rep: Reputation: 413Reputation: 413Reputation: 413Reputation: 413Reputation: 413
Yes, this should fix that issue:

https://github.com/shlomif/PySolFC/c...8f4fb4bb86da18

It's just a few lines, you can change it manually according to - and + lines in the diff. Just find the installed mfxutil.py and tktile/tkutil.py files and edit them.

Last edited by TheRealGrogan; 11-12-2019 at 07:23 PM.
 
3 members found this post helpful.
Old 11-12-2019, 09:28 PM   #3
TSquaredF
Member
 
Registered: Dec 2005
Location: "The South Coast of Texas"
Distribution: Slackware64-current
Posts: 564

Original Poster
Rep: Reputation: Disabled
Thanks a lot, Grogan. This worked perfectly. Don't know what I'd do without the "mindless timewaster" solitaire.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Configure pysolfc initial window position? catkin Linux - Software 4 10-02-2020 02:02 AM
[SOLVED] Linux 4.4 seems to refuse to build IPv6 for the 64-bit build - 32-bit build works fine GameCodingNinja Linux From Scratch 2 02-07-2016 06:40 PM
[SOLVED] new python-pillow-2.7.0 and PySolFC-2.0 Toutatis Slackware 2 04-23-2015 09:57 AM
[SOLVED] Install pysolfc.tar.gz Ztcoracat Slackware 28 02-24-2015 02:11 PM
LXer: Build 'em Right, Build 'em Strong, Build 'em Linux LXer Syndicated Linux News 0 10-01-2007 09:51 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 01:57 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration