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

08-03-2010 , 06:08 AM
Quote:
Originally Posted by pepel
I think there is a bug on "bounty hunter" tournaments (at least in PS). Probably the problem is on the header:
Thanks for the report.

I recently committed some code specifically do deal with this type of tourney, so the next release should contain the fix.

Sorrow
Free, open source poker tracking software: FPDB - (Version 0.40.5) - Nov 14, 2013 Quote
08-03-2010 , 06:16 AM
Quote:
Originally Posted by gimick
Hi DangermaN

Thanks for reporting this - I've just tested this on the development code, and I also managed to get a lockup within a few minutes when running sourcecode (multitabling FTP rush cash fwiw).

In fpdb errors log file I got:

Code:
fpdb starting ...Traceback (most recent call last):
  File "C:\Documents and Settings\b\Desktop\fpdb\pyfpdb\GuiAutoImport.py", line 160, in do_import
    self.importer.runUpdated()
  File "C:\Documents and Settings\b\Desktop\fpdb\pyfpdb\fpdb_import.py", line 371, in runUpdated
    (stored, duplicates, partial, errors, ttime) = self.import_file_dict(self.database, file, self.filelist[file][0], self.filelist[file][1], None)
  File "C:\Documents and Settings\b\Desktop\fpdb\pyfpdb\fpdb_import.py", line 467, in import_file_dict
    print "fpdb_import: sending hand to hud", hand.dbid_hands, "pipe =", self.caller.pipe_to_hud
IOError: [Errno 9] Bad file descriptor
I can't tell if this was simultaneous with the lockup. Could you check if this message is thrown when you get the lockup (note that this log initalises every time fpdb is run).
Interesting spot to crash.

The hh file is read, then closed immediately before parsing.

That call is only to signal the hud process that there is another hand available in the database to update itself. So the hud process must be crashing somewhere and closing the pipe.

Thats not going to be fun to track down.
Free, open source poker tracking software: FPDB - (Version 0.40.5) - Nov 14, 2013 Quote
08-03-2010 , 06:25 AM
Quote:
Originally Posted by sorrow
Thanks for the report.

I recently committed some code specifically do deal with this type of tourney, so the next release should contain the fix.

Sorrow
wow, thanks!

keep up the great work
Free, open source poker tracking software: FPDB - (Version 0.40.5) - Nov 14, 2013 Quote
08-03-2010 , 06:32 AM
Quote:
Originally Posted by DangermaN
Anyway, I tailed the error log while playing and sure enough, the exception is raised at the exact moment that the 'half line' is printed. I checked the hand history and it was hosed.

I expect that when the importer is in that hung state that it is holding the hand history file open in a strange way because the file continued to grow, but all the new characters were ascii 0.

Another possibility is that the error occurs when fpdb attempts to import while the file is still being written and the 0 bytes I'm seeing are just the high bytes of wide characters because one byte was lost and the wchars are now out of sync.

I'm sending the hand history to the mailing list for post mortem.
As I mentioned above, the importer only has the hh file open for a very short period of time each cycle (i've just committed a patch to make that time even shorter - just in case) so this _shouldn't_ (i won't say isn't...) be the reason for hosing the file.

(Could you zip the file before sending please? Email is munging the file format)

FTP HHs are utf-16, so a single byte offset could bugger the file, but i'd expect gibberish, not 0's

Sorrow
Free, open source poker tracking software: FPDB - (Version 0.40.5) - Nov 14, 2013 Quote
08-03-2010 , 09:59 AM
Quote:
Originally Posted by steffen123
This doesn't sound like a setup problem. Can you check your CPU load? If it's low then fpdb probably crashed. Check the log files, hopefully it gives some error message.


You can't import tourney summaries whilst bulk or auto import are running. It also doesn't give any feedback in the GUI at the moment, the only way to check if it did what it's supposed to is to run it from a terminal and look at the output. Or of course to use the Tourney Player Stats viewer.
Have you configured your email account in fpdb?
I have opened FPDB and immediately tried to import my Tourn Histories but nothing happened when I clicked it through the menu. I've also tried Ctrl-I with no success.

I am able to bulk import 20-30 files at a time but it has not imported my folder. My gf did open up FireFox last night while I was attempting to a new import which may overload the cpu.?

I have several thousand 45 and 180s that I'd like to import. I typically play between 1500-3,000 games a month

Below is my error log.

[PHP]fpdb starting ...Traceback (most recent call last):
File "/usr/share/pyshared/fpdb/GuiBulkImport.py", line 95, in load_clicked
(stored, dups, partial, errs, ttime) = self.importer.runImport()
File "/usr/share/pyshared/fpdb/fpdb_import.py", line 228, in runImport
(totstored, totdups, totpartial, toterrors) = self.importFiles(self.database, None)
File "/usr/share/pyshared/fpdb/fpdb_import.py", line 284, in importFiles
,self.filelist[file][0], self.filelist[file][1], q)
File "/usr/share/pyshared/fpdb/fpdb_import.py", line 438, in import_file_dict
hhc = obj(self.config, in_path = file, out_path = out_path, index = idx, starsArchive = self.settings['starsArchive'])
File "/usr/share/pyshared/fpdb/HandHistoryConverter.py", line 101, in __init__
self.start()
File "/usr/share/pyshared/fpdb/HandHistoryConverter.py", line 149, in start
self.processedHands.append(self.processHand(handTe xt))
File "/usr/share/pyshared/fpdb/HandHistoryConverter.py", line 275, in processHand
hand = Hand.HoldemOmahaHand(self.config, self, self.sitename, gametype, handText)
File "/usr/share/pyshared/fpdb/Hand.py", line 678, in __init__
hhc.readHandInfo(self)
File "/usr/share/pyshared/fpdb/PokerStarsToFpdb.py", line 258, in readHandInfo
hand.fee = int(100*Decimal(info[key][middle+2:]))
File "/usr/lib/python2.6/decimal.py", line 545, in __new__
"Invalid literal for Decimal: %r" % value)
File "/usr/lib/python2.6/decimal.py", line 3719, in _raise_error
raise error(explanation)
decimal.InvalidOperation: Invalid literal for Decimal: u''[/PHP]

Also, I am unable to define the date for analysis when I go to Viewers - Tournery Stats. I am able to do this if I go to the Ring Player Stats.

Last edited by PhenixRising; 08-03-2010 at 10:11 AM.
Free, open source poker tracking software: FPDB - (Version 0.40.5) - Nov 14, 2013 Quote
08-03-2010 , 10:10 AM
Quote:
Originally Posted by PhenixRising
Below is my error log.

[PHP]
File "/usr/share/pyshared/fpdb/PokerStarsToFpdb.py", line 258, in readHandInfo
hand.fee = int(100*Decimal(info[key][middle+2:]))
File "/usr/lib/python2.6/decimal.py", line 545, in __new__
"Invalid literal for Decimal: %r" % value)
File "/usr/lib/python2.6/decimal.py", line 3719, in _raise_error
raise error(explanation)
decimal.InvalidOperation: Invalid literal for Decimal: u''[/PHP]
I'm pretty sure I finished squashing this bug as of about an hour ago.

Sorrow
Free, open source poker tracking software: FPDB - (Version 0.40.5) - Nov 14, 2013 Quote
08-03-2010 , 10:33 AM
Quote:
Originally Posted by PhenixRising
I have opened FPDB and immediately tried to import my Tourn Histories but nothing happened when I clicked it through the menu. I've also tried Ctrl-I with no success.
[snip]
Also, I am unable to define the date for analysis when I go to Viewers - Tournery Stats. I am able to do this if I go to the Ring Player Stats.
Tourney Summaries: I'll try to add a more usable interface for this to the next snapshot
Tourney Stats: That bug is fixed in 0.20.903 of which you can download the Windows package here: http://****************/projects/fpdb...U.exe/download
The official announcement will be made as soon as we're done with packaging
Free, open source poker tracking software: FPDB - (Version 0.40.5) - Nov 14, 2013 Quote
08-03-2010 , 11:04 AM
Using .exe version of: fpdb-0.20.902noSSE, from fpdb.exe.log file.

parser : ERROR determineGameType: Unable to recognise gametype from: 'PokerStars Game #47583725585: Tournament #294420919, $5.00+$0.50 USD Mixed PLH/PLO (Hold'em Pot Lim'
parser : ERROR determineGameType: Raising FpdbParseError

Also, when moved to another table, hud's stats are off by one seat and sometimes two or three.
Free, open source poker tracking software: FPDB - (Version 0.40.5) - Nov 14, 2013 Quote
08-03-2010 , 11:05 AM
bit of a stupid question, but does the link in the above post support dwonload of this software?

i've all but given up on my OM.

edit : is it compatible with the new betfair and bet 365 which i'll probably move to as soon as i clear my betfair bonus.
Free, open source poker tracking software: FPDB - (Version 0.40.5) - Nov 14, 2013 Quote
08-03-2010 , 12:34 PM
Hello everyone,
The new snapshot 0.20.903 is now available for download as source or as packages for Debian, Gentoo, Ubuntu and Windows.
This version brings many improvements and bugfixes, updating is recommended for users of previous snapshots. If you're using a stable version like 0.20 or 0.20.1 please consider trying this version and report any bugs, and in particular regressions, so we can fix them.

Please note that you will have to either recreate your database, or use a new one for this version.

The most important changes in no particular order:
- Recognise and store PS bounty tourneys properly
- Some cleanups in the graphical Interface
- Some improvements to HUD positioning
- PostgreSQL should work again
- Fixes to these stats: WtSD, sawShowdown, currency
- Improvements to Everleaf and AbsolutePoker Support
- We think FullTilt.fr should now work
- Improvements to Tourney and Ring Player Stats interface
- Fix to handle non-English characters in Windows usernames
- Improved handling of timezones, in particular the obscenity that is called Daylight Savings Time
- New stat: fold to steal
- Some improvements to the database design

To download:
- Debian/Ubuntu Linux: http://****************/projects/fpdb...l.deb/download
- Gentoo Linux: http://****************/projects/fpdb...build/download
- Windows: http://****************/projects/fpdb...U.exe/download
- Source version for those who installed the dependencies manually: http://****************/projects/fpdb...r.bz2/download

Thanks to everyone who contributed code, advice, documentation, testing and bug reports!
Free, open source poker tracking software: FPDB - (Version 0.40.5) - Nov 14, 2013 Quote
08-03-2010 , 12:43 PM
Quote:
Originally Posted by M07
Using .exe version of: fpdb-0.20.902noSSE, from fpdb.exe.log file.

parser : ERROR determineGameType: Unable to recognise gametype from: 'PokerStars Game #47583725585: Tournament #294420919, $5.00+$0.50 USD Mixed PLH/PLO (Hold'em Pot Lim'
parser : ERROR determineGameType: Raising FpdbParseError
You can try the new 0.20.903 but it probably still won't work. Could you post or send us an example hand from that file? Publicly to: fpdb-main@lists.****************
Privately to me: steffen@schaumburger.info
Quote:
Originally Posted by M07
Also, when moved to another table, hud's stats are off by one seat and sometimes two or three.
Simply close the HUD for that table and it should re-appear in the right position as soon as the next hand is imported.
Quote:
Originally Posted by keanosdog
bit of a stupid question, but does the link in the above post support dwonload of this software?

i've all but given up on my OM.
You can find the links to the latest snapshot in my last post. Alternatively you can find the latest stable version here: http://****************/projects/fpdb/files/ (download 0.20.1 for your operating system, ie. the .exe for Windows, the .deb for Debian/Ubuntu, the .tar.bz2 for everything else).
What does OM mean?
Quote:
Originally Posted by keanosdog
edit : is it compatible with the new betfair and bet 365 which i'll probably move to as soon as i clear my betfair bonus.
Fpdb supports betfair, not sure what you mean with new betfair. I never heard of bet 365, but if they're part of a network we already support then it should work, just give it a go

Cheers, Steffen
Free, open source poker tracking software: FPDB - (Version 0.40.5) - Nov 14, 2013 Quote
08-03-2010 , 12:56 PM
Quote:
Originally Posted by steffen123
Fpdb supports betfair, not sure what you mean with new betfair. I never heard of bet 365, but if they're part of a network we already support then it should work, just give it a go

Cheers, Steffen
I think Betfair poker became part of the OnGame network
Free, open source poker tracking software: FPDB - (Version 0.40.5) - Nov 14, 2013 Quote
08-03-2010 , 12:58 PM
Quote:
Originally Posted by M07
Using .exe version of: fpdb-0.20.902noSSE, from fpdb.exe.log file.

parser : ERROR determineGameType: Unable to recognise gametype from: 'PokerStars Game #47583725585: Tournament #294420919, $5.00+$0.50 USD Mixed PLH/PLO (Hold'em Pot Lim'
parser : ERROR determineGameType: Raising FpdbParseError

Also, when moved to another table, hud's stats are off by one seat and sometimes two or three.
That file isn't going to work, i've never played a mixed tourament. I think HORSE parses, but any other mixed game variant we will need examples.

We probably only need the rest of that first line to fix it.

Sorrow
Free, open source poker tracking software: FPDB - (Version 0.40.5) - Nov 14, 2013 Quote
08-03-2010 , 12:59 PM
Thanks guys. I'll try to import my HHs tonight.
Free, open source poker tracking software: FPDB - (Version 0.40.5) - Nov 14, 2013 Quote
08-03-2010 , 04:17 PM
Quote:
Originally Posted by M07
Using .exe version of: fpdb-0.20.902noSSE, from fpdb.exe.log file.

parser : ERROR determineGameType: Unable to recognise gametype from: 'PokerStars Game #47583725585: Tournament #294420919, $5.00+$0.50 USD Mixed PLH/PLO (Hold'em Pot Lim'
parser : ERROR determineGameType: Raising FpdbParseError
Quote:
Originally Posted by sorrow
That file isn't going to work, i've never played a mixed tourament. I think HORSE parses, but any other mixed game variant we will need examples.

We probably only need the rest of that first line to fix it.

Sorrow
PokerStars Game #47587046512: Tournament #294420919, $5.00+$0.50 USD Mixed PLH/PLO (Hold'em Pot Limit) - Level XVII (500/1000) - 2010/08/01 20:39:48 ET
Table '294420919 6' 9-max Seat #5 is the button


PokerStars Game #47587206261: Tournament #294420919, $5.00+$0.50 USD Mixed PLH/PLO (Omaha Pot Limit) - Level XVIII (625/1250) - 2010/08/01 20:44:19 ET
Table '294420919 6' 9-max Seat #4 is the button
Free, open source poker tracking software: FPDB - (Version 0.40.5) - Nov 14, 2013 Quote
08-03-2010 , 06:32 PM
Quote:
Originally Posted by sorrow
i've just committed a patch to make that time even shorter
Hi sorrow, dangerman

Just quickly tested, and your git no-longer causes a lockup - the errors are still thrown to the logfile, but autoimport and HUD continues to work.

gimick/
Free, open source poker tracking software: FPDB - (Version 0.40.5) - Nov 14, 2013 Quote
08-03-2010 , 10:07 PM
Quote:
Originally Posted by gimick
Hi sorrow, dangerman

Just quickly tested, and your git no-longer causes a lockup - the errors are still thrown to the logfile, but autoimport and HUD continues to work.

gimick/
Does the hh file get trashed?
Free, open source poker tracking software: FPDB - (Version 0.40.5) - Nov 14, 2013 Quote
08-04-2010 , 01:56 AM
Posting to report issues with the Positional, Tourney, and Ring Player stats views. They either do not launch or do not display any info. Below is the basic info and how I can recreate the problem:

OS: Win7 x64
Site: PokerStars
Hand Histories: Varied testing range from 116 to 20k
FPDB version(s) from about box:
Operating System nt
Python 2.6
GTK+ 2.20.0
PyGTK 2.16.0
matplotlib 0.99.3
numpy 1.4.1
sqlite3 2.4.1
sqlite 3.5.9
database sqlite

The import throws a lot of "unable to recognize game type from hand xxxx", but I do not think this is the issue. I went through the preferences one by one and changed them until I found what was causing the screen not to display at all. So far, changing the screen name for stars from "YOUR SCREEN NAME HERE" to my name will prevent the Positional and Tourney player stats from showing. If I leave the SN as "YOUR SCREEN NAME HERE" then those screens will show. However, if I then put my SN in the box and hit refresh, it fails in both cases. I can recreate this at will.

The Ring Player stats just never shows.

Note: this is a x64 box and so some paths are changed and I use a custom HH path but that path has no special characters or spaces.

Here's a sample of the errors logged when the screens are launched.

Ring Player
Traceback (most recent call last):
File "GuiPositionalStats.pyc", line 143, in refreshStats
File "GuiPositionalStats.pyc", line 175, in fillStatsFrame
File "GuiPositionalStats.pyc", line 186, in createStatsTable
sqlite3.OperationalError: near "' '": syntax error

Traceback (most recent call last):
File "GuiPositionalStats.pyc", line 143, in refreshStats
File "GuiPositionalStats.pyc", line 175, in fillStatsFrame
File "GuiPositionalStats.pyc", line 186, in createStatsTable
sqlite3.OperationalError: near "' '": syntax error

Let me know what else you need to track this down of if you think I missed a setting somewhere. I am a programmer by trade, so I know you may need more than this, just tell me.
Free, open source poker tracking software: FPDB - (Version 0.40.5) - Nov 14, 2013 Quote
08-04-2010 , 02:02 AM
Upon looking closer at the log file(s), it seems that EVERY hand threw out the "unable to recognize gametype" error. So I suspect that the tables are empty and that is killing the screens. Now to find out why they are not recognized.
Free, open source poker tracking software: FPDB - (Version 0.40.5) - Nov 14, 2013 Quote
08-04-2010 , 02:10 AM
Quote:
Originally Posted by sorrow
Does the hh file get trashed?
Using 0.20.903 source code version, I did experience the hud freeze and I ended up with another corrupted hand history.

Using the exe version, I didn't experience hud freeze, but I didn't play so many hands that I would consider it a very extensive test.

I have started to take notes about other errors I experience and I'll post them up after I get more comfortable that I'm filtering out pilot errors.
Free, open source poker tracking software: FPDB - (Version 0.40.5) - Nov 14, 2013 Quote
08-04-2010 , 04:36 AM
Quote:
Originally Posted by COKE_MAN
Upon looking closer at the log file(s), it seems that EVERY hand threw out the "unable to recognize gametype" error. So I suspect that the tables are empty and that is killing the screens. Now to find out why they are not recognized.
The most recent development release might be a paper-bag job. There has been a serious bug fixed with showdown stats, and the Ring Playerstats page is broken on my install at the moment showing

Code:
Traceback (most recent call last):
  File "./fpdb.pyw", line 1025, in tab_ring_player_stats
    new_ps_thread = GuiRingPlayerStats.GuiRingPlayerStats(self.config, self.sql, self.window)
  File "/home/carlos/Projects/fpdb/fpdboz/pyfpdb/GuiRingPlayerStats.py", line 167, in __init__
    [x for x in self.columns if x[0] == 'hand'][0][colshowsumm] = False
IndexError: list index out of range
It is due to some work sqlcoder was doing to make the columns in that page configurable (you'll be happy to hear Dog)

See http://trac-git.assembla.com/fpdb-sq...f42eb320bc0bc3 for the required config section.

"unable to recognize game type from hand xxxx" is an issue we need to address on a per game basis, I can usually fix those with just the header (newer versions should print the first 100 characters of the header to make it a bit easier to find.)

Sorrow
Free, open source poker tracking software: FPDB - (Version 0.40.5) - Nov 14, 2013 Quote
08-04-2010 , 10:49 AM
Quote:
"unable to recognize game type from hand xxxx" is an issue we need to address on a per game basis, I can usually fix those with just the header (newer versions should print the first 100 characters of the header to make it a bit easier to find.)
Here's what I found. I had PS send me a file with all my hands since I didn't have the save option turned on for a while. Between each hand definition they have inserted Hand #1, Hand #2, etc. Looks to me like the parser is reading these and not knowing what to do (nothing it can do with them either). However, it does look like the REAL hands are getting parsed and put in the database since my profit graph will populate and looks correct with all the hands I expect to be in there.

So now I am back to seeing the reported errors happening when I put in my screen name.

Quote:
See http://trac-git.assembla.com/fpdb-sq...f42eb320bc0bc3 for the required config section.
Are you suggesting we put this section in our HUD_config.xml file?
Free, open source poker tracking software: FPDB - (Version 0.40.5) - Nov 14, 2013 Quote
08-04-2010 , 11:25 AM
Quote:
Originally Posted by COKE_MAN
Here's what I found. I had PS send me a file with all my hands since I didn't have the save option turned on for a while. Between each hand definition they have inserted Hand #1, Hand #2, etc. Looks to me like the parser is reading these and not knowing what to do (nothing it can do with them either). However, it does look like the REAL hands are getting parsed and put in the database since my profit graph will populate and looks correct with all the hands I expect to be in there.

So now I am back to seeing the reported errors happening when I put in my screen name.
You are right, the hand splitting code recognises '#1' as a hand in its own right, and of course fails to identify the type of game.

I wrote something to deal with the Stars archive format:

./GuiBulkImport.py --starsarchive -c PokerStars -f filename

Never got around to adding a checkbox to the gui though.

Quote:
Originally Posted by COKE_MAN
Are you suggesting we put this section in our HUD_config.xml file?
Yes, the stats view can now be configured. For the moment there aren't any defaults, so if you are using an 'old' config you will need to add the new section.

Sorrow
Free, open source poker tracking software: FPDB - (Version 0.40.5) - Nov 14, 2013 Quote
08-04-2010 , 11:55 AM
Good to know on the archive options. Just FYI, I verified that this was the issue with the unrecognized game in the error logs. Only I did it using a RegEx search and replace on the archive to remove the Hand #x text. So, that is all good and works. Further this really was only an issue if you look in the logs and wonder "WTF?, why aren't my hands importing?" when, in fact, the actual hands ARE getting imported just fine. Just one of those things that make you chase down rabbit holes.

Anyway, after running through all this, uninstalling/reinstalling/resetting over and over to test and make sure I am not missing a setting before I import hands, it is still consistent that the Positional, Tourney, and Ring screens are behaving as I described. I might be dense and just missing it in your posts above, but are you seeing that too or do I have something else going on here?

Edit: Session screen is doing the same thing.

Last edited by COKE_MAN; 08-04-2010 at 12:04 PM.
Free, open source poker tracking software: FPDB - (Version 0.40.5) - Nov 14, 2013 Quote
08-04-2010 , 12:04 PM
Quote:
Originally Posted by COKE_MAN
Good to know on the archive options. Just FYI, I verified that this was the issue with the unrecognized game in the error logs. Only I did it using a RegEx search and replace on the archive to remove the Hand #x text. So, that is all good and works. Further this really was only an issue if you look in the logs and wonder "WTF?, why aren't my hands importing?" when, in fact, the actual hands ARE getting imported just fine. Just one of those things that make you chase down rabbit holes.
Almost exactly what that option does
Quote:
Originally Posted by COKE_MAN
Anyway, after running through all this, uninstalling/reinstalling/resetting over and over to test and make sure I am not missing a setting before I import hands, it is still consistent that the Positional, Tourney, and Ring screens are behaving as I described. I might be dense and just missing it in your posts above, but are you seeing that too or do I have something else going on here?
After adding the <gui_cash_stats> section to your config and restarting the (at least cash page) should open again.

Sorrow
Free, open source poker tracking software: FPDB - (Version 0.40.5) - Nov 14, 2013 Quote

      
m