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

12-23-2008 , 10:54 AM
Same. I realise that there's a guide on http://fpdb.****************/docs-install-windows.php, but I must be doing something wrong during the installation of mysql. It sounds like a wonderful project.
Free, open source poker tracking software: FPDB - (Version 0.40.5) - Nov 14, 2013 Quote
12-24-2008 , 04:42 AM
Quote:
Originally Posted by Eratosthenes
There is a problem in my git repo. I am also getting a crash of the HUD process when I close a HUD and I have a regression on import bug I fixed a month ago (this only affects stud, so I'm probably the only dev who would see it.)
Eratosthenes, I’m up to date with your repository but this bug is still appearing. When I start to close the tables at the end of a session this causes the HUD to crash with the error message from X which I quoted earlier.
Free, open source poker tracking software: FPDB - (Version 0.40.5) - Nov 14, 2013 Quote
12-24-2008 , 05:15 AM
Quote:
Originally Posted by Eleatic Stranger
Eratosthenes, I’m up to date with your repository but this bug is still appearing. When I start to close the tables at the end of a session this causes the HUD to crash with the error message from X which I quoted earlier.
I can confirm this - I saw it for the first time today since the stat tracking code was removed.
Free, open source poker tracking software: FPDB - (Version 0.40.5) - Nov 14, 2013 Quote
12-25-2008 , 06:33 AM
Quote:
Originally Posted by UniqueFreak
I'm not going to pretend like I know what I'm going about and this might sound silly, but if it is something to do with vista......
I know alot of programs (tournament shark etc) will only run if you "run as administrator". You must do this for the program and for the poker client you are using.
You normally right click them, then run as administrator, but you cannot do this with fpdb as it is a file you are clicking on. Could this be anything to do with it maybe?

Also I tried what mostlyb recommended and cleared the HH folder and tried the auto-import. This still didnt work for me

Any ideas what I can try now? (if you need me to copy and paste anything just ask)
try creating a batch file, like ...

RunFPDB.BAT:

cd \whereve\you\put\fpdb
python fpdb.py

then throw it on your desktop or somewhere, and set it to run as admin.
Free, open source poker tracking software: FPDB - (Version 0.40.5) - Nov 14, 2013 Quote
12-25-2008 , 06:38 AM
eleatic/sorrow:

if you kill the hud window, before killing the table, does this still happen? the hud update() call is still making a call to reposition windows to updated table positions, it's just not set to trigger every half second, like in windows .. so, if there's still a hand left to import, between the time you close the table, and the time you close the hud, and it imports it, then it would trigger the same code causing the x-error when the tracking was happening more consistently.

Anyone know how to trap an X error? Without this knowledge, re-writing the HUD to use GtkPlug might possibly be the only way to safely deal with this problem.
Free, open source poker tracking software: FPDB - (Version 0.40.5) - Nov 14, 2013 Quote
12-25-2008 , 08:32 AM
Hi, I just managed to get fpdb to run on Ubuntu - but I cannot import or see the HUD. If I try bulk import, select my Pokerstars HH folder and click "Import" at the bottom of the pane I get no response. Similarly if I start AutoImport the only response I get is that the big "Start AutoImport" button changes to "Stop AutoImport", but nothing else changes and I get no indication that files are importing. Also when I click "Stop AutoImport" nothing happens and the button remains as "Stop AutoImport". Naturally no HUD shows up.

Can anyone help me with this? Please let me know what other information you need.

PS: Great project by the way. Poker is last reason I still have Windows installed. I can't wait to get this working.
Free, open source poker tracking software: FPDB - (Version 0.40.5) - Nov 14, 2013 Quote
12-25-2008 , 08:38 AM
I forgot to mention that I am running the latest version from Eratosthenes' repo. The alpha 9 from sourceforge would not run, but this one did on my first try so I stuck with it.
Free, open source poker tracking software: FPDB - (Version 0.40.5) - Nov 14, 2013 Quote
12-25-2008 , 08:58 AM
Quote:
Originally Posted by willyc
Hi, I just managed to get fpdb to run on Ubuntu - but I cannot import or see the HUD. If I try bulk import, select my Pokerstars HH folder and click "Import" at the bottom of the pane I get no response.
Are you running in console mode? Have you got any error messages in fpdb-error-log.txt or HUD-error.txt that look interesting?

The bulk import won't work if there is a subdirectory in the folder your trying to import.
Quote:
Originally Posted by willyc
Similarly if I start AutoImport the only response I get is that the big "Start AutoImport" button changes to "Stop AutoImport", but nothing else changes and I get no indication that files are importing. Also when I click "Stop AutoImport" nothing happens and the button remains as "Stop AutoImport". Naturally no HUD shows up.
I think this still has a bug or two in it.

Are you trying to auto-import Stars or Full Tilt? I assume you've got the HH folder correct.
Quote:
Originally Posted by willyc
Can anyone help me with this? Please let me know what other information you need.

PS: Great project by the way. Poker is last reason I still have Windows installed. I can't wait to get this working.
Good to know
Free, open source poker tracking software: FPDB - (Version 0.40.5) - Nov 14, 2013 Quote
12-25-2008 , 10:12 AM
Quote:
Originally Posted by sorrow
Are you running in console mode? Have you got any error messages in fpdb-error-log.txt or HUD-error.txt that look interesting?
Here's my fpdb error log:

/usr/lib/python2.5/site-packages/pytz/__init__.py:29: UserWarning: Module _mysql was already imported from /var/lib/python-support/python2.5/_mysql.so, but /var/lib/python-support/python2.5 is being added to sys.path
from pkg_resources import resource_stream
fpdb.py:243: DeprecationWarning: use gtk.UIManager
self.item_factory = gtk.ItemFactory(gtk.MenuBar, "<main>", accel_group)
Traceback (most recent call last):
File "/home/<username>/fpdb/pyfpdb/GuiAutoImport.py", line 139, 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 1153, in _execute_child
raise child_exception
OSError: [Errno 2] No such file or directory

(I edited out my login name for privacy)

No HUD log error log was generated, and there doesn't seem to be any interesting output in the terminal.

Quote:
The bulk import won't work if there is a subdirectory in the folder your trying to import.
I am importing from my Stars HandHistory/username directory which has no subdirs.

Thanks for your help.
Free, open source poker tracking software: FPDB - (Version 0.40.5) - Nov 14, 2013 Quote
12-25-2008 , 10:43 AM
Quote:
Originally Posted by willyc
File "/home/<username>/fpdb/pyfpdb/GuiAutoImport.py", line 139, 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 1153, in _execute_child
raise child_exception
OSError: [Errno 2] No such file or directory
Is HUD_main.py executable? chmod +x HUD_main.py if not.
Free, open source poker tracking software: FPDB - (Version 0.40.5) - Nov 14, 2013 Quote
12-25-2008 , 11:16 AM
Quote:
Originally Posted by sorrow
Is HUD_main.py executable? chmod +x HUD_main.py if not.
It seemed to be executable by I chmodded anyway. I don't think that was the problem.

It seems that my hands did import. I just assumed they didn't because there was no feedback saying import had worked. Maybe there was but it went away too fast because I was only importing 50 hands. I can now see stats and my graph.

However there is still no sign of HUD. It's supposed to start when I click the Start AutoImport button, right? I have been playing for a lot of hands at the same table so it should have showed up long ago. Any idea what to try next?
Free, open source poker tracking software: FPDB - (Version 0.40.5) - Nov 14, 2013 Quote
12-25-2008 , 11:51 AM
Quote:
Originally Posted by willyc
It seems that my hands did import. I just assumed they didn't because there was no feedback saying import had worked. Maybe there was but it went away too fast because I was only importing 50 hands. I can now see stats and my graph.
It does, but most of it is written to the console.
Quote:
Originally Posted by willyc
However there is still no sign of HUD. It's supposed to start when I click the Start AutoImport button, right? I have been playing for a lot of hands at the same table so it should have showed up long ago. Any idea what to try next?
In the console you should see something like:
GuiAutoImport.import_dir done
GuiAutoImport.import_dir done
Total stored: 1 duplicates: 0 partial: 0 errors: 0 time: 0.24743103981
GuiAutoImport.import_dir done

While the table is up type python Tables.py and see what you get.

Also how are you starting fpdb? python pyfpdb/fpdb.py or similar? Try starting it from the same directory as fpdb.py
Free, open source poker tracking software: FPDB - (Version 0.40.5) - Nov 14, 2013 Quote
12-25-2008 , 12:08 PM
Quote:
Originally Posted by sorrow
It does, but most of it is written to the console.


In the console you should see something like:
GuiAutoImport.import_dir done
GuiAutoImport.import_dir done
Total stored: 1 duplicates: 0 partial: 0 errors: 0 time: 0.24743103981
GuiAutoImport.import_dir done
It looks like my imports came from bulk import. I can't see any indication of auto imported hands in the console output, even though my auto import was supposedly running while I was playing hands:

Code:
Note: error output is being diverted to fpdb-error-log.txt and HUD-error.txt. Any major error will be reported there _only_.
Reading configuration file /home/USERNAME/.fpdb/HUD_config.xml

initialised new bulk import thread (not actually a thread yet)
Either 0 or more than one site matched - EEK
True
self.sites[PokerStars] set to True
Graph generated in: 0.00205302238464
Import parameters
{'hhArchiveBase': '', 'interval': u'10', 'callFpdbHud': u'True'}
Either 0 or more than one site matched - EEK
Graph generated in: 0.00120091438293
Graph generated in: 0.00112509727478
initialised new bulk import thread (not actually a thread yet)
Graph generated in: 0.0011351108551
Graph generated in: 0.00204682350159
Graph generated in: 0.00113081932068
Graph generated in: 0.00111198425293
Graph generated in: 0.000694990158081
initialised new bulk import thread (not actually a thread yet)
preparebulk: cons= ('Hands_ibfk_1',)
dropping mysql fk Hands_ibfk_1 Hands gametypeId
preparebulk: cons= ('HandsPlayers_ibfk_4',)
dropping mysql fk HandsPlayers_ibfk_4 HandsPlayers handId
preparebulk: cons= ('HandsPlayers_ibfk_5',)
dropping mysql fk HandsPlayers_ibfk_5 HandsPlayers playerId
preparebulk: cons= ('HandsActions_ibfk_1',)
dropping mysql fk HandsActions_ibfk_1 HandsActions handPlayerId
preparebulk: cons= ('HudCache_ibfk_3',)
dropping mysql fk HudCache_ibfk_3 HudCache gametypeId
preparebulk: cons= ('HudCache_ibfk_4',)
dropping mysql fk HudCache_ibfk_4 HudCache tourneyTypeId
Total stored: 9 duplicates: 0 partial: 0 errors: 0  time: 0.197410106659
afterbulk: cons= None
creating fk  Hands gametypeId -> Gametypes id
afterbulk: cons= None
creating fk  HandsPlayers handId -> Hands id
afterbulk: cons= None
creating fk  HandsPlayers playerId -> Players id
afterbulk: cons= None
creating fk  HandsActions handPlayerId -> HandsPlayers id
afterbulk: cons= None
creating fk  HudCache gametypeId -> Gametypes id
afterbulk: cons= None
creating fk  HudCache tourneyTypeId -> TourneyTypes id
preparebulk: cons= ('Hands_ibfk_1',)
dropping mysql fk Hands_ibfk_1 Hands gametypeId
preparebulk: cons= ('HandsPlayers_ibfk_4',)
dropping mysql fk HandsPlayers_ibfk_4 HandsPlayers handId
preparebulk: cons= ('HandsPlayers_ibfk_5',)
dropping mysql fk HandsPlayers_ibfk_5 HandsPlayers playerId
preparebulk: cons= ('HandsActions_ibfk_1',)
dropping mysql fk HandsActions_ibfk_1 HandsActions handPlayerId
preparebulk: cons= ('HudCache_ibfk_3',)
dropping mysql fk HudCache_ibfk_3 HudCache gametypeId
preparebulk: cons= ('HudCache_ibfk_4',)
dropping mysql fk HudCache_ibfk_4 HudCache tourneyTypeId
Total stored: 0 duplicates: 39 partial: 0 errors: 0  time: 0.0577480792999
afterbulk: cons= None
creating fk  Hands gametypeId -> Gametypes id
afterbulk: cons= None
creating fk  HandsPlayers handId -> Hands id
afterbulk: cons= None
creating fk  HandsPlayers playerId -> Players id
afterbulk: cons= None
creating fk  HandsActions handPlayerId -> HandsPlayers id
afterbulk: cons= None
creating fk  HudCache gametypeId -> Gametypes id
afterbulk: cons= None
creating fk  HudCache tourneyTypeId -> TourneyTypes id
preparebulk: cons= ('Hands_ibfk_1',)
dropping mysql fk Hands_ibfk_1 Hands gametypeId
preparebulk: cons= ('HandsPlayers_ibfk_4',)
dropping mysql fk HandsPlayers_ibfk_4 HandsPlayers handId
preparebulk: cons= ('HandsPlayers_ibfk_5',)
dropping mysql fk HandsPlayers_ibfk_5 HandsPlayers playerId
preparebulk: cons= ('HandsActions_ibfk_1',)
dropping mysql fk HandsActions_ibfk_1 HandsActions handPlayerId
preparebulk: cons= ('HudCache_ibfk_3',)
dropping mysql fk HudCache_ibfk_3 HudCache gametypeId
preparebulk: cons= ('HudCache_ibfk_4',)
dropping mysql fk HudCache_ibfk_4 HudCache tourneyTypeId
Total stored: 34 duplicates: 0 partial: 0 errors: 0  time: 0.918486118317
afterbulk: cons= None
creating fk  Hands gametypeId -> Gametypes id
afterbulk: cons= None
creating fk  HandsPlayers handId -> Hands id
afterbulk: cons= None
creating fk  HandsPlayers playerId -> Players id
afterbulk: cons= None
creating fk  HandsActions handPlayerId -> HandsPlayers id
afterbulk: cons= None
creating fk  HudCache gametypeId -> Gametypes id
afterbulk: cons= None
creating fk  HudCache tourneyTypeId -> TourneyTypes id
preparebulk: cons= ('Hands_ibfk_1',)
dropping mysql fk Hands_ibfk_1 Hands gametypeId
preparebulk: cons= ('HandsPlayers_ibfk_4',)
dropping mysql fk HandsPlayers_ibfk_4 HandsPlayers handId
preparebulk: cons= ('HandsPlayers_ibfk_5',)
dropping mysql fk HandsPlayers_ibfk_5 HandsPlayers playerId
preparebulk: cons= ('HandsActions_ibfk_1',)
dropping mysql fk HandsActions_ibfk_1 HandsActions handPlayerId
preparebulk: cons= ('HudCache_ibfk_3',)
dropping mysql fk HudCache_ibfk_3 HudCache gametypeId
preparebulk: cons= ('HudCache_ibfk_4',)
dropping mysql fk HudCache_ibfk_4 HudCache tourneyTypeId
Total stored: 0 duplicates: 10 partial: 0 errors: 0  time: 0.0177459716797
afterbulk: cons= None
creating fk  Hands gametypeId -> Gametypes id
afterbulk: cons= None
creating fk  HandsPlayers handId -> Hands id
afterbulk: cons= None
creating fk  HandsPlayers playerId -> Players id
afterbulk: cons= None
creating fk  HandsActions handPlayerId -> HandsPlayers id
afterbulk: cons= None
creating fk  HudCache gametypeId -> Gametypes id
afterbulk: cons= None
creating fk  HudCache tourneyTypeId -> TourneyTypes id
Graph generated in: 0.00367498397827
Graph generated in: 0.00372695922852
Graph generated in: 0.00371384620667
Graph generated in: 0.00332307815552
Graph generated in: 0.00216603279114
Graph generated in: 0.00341606140137
Import parameters
{'hhArchiveBase': '', 'interval': u'10', 'callFpdbHud': u'True'}
Graph generated in: 0.00342297554016
Graph generated in: 0.00320506095886
Graph generated in: 0.00334596633911
Graph generated in: 0.00194001197815
Graph generated in: 0.00356292724609
True
self.sites[Full Tilt] set to True
False
self.sites[PokerStars] set to False
False
self.sites[Full Tilt] set to False
True
self.sites[PokerStars] set to True
Graph generated in: 0.00222396850586
Graph generated in: 0.0107359886169
Quote:
While the table is up type python Tables.py and see what you get.
I get an error:

Reading configuration file /home/<username>/.fpdb/HUD_config.xml

Traceback (most recent call last):
File "Tables.py", line 372, in <module>
print discover_table_by_name(c, "Ringe")
File "Tables.py", line 107, in discover_table_by_name
return Table_Window(info)
File "Tables.py", line 61, in __init__
if info.has_key('number'): self.number = info['number']
AttributeError: 'bool' object has no attribute 'has_key'

Quote:
Also how are you starting fpdb? python pyfpdb/fpdb.py or similar? Try starting it from the same directory as fpdb.py
I am starting it from its directory, ie cd ~/fpdb/pyfpdb then python fpdb.py

Last edited by _dave_; 03-15-2009 at 04:04 PM.
Free, open source poker tracking software: FPDB - (Version 0.40.5) - Nov 14, 2013 Quote
12-25-2008 , 12:15 PM
OK, I just determined that bulk import only works for individual files. When I try to bulk import my handhistory/username directory nothing happens, but when I go in the directory and import individual hand history files the import succeeds. I can tell because my graph updated in the latter case.
Free, open source poker tracking software: FPDB - (Version 0.40.5) - Nov 14, 2013 Quote
12-27-2008 , 11:05 AM
Quote:
Originally Posted by xaiviax
New random bug: Something that happens quite frequently: (40% or so of the time) When Hud first appears, many (1 to 6 or so) stats are misplaced in the upperleft of table. If I close fpdb and restart it, the stats usually then all appear in correct positions.
This mysterious bug disappeared a few versions ago, but has turned up again; I have started seeing it. I haven’t actually tried the trick of restarting Fpdb. But I’ve solved the problem by hacking the code (though without any insight into what the root cause might be): see below.

Quote:
Originally Posted by Eratosthenes
Everybody gets this except me! You can also right click on the HUD window for the table and select relocate stat windows (or something like that) and they should be located to the correct spots.
I wonder why you’re not getting it. I find it sufficient to open 8-10 cash tables; it almost always happens (though not on every table).

Regarding your solution: The code for relocating the windows (reposition_windows in Hud.py) has changed and no longer helps. The wrongly placed windows stay obstinately put. (The code calls update_table_position; but the problem has nothing to do with the table’s having moved.) Accordingly, I’ve changed it back in my version to read

Code:
    def reposition_windows(self, *args):
        for w in self.stat_windows:
            self.stat_windows[w].window.move(self.stat_windows[w].x,
                                             self.stat_windows[w].y)
        return True
and the problem has vanished. This function is called automatically when a new stat window is created, so the bug does not even appear.

The following refers to a different bug:

Quote:
Originally Posted by ekdikeo
eleatic/sorrow:

if you kill the hud window, before killing the table, does this still happen? the hud update() call is still making a call to reposition windows to updated table positions, it's just not set to trigger every half second, like in windows .. so, if there's still a hand left to import, between the time you close the table, and the time you close the hud, and it imports it, then it would trigger the same code causing the x-error when the tracking was happening more consistently.

Anyone know how to trap an X error? Without this knowledge, re-writing the HUD to use GtkPlug might possibly be the only way to safely deal with this problem.
I’ve done some preliminary testing and it seems that it does not crash if you kill the HUD window before closing the table. But I’ve not tested this much. Today I played another session and unfortunately forgot to do this; as I was winding up, the HUD of course crashed again.

It must be possible to add a test that the table exists before trying to reposition the HUD; that would deal with this bug.

I should add that I hope to hear of more good work from the developers in the new year. Well done.
Free, open source poker tracking software: FPDB - (Version 0.40.5) - Nov 14, 2013 Quote
12-27-2008 , 06:34 PM
Does this tracker support 10 player tables? If so I'll give it a shot and provide feedback for possible changes/improvements.
Free, open source poker tracking software: FPDB - (Version 0.40.5) - Nov 14, 2013 Quote
12-27-2008 , 10:54 PM
Quote:
Originally Posted by TakingStackz
Does this tracker support 10 player tables? I
yes, it does.
Free, open source poker tracking software: FPDB - (Version 0.40.5) - Nov 14, 2013 Quote
12-28-2008 , 04:11 AM
In Windows, it actually does test to see if the Table exists first, before updating positions, and then kills the HUD. However, X has no such function (being a network transparent windowing system, it could potentially not respond instantly). We need to figure out how to trap the X error from within Python, and use that to kill the HUD if necessary.
Free, open source poker tracking software: FPDB - (Version 0.40.5) - Nov 14, 2013 Quote
12-28-2008 , 02:40 PM
Eleatic: also, i need to figure out what the actual difference is between the old reposition windows function ,and the update_table_position -- the old reposition would reposition the stat windows without taking into account a table's updated position, whereas the update_table_position should have been achieving both what the old reposition code did, as well as taking into account a table's new position.

*confused as to why it didn't*
Free, open source poker tracking software: FPDB - (Version 0.40.5) - Nov 14, 2013 Quote
12-28-2008 , 03:32 PM
Can this program fully support HORSE? Will the HUD work in HORSE cash games? Can the HUD switch games quick enough between different games to be effective?
Free, open source poker tracking software: FPDB - (Version 0.40.5) - Nov 14, 2013 Quote
12-28-2008 , 08:27 PM
Quote:
Originally Posted by GrindUnumb
Can this program fully support HORSE? Will the HUD work in HORSE cash games? Can the HUD switch games quick enough between different games to be effective?
right now the importer chokes on HORSE hand histories(each individual game works fine). I will fix this soon after I get out the fabled alpha10 release which is now about 10 days late. When the importer works I will have to do something to make the transitions smooth in the HUD.
Free, open source poker tracking software: FPDB - (Version 0.40.5) - Nov 14, 2013 Quote
12-28-2008 , 08:56 PM
will try FPDB out, very nice project btw.
Free, open source poker tracking software: FPDB - (Version 0.40.5) - Nov 14, 2013 Quote
12-29-2008 , 01:49 AM
I can't get this to work. I installed both files and restarted my computer. When I go to load one of the programs I get a command box to pop up for a split second and it disappears with nothing happening. Any help? Thanks.
Free, open source poker tracking software: FPDB - (Version 0.40.5) - Nov 14, 2013 Quote
12-29-2008 , 05:25 AM
How do I do this:

If you use PostgreSQL you will have to create the fpdb database and set permissions yourself. pgAdmin is a useful tool for those functions.

I have no clue what I am doing at this stage but I have installed the fpdb software and PostgreSQL. I assume poster above is at the same stage as I am. There are no instructions on the website.
Free, open source poker tracking software: FPDB - (Version 0.40.5) - Nov 14, 2013 Quote
12-29-2008 , 06:28 AM
Alright, I'm going to make a commitment here.

I'm going to check out FPDB as soon as the Alpha 10 is released.

I need a PT/HEM type program, but I'm usually pretty broke and I'm a pretty big supporter of free open source software. So I'm probably going to jump on board here.

The biggest concern I have really is how well tournaments will be supported. I mainly just play tourneys (on stars) and from what I've read (I think) HEM doesn't support tourneys. If someone could give some cliff notes on Stars tourney support I'd greatly appreciate it.

As soon as you guys release the Alpha 10 I'm gonna check it out.

Thanks to all who are devloping this, it will be great to have a free (and open source!) alternative to PT and HEM.
Free, open source poker tracking software: FPDB - (Version 0.40.5) - Nov 14, 2013 Quote

      
m