Quote:
Originally Posted by nookatee
The only dumb thing was for me not to tell you I'm on OSX.
I have another question for you anyway, I'm having trouble understanding how a session is defined. I *think* I'm missing some sessions in the sessions graph but I've been wrong about that before (i.e. I thought I was missing a session when, in fact, the session just didn't contain any hands.)
I see this in my sqllite db (can't wait for MySQL! actually, does postgres work already on OSX?):
select count(*), min(starttime), max(starttime) from Hands where starttime > '2015-01-27 10:00' and starttime < '2015-01-28';
12|2015-01-27 21:08:14+00:00|2015-01-27 22:41:47+00:00
however, in my sessions UI, I only see 4 hands for one session on the 27th. So the hands seem to be in the DB but not showing up in the UI somehow? Seems odd to me.
I'll try to set up the postgres db after tonight's session.
Could be a timezone thing? I haven't looked too hard at the code, but I think times are converted to UTC before storing in the DB. IIRC the UI does some funky stuff to work out date/time cutoffs as well - I think it assumes that the 'day' starts at some offset from midnight (I think the default is 5 hours, but it's configurable) to account for the fact that a lot of poker players are night owls.
Postgres should work. I use it myself.
Before you try postgres though, I got excited and did the mysql thing already. There's a zipfile
here containing four files - fpdb, HUD_main, _mysql.so and libmysqlclient.18.dylib. Extract them into fpdb.app/Contents/MacOS - overwrite fpdb and HUD_main. Make a backup first (or keep your original rc5 zip ready to go) in case I goofed again.