Two Plus Two Publishing LLC
Two Plus Two Publishing LLC
 

Go Back   Two Plus Two Poker Forums > > >

Notices

Free Software Discussion of Free / Freeware / Donationware / Open Source poker software and Free Graphics mods

Reply
 
Thread Tools Display Modes
Old 03-09-2009, 12:09 AM   #1151
cliffkp
adept
 
cliffkp's Avatar
 
Join Date: Feb 2009
Location: I'm the BOSS
Posts: 1,105
Re: New Free/open source poker tracking software: FPDB - (Alpha9 - updates) - 10-Nov-

C:\Users\Cliff\Documents\fd\pyfpdb\fpdb.py:247: DeprecationWarning: use gtk.UIManager
self.item_factory = gtk.ItemFactory(gtk.MenuBar, "<main>", accel_group)
Traceback (most recent call last):
File "C:\Users\Cliff\Documents\fd\pyfpdb\GuiGraphViewer .py", line 296, in exportGraph
self.fig.savefig(self.exportDir, format="png")
AttributeError: 'GuiGraphViewer' object has no attribute 'fig'
TypeError: not_implemented() takes exactly 1 argument (3 given)
TypeError: not_implemented() takes exactly 1 argument (3 given)
TypeError: not_implemented() takes exactly 1 argument (3 given)
C:\Python25\lib\site-packages\matplotlib\backends\backend_gdk.py:289: PangoWarning: couldn't load font "Bitstream Vera Sans, normal, Not-Rotated 13", falling back to "Sans Not-Rotated 13", expect ugly output.
inkRect, logicalRect = layout.get_pixel_extents()
C:\Python25\lib\site-packages\matplotlib\backends\backend_gdk.py:289: PangoWarning: couldn't load font "Bitstream Vera Sans, normal, Not-Rotated 10", falling back to "Sans Not-Rotated 10", expect ugly output.
???
cliffkp is offline   Reply With Quote
Old 03-09-2009, 08:27 AM   #1152
sorrow
old hand
 
sorrow's Avatar
 
Join Date: Apr 2008
Location: Perth, Western Australia
Posts: 1,531
Re: New Free/open source poker tracking software: FPDB - (Alpha9 - updates) - 10-Nov-

Quote:
Originally Posted by FileNotFound View Post
Just as an information:
This week I'll tried to import a huge amount of HandHistories (HH).
About 400.000 hands.
I started on Monday and my system didn't finished until Friday....then I killed the process.
Something that was put in a while ago but never switched on because it still has at least one issue using postfix.

In fpdb_save_to_db.py has a line:
fastStoreHudCache=False

Change it to:
fastStoreHudCache=True and you should get a significant performance boost.
sorrow is offline   Reply With Quote
Old 03-09-2009, 09:01 AM   #1153
Eratosthenes
old hand
 
Join Date: Oct 2004
Posts: 1,535
Re: New Free/open source poker tracking software: FPDB - (Alpha9 - updates) - 10-Nov-

Quote:
Originally Posted by cliffkp View Post
C:\Users\Cliff\Documents\fd\pyfpdb\fpdb.py:247: DeprecationWarning: use gtk.UIManager
self.item_factory = gtk.ItemFactory(gtk.MenuBar, "<main>", accel_group)
Traceback (most recent call last):
File "C:\Users\Cliff\Documents\fd\pyfpdb\GuiGraphViewer .py", line 296, in exportGraph
self.fig.savefig(self.exportDir, format="png")
AttributeError: 'GuiGraphViewer' object has no attribute 'fig'
TypeError: not_implemented() takes exactly 1 argument (3 given)
TypeError: not_implemented() takes exactly 1 argument (3 given)
TypeError: not_implemented() takes exactly 1 argument (3 given)
C:\Python25\lib\site-packages\matplotlib\backends\backend_gdk.py:289: PangoWarning: couldn't load font "Bitstream Vera Sans, normal, Not-Rotated 13", falling back to "Sans Not-Rotated 13", expect ugly output.
inkRect, logicalRect = layout.get_pixel_extents()
C:\Python25\lib\site-packages\matplotlib\backends\backend_gdk.py:289: PangoWarning: couldn't load font "Bitstream Vera Sans, normal, Not-Rotated 10", falling back to "Sans Not-Rotated 10", expect ugly output.
???
I think the problem here is that you have not generated a graph before you pushed export.
Eratosthenes is offline   Reply With Quote
Old 03-09-2009, 05:10 PM   #1154
cliffkp
adept
 
cliffkp's Avatar
 
Join Date: Feb 2009
Location: I'm the BOSS
Posts: 1,105
Re: New Free/open source poker tracking software: FPDB - (Alpha9 - updates) - 10-Nov-

well thats the error that comes up.. and the hud on pokerstars doesn't work....
cliffkp is offline   Reply With Quote
Old 03-10-2009, 05:36 AM   #1155
Eleatic Stranger
journeyman
 
Join Date: Sep 2008
Location: Sydney
Posts: 292
Re: New Free/open source poker tracking software: FPDB - (Alpha9 - updates) - 10-Nov-

By chance I've just noticed the line fastStoreHudCache=False in fpdb_save_to_db.py. The "fast" SQL code looks all right to me; should I throw the switch and start testing it?

Before I try it I would like to make sure I'm not the very first person to have used this code, as I'd prefer not to put my existing database at risk (if there is any risk).
Eleatic Stranger is offline   Reply With Quote
Old 03-10-2009, 05:48 AM   #1156
sorrow
old hand
 
sorrow's Avatar
 
Join Date: Apr 2008
Location: Perth, Western Australia
Posts: 1,531
Re: New Free/open source poker tracking software: FPDB - (Alpha9 - updates) - 10-Nov-

Quote:
Originally Posted by Eleatic Stranger View Post
By chance I've just noticed the line fastStoreHudCache=False in fpdb_save_to_db.py. The "fast" SQL code looks all right to me; should I throw the switch and start testing it?

Before I try it I would like to make sure I'm not the very first person to have used this code, as I'd prefer not to put my existing database at risk (if there is any risk).
I used it for some time before Christmas and noticed an issue in postgres where 3bet stats appeared to be getting nuked. For MySQL i didn't notice any problems.

A few caveats - I was primarily testing for speed improvements. I seem to remember getting something like 20-30% speed improvements over 10k hands on bulk import.

I believe the code to be safe under MySQL, but i'd back it up first just in case.

mysqldump -u fpdb fpdb > backup.20090310.sql
sorrow is offline   Reply With Quote
Old 03-10-2009, 06:08 AM   #1157
Eleatic Stranger
journeyman
 
Join Date: Sep 2008
Location: Sydney
Posts: 292
Re: New Free/open source poker tracking software: FPDB - (Alpha9 - updates) - 10-Nov-

I'll try it, then, since I am using My SQL. I don't know that I'll necessarily notice a speed improvement in the HUD, as it is already quite fast, but I will be able to report any problems if they happen to arise.
Eleatic Stranger is offline   Reply With Quote
Old 03-10-2009, 10:48 AM   #1158
cliffkp
adept
 
cliffkp's Avatar
 
Join Date: Feb 2009
Location: I'm the BOSS
Posts: 1,105
Re: New Free/open source poker tracking software: FPDB - (Alpha9 - updates) - 10-Nov-

hey heres the latest from me, i pulled this from the HUD error file.. i just can't get everything to want to work on here?

HUD_main starting
Using db name = fpdb
Unhandled exception in thread started by <function read_stdin at 0x02F838F0>
Traceback (most recent call last):
File "C:\Users\Cliff\Documents\fd\pyfpdb\HUD_main.p y", line 157, in read_stdin
tablewindow = Tables.discover_table_by_name(config, table_name)
File "C:\Users\Cliff\Documents\fd\pyfpdb\Tables.py" , line 101, in discover_table_by_name
info = discover_nt_by_name(c, tablename)
File "C:\Users\Cliff\Documents\fd\pyfpdb\Tables.py" , line 238, in discover_nt_by_name
return decode_windows(c, titles[hwnd], hwnd)
File "C:\Users\Cliff\Documents\fd\pyfpdb\Tables.py" , line 291, in decode_windows
info['exe'] = get_nt_exe(hwnd)
File "C:\Users\Cliff\Documents\fd\pyfpdb\Tables.py" , line 264, in get_nt_exe
pshandle = win32api.OpenProcess(win32con.PROCESS_QUERY_INFORM ATION | win32con.PROCESS_VM_READ, False, processid[1])
pywintypes.error: (5, 'OpenProcess', 'Access is denied.')
Exception exceptions.KeyError: KeyError(1668,) in <module 'threading' from 'C:\Python25\lib\threading.pyc'> ignored
cliffkp is offline   Reply With Quote
Old 03-10-2009, 12:13 PM   #1159
Eratosthenes
old hand
 
Join Date: Oct 2004
Posts: 1,535
Re: New Free/open source poker tracking software: FPDB - (Alpha9 - updates) - 10-Nov-

Quote:
Originally Posted by cliffkp View Post
hey heres the latest from me, i pulled this from the HUD error file.. i just can't get everything to want to work on here?

HUD_main starting
Using db name = fpdb
Unhandled exception in thread started by <function read_stdin at 0x02F838F0>
Traceback (most recent call last):
File "C:\Users\Cliff\Documents\fd\pyfpdb\HUD_main.p y", line 157, in read_stdin
tablewindow = Tables.discover_table_by_name(config, table_name)
File "C:\Users\Cliff\Documents\fd\pyfpdb\Tables.py" , line 101, in discover_table_by_name
info = discover_nt_by_name(c, tablename)
File "C:\Users\Cliff\Documents\fd\pyfpdb\Tables.py" , line 238, in discover_nt_by_name
return decode_windows(c, titles[hwnd], hwnd)
File "C:\Users\Cliff\Documents\fd\pyfpdb\Tables.py" , line 291, in decode_windows
info['exe'] = get_nt_exe(hwnd)
File "C:\Users\Cliff\Documents\fd\pyfpdb\Tables.py" , line 264, in get_nt_exe
pshandle = win32api.OpenProcess(win32con.PROCESS_QUERY_INFORM ATION | win32con.PROCESS_VM_READ, False, processid[1])
pywintypes.error: (5, 'OpenProcess', 'Access is denied.')
Exception exceptions.KeyError: KeyError(1668,) in <module 'threading' from 'C:\Python25\lib\threading.pyc'> ignored
OK, I searched this thread for this error. Two things:
1) Under Vista you might need to run fpdb as administrator, or be logged on as admin when you run it. None of the devs run Vista, so we have no way to test. If we figure this out, I will add the info to the wiki. I don't like telling people to run as admin, I much prefer telling the to never run as admin.
2) Less likely, one of the folders that you specify in the site element doesn't exist. e. g., the HH_path in this:
Code:
<site 
HH_path="~/.wine/drive_c/Program Files/PokerStars/HandHistory/xxxxxx/" 
bgcolor="#000000" 
decoder="pokerstars_decode_table" 
fgcolor="#FFFFFF" 
font="Sans" 
font_size="8" 
hudopacity="1.0" 
screen_name="xxxxxx" 
site_name="PokerStars" 
site_path="~/.wine/drive_c/Program Files/PokerStars/" table_finder="PokerStars">
Eratosthenes is offline   Reply With Quote
Old 03-10-2009, 01:54 PM   #1160
cliffkp
adept
 
cliffkp's Avatar
 
Join Date: Feb 2009
Location: I'm the BOSS
Posts: 1,105
Re: New Free/open source poker tracking software: FPDB - (Alpha9 - updates) - 10-Nov-

thanks for the tip and understand you guys aren't running vista.... do know there is no way to run the program as an administrator though. i am logged in as administrator but being that the file is not .exe you can't right click/goto properties. choose run as administrator for those files.. there is no option for this.. if im wrong please someone chime in, but just letting you know.
cliffkp is offline   Reply With Quote
Old 03-10-2009, 02:58 PM   #1161
cliffkp
adept
 
cliffkp's Avatar
 
Join Date: Feb 2009
Location: I'm the BOSS
Posts: 1,105
Re: New Free/open source poker tracking software: FPDB - (Alpha9 - updates) - 10-Nov-

holy crap....... i dual booted xp on my vista machine... installed all the parts... now its saying when i clidk on fpdb.py

Traceback (most recent call last):
File "D:\Documents and Settings\Cliff\Desktop\fpdb\pyfpdb\fpdb.py", line 33, in <module>
import pygtk
ImportError: No module named pygtk

python is indeed installed....
cliffkp is offline   Reply With Quote
Old 03-10-2009, 03:12 PM   #1162
Eratosthenes
old hand
 
Join Date: Oct 2004
Posts: 1,535
Re: New Free/open source poker tracking software: FPDB - (Alpha9 - updates) - 10-Nov-

Quote:
Originally Posted by cliffkp View Post
holy crap....... i dual booted xp on my vista machine... installed all the parts... now its saying when i clidk on fpdb.py

Traceback (most recent call last):
File "D:\Documents and Settings\Cliff\Desktop\fpdb\pyfpdb\fpdb.py", line 33, in <module>
import pygtk
ImportError: No module named pygtk

python is indeed installed....
I am pretty sure there are some people running fpdb on Vista--maybe one will speak up.

This is not complaining about python, it is complaining about pygtk, the python bindings for gtk. Downloads for that are here. You'll need pygtk, pycairo, and pygobject.
Eratosthenes is offline   Reply With Quote
Old 03-10-2009, 03:31 PM   #1163
cliffkp
adept
 
cliffkp's Avatar
 
Join Date: Feb 2009
Location: I'm the BOSS
Posts: 1,105
Re: New Free/open source poker tracking software: FPDB - (Alpha9 - updates) - 10-Nov-

still won't load.. now getting this one..

Traceback (most recent call last):
File "D:\Documents and Settings\Cliff\Desktop\fpdb\pyfpdb\fpdb.py", line 464, in <module>
me = fpdb()
File "D:\Documents and Settings\Cliff\Desktop\fpdb\pyfpdb\fpdb.py", line 377, in __init__
self.load_profile()
File "D:\Documents and Settings\Cliff\Desktop\fpdb\pyfpdb\fpdb.py", line 275, in load_profile
self.settings['db-password'])
File "D:\Documents and Settings\Cliff\Desktop\fpdb\pyfpdb\fpdb_db.py", line 64, in connect
import MySQLdb
ImportError: No module named MySQLdb
cliffkp is offline   Reply With Quote
Old 03-10-2009, 03:46 PM   #1164
cliffkp
adept
 
cliffkp's Avatar
 
Join Date: Feb 2009
Location: I'm the BOSS
Posts: 1,105
Re: New Free/open source poker tracking software: FPDB - (Alpha9 - updates) - 10-Nov-

figured it out! testing now... hope all goes well... by the way.. great program, takes some setting up.. but its free.. and the fact that you do this kind of tech support for something thats free is amazing, thanks for the help
cliffkp is offline   Reply With Quote
Old 03-10-2009, 03:55 PM   #1165
cliffkp
adept
 
cliffkp's Avatar
 
Join Date: Feb 2009
Location: I'm the BOSS
Posts: 1,105
Re: New Free/open source poker tracking software: FPDB - (Alpha9 - updates) - 10-Nov-

would the hud for pokerstars work in play money? im just wanting to test it out.. couldn't get it to work on play money wasn't sure..
cliffkp is offline   Reply With Quote
Old 03-10-2009, 04:11 PM   #1166
cliffkp
adept
 
cliffkp's Avatar
 
Join Date: Feb 2009
Location: I'm the BOSS
Posts: 1,105
Re: New Free/open source poker tracking software: FPDB - (Alpha9 - updates) - 10-Nov-

I can't get the Auto Import and Hud to work.. i imported my hands in bulk import fine.. i have the directory to my hand files set up.. wll the way to cliffkp directory and just click open after i click the directory (not open it) in the command it just keeps saying
Guiautoimport.import_dir done

but im not getting anything on the screen.. no hud and no other information..
cliffkp is offline   Reply With Quote
Old 03-10-2009, 06:01 PM   #1167
FileNotFound
newbie
 
Join Date: Jan 2009
Location: earth - europe - germany
Posts: 33
Re: New Free/open source poker tracking software: FPDB - (Alpha9 - updates) - 10-Nov-

Thx for the console-tip regarding bulk import.
I will use it next time, great!
FileNotFound is offline   Reply With Quote
Old 03-10-2009, 06:43 PM   #1168
cliffkp
adept
 
cliffkp's Avatar
 
Join Date: Feb 2009
Location: I'm the BOSS
Posts: 1,105
Re: New Free/open source poker tracking software: FPDB - (Alpha9 - updates) - 10-Nov-

like i said i keep getting this "Guiautoimport.import_dir done
" just line after line

i also get this when i first click to import hud
"Warning Attempted to add non directory ' ' as an import directory"
cliffkp is offline   Reply With Quote
Old 03-10-2009, 08:10 PM   #1169
Eratosthenes
old hand
 
Join Date: Oct 2004
Posts: 1,535
Re: New Free/open source poker tracking software: FPDB - (Alpha9 - updates) - 10-Nov-

Quote:
Originally Posted by cliffkp View Post
like i said i keep getting this "Guiautoimport.import_dir done
" just line after line

i also get this when i first click to import hud
"Warning Attempted to add non directory ' ' as an import directory"
when you first get the gui, you need to select browse and point it to your HH folder. alternatively you can select it in the config file similar to what I showed a few posts ago
Eratosthenes is offline   Reply With Quote
Old 03-10-2009, 08:25 PM   #1170
cliffkp
adept
 
cliffkp's Avatar
 
Join Date: Feb 2009
Location: I'm the BOSS
Posts: 1,105
Re: New Free/open source poker tracking software: FPDB - (Alpha9 - updates) - 10-Nov-

its already pointing there... thats what i don't understand
cliffkp is offline   Reply With Quote
Old 03-10-2009, 09:01 PM   #1171
cliffkp
adept
 
cliffkp's Avatar
 
Join Date: Feb 2009
Location: I'm the BOSS
Posts: 1,105
Re: New Free/open source poker tracking software: FPDB - (Alpha9 - updates) - 10-Nov-

enabled="True"
site_name="PokerStars"
table_finder="PokerStars.exe"
screen_name="cliffkp"
site_path="D:\Program Files\PokerStars\"
HH_path="D:\Program Files\PokerStars\HandHistory\cliffkp"
decoder="pokerstars_decode_table"
converter="passthrough"

everything looks good to me from what i've read
cliffkp is offline   Reply With Quote
Old 03-10-2009, 09:02 PM   #1172
cliffkp
adept
 
cliffkp's Avatar
 
Join Date: Feb 2009
Location: I'm the BOSS
Posts: 1,105
Re: New Free/open source poker tracking software: FPDB - (Alpha9 - updates) - 10-Nov-

will it only work on pokerstars on a certain background?
cliffkp is offline   Reply With Quote
Old 03-10-2009, 09:12 PM   #1173
cliffkp
adept
 
cliffkp's Avatar
 
Join Date: Feb 2009
Location: I'm the BOSS
Posts: 1,105
Re: New Free/open source poker tracking software: FPDB - (Alpha9 - updates) - 10-Nov-

also hud error report is now
Traceback (most recent call last):
File "HUD_run_me.py", line 20, in <module>
import Tables
File "D:\Documents and Settings\Cliff\Desktop\fpdb\pyfpdb\Tables.py", line 34, in <module>
import win32gui
ImportError: No module named win32gui

No module named win32gui ??? this is confusing me.... don't understand the issue...
cliffkp is offline   Reply With Quote
Old 03-11-2009, 01:19 AM   #1174
Eratosthenes
old hand
 
Join Date: Oct 2004
Posts: 1,535
Re: New Free/open source poker tracking software: FPDB - (Alpha9 - updates) - 10-Nov-

Quote:
Originally Posted by cliffkp View Post
also hud error report is now
Traceback (most recent call last):
File "HUD_run_me.py", line 20, in <module>
import Tables
File "D:\Documents and Settings\Cliff\Desktop\fpdb\pyfpdb\Tables.py", line 34, in <module>
import win32gui
ImportError: No module named win32gui

No module named win32gui ??? this is confusing me.... don't understand the issue...
get win32gui here

I am starting to suspect that you didn't run the installer. Probably no reason to run it now. Just install this module and see what it complains about next, install that, repeat.

edit: you need the 2.5 stuff

Last edited by Eratosthenes; 03-11-2009 at 01:20 AM. Reason: need version 2.5
Eratosthenes is offline   Reply With Quote
Old 03-11-2009, 05:37 AM   #1175
ekdikeo
old hand
 
Join Date: Aug 2006
Posts: 1,308
Re: New Free/open source poker tracking software: FPDB - (Alpha9 - updates) - 10-Nov-

cliffkp,

What was your "Access is denied" error fix? What ver of Windows?

I -think- that's fixed in the last release for nearly all conditions ..
ekdikeo is offline   Reply With Quote

Reply
      

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


Forum Jump


All times are GMT -4. The time now is 01:52 PM.


Powered by vBulletin®
Copyright ©2000 - 2018, Jelsoft Enterprises Ltd.
Copyright © 2008-2017, Two Plus Two Interactive
 
 
Poker Players - Streaming Live Online