Skip to content
This repository has been archived by the owner on Apr 4, 2024. It is now read-only.

auto convert Python 2 to 3 app #39

Open
ProDigit opened this issue Jul 5, 2019 · 8 comments
Open

auto convert Python 2 to 3 app #39

ProDigit opened this issue Jul 5, 2019 · 8 comments

Comments

@ProDigit
Copy link

ProDigit commented Jul 5, 2019

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

@tueksta
Copy link

tueksta commented Mar 15, 2020

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.

@informatorius
Copy link
Contributor

informatorius commented Mar 18, 2020

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

@shorttack
Copy link

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

@mcandre
Copy link

mcandre commented Apr 18, 2020

Where is the source for beta?

@jwesterd-redhat
Copy link

jwesterd-redhat commented Apr 18, 2020 via email

@henriklindgren
Copy link

henriklindgren commented Apr 18, 2020

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 #56 which uses GTK3 directly

@moshe742
Copy link

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

@DanielJoyce
Copy link

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

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

9 participants