-
Notifications
You must be signed in to change notification settings - Fork 44
FAHControl on Ubuntu #20
Comments
As a quick fix you could edit |
I've modified the script so that it will explicitly call python2 in future releases. |
I did a git pull and confirmed the edit you described. No luck. The same missing Version error. |
It doesn't work like that. You have to build and install the package. |
ok, gotcha.
I have all of these GTK2 components installed on my system already:
All of them are at the latest versions. They look like they are version 2.14 or newer. If I understand the error, it is actually going off system and looking for a gtk2 package on pypi.python.org/simple - and there isn't one there. I double checked what is on my system already:
I'm not sure what I'm actually missing. |
I just checked in a minor change that allowed the following procedure to work for me. In the
The last command was needed to fix missing dependencies. |
Before "scons package" would work I had to:
However, I'm stuck trying to figure out how RULES_BINARY_ALL_TARGET gets set and what it is supposed to be in this case. I tried a couple of possibilities as an environment variable, but I don't think that is the trick here.
|
The error is in |
I am having this same issue. I'm not quite following your last point however. |
Mr. Coffland, Thanks for your continued work on this project. While I understand that F@H will have to find funds to port FAHControl to Python3 I hope this will happen at some point in the future. I've been writing a Build Guide for Folding at Home on Ubuntu 18.0.4.3 LTS Desktop and have discovered that to get FAHControl working staying in the Ubuntu ecosystem all that is needed is:
|
What needs to be done as far as converting to python 3? Python 2 is no longer included in Ubuntu going forward and the new lts release 20.04 does not and will not have it available. Could the clients web control be modified to have some of the fahcontrol options? It can already write out the config.xml for user details. A way to enable GPU folding on linux via the web control would be nice if fahcontrol isn't likely to get converted to gtk3 and python3. |
because of missing py2 libraries I cannot install it even on 19.10 Python2 end is closer than you think. |
Ubuntu 18.04 is the latest version with python 2 and gtk2 support. 2 more years till end of support. Gtk2 and python2 are no longer developed. The Gnome folks loved to gtk3 to coincide with Gnome Desktop 3. Python has moved to Python version 3 and have officially ended python2 security updates. |
FYI, a new client is in the works that will solve this. |
Will that new client also work on a Linux distro that still has python2 rather than python3? |
Any moderately maintained distribution will have python 3 available in addition to python 2. As they are not directly compatible many distributions package both. Once the python and interface are updated everything should be fine. Though I think the openssl implementation needs to be updated as well. I currently have to install an extra compatibility version for it to work. |
I think your assumption of "moderately maintained" is a weak one. They distribute LTS versions for a reason ... and that means we can expect systems which are not "moderately maintained" at least until Ubuntu announces that the LTS version is no longer supported. |
Bruce, Python3 is not new and goes back to Ubuntu 16.04 . It is widely available and Ubuntu is just an easy example. |
At this point, Python 2 has officially been depreciated. Are there any plans to support Python 3 in the future? I am running Ubuntu 19.10 and am currently unable to install fah-control due to the "python-gnome2" package requirement. |
Of course, but we try to maintain backward compatibility, the issue is more complex than requiring everybody running a stable (and maybe long-term compatible) OS A new client is being worked on, but there's no ETA. |
@jcoffland Do you know who can update the documentation here: https://foldingathome.org/support/faq/installation-guides/linux/? It still points to fah-control that cannot be installed; that's probably why there's been recent activity on this issue. |
Trying to run
This is on Fedora 31, freshly |
@eiglow Not an answer to your exact question, but it may still help - I'm on Fedora 31 and after changing the first line of |
I'm one of the people showing up to say "yup, doesn't work." The docs mentioned above still claim installing this package will work, and alas that's no longer the case. What's particularly interesting for me is that I'm running Ubuntu 16.04.6 with system default Python 2.7.12 and it still blows up for me.
An update to the documentation seems wise at this point. The above suggestion of updating the shebang to call python2 directly didn't work for me, as system python is already python 2.7. |
@fenixnet-net Sorry for being unclear, I posted it as a personally tested workaround that specifically targets Fedora 31. I didn't mean it to be any more ambitious than that :-) |
See also #56 |
@jcoffland Can you share a bit more detail on this? Is it a new gtk based client, a rewrite in another cross platfrom native toolkit or fah-web-client? |
Try the Linux beta at https://foldingathome.org/beta/ and report success or failure here, please. |
I tried installing the beta client, but it still requires the package python-gnome2 which isn't available through the Debian apt repositories on amd64 Debian 10 (buster). |
@shorttack tried the beta 7.6.8 RPMs on Fedora 31. FAHControl works properly after I manually switch the hashbang to python2, otherwise it won't start. I appreciate the new option to get COVID-19 work units only. Also looking forward to the goodness from #56 :-) |
@Nindaleth We do have rpms and debs for PR #70, which is definitely a work in progress. It is what I've used to do the beta testing for FAHClient from Ubuntu 20.04 when I needed FAHControl to see what was going on. Especially handy if you're an early adopter of Ubuntu 20.04. |
I tried to run the prerelease 7.7.0 client on Ubuntu 20.04 and it worked well after a first start for a while, but now if I try to start it this error message is shown:
|
@e-alfred I can replicate that problem when FAHControl is already running (or thinks it is already running). Have you tried |
@cdberkstresser Thanks, this worked, another problem is the missing application launcher in Ubuntu 20.04 at least. |
I confirm the launcher absence on Fedora 31, too. |
I too have bumped into a dead end, Ubuntu 18.04 LTS, with the latest beta version from https://foldingathome.org/beta/:
This completes no problem, but I get the
|
Beta client is working for me on Ubuntu 20.04. Maybe someone needs my quick'n'dirty desktop-file for FAHControl, feel free to copy and paste it to
|
Using this #20 (comment) and this #20 (comment) and using the current official release of fahclient_7.6.13_amd64.deb and fahviewer_7.6.13_amd64.deb, everything is working well for me. (Except for my Radeon VII not being detected as a target, but that's a whole other issue -- Not in scope of this discussion.) |
Maybe I'm missing something but fahcontrol_7.6.13 still won't install on Ubuntu 20.04:
And the packages in question are nowhere to be found:
|
I found this fix for installing the latest package installer version of folding@home [currently fahcontrol_7.6.13-1_all.deb from https://foldingathome.org] on Ubuntu-Studio 20.04, which previously failed to install only the web control package [the viewer and client packages installed OK, though] due to missing dependencies: https://www.reddit.com/r/Folding/comments/g87e3s/solution_to_fahcontrol_issues_in_ubuntu_2004/ It might help someone else who is having similar issues as I did. It might also help with other installation issues? |
Thanks @XYchromosone I had done something like this a few months ago but my client stopped working after a 'tidy up' of old packages and the info in the link got me straight back to folding. (Ubuntu 20.04 Kernel 5.7.4) |
@FreeTheSmoke Unusually, although the f@hcontrol installed after following the above, it would not run properly. I ran it overnight in Ubuntu-Studio 20.04 and did not gain any working points, although the web control panel was saying it was connected and folding [set to "While I'm working]? However, running F@H in Windows it runs fine and my points increase as it should. So I don't know why it's not doing the same in Ubuntu-Studio 20.04? Hoping someone can help. |
@FreeTheSmoke glad it got you up and running. I just can not seem to get any folding happening via web control. although everything seems to have installed ok with F@H viewer, control and client. Hoe are you running F@H CLI or web control? Do you have any tips to get F@H to begin folding on ubuntu 20.04? Anyone? Big TIA for nay help guys |
You mentioned CLI and web control, but are you aware that this has a GUI too? I think thats the easiest option. I have 2 machines set up on my home network, I use FAHControl so I can control both instances from whichever machine I am presently on. Although I spent considerable time setting up all the ports and firewall stuff I could only ever get web control to work for the local instance. Regarding the points: New installs seem to default to "anonymous" user so you need to enter your username, passkey, and (optionally) your team number to get the credit. |
|
@FreeTheSmoke if you mean the web interface as the GUI for f@h on Ubuntu 20.04 then I am using this feature to try and get any folding started, but without any success so far. It just appears to be stalled. I'm using a username and a team number for team fahEVGA everything installed correctly in both Windows 10 x64 and ubuntu-studio 20.04 x64. Windows version has been working fine, though. I'll keep perseverance and hopefully get this problem resolved. As always any help is appreciated by all of you kind and generous folks |
EOL has been ten years coming, and people still haven't ported to python 3. I was gonna run this, but no progress has been made. Even after two-three years of EOL warnings. :/ |
It is really a shame that this could not be done yet! Especially looking at the hugely increased number of folders since last year. |
Guys - there are 2 separate PRs open for migrating to Python 3.x and GTK3 - any chance you could ... you know, have a look at them and maybe merge one? I hope it's pretty obvious why I am asking this. |
It's frustrating that this issue has been almost 5 years but still no official update on it, Ubuntu 22.04 is coming now 😅 |
It's frustrating that anyone moving to Ubuntu now won't be able to use FAH without manually installing deprecated py2 dependencies. Hope there's movement on this issue sometime soon. |
The RHEL 8 AppStream Lifecycle Page puts the end date of RHEL 8's Python
2.7 package at June 2024.
John Westerdale
…On Thu, Jan 5, 2023 at 9:50 PM Jonathan Glassey ***@***.***> wrote:
It's frustrating that anyone moving to Ubuntu now won't be able to use FAH
without manually installing deprecated py2 dependencies. Hope there's
movement on this issue sometime soon.
—
Reply to this email directly, view it on GitHub
<#20 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ANWV7K5E6BMBFUBCND65LBDWQ6B5FANCNFSM4EJP34LA>
.
You are receiving this because you are subscribed to this thread.Message
ID: ***@***.***>
|
I tried installing the debian package from the folding at home site first. I'm running Ubuntu 17.10. Unfortunately it complains about missing the python-support package, which hasn't been a part of Ubuntu for at least 2 1/2 years and will never come back. Searching, I found several other people who ran into this issue when 16.04 first came out. I haven't found any workarounds for the 2017 versions of Ubuntu.
So next I thought I'd try running it from this repo. I installed the required python packages listed in the Read.me, and after cloning, tried this:
The above error is when I use Python 2.
If I try it with python3 I get a different error that highlights this is definitely old python version 2 code and that python3 is not what I'm supposed to be using.
So the next thing to try was to build it:
That looked like it worked ok. However, I get the same "Version" error when I cd into build/scripts-2.7 and try to run the FAHControl that the build script dropped in there.
There is no Version.py.
I noticed that setup.py references it too, but only if version.txt is missing... (which it is). So I'm somewhat surprised the build script didn't complain.
I'd like to run FAHControl on my Ubuntu systems. I have two of them with very new, very nice GPU boards and a bunch of the latest cores and ram. I'd rather do FAH than bitcoin mining or SETI processing, but getting this piece to work is not so obvious. The client appears to be running ok.
Any suggestions?
The text was updated successfully, but these errors were encountered: