-
Notifications
You must be signed in to change notification settings - Fork 31
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Python3 port #26
Comments
I've been plugging away at this here and there, and have made good progress. Hand importing works well; tournament summary importing is missing a couple of columns, I'll track that down at some point. I just got the HUD working, though the aux windows don't stay on top (I believe I had this problem a couple of years ago, I'll look through my issues filed on Phil Roberts' repo). I've been testing on Linux (Ubuntu 20.04) with PokerStars play money games, so of course there are plenty of untested code paths, but progress has been pretty stready, you can check my branch out here if you like. |
Hello, |
@EasternSun300 I've made the sqlite path configurable - I use MySQL myself, but I just did some testing and it seems to work. The commit is here. However:
So I have no idea how to package a pre-built app, so my port is only for folks who can set this up without one unless someone steps in. I also haven't heard anything from Chaz since I posted this ticket two weeks ago, so I don't know that there's any point in submitting a Python2 version of this patch. @ChazDazzle lmk if you want one! That said, I'm not going to do any other Python2 backports. fpdb needs to adopt Python 3 or become unusable for a lot of folks (including me and anyone else running the latest Ubuntu). I'm at the point where I'm fixing the old Qt bugs I reported and make sure Pokerstars regression tests pass. After that, fpdb will be working for my purposes. There's no point in making the other improvements you suggest unless I know that someone besides me will even use my version. |
I would use the python3 version. Its going to save alot of time for all the people who would like to use fpdb, since it takes alot of time to find all the packages required for the py2 version. The move mucked was available in fpdb 0.30.X and you their positions were saved in the config. since then its removed. it would be nice to have it back. |
@EasternSun300 That's great to hear - I'll merge the configurable db path into my main branch and if you could test it tomorrow after I do so, that would be great. Please open a separate ticket for the "mucked" issue; I'm going to prioritize my own HUD concerns first, but once that's done we can look at the mucked display. |
@MegaphoneJon I don't need a python 2 version of that but thanks for asking. As you can see i continue to update this repo with changes to accommodate new hand history version and new sites. I do not work on any of the GUI code. Has anyone worked on converting the pokereval code to python 3? That would be required before i'd make the switch. |
@ChazDazzle Thanks for the feedback. |
Yes that's the one. Thanks |
hello MegaphoneJon, your work is very interresting, can you say wich version of python to use? 3.5? |
@jedeopxw I used Python 3.8. Note that while my branch worked fine for me, I didn't succeed in porting pypoker-eval, so while you're free to use my Python3 fork, it isn't going to be upstreamed and I'm not working on it. |
@MegaphoneJon Thank you for your answer. I managed to boot into Py3.9. I will restart a new project (new ui, fix all bugs and deprecated function...) from your sources. |
Is there interest in porting this to Python 3? I've spent a couple of hours doing the basics, and I can reach the main screen. I don't want to invest a lot more time if there's no interest though, let me know thoughts!
The text was updated successfully, but these errors were encountered: