Open Side Menu Go to the Top
Register
Free, open source poker tracking software: FPDB - (Version 0.40.5) - Nov 14, 2013 Free, open source poker tracking software: FPDB - (Version 0.40.5) - Nov 14, 2013

09-15-2008 , 10:46 PM
I so want this to be a success. Open-source rules! Can't wait to delete by windows partition.

Good work guys. Now if only poker sites made some native linux versions of their software.
Free, open source poker tracking software: FPDB - (Version 0.40.5) - Nov 14, 2013 Quote
09-16-2008 , 01:36 AM
i get libglib-2.0-0.dll not found??

I did this step after the whole installation process though:
Quote:
Originally Posted by Eratosthenes
psycopg2 -- get the one for your version of python, probably 2.5
win32gui (needed for Windows only)
On Windows, you need to add python to your path. On my box the python dir is C:\python25.
anybody can help
Free, open source poker tracking software: FPDB - (Version 0.40.5) - Nov 14, 2013 Quote
09-16-2008 , 01:43 AM
I just wanted to throw out a thank you, got it working with HUD in ubuntu. Will be trying out some other features soon.
Free, open source poker tracking software: FPDB - (Version 0.40.5) - Nov 14, 2013 Quote
09-16-2008 , 01:47 AM
Quote:
Originally Posted by Shininggg
i get libglib-2.0-0.dll not found??
This looks like a problem somewhere in steps 24-27 of the install writeup.

Do you actually have a dir named C:\gtk? Does it have a bunch of files and subdirs in it? Is C:\gtk\bin in your path? On my box that file is in the C:\gtk\bin dir.
Free, open source poker tracking software: FPDB - (Version 0.40.5) - Nov 14, 2013 Quote
09-16-2008 , 08:00 AM
Looks good guys, i've been anxiously "git pull"ing for the last week.

Do you have a plan for where the text HH files will go?

~/.fpdb/HandHistories/username perhaps?
Free, open source poker tracking software: FPDB - (Version 0.40.5) - Nov 14, 2013 Quote
09-16-2008 , 08:04 AM
Quote:
Originally Posted by iSTRONG
I so want this to be a success. Open-source rules! Can't wait to delete by windows partition.

Good work guys. Now if only poker sites made some native linux versions of their software.
Well, whilst we're waiting for the sites to catch up with reality you can use wine to run PokerStars and Full Tilt (almost) flawlessly
Though some sites do run natively in Linux (and Mac for that matter) I've been told, but still require some unnecessary manual labour by the user for setup. I think it involved manually unpacking an exe-jar or jar, not sure, I hardly play any actual poker these days
Free, open source poker tracking software: FPDB - (Version 0.40.5) - Nov 14, 2013 Quote
09-16-2008 , 08:09 AM
Quote:
Originally Posted by sorrow
Looks good guys, i've been anxiously "git pull"ing for the last week.

Do you have a plan for where the text HH files will go?

~/.fpdb/HandHistories/username perhaps?
The default path will probably be that, yes. But before that we'll start storing the raw histories into the DB to allow a "reimport" function, in particular so that people don't have to dig up the (possibly lost) history files after importer bugs are found.
Free, open source poker tracking software: FPDB - (Version 0.40.5) - Nov 14, 2013 Quote
09-16-2008 , 09:49 AM
Ubuntu 804 + Wine + PS + Latest git:

When selecting Auto-import and HUD - set the path to the default stars HH directory.

Traceback (most recent call last):
File "/home/carlos/Projects/fpdb/fpdb/pyfpdb/GuiAutoImport.py", line 91, in startClicked
universal_newlines=True)
File "/usr/lib/python2.5/subprocess.py", line 594, in __init__
errread, errwrite)
File "/usr/lib/python2.5/subprocess.py", line 1147, in _execute_child
raise child_exception
OSError: [Errno 2] No such file or directory
Free, open source poker tracking software: FPDB - (Version 0.40.5) - Nov 14, 2013 Quote
09-16-2008 , 10:24 AM
Quote:
Originally Posted by sorrow
Ubuntu 804 + Wine + PS + Latest git:

When selecting Auto-import and HUD - set the path to the default stars HH directory.

Traceback (most recent call last):
File "/home/carlos/Projects/fpdb/fpdb/pyfpdb/GuiAutoImport.py", line 91, in startClicked
universal_newlines=True)
File "/usr/lib/python2.5/subprocess.py", line 594, in __init__
errread, errwrite)
File "/usr/lib/python2.5/subprocess.py", line 1147, in _execute_child
raise child_exception
OSError: [Errno 2] No such file or directory
What is happening here is that fpdb is trying to start the HUD, but is not pointing at the correct subdirectory, so that the HUD_main.py file is not being found.

I just replicated this bug by starting fpdb from a desktop shortcut. You should get around this if you open your fpdb folder and double click the fpdb icon there. Adding support for desktop shortcuts won't be hard.
Free, open source poker tracking software: FPDB - (Version 0.40.5) - Nov 14, 2013 Quote
09-16-2008 , 10:30 AM
Quote:
Originally Posted by Eratosthenes
What is happening here is that fpdb is trying to start the HUD, but is not pointing at the correct subdirectory, so that the HUD_main.py file is not being found.

I just replicated this bug by starting fpdb from a desktop shortcut. You should get around this if you open your fpdb folder and double click the fpdb icon there. Adding support for desktop shortcuts won't be hard.
Nice catch - I was kicking it off using:
# git pull && python pyfpdb/fpdb.py

Same effect though.
Free, open source poker tracking software: FPDB - (Version 0.40.5) - Nov 14, 2013 Quote
09-16-2008 , 10:45 AM
New one - just copied HUD_config.example.xml to ~/fpdb and renamed

Opened file /home/carlos/.wine/drive_c/Program Files/PokerStars/HandHistory/user/table.txt and connected to MySQL on localhost
stored: 0 duplicates: 30 partial: 0 errors: 0
stored: 0 duplicates: 60 partial: 0 errors: 0
stored: 0 duplicates: 90 partial: 0 errors: 0
stored: 0 duplicates: 120 partial: 0 errors: 0
Traceback (most recent call last):
File "/home/carlos/Projects/fpdb/fpdb/pyfpdb/GuiAutoImport.py", line 60, in do_import
fpdb_import.import_file_dict(self, self.settings, callHud = True)
File "/home/carlos/Projects/fpdb/fpdb/pyfpdb/fpdb_import.py", line 122, in import_file_dict
options.pipe_to_hud.stdin.write("%s" % (handsId) + os.linesep)
IOError: [Errno 32] Broken pipe
Free, open source poker tracking software: FPDB - (Version 0.40.5) - Nov 14, 2013 Quote
09-16-2008 , 10:49 AM
Quote:
Originally Posted by Eratosthenes
This looks like a problem somewhere in steps 24-27 of the install writeup.

Do you actually have a dir named C:\gtk? Does it have a bunch of files and subdirs in it? Is C:\gtk\bin in your path? On my box that file is in the C:\gtk\bin dir.
Got me there Guilty of skipping a step
works ok now
Free, open source poker tracking software: FPDB - (Version 0.40.5) - Nov 14, 2013 Quote
09-16-2008 , 10:52 AM
Just read this thread for the first time since about a week after it was created. Let me see if I have some things straight:

This supports HE, Omaha, O8, Stud High, Stud 8 (?), and Razz with draw support coming soon.

Cash games, STTs, and Tournies are supported.

There is a HUD. Is this configurable or no?

FTP and Stars are supported.

Postgresql is not supported yet, but MySQL is.

There is no installer for windows yet, but there are instructions.

When I say supported above, I understand that this is an alpha.

Questions that are probably answered in the thread or documentation but I did not really see:

Do you support a wide range of statistics (e.g. fold to pf 3bet, fold to 4th street donk)? It looked like originally, the stats you could provide were somewhat limited, but that was more a function of getting something up and an LHE centric perspective.

Actually, that is the main question, because the others like supporting additional sites like Prima don't entail DB changes, so theoretically those additions should not have any real impact on the project (i.e. one would not have to break anything to add them).

Is anyone using netbeans? A quick look suggests that their Python support is still being developed, but may be just fine. I have never used Python, but may play around some with it there is good NetBeans support for the language. I suppose if Eclipse has good python support (does it?) I could go back to that, but I am really loving some of the new features of NetBeans (like reverse engineering to UML).
Free, open source poker tracking software: FPDB - (Version 0.40.5) - Nov 14, 2013 Quote
09-16-2008 , 10:56 AM
Quote:
Originally Posted by sorrow
Nice catch - I was kicking it off using:
# git pull && python pyfpdb/fpdb.py

Same effect though.
Y, right now fpdb expects HUD_main.py to be in the cwd (current working directory).

Quote:
Originally Posted by sorrow
# git pull && python pyfpdb/fpdb.py
This won't work unless you have proper config files already set up. You should not have to do this from root.
Free, open source poker tracking software: FPDB - (Version 0.40.5) - Nov 14, 2013 Quote
09-16-2008 , 11:14 AM
Quote:
Originally Posted by sorrow
New one - just copied HUD_config.example.xml to ~/fpdb and renamed

Opened file /home/carlos/.wine/drive_c/Program Files/PokerStars/HandHistory/user/table.txt and connected to MySQL on localhost
stored: 0 duplicates: 30 partial: 0 errors: 0
stored: 0 duplicates: 60 partial: 0 errors: 0
stored: 0 duplicates: 90 partial: 0 errors: 0
stored: 0 duplicates: 120 partial: 0 errors: 0
Traceback (most recent call last):
File "/home/carlos/Projects/fpdb/fpdb/pyfpdb/GuiAutoImport.py", line 60, in do_import
fpdb_import.import_file_dict(self, self.settings, callHud = True)
File "/home/carlos/Projects/fpdb/fpdb/pyfpdb/fpdb_import.py", line 122, in import_file_dict
options.pipe_to_hud.stdin.write("%s" % (handsId) + os.linesep)
IOError: [Errno 32] Broken pipe
The Broken pipe error indicates that the HUD is not running. You should see screenshot of the HUD main window in the How To? If that window isn't up, then the HUD isn't running.

You need to edit the HUD_config.xml to reference the same database as in your default.conf. That is near the bottom of the HUD_config.xml.
Free, open source poker tracking software: FPDB - (Version 0.40.5) - Nov 14, 2013 Quote
09-16-2008 , 11:31 AM
Quote:
Originally Posted by fnord_too
Just read this thread for the first time since about a week after it was created. Let me see if I have some things straight:

This supports HE, Omaha, O8, Stud High, Stud 8 (?), and Razz with draw support coming soon.
yes, incl Stud8. Soon is a relative term.
Quote:
Cash games, STTs, and Tournies are supported.
Cash games import and HUD just fine. There are some importing problems on STTs and MTTs. The HUD will probably show stats for tournaments, but won't be useful until we do some stat aggregating.
Quote:
There is a HUD. Is this configurable or no?
The HUD is configurable. See the How To. With the current alpha you don't need to edit the xml file to save a layout, just right click on the HUD table window.
Quote:
FTP and Stars are supported.

Postgresql is not supported yet, but MySQL is.
Importing and HUD work for Stars. Only importing works for FTP. MySQL and PostgreSQL are both supported.
Quote:
There is no installer for windows yet, but there are instructions.
Instructions here. The windows install instructions are mildly painful, but several people have gotten through is ok (including me, and I probably know less about windows than anybody here). I think there will be a windows installer fairly soon.
Quote:

Do you support a wide range of statistics (e.g. fold to pf 3bet, fold to 4th street donk)? It looked like originally, the stats you could provide were somewhat limited, but that was more a function of getting something up and an LHE centric perspective.
Stats are limited and are being added a few at a time. The list of current stats in the HUD are at the bottom of the How To.
Quote:
Actually, that is the main question, because the others like supporting additional sites like Prima don't entail DB changes, so theoretically those additions should not have any real impact on the project (i.e. one would not have to break anything to add them).
Adding new sites doesn't break the database. There will usually be a small amount of work to get the HUD to recognize the table windows for the new site. Adding import support for new sites can be painful, depending on their hh format.
Quote:
Is anyone using netbeans? A quick look suggests that their Python support is still being developed, but may be just fine. I have never used Python, but may play around some with it there is good NetBeans support for the language. I suppose if Eclipse has good python support (does it?) I could go back to that, but I am really loving some of the new features of NetBeans (like reverse engineering to UML).
I am not using netbeans. The eclipse support for python, using the pydev plugin, is pretty good.
Free, open source poker tracking software: FPDB - (Version 0.40.5) - Nov 14, 2013 Quote
09-16-2008 , 12:02 PM
Ok, I am going to try to install this sometime this week. I just thought of another questions: Can you import from exported hand histories (e.g. exported from PTO) or just from the original files?
Free, open source poker tracking software: FPDB - (Version 0.40.5) - Nov 14, 2013 Quote
09-16-2008 , 01:07 PM
Quote:
Originally Posted by fnord_too
Ok, I am going to try to install this sometime this week. I just thought of another questions: Can you import from exported hand histories (e.g. exported from PTO) or just from the original files?
I have not tried importing exported hand histories, but I expect that they would not work.
Free, open source poker tracking software: FPDB - (Version 0.40.5) - Nov 14, 2013 Quote
09-16-2008 , 01:10 PM
I would expect the opposite, that they would indeed work. Aside from sites such as ipoker / ongame, where the exported text is IIRC a format of it's own.

Stars exports from PT2 etc. should be no more than a straight copy of the original HH text.
Free, open source poker tracking software: FPDB - (Version 0.40.5) - Nov 14, 2013 Quote
09-16-2008 , 01:31 PM
It turns out where i put the config file in vista was not the problem. The error im getting when i run fpdb from the cmd line is "ImportError: No module named MySQLdb". Does this mean i have to have mysql installed even if i plan on using postgresql?
Free, open source poker tracking software: FPDB - (Version 0.40.5) - Nov 14, 2013 Quote
09-16-2008 , 01:54 PM
Suggestion for the HUD (if you are not already doing it this way, and it does not look like you currently are):

Make the configuration file variable, so one can save multiple configurations (and load from same). Also, I am not sure how you are distinguishing between table types (HU, 6max, 8max, 9max and 10max), but that may be an issue. If you take the suggestion you can just select a configuration (assuming you are not playing multiple table types at once) or you can autodetect and load the selected default for that table (or if you wanted to get really fancy, the selected default for table type and game).

I don't think adding this flexibility should be very hard, since it looks like you are already loading from an XML file, and adding a lookup table for table size and or game type (or just a default selection dialog) should be pretty simple. However, there is a lack of this simple functionality in every HUD out there except Poker Observer, afaik.
Free, open source poker tracking software: FPDB - (Version 0.40.5) - Nov 14, 2013 Quote
09-16-2008 , 02:22 PM
Quote:
Originally Posted by Shininggg
i get libglib-2.0-0.dll not found??

I did this step after the whole installation process though:


anybody can help

Even though it doesn't HAVE to be the source of the quoted error I guess you just need to restart your computer.

Here is what probably happens:

libglib is a part of gtk.
Fpdb is looking for it but can't find it even though gtk is installed.
The reason is that in order for fpdb to SEE gtk your path variable needs to have gtk in it.
The change of the path variable takes effect only after a restart and so the restart should solve the problem.

For all,
restart your computer after you are done with the installation procedure. It NEEDS to be done.
Free, open source poker tracking software: FPDB - (Version 0.40.5) - Nov 14, 2013 Quote
09-16-2008 , 02:49 PM
Quote:
Originally Posted by fnord_too
Suggestion for the HUD (if you are not already doing it this way, and it does not look like you currently are):

Make the configuration file variable, so one can save multiple configurations (and load from same). Also, I am not sure how you are distinguishing between table types (HU, 6max, 8max, 9max and 10max), but that may be an issue. If you take the suggestion you can just select a configuration (assuming you are not playing multiple table types at once) or you can autodetect and load the selected default for that table (or if you wanted to get really fancy, the selected default for table type and game).

I don't think adding this flexibility should be very hard, since it looks like you are already loading from an XML file, and adding a lookup table for table size and or game type (or just a default selection dialog) should be pretty simple. However, there is a lack of this simple functionality in every HUD out there except Poker Observer, afaik.
I am happy to discuss the config file right now because I am getting ready to break it to add more configuration options. Then I want to freeze it so that I can do a nice configuration option screen.

I have tried to allow a reasonable amount of configurability, without getting it all too complicated.

Here is a layout paragraph from the config file:
Code:
<layout fav_seat="0" height="546" max="6" width="792">
     <location seat="1" x="681" y="119"> </location>
     <location seat="2" x="681" y="301"> </location>
     <location seat="3" x="487" y="369"> </location>
     <location seat="4" x="226" y="369"> </location>
     <location seat="5" x="0" y="301"> </location>
     <location seat="6" x="0" y="119"> </location>
</layout>
That is the layout for 6 max tables on PokerStars. There is also layout info for 8, 9, and 10 max tables. There will be similar paragraphs for other poker sites. N.B., the fav_seat, height, and width elements are not used for anything in the current version. I plan to use them later to support favorite seats and resized windows.

Here is what the paragraph looks like that defines the stats:

Code:
<game cols="3" db="fpdb" game_name="omahahilo" rows="2">
     <stat click="tog_decorate" col="0" popup="default" row="0" stat_name="vpip" tip="tip1"> </stat>
     <stat click="tog_decorate" col="1" popup="default" row="0" stat_name="pfr" tip="tip1"> </stat>
      <stat click="tog_decorate" col="2" popup="default" row="0" stat_name="ffreq_1" tip="tip1"> </stat>
     <stat click="tog_decorate" col="0" popup="default" row="1" stat_name="n" tip="tip1"> </stat>
     <stat click="tog_decorate" col="1" popup="default" row="1" stat_name="wtsd" tip="tip1"> </stat>
      <stat click="tog_decorate" col="2" popup="default" row="1" stat_name="wmsd" tip="tip1"> </stat>
</game>
As before there are similar paragraphs for the other games--you can use different stats and different popups for different games. The click and tip elements are not currently used. I have also wired around the db element for now.


So as currently programmed the HUD determines how many seats are at your table and selects the layout for that table. It also detects the game you are playing and adjusts the stats and popups accordingly. If you wanted to have 2 sets of stats and use one for 6-max and one for full ring, that is not supported in the current code.

So I think what you are suggesting is to create stat configurations with arbitrary names that could be easily changed. This is basically what I have done with the popups, you can defind as many of those as you want and tie them to different stats. I have thought about this some in the last few days without actually deciding if that is something I want to work on. But I am happy to have feedback on this design choice.
Free, open source poker tracking software: FPDB - (Version 0.40.5) - Nov 14, 2013 Quote
09-16-2008 , 02:58 PM
That is exactly what I was suggesting. My only other feedback is don't forget about HU tables
Free, open source poker tracking software: FPDB - (Version 0.40.5) - Nov 14, 2013 Quote
09-16-2008 , 03:03 PM
Quote:
Originally Posted by mattgoody
It turns out where i put the config file in vista was not the problem. The error im getting when i run fpdb from the cmd line is "ImportError: No module named MySQLdb". Does this mean i have to have mysql installed even if i plan on using postgresql?
You only need either MySQL or PostgreSQL installed. These are the actual database servers and are large downloads.

You do need both MySQLdb and psycopg2 installed. These are the python interfaces to the databases and are not big downloads or very painful to install. In the current release they both need to be installed. We need to do some surgery so that fpdb/HUD are only looking for the interfaces they actually need.
Free, open source poker tracking software: FPDB - (Version 0.40.5) - Nov 14, 2013 Quote

      
m