You are not logged in.
Hello forum,
I like solitaire games, so I got pysolfc installed. The recent upgrade on April brought some inconsistency but I found the answer to modify a line , which I can't remember now.
Latest upgrade to python 3.8, also brought another story. The /usr/lib/python3.8/site-packages/pysollib/mfxutil.py has a faulty declaration to call the time.clock, which is deprecated from a long time.
Two line below I found that the declaration is not require since we use a posix OS.
So I resolved the case by change a bit
>> original
146 uclock = time.clock
147 usleeep = time.sleep
148 if os.name == "posix":
149 uclock = time.time
#>> modified to
146 uclock = time.time
147 usleep = time.sleep
148 #if os.name == == "posix":
149 #uclock = time.time
This pretty&dirty solution seems to put a solution and the pysolfc will start again.
I hope the developers will find the time to come to fix these flaws, The game still have many followers
BTW, I'm sorry I don't know how to use diff and create the patch.
do it good first, it will be faster than do it twice the saint
Offline
Someone already reported it, https://bugs.archlinux.org/task/64554 .
Maybe you can post your fix there ?
BTW, I'm sorry I don't know how to use diff and create the patch.
https://wiki.archlinux.org/index.php/Patching_packages has useful info
Disliking systemd intensely, but not satisfied with alternatives so focusing on taming systemd.
clean chroot building not flexible enough ?
Try clean chroot manager by graysky
Offline
Thanks for the quick and dirty fix. It was easy to do and works well. It is surprising that something that simple hasn't been done in the official package.
Pysol is a great little time waster that I've enjoyed for quite a while.
Offline
Someone already reported it, https://bugs.archlinux.org/task/64554 .
Maybe you can post your fix there ?
I've no subscription to that, sorry. You might pass it there, if you're subscribed.
https://wiki.archlinux.org/index.php/Patching_packages has useful info
Rather another step to learn to make/fix a PKGBUILD.
I just thought I may be able. In fact there just 4 lines to diff or use sed.
Anyways I hope the researchers will stumble to this post and get it done in a dance time
do it good first, it will be faster than do it twice the saint
Offline
Thanks for the fix. It works great!
Offline
You'd be a whole lot better off using the upstream patch.
Offline