fah-control icon indicating copy to clipboard operation
fah-control copied to clipboard

auto convert Python 2 to 3 app

Open ProDigit opened this issue 5 years ago • 8 comments

I wonder if the following link is helpful in quick-converting FAHControl from Python 2 to Python 3? Even if it runs with bugs, we at least would have a working control version (or Beta) for a modern Ubuntu/linux. Newer hardware supporting PCIE 4.0 might not be supported anymore on older Linux versions.

https://docs.python.org/2/library/2to3.html

ProDigit avatar Jul 05 '19 04:07 ProDigit

I checked this topic a bit, looks like the whole db connection of this app is based on the https://github.com/lgastako/db which is python2 and not maintained. Feels like porting everything py2 -> py3 it would make more sense to use this project as a template and rewrite from scratch.

tueksta avatar Mar 15 '20 19:03 tueksta

Or just fork https://github.com/lgastako/db and convert py2 to py3 too? Seems more easy than rewrite from scratch? https://github.com/informatorius/db

informatorius avatar Mar 18 '20 09:03 informatorius

Try the beta at https://foldingathome.org/beta/

shorttack avatar Apr 14 '20 18:04 shorttack

Where is the source for beta?

mcandre avatar Apr 18 '20 00:04 mcandre

Googled beta and foldingathome for https://foldingathome.org/beta/

On Fri, Apr 17, 2020, 8:44 PM Andrew [email protected] wrote:

Where is the source for beta?

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/FoldingAtHome/fah-control/issues/39#issuecomment-615523707, or unsubscribe https://github.com/notifications/unsubscribe-auth/ANWV7K4MXPHKC7S53OQJR2TRNDZYFANCNFSM4H6FOR3Q .

jwesterd-redhat avatar Apr 18 '20 01:04 jwesterd-redhat

Hi, I've started porting the controller part by rewrite at https://github.com/henriklindgren/fah-control-2020 just this week, I'm not making any promises but I think I'll get out a version soon enough. The idea is to copy the most of the network code, for the UI I'm trying PySimpleGUI which might have more heart than sense but it runs on tkinter alone and can be made to run over QT and others without too much fuss. Reasoning stated in the README. Hope it interests someone, cheers

Edit: note that this is not the same as https://github.com/FoldingAtHome/fah-control/pull/56 which uses GTK3 directly

henriklindgren avatar Apr 18 '20 21:04 henriklindgren

Will it be possible to be PEP8 compliant? it will help the project be more consistent with other projects of python and easier to read

moshe742 avatar May 16 '20 15:05 moshe742

Packages on the beta site still depend on Python2 which is not available in latest Ubuntu.

DanielJoyce avatar Aug 03 '20 20:08 DanielJoyce