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

03-09-2009 , 12:09 AM
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.
???
Free, open source poker tracking software: FPDB - (Version 0.40.5) - Nov 14, 2013 Quote
03-09-2009 , 08:27 AM
Quote:
Originally Posted by FileNotFound
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.
Free, open source poker tracking software: FPDB - (Version 0.40.5) - Nov 14, 2013 Quote
03-09-2009 , 09:01 AM
Quote:
Originally Posted by cliffkp
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.
Free, open source poker tracking software: FPDB - (Version 0.40.5) - Nov 14, 2013 Quote
03-09-2009 , 05:10 PM
well thats the error that comes up.. and the hud on pokerstars doesn't work....
Free, open source poker tracking software: FPDB - (Version 0.40.5) - Nov 14, 2013 Quote
03-10-2009 , 05:36 AM
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).
Free, open source poker tracking software: FPDB - (Version 0.40.5) - Nov 14, 2013 Quote
03-10-2009 , 05:48 AM
Quote:
Originally Posted by Eleatic Stranger
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
Free, open source poker tracking software: FPDB - (Version 0.40.5) - Nov 14, 2013 Quote
03-10-2009 , 06:08 AM
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.
Free, open source poker tracking software: FPDB - (Version 0.40.5) - Nov 14, 2013 Quote
03-10-2009 , 10:48 AM
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
Free, open source poker tracking software: FPDB - (Version 0.40.5) - Nov 14, 2013 Quote
03-10-2009 , 12:13 PM
Quote:
Originally Posted by cliffkp
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">
Free, open source poker tracking software: FPDB - (Version 0.40.5) - Nov 14, 2013 Quote
03-10-2009 , 01:54 PM
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.
Free, open source poker tracking software: FPDB - (Version 0.40.5) - Nov 14, 2013 Quote
03-10-2009 , 02:58 PM
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....
Free, open source poker tracking software: FPDB - (Version 0.40.5) - Nov 14, 2013 Quote
03-10-2009 , 03:12 PM
Quote:
Originally Posted by cliffkp
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.
Free, open source poker tracking software: FPDB - (Version 0.40.5) - Nov 14, 2013 Quote
03-10-2009 , 03:31 PM
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
Free, open source poker tracking software: FPDB - (Version 0.40.5) - Nov 14, 2013 Quote
03-10-2009 , 03:46 PM
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
Free, open source poker tracking software: FPDB - (Version 0.40.5) - Nov 14, 2013 Quote
03-10-2009 , 03:55 PM
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..
Free, open source poker tracking software: FPDB - (Version 0.40.5) - Nov 14, 2013 Quote
03-10-2009 , 04:11 PM
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..
Free, open source poker tracking software: FPDB - (Version 0.40.5) - Nov 14, 2013 Quote
03-10-2009 , 06:01 PM
Thx for the console-tip regarding bulk import.
I will use it next time, great!
Free, open source poker tracking software: FPDB - (Version 0.40.5) - Nov 14, 2013 Quote
03-10-2009 , 06:43 PM
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"
Free, open source poker tracking software: FPDB - (Version 0.40.5) - Nov 14, 2013 Quote
03-10-2009 , 08:10 PM
Quote:
Originally Posted by cliffkp
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
Free, open source poker tracking software: FPDB - (Version 0.40.5) - Nov 14, 2013 Quote
03-10-2009 , 08:25 PM
its already pointing there... thats what i don't understand
Free, open source poker tracking software: FPDB - (Version 0.40.5) - Nov 14, 2013 Quote
03-10-2009 , 09:01 PM
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
Free, open source poker tracking software: FPDB - (Version 0.40.5) - Nov 14, 2013 Quote
03-10-2009 , 09:02 PM
will it only work on pokerstars on a certain background?
Free, open source poker tracking software: FPDB - (Version 0.40.5) - Nov 14, 2013 Quote
03-10-2009 , 09:12 PM
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...
Free, open source poker tracking software: FPDB - (Version 0.40.5) - Nov 14, 2013 Quote
03-11-2009 , 01:19 AM
Quote:
Originally Posted by cliffkp
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
Free, open source poker tracking software: FPDB - (Version 0.40.5) - Nov 14, 2013 Quote
03-11-2009 , 05:37 AM
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 ..
Free, open source poker tracking software: FPDB - (Version 0.40.5) - Nov 14, 2013 Quote

      
m