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

05-20-2009 , 06:35 AM
Quote:
Originally Posted by Nikita202
Hi,

I'm trying to run this promising program (FPDB v 0.11) on Windows Vista using Postgresql. I have given python.exe full administrative priviliges to prevent UAC problems. FPDB seems to create all database tables just fine
How are you verifying this Nikita?

Just to make sure, you have run the "create or re-create tables" from the Database menu successfully?

(FYI - I think you're further than most people who've attempted to get this running under Vista)
Quote:
Originally Posted by Nikita202
, but the tables remain empty on both auto-import and bulk-import. When i try to bulk import my Full Tilt Poker handhistories, it shows:

DEBUG: import_fpdb_file: failed on self.lines[0]: 'C:\Users\Bulldozer\Documents\FT20090518 Winner (6 max) - $0.02-$0.05 - No Limit Hold'em.txt' 'default' '[]' '6009'

It seems to detect the correct file size, but nothing gets imported.
Was that auto import or bulk import?

Thats a known issue when the file fails to import. Its attempting to read the file from character 6009 (feature not bug - honest!), and getting nothing further - ie thats the end of the file. The code to reset the index into the file doesn't happen after a failure, but does allow autoimport to continue if it gets an error in the middle of a file.

If the bulk import is failing there should be a couple of error logs created in the pyfpdb/ folder, post the error and i'll see if I can help.
Free, open source poker tracking software: FPDB - (Version 0.40.5) - Nov 14, 2013 Quote
05-20-2009 , 11:01 PM
Missed this yesterday.
Quote:
Originally Posted by NightSky
Keep the good work up gyus, i think importing/exporting db is pretty important feature for the future how are the plans on implementing it?
Thats actually really easy with MySQL, any I assume with Postgres too. I've added it to the todo list. This may not be all that useful until the db schema really settles down though, as we dont have any plans on maintaining the code for multiple versions of the schema and allowing upgrades between them (yet)
Quote:
Originally Posted by NightSky
I've got one bug, at least what it seems to me, the Graph is workling well but when i generate it more than one time the old doesnt disappear so if you generate it few times they become pretty slim cause there is no much room left, an option for clearing graph should be nice.
That graphing bug is long lived. It appears to happen with python 2.6 and the matplotlib libraries. I've been unable to replicate it as soon as I can i'll get a fix out.
Free, open source poker tracking software: FPDB - (Version 0.40.5) - Nov 14, 2013 Quote
05-21-2009 , 06:33 AM
Quote:
Originally Posted by sorrow
How are you verifying this Nikita?

Just to make sure, you have run the "create or re-create tables" from the Database menu successfully?
Yes, create or recreate tables from the FPDB menu is succesful. I've verified this in pgAdmin and FPDB created all the necessary tables in the database by itself.

I was trying to use the Bulk import feature (but auto import doesn't work either). This is what the error log shows on bulk import:

Code:
C:\Users\Bulldozer\Downloads\fpdb\pyfpdb\fpdb.py:241: DeprecationWarning: use gtk.UIManager
  self.item_factory = gtk.ItemFactory(gtk.MenuBar, "<main>", accel_group)
C:\Users\Bulldozer\Downloads\fpdb\pyfpdb\GuiBulkImport.py:97: GtkWarning: gtk_file_system_win32_get_parent: assertion `g_path_is_absolute (filename)' failed
  self.chooser.set_filename(self.settings['bulkImport-defaultPath'])
Traceback (most recent call last):
  File "C:\Users\Bulldozer\Downloads\fpdb\pyfpdb\GuiBulkImport.py", line 75, in load_clicked
    (stored, dups, partial, errs, ttime) = self.importer.runImport()
  File "C:\Users\Bulldozer\Downloads\fpdb\pyfpdb\fpdb_import.py", line 159, in runImport
    (stored, duplicates, partial, errors, ttime) = self.import_file_dict(file, self.filelist[file][0], self.filelist[file][1])
  File "C:\Users\Bulldozer\Downloads\fpdb\pyfpdb\fpdb_import.py", line 231, in import_file_dict
    (stored, duplicates, partial, errors, ttime) = self.import_fpdb_file(file, site)
  File "C:\Users\Bulldozer\Downloads\fpdb\pyfpdb\fpdb_import.py", line 360, in import_fpdb_file
    ,self.fdb.cursor, site, category, hand, self.config)
  File "C:\Users\Bulldozer\Downloads\fpdb\pyfpdb\fpdb_parse_logic.py", line 79, in mainParser
    playerIDs   = fpdb_simple.recognisePlayerIDs(cursor, names, siteID)
  File "C:\Users\Bulldozer\Downloads\fpdb\pyfpdb\fpdb_simple.py", line 1405, in recognisePlayerIDs
    cursor.executemany("INSERT INTO Players (name, siteId) VALUES (%s, "+str(site_id)+")", (notfound))
TypeError: not all arguments converted during string formatting
Thanks for your help!
Free, open source poker tracking software: FPDB - (Version 0.40.5) - Nov 14, 2013 Quote
05-21-2009 , 07:42 AM
Quote:
Originally Posted by Nikita202
File "C:\Users\Bulldozer\Downloads\fpdb\pyfpdb\fpdb_sim ple.py", line 1405, in recognisePlayerIDs
cursor.executemany("INSERT INTO Players (name, siteId) VALUES (%s, "+str(site_id)+")", (notfound))
TypeError: not all arguments converted during string formatting
That shouldn't happen - can you send me the file you are trying to import please? email in PM
Free, open source poker tracking software: FPDB - (Version 0.40.5) - Nov 14, 2013 Quote
05-21-2009 , 09:44 AM
I've got a question concerning the wmsd value for omaha8, i had situatuion right now with 2 new players both had 0% cause i had no hands from them. They split the pot the one who won high pot got 50%(0,5/1) the one who had won the low pot didn't get the 0,5 so he has (0/1) and 0% is it really intended that way ?

Handhistory,

Full Tilt Poker Game #12347637126: Table Quiet River - $0.25/$0.50 - Pot Limit Omaha H/L - 9:39:40 ET - 2009/05/21
Seat 1: mstt23 ($57.10)
Seat 2: laapins ($59.95)
Seat 3: RunerMan ($50)
Seat 4: 0x010 ($32.90)
Seat 5: supertim98 ($25.75)
Seat 6: mliu24 ($10.75)
Seat 7: NightSkyNow ($49.25)
Seat 8: 1947whistler ($57.20)
Seat 9: imrfc1963 ($38.75)
mstt23 posts the small blind of $0.25
laapins posts the big blind of $0.50
The button is in seat #9
*** HOLE CARDS ***
Dealt to NightSkyNow [9c 2d 5c 4c]
RunerMan raises to $1.50
0x010 calls $1.50
supertim98 calls $1.50
mliu24 raises to $8.25
NightSkyNow folds
1947whistler has 15 seconds left to act
1947whistler folds
imrfc1963 folds
mstt23 folds
laapins folds
RunerMan has 15 seconds left to act
RunerMan folds
RunerMan adds $1.50
0x010 folds
supertim98 raises to $15
mliu24 calls $2.50, and is all in
supertim98 shows [3s 4d As Qd]
mliu24 shows [Qh Ac Th 5s]
Uncalled bet of $4.25 returned to supertim98
*** FLOP *** [3c 8s Ts]
*** TURN *** [3c 8s Ts] [6d]
*** RIVER *** [3c 8s Ts 6d] [8c]
supertim98 shows two pair, Eights and Threes, for high and 8,6,4,3,A, for low
mliu24 shows two pair, Tens and Eights, for high and 8,6,5,3,A, for low
mliu24 wins the high pot ($12) with two pair, Tens and Eights
supertim98 wins the low pot ($12) with 8,6,4,3,A
*** SUMMARY ***
Total pot $25.25 | Rake $1.25
Board: [3c 8s Ts 6d 8c]
Seat 1: mstt23 (small blind) folded before the Flop
Seat 2: laapins (big blind) folded before the Flop
Seat 3: RunerMan folded before the Flop
Seat 4: 0x010 folded before the Flop
Seat 5: supertim98 showed [3s 4d As Qd] and won ($12) with HI: two pair, Eights and Threes; LO: 8,6,4,3,A
Seat 6: mliu24 showed [Qh Ac Th 5s] and won ($12) with HI: two pair, Tens and Eights; LO: 8,6,5,3,A
Seat 7: NightSkyNow didn't bet (folded)
Seat 8: 1947whistler didn't bet (fold)

And the screenshot of his stats after that hand...

Free, open source poker tracking software: FPDB - (Version 0.40.5) - Nov 14, 2013 Quote
05-21-2009 , 10:09 AM
Quote:
Originally Posted by NightSky
I've got a question concerning the wmsd value for omaha8, i had situatuion right now with 2 new players both had 0% cause i had no hands from them. They split the pot the one who won high pot got 50%(0,5/1) the one who had won the low pot didn't get the 0,5 so he has (0/1) and 0% is it really intended that way ?
I think the original intention was for both of these guys to have a 50% wmsd stat after this 1 hand. I don't really like that approach--when we update the database schema I plan to add a "scooped at SD" stat. Then each of these guys would have a 100% wmsd stat and a 0% scooped at SD stat. I will then be possible to calculate a "got scooped at SD" stat which I think is important in table selection. (I don't even want to think about guys getting quartered and worse.)

Meanwhile, I will take a look at the source and see if this is easy to fix.
Free, open source poker tracking software: FPDB - (Version 0.40.5) - Nov 14, 2013 Quote
05-21-2009 , 10:37 AM
Quote:
Originally Posted by RainmanTrail
I'd like to make it so that my HUD aggregates stats from mulitiple stakes. I assume this would be easy to do. Can anyone point me to the location in the code where I might be able to do this?

Thanks

Travis
Near the top of HUD_main.py(line 54 in my current working version), you'll find this:
Code:
import Hud

aggregate_stats = {"ring": False, "tour": False} # config file!

class HUD_main(object):
make that "ring": True and your stats will be aggregated when playing ring games. I'll implement this in the config sometime soon.

Edit: this will aggregate the stakes, unfortunately full ring, short handed and HU are already aggregated, we will disaggregate that mess when we implement the new database schema.

Last edited by Eratosthenes; 05-21-2009 at 10:40 AM. Reason: clarify stakes thing
Free, open source poker tracking software: FPDB - (Version 0.40.5) - Nov 14, 2013 Quote
05-21-2009 , 10:43 AM
Quote:
Originally Posted by RainmanTrail
THE WTSD stat isn't accurate. It's running at about 8 or 9% too high. Is this because it's really showing how often it goes to 7th st?
I suspect you are correct about this and it is the result of confusion between flop and stud games. I am about to hop in to that section of code and will fix if I can.
Free, open source poker tracking software: FPDB - (Version 0.40.5) - Nov 14, 2013 Quote
05-21-2009 , 10:50 AM
Quote:
Originally Posted by Kris8400
Well, the first unusual thing is reading the config file takes ages (over 8 mins).

I think there was always an error reading some file, but even after clearing out my HH folder the problem persisted. Ofcourse I can't duplicate the eroor right now as all of a sudden the HUD seems to work again. I'll be sure to post again if this happens more often.
Are you still having this problem? Reading the config file is normally slow, but only about 2 sec slow, not 8 min slow. You might have made a subtle bug when you edited the config--maybe try renaming your current config and then copying the HUD_config.xml.example to your config and see how it does. If it reads OK, then try some edits on it.
Free, open source poker tracking software: FPDB - (Version 0.40.5) - Nov 14, 2013 Quote
05-21-2009 , 11:00 AM
Quote:
Originally Posted by sorrow
That shouldn't happen - can you send me the file you are trying to import please? email in PM
done, thanks!
Free, open source poker tracking software: FPDB - (Version 0.40.5) - Nov 14, 2013 Quote
05-21-2009 , 11:10 AM
Quote:
Originally Posted by RoSeeker
Ugh, sorry but I haven't read through the entire thread. I am having trouble getting the program to work, is there a troubleshooter/FAQ thing I can look through?

At the moment I have everything installed, MYSQL, the fpdb environment installer thing, downloaded the .11 build, ran fpdb.py, but it says that it cannot parse the HUD XML in the roaming file. "See error log files".

I got something like this:
...
File "C:\Python25\lib\xml\parsers\expat.py", line 4, in <module>
from pyexpat import *
ImportError: No module named pyexpat
...


It also said it failed to load libs for graphing, etc, even though I've installed both other apps.

Meh, I use HEM which doesn't track stud games so I'm really trying to get this work, but I have no clue what I'm doing wrong as I really just followed the instructions and am too bad at computers to do anything else.
OK, this is different. It is dying because it can't find the pyexpat module, which should get installed automatically with python.

Are you running windows XP? Vista?

Can you check your python version and your installation by opening a terminal window and importing a couple of modules like I did here(I've highlighted what I typed in):
Code:
$ python
Python 2.5.1 (r251:54863, Jun 15 2008, 18:24:51) 
[GCC 4.3.0 20080428 (Red Hat 4.3.0-8)] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import xml.dom.minidom
>>> import pyexpat
>>>
You might get some loud error messages.
I have a feeling that your python installation is somehow corrupt--maybe it died part way through the installation.
Free, open source poker tracking software: FPDB - (Version 0.40.5) - Nov 14, 2013 Quote
05-22-2009 , 04:18 AM
Quote:
Originally Posted by Nikita202
Code:
C:\Users\Bulldozer\Downloads\fpdb\pyfpdb\fpdb.py:241: DeprecationWarning: use gtk.UIManager
  self.item_factory = gtk.ItemFactory(gtk.MenuBar, "<main>", accel_group)
C:\Users\Bulldozer\Downloads\fpdb\pyfpdb\GuiBulkImport.py:97: GtkWarning: gtk_file_system_win32_get_parent: assertion `g_path_is_absolute (filename)' failed
  self.chooser.set_filename(self.settings['bulkImport-defaultPath'])
Traceback (most recent call last):
  File "C:\Users\Bulldozer\Downloads\fpdb\pyfpdb\GuiBulkImport.py", line 75, in load_clicked
    (stored, dups, partial, errs, ttime) = self.importer.runImport()
  File "C:\Users\Bulldozer\Downloads\fpdb\pyfpdb\fpdb_import.py", line 159, in runImport
    (stored, duplicates, partial, errors, ttime) = self.import_file_dict(file, self.filelist[file][0], self.filelist[file][1])
  File "C:\Users\Bulldozer\Downloads\fpdb\pyfpdb\fpdb_import.py", line 231, in import_file_dict
    (stored, duplicates, partial, errors, ttime) = self.import_fpdb_file(file, site)
  File "C:\Users\Bulldozer\Downloads\fpdb\pyfpdb\fpdb_import.py", line 360, in import_fpdb_file
    ,self.fdb.cursor, site, category, hand, self.config)
  File "C:\Users\Bulldozer\Downloads\fpdb\pyfpdb\fpdb_parse_logic.py", line 79, in mainParser
    playerIDs   = fpdb_simple.recognisePlayerIDs(cursor, names, siteID)
  File "C:\Users\Bulldozer\Downloads\fpdb\pyfpdb\fpdb_simple.py", line 1405, in recognisePlayerIDs
    cursor.executemany("INSERT INTO Players (name, siteId) VALUES (%s, "+str(site_id)+")", (notfound))
TypeError: not all arguments converted during string formatting
I've been working with Nikita via email and confirmed this is a bug in the 0.11 release of fpdb when using Postgres as a database.

We have a fix ready and when I talk to Eratosthenes i'll ask him nicely to get a bugfix release out.
Free, open source poker tracking software: FPDB - (Version 0.40.5) - Nov 14, 2013 Quote
05-24-2009 , 01:00 PM
An improvement for the player stats would be only to show the stats from one site and if there would be an option to distinguish between the limits.
Free, open source poker tracking software: FPDB - (Version 0.40.5) - Nov 14, 2013 Quote
05-24-2009 , 01:17 PM
Quote:
Originally Posted by NightSky
An improvement for the player stats would be only to show the stats from one site and if there would be an option to distinguish between the limits.
Patches for this have already been committed.
Free, open source poker tracking software: FPDB - (Version 0.40.5) - Nov 14, 2013 Quote
05-24-2009 , 01:18 PM
Sweeet thanks, so it will be implemented in the next version?
Free, open source poker tracking software: FPDB - (Version 0.40.5) - Nov 14, 2013 Quote
05-24-2009 , 01:21 PM
Yes. The database schema is going through an update at the moment so a lot of additional stats can be viewed.

Import is currently broken for me, i'll try to remember to post a screenshot as soon as its fixed.
Free, open source poker tracking software: FPDB - (Version 0.40.5) - Nov 14, 2013 Quote
05-24-2009 , 07:13 PM
Hello again.
I just wanted to remember that I am really looking forward for the
option to display (all) stats via right click on the player.
And also to enable the user to modify the position and displayed stats the way he/she wants to.
Free, open source poker tracking software: FPDB - (Version 0.40.5) - Nov 14, 2013 Quote
05-25-2009 , 03:03 AM
Quote:
Originally Posted by FileNotFound
Hello again.
I just wanted to remember that I am really looking forward for the
option to display (all) stats via right click on the player.
And also to enable the user to modify the position and displayed stats the way he/she wants to.
Although it does require mucking around in the configuration file currently, the displayable stats are pretty configurable...

I could swear I had posted a screenshot .. can't find it anymore.. and WOW this thread has become HUGE...

Free, open source poker tracking software: FPDB - (Version 0.40.5) - Nov 14, 2013 Quote
05-25-2009 , 02:31 PM
Quote:
Originally Posted by ekdikeo
Although it does require mucking around in the configuration file currently, the displayable stats are pretty configurable...
You mean the permanent displayed stats, right?
But I explicitly mean the stats that appear when I make a right click
on a player.
This would be very important to get position dependent stats while playing.
If I would display them all the time it would be unplayable.

Quote:
Originally Posted by ekdikeo
I could swear I had posted a screenshot .. can't find it anymore.. and WOW this thread has become HUGE...
Indeed
Free, open source poker tracking software: FPDB - (Version 0.40.5) - Nov 14, 2013 Quote
05-25-2009 , 08:56 PM
Quote:
Originally Posted by ekdikeo
That's an impressive screenshot; you should post it to http://fpdb.****************/screenshots.php. The shots there at the moment are out of date and don't do Fpdb justice.
Free, open source poker tracking software: FPDB - (Version 0.40.5) - Nov 14, 2013 Quote
05-26-2009 , 05:03 AM
Quote:
Originally Posted by Eleatic Stranger
That's an impressive screenshot; you should post it to http://fpdb.****************/screenshots.php. The shots there at the moment are out of date and don't do Fpdb justice.
We really need someone to take on web master duties - any takers?

Screen as promised.

[IMG]http://fpdb.wiki.****************/space/showimage/0.12-dev-snapshot.png[/IMG]
Free, open source poker tracking software: FPDB - (Version 0.40.5) - Nov 14, 2013 Quote
05-26-2009 , 08:21 AM
Oops, forgot about this thread for a while.

Here's some of the code in my Perl script, please ignore the errors in my stat calculation, this is just about the concept:
Code:
sub get_stats{
	$pName=$_[0];
	$query = "SELECT SUM(HDs),SUM(street0VPI),
            SUM(street0Aggr),SUM(street1seen),SUM(otherRaisedStreet1),
            SUM(foldToOtherRaisedStreet1),SUM(street1Aggr),SUM(street2seen),
            SUM(otherRaisedStreet2),SUM(foldToOtherRaisedStreet2),SUM(street2Aggr),
            SUM(street3seen),SUM(otherRaisedStreet3),SUM(foldToOtherRaisedStreet3),
            SUM(street3Aggr),SUM(wonAtSd),SUM(sawShowdown) FROM hudcache,players 
            WHERE hudcache.playerId=players.id AND players.name='$pName'";	 
	$dbh = DBI->connect("DBI:mysqlPP:fpdb:localhost", "statparser", "statparser");
	$sqlQuery  = $dbh->prepare($query);	 
	$sqlQuery->execute;	

	while (@rawstats = $sqlQuery->fetchrow_array()){
		@stats = (
			($rawstats[1] / $rawstats[0]),		#VPIP(0)
            ($rawstats[2] / $rawstats[0]),		#PFR(1)
            ($rawstats[6]/($rawstats[3] + $rawstats[7] + $rawstats[11]) * 10),#AF
            ($rawstats[16] / $rawstats[3]), 	#WTSD(2)
            ($rawstats[15] / $rawstats[3]),		#WASD(3)
            ($rawstats[0]),                 	#SS(4)
            ($rawstats[5] / $rawstats[4]),  	#prFold1(5)
            ($rawstats[7] / $rawstats[3]),  	#prCall1(6)
            ($rawstats[6] / $rawstats[3]),  	#PrRaise1(7)
            ($rawstats[9] / $rawstats[8]),  	#prFold2(8)
            ($rawstats[11] / $rawstats[7]),  	#prCall2(9)
            ($rawstats[10] / $rawstats[7]),  	#PrRaise2(10)
            ($rawstats[13] / $rawstats[12]), 	#PrFold3(11)
            ($rawstats[16] / $rawstats[11]),  	#prCall3(12)
            ($rawstats[14] / $rawstats[11]))if defined $rawstats[0];
		}
	print "Stats for $pName:\n\nVPIP:$stats[0]\tPFR:$stats[1]\tAF:$stats[2]\nWTSD:$stats[3]\tWASD:$stats[4]\tSample size:$stats[5]
	\n\nFlop Probability triple:\nFold: $stats[6]\tCall: $stats[7]\tRaise: $stats[8]\n
	\nTurn Probability triple:\nFold: $stats[9]\tCall: $stats[10]\tRaise: $stats[11]\n
	\nRiver Probability triple:\nFold: $stats[12]\tCall: $stats[13]\tRaise: $stats[14]\n\n\n" if defined $stats[0];	
    return @stats;
	$sqlQuery->finish();
}

sub autorates {	
	if ($stats[0] < 12) && ($stats[1] > ($stats[0] / 1.5)) && ($stats[3] > 2)){
		$playertype = 'TAGAG';}
		elsif ($stats[0] < 30) && ($stats[1] < ($stats[0] / 2)) && ($stats[3] < 1.5)){
		$playertype = 'DONK';}
		elsif ($stats[0] < 12) && ($stats[1] < ($stats[0] / 2)) && ($stats[3] < 1.5)){
		$playertype = 'NIT';}
		elsif ($stats[0] > 20) && ($stats[1] < ($stats[0] / 1.5)) && ($stats[3] > 2)){
		$playertype = 'LAGAG';}
		elsif ($stats[0] < 10) && ($stats[1] > ($stats[0] / 2)) && ($stats[3] < 2)){
		$playertype = 'ROCK';}
		
}
My goal is to not use absolute values to autorate players, but rather make them a function of VPIP. Otherwise someone with a PFR of > 10 could be seen as very agressive, but what if he has a VPIP of 60 to go with that PFR?
Obviously different versions of this need to be made for different games, and there should be a way to handle half-full tables...

Meanwhile here are some improved autorate rules for 6maxFL (for use with PT)

Code:
Aggression:N
ARI_2   1       LP-P:   >= 50%, < 10%, <= 1
1       2       50.00           Vol. Put Money In Pot % is greater than or equal to 50.00
2       3       10.00           Pre-flop Raise % is less than 10.00
15      4       1.00            Aggression Factor - Total is less than or equal to 1.00
ARI_14  2       LP-A:   >= 50%, < 10%, > 1
1       2       50.00           Vol. Put Money In Pot % is greater than or equal to 50.00
2       3       10.00           Pre-flop Raise % is less than 10.00
15      1       1.00            Aggression Factor - Total is greater than 1.00
ARI_12  3       sLP-P:  30% - 50%, < 10%, <= 1.5
1       5       30.00   50.00   Vol. Put Money In Pot % is between 30.00 and 50.00
2       3       10.00           Pre-flop Raise % is less than 10.00
15      4       1.50            Aggression Factor - Total is less than or equal to 1.50
ARI_11  4       sLP-A:  30% - 50%, < 10%, >= 1.5
1       5       30.00   50.00   Vol. Put Money In Pot % is between 30.00 and 50.00
2       3       10.00           Pre-flop Raise % is less than 10.00
15      2       1.50            Aggression Factor - Total is greater than or equal to 1.50
ARI_8   5       LA-P:   >= 50%, >= 10%, <= 1.5
1       2       50.00           Vol. Put Money In Pot % is greater than or equal to 50.00
2       2       10.00           Pre-flop Raise % is greater than or equal to 10.00
15      4       1.50            Aggression Factor - Total is less than or equal to 1.50
ARI_10  6       LA-A:   >= 50%, >= 10%, >= 1.5
1       2       50.00           Vol. Put Money In Pot % is greater than or equal to 50.00
2       2       10.00           Pre-flop Raise % is greater than or equal to 10.00
15      2       1.50            Aggression Factor - Total is greater than or equal to 1.50
ARI_5   7       sLA-P: 30% - 50%, >= 10%, <= 1.5
1       5       30.00   50.00   Vol. Put Money In Pot % is between 30.00 and 50.00
2       2       10.00           Pre-flop Raise % is greater than or equal to 10.00
15      4       1.50            Aggression Factor - Total is less than or equal to 1.50
ARI_4   8       sLA-A: 30% - 50%, >= 10%, >= 1.5
1       5       30.00   50.00   Vol. Put Money In Pot % is between 30.00 and 50.00
2       2       10.00           Pre-flop Raise % is greater than or equal to 10.00
15      2       1.50            Aggression Factor - Total is greater than or equal to 1.50
ARI_9   9       TP-P:  <= 20%, < 10%, <= 1.5
1       4       20.00           Vol. Put Money In Pot % is less than or equal to 20.00
2       3       10.00           Pre-flop Raise % is less than 10.00
15      4       1.50            Aggression Factor - Total is less than or equal to 1.50
ARI_13  10      TP-A:  <= 30%, < 10%, >= 1.5
1       4       30.00           Vol. Put Money In Pot % is less than or equal to 30.00
2       3       10.00           Pre-flop Raise % is less than 10.00
15      2       1.50            Aggression Factor - Total is greater than or equal to 1.50
ARI_6   11      TA-P:  <= 30%, > 10%, <= 1
1       4       30.00           Vol. Put Money In Pot % is less than or equal to 30.00
2       2       10.00           Pre-flop Raise % is greater than or equal to 10.00
15      4       1.00            Aggression Factor - Total is less than or equal to 1.00
ARI_15  12      TA-N:  <= 30%, > 10%, 1 - 2
1       4       30.00           Vol. Put Money In Pot % is less than or equal to 30.00
2       2       10.00           Pre-flop Raise % is greater than or equal to 10.00
15      5       1.00    2.00    Aggression Factor - Total is between 1.00 and 2.00
ARI_3   13      TA-A:  <= 30%, > 10%, >= 1.5
1       4       30.00           Vol. Put Money In Pot % is less than or equal to 30.00
2       2       10.00           Pre-flop Raise % is greater than or equal to 10.00
15      2       1.50            Aggression Factor - Total is greater than or equal to 1.50
Free, open source poker tracking software: FPDB - (Version 0.40.5) - Nov 14, 2013 Quote
05-26-2009 , 09:54 AM
Just got a new machine, having some trouble reinstalling fpdb using postgresql...

My error log:
Code:
Traceback (most recent call last):
  File "C:\Program Files\pyfpdb\fpdb.py", line 465, in <module>
    me = fpdb()
  File "C:\Program Files\pyfpdb\fpdb.py", line 377, in __init__
    self.load_profile()
  File "C:\Program Files\pyfpdb\fpdb.py", line 269, in load_profile
    self.settings['db-password'])
  File "C:\Program Files\pyfpdb\fpdb_db.py", line 54, in connect
    raise FpdbError('Database backend not defined')
NameError: global name 'FpdbError' is not defined
Last few lines of hud_config.xml:
Code:
    <supported_databases>
    	<database db_name="fpdb"         db_server="postgres"      db_ip="localhost" db_user="fpdb"   db_pass="" db_type="fpdb">    </database>
    </supported_databases>
    <aux_windows>
    	<aw card_ht="42" card_wd="30" class="Stud_mucked" cols="11" deck="Cards01.png" module="Mucked" name="stud_mucked" rows="8"> </aw>
    </aux_windows>
</FreePokerToolsConfig>
What am I missing here?
Free, open source poker tracking software: FPDB - (Version 0.40.5) - Nov 14, 2013 Quote
05-26-2009 , 12:37 PM
Quote:
Originally Posted by Kris8400
Just got a new machine, having some trouble reinstalling fpdb using postgresql...
...Last few lines of hud_config.xml:
Code:
    <supported_databases>
        <database db_name="fpdb"         db_server="postgres"      db_ip="localhost" db_user="fpdb"   db_pass="" db_type="fpdb">    </database>
    </supported_databases>
    <aux_windows>
        <aw card_ht="42" card_wd="30" class="Stud_mucked" cols="11" deck="Cards01.png" module="Mucked" name="stud_mucked" rows="8"> </aw>
    </aux_windows>
</FreePokerToolsConfig>
What am I missing here?
should be:
Code:
db_server="postgresql"
in the HUD_config. Next time I am fooling around in Configuration.py I will make postgres a synonym for postgresql.
Free, open source poker tracking software: FPDB - (Version 0.40.5) - Nov 14, 2013 Quote
05-26-2009 , 12:52 PM
I have read this whole thread. I had PM assistance from dha123. I am a Vista user and it appears there is a major problem. I've spent months trying to get this to work.

With due respect, while the program may be "A+", the installation is "D-" at best. Someone should take the time to write detailed, I mean DETAILED instructions on what has to be done step by step. We have to go download two or three other programs. Then I found out I have to edit config files, which I did, but to no avail. I have now deleted it all. The best program in the world is no good if you can't get it to run. Like it or not, as users and time passes, more and more people are "forced" to go to Vista. If Vista is a problem for FPDB, then that should be addressed.

I am not mad, just disappointed because I wanted this to work. But, in defense of the "common user" who is not a programmer, there should be a simple install package that asks us to "fill in the blanks" and let it edit files and get other programs. Poker players, as a whole, want to play poker and see stats. They do not want to become computer programmers. PLEASE, in the future (as I will continue to follow this thread) spend just a tad more time on making installation easier even at the risk of delaying some "can't be without" feature such as the color choices for stats....

Thanks for all your hard work, but it does us common people no good if we can't get it installed and running...

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

      
m