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

02-16-2010 , 10:22 AM
Quote:
Originally Posted by sqlcoder
Are you on Vista? The example config file has the default dir for XP, in Vista it's different, something like C:\Users\<username>\AppData\Local\PokerStars\... you can set this using the Browse button on the Auto Import page before starting the import.
Yes, but I manually changed my default hh location to be crogram files\pokerstars...... when I installed the Stars software.

I have double and triple checked the path in the config is correct, I even checked it under the preferences menu and it is correct. As I said, the FT version works fine.

I will quadruple check tonight and if necessary post screenshots.
Free, open source poker tracking software: FPDB - (Version 0.40.5) - Nov 14, 2013 Quote
02-16-2010 , 10:43 AM
Quote:
Originally Posted by j1nx
...
This test was done on a perfectly clean config file. Where I only changed the database section to;
...
You can test your config by running the Configuration.exe in the pyfpdb folder from the exe download. The first line of the output from that is the config file that it is reading, then you get a dump of the file contents. If the file is not valid (or the parser in the exe somehow thinks it isn't valid) then you should get some error messages.
Free, open source poker tracking software: FPDB - (Version 0.40.5) - Nov 14, 2013 Quote
02-16-2010 , 11:24 AM
Quote:
Originally Posted by Banzai
Has anyone got the exe version working with Stars playing Stud (Razz) games?

FT is fine (stats, HUD, mucked cards etc.) but it is having problems to "find" my Pokerstars HH folder.
I just installed Stars on my windows vm (which is XP) to test this.

I just sat down at a razz table and started autoimporting. It did not pop up a HUD after the 1st hand imported (which is a bug we know about), but did after the 2nd hand hand imported. After that the HUD was fine, incl the mucked card display.

the HUD did throw this error message:
Quote:
hud : ERROR *** Exception in HUD_main::idle_func() *** (
ions.AttributeError'>, AttributeError("Stud_cards instance has no a
s'",), <traceback object at 0x017FF7D8>)
hud : ERROR File "HUD_main.py", line 142, in idle_func

hud : ERROR File "Mucked.pyc", line 136, in update_gui

hud : ERROR File "Mucked.pyc", line 313, in update_gui
That is something that I though I fixed and will fix again this morning.

BTW: Thanks to everyone trying the exe. The feedback is appreciated--we would like to smooth this thing out some. The two of us that worked on making the exe had no previous experience with this, so we're not shocked that there are some rough edges, but we'll work with you to get it working well.
Free, open source poker tracking software: FPDB - (Version 0.40.5) - Nov 14, 2013 Quote
02-16-2010 , 11:42 AM
Thanks for the feedback, I knew about the 1 hand delay on FT for the HUD.

Should I will check my HUD_config.xml as this is likely to be where the problem lives?

I will edit it directly (not using preferences in fpdb) in fact I will copy the location from my windows explorer location bar.

Thanks again.
Free, open source poker tracking software: FPDB - (Version 0.40.5) - Nov 14, 2013 Quote
02-16-2010 , 12:36 PM
Quote:
Originally Posted by j1nx
I tested the config file with my manual installed fpdb setup, and it works.

Conclusion: The config error is only occurring with the EXE version of fpdb.
Just so i have the symptoms:
1) You were able to open fpdb using .exe+ sqlite
2) You modified the file for Stars/FTP id and path names and switch to postgres
3) You were unable to open
4) You've been unable to open with any config using postgres using the .exe
5) all errors have been the invalid token error you have displayed (my suspicion is no to this)

Is that correct?

Sorrow
Free, open source poker tracking software: FPDB - (Version 0.40.5) - Nov 14, 2013 Quote
02-16-2010 , 12:44 PM
Quote:
Originally Posted by Banzai
Thanks for the feedback, I knew about the 1 hand delay on FT for the HUD.

Should I will check my HUD_config.xml as this is likely to be where the problem lives?

I will edit it directly (not using preferences in fpdb) in fact I will copy the location from my windows explorer location bar.

Thanks again.
Are the files being found?

Does the logger or the logging pane indicate that the hh files are being found at all?

Sorrow
Free, open source poker tracking software: FPDB - (Version 0.40.5) - Nov 14, 2013 Quote
02-16-2010 , 02:04 PM
Quote:
Originally Posted by sorrow
Are the files being found?

Does the logger or the logging pane indicate that the hh files are being found at all?

Sorrow
Jeeze, Stars is not actually saving any hh files despite the "Save my history" being checked under options in the Stars software.

Any ideas? I will email Stars now about this. I checked my hh directory and my last saved hands were 14/2/10 has there been a Stars update since then?

EDIT: ran Stars as admin (never had to do this before for Stars or FT) and got hands to import:

HH20100216 Buryatia VIII - $0.10-$0.20 Ante $0.02 - USD Limit Razz.txt 1 stored, 0 duplicates, 0 partial, 0 errors (time = 0.101000)....
HH20100216 Buryatia VIII - $0.10-$0.20 Ante $0.02 - USD Limit Razz.txt 1 stored, 0 duplicates, 0 partial, 0 errors (time = 0.065000)........
HH20100216 Buryatia VIII - $0.10-$0.20 Ante $0.02 - USD Limit Razz.txt 1 stored, 0 duplicates, 0 partial, 0 errors (time = 0.051000)....
HH20100216 Buryatia VIII - $0.10-$0.20 Ante $0.02 - USD Limit Razz.txt 1 stored, 0 duplicates, 0 partial, 0 errors (time = 0.054000)....
HH20100216 Buryatia VIII - $0.10-$0.20 Ante $0.02 - USD Limit Razz.txt 1 stored, 0 duplicates, 0 partial, 0 errors (time = 0.046000).

No HUD though.........

Last edited by Banzai; 02-16-2010 at 02:11 PM.
Free, open source poker tracking software: FPDB - (Version 0.40.5) - Nov 14, 2013 Quote
02-16-2010 , 02:29 PM
Quote:
Originally Posted by Banzai
Jeeze, Stars is not actually saving any hh files despite the "Save my history" being checked under options in the Stars software.

Any ideas? I will email Stars now about this. I checked my hh directory and my last saved hands were 14/2/10 has there been a Stars update since then?

EDIT: ran Stars as admin (never had to do this before for Stars or FT) and got hands to import:

HH20100216 Buryatia VIII - $0.10-$0.20 Ante $0.02 - USD Limit Razz.txt 1 stored, 0 duplicates, 0 partial, 0 errors (time = 0.101000)....
HH20100216 Buryatia VIII - $0.10-$0.20 Ante $0.02 - USD Limit Razz.txt 1 stored, 0 duplicates, 0 partial, 0 errors (time = 0.065000)........
HH20100216 Buryatia VIII - $0.10-$0.20 Ante $0.02 - USD Limit Razz.txt 1 stored, 0 duplicates, 0 partial, 0 errors (time = 0.051000)....
HH20100216 Buryatia VIII - $0.10-$0.20 Ante $0.02 - USD Limit Razz.txt 1 stored, 0 duplicates, 0 partial, 0 errors (time = 0.054000)....
HH20100216 Buryatia VIII - $0.10-$0.20 Ante $0.02 - USD Limit Razz.txt 1 stored, 0 duplicates, 0 partial, 0 errors (time = 0.046000).

No HUD though.........
Ok - now can you stop the importer, rebuild the hudcache from the menu then restart fpdb and auto-import please?
Free, open source poker tracking software: FPDB - (Version 0.40.5) - Nov 14, 2013 Quote
02-16-2010 , 03:22 PM
Quote:
Originally Posted by sorrow
Ok - now can you stop the importer, rebuild the hudcache from the menu then restart fpdb and auto-import please?
Same problem.

The "HUD Main Window" doesn't show any table name it just says "Closing this window will exit from the HUD."
Free, open source poker tracking software: FPDB - (Version 0.40.5) - Nov 14, 2013 Quote
02-16-2010 , 03:26 PM
Quote:
Originally Posted by Banzai
Same problem.

The "HUD Main Window" doesn't show any table name it just says "Closing this window will exit from the HUD."
Run as admin the .exe/bat file?

Is there a runnable Tables.py file in that download?
Free, open source poker tracking software: FPDB - (Version 0.40.5) - Nov 14, 2013 Quote
02-16-2010 , 03:57 PM
Quote:
Originally Posted by sorrow
Run as admin the .exe/bat file?

Is there a runnable Tables.py file in that download?
Bingo! Ran fpdb.exe as Admin too and HUD worked!!

I did however get the following errors:

Quote:
2010-02-16 19:50:11,891 - hud ERROR *** Exception in HUD_main::idle_func() *** (<type 'exceptions.AttributeError'>, AttributeError("Stud_cards instance has no attribute 'tips'",), <traceback object at 0x02221170>)
2010-02-16 19:50:11,894 - hud ERROR File "HUD_main.py", line 142, in idle_func

2010-02-16 19:50:11,895 - hud ERROR File "Mucked.pyc", line 136, in update_gui

2010-02-16 19:50:11,898 - hud ERROR File "Mucked.pyc", line 313, in update_gui
I will check later on FT to find out if it was a Vista permissions issue or a Stars exclusive problem.

Thanks again Sorrow.
Free, open source poker tracking software: FPDB - (Version 0.40.5) - Nov 14, 2013 Quote
02-16-2010 , 04:57 PM
Quote:
Originally Posted by Banzai
Bingo! Ran fpdb.exe as Admin too and HUD worked!!
I just downloaded and unzipped the latest release onto my Vista machine and it worked straightaway for me without any run as admin stuff being required (using my config and db setup in earlier runs). A checklist for my setup:

- logged into Vista as an admin user
- fpdb unzipped into c:\Users\Public\Public Documents\...<blah>...
- Stars is saving hand histories into C:\Users\<myuser>\AppData\Local\PokerStars\HandHis tory\<MyStarsName> (vista is a bit picky about security and tries to separate code and data, so maybe this is important instead of saving into C:\Program Files\...)

Fpdb is using files in C:\Users\<myuser>\AppData\Roaming\fpdb - have a look at the log files in the log folder there and let us know if you see any recent errors.

If you figure out how to avoid using run as admin, let us know what you changed so that we can put it in the FAQ.
Free, open source poker tracking software: FPDB - (Version 0.40.5) - Nov 14, 2013 Quote
02-16-2010 , 05:14 PM
I get an error for a Euro tournament on Pokerstars, unable to read it with any codec.
I saw it being discussed earlier but don't know if it is supposed to be supported already?
I can send someone my hand history if needed
Free, open source poker tracking software: FPDB - (Version 0.40.5) - Nov 14, 2013 Quote
02-16-2010 , 08:37 PM
Quote:
Originally Posted by reefer
I get an error for a Euro tournament on Pokerstars, unable to read it with any codec.
I saw it being discussed earlier but don't know if it is supposed to be supported already?
I can send someone my hand history if needed
I thought this was fixed in both the most recent release and the new exe. So yeah, if you are getting this error in the latest, let us know and I'll PM you my email addr.
Free, open source poker tracking software: FPDB - (Version 0.40.5) - Nov 14, 2013 Quote
02-16-2010 , 10:25 PM
Quote:
Originally Posted by reefer
I get an error for a Euro tournament on Pokerstars, unable to read it with any codec.
I saw it being discussed earlier but don't know if it is supposed to be supported already?
I can send someone my hand history if needed
Eratosthenes - we fixed euro tourney in the old parsing code, not the new (its fixed in cash games)

We need a hand history before we can fix this
Free, open source poker tracking software: FPDB - (Version 0.40.5) - Nov 14, 2013 Quote
02-17-2010 , 05:53 AM
Quote:
Originally Posted by Banzai
Yes, but I manually changed my default hh location to be crogram files\pokerstars...... when I installed the Stars software.

I have double and triple checked the path in the config is correct, I even checked it under the preferences menu and it is correct. As I said, the FT version works fine.

I will quadruple check tonight and if necessary post screenshots.
Are you sure you're getting hand history files there? Theoretically, software is not supposed to be allowed to write into it's own directory in Vista/7...
Free, open source poker tracking software: FPDB - (Version 0.40.5) - Nov 14, 2013 Quote
02-17-2010 , 08:25 AM
Quote:
Originally Posted by sorrow
Eratosthenes - we fixed euro tourney in the old parsing code, not the new (its fixed in cash games)

We need a hand history before we can fix this
I have 2 of them but don't know where to send them..
Free, open source poker tracking software: FPDB - (Version 0.40.5) - Nov 14, 2013 Quote
02-17-2010 , 08:38 AM
Quote:
Originally Posted by reefer
I have 2 of them but don't know where to send them..
I can't PM you, so i've sent what I hope is an email with our addresses.

Sorrow
Free, open source poker tracking software: FPDB - (Version 0.40.5) - Nov 14, 2013 Quote
02-17-2010 , 08:53 AM
Maybe its a known "problem" but just so you know, the output folders (for the HHs) creates files with 0 bytes filesize (this is true for both FTP and stars).

Btw, do you have an export all hands feature and if so, does it export original HHs or are they converted? Ciao
Free, open source poker tracking software: FPDB - (Version 0.40.5) - Nov 14, 2013 Quote
02-17-2010 , 10:36 AM
Quote:
Originally Posted by El helado Patata
Maybe its a known "problem" but just so you know, the output folders (for the HHs) creates files with 0 bytes filesize (this is true for both FTP and stars).

Btw, do you have an export all hands feature and if so, does it export original HHs or are they converted? Ciao
We are aware of the 0 byte thing, it should be fixed in the next release.

We have the ability to output hands in a Starslke format, but it isn't available to users.

We do expect that users will keep a copy of their hand histories at the moment, and for the foreseeable future.

Sorrow
Free, open source poker tracking software: FPDB - (Version 0.40.5) - Nov 14, 2013 Quote
02-17-2010 , 01:03 PM
Quote:
Originally Posted by reefer
I have 2 of them but don't know where to send them..
Hey Reefer, they both import fine on my system.

Can you give more details on the error please?
Free, open source poker tracking software: FPDB - (Version 0.40.5) - Nov 14, 2013 Quote
02-17-2010 , 01:19 PM
Quote:
Originally Posted by sorrow
Hey Reefer, they both import fine on my system.

Can you give more details on the error please?
fpdb-0.12-20100213

Operating System nt ( windows 7 )
Python 2.5
GTK+ 2.14.7
PyGTK 2.12.1
matplotlib 0.98.3
numpy 1.2.1
sqlite3 2.3.2
sqlite 3.3.4
database mysql

manual import gives me this:

Global lock taken ...
No need to rebuild indexes.
No need to rebuild hudcache.
Analyze took 0.3 seconds
GuiBulkImport.load done: Stored: 0 Duplicates: 0 Partial: 0 Errors:
0 in 0.325000047684 seconds - 0/sec

the automatic import only had one line of error 'unable to import with any installed codec' or something like that.
Free, open source poker tracking software: FPDB - (Version 0.40.5) - Nov 14, 2013 Quote
02-17-2010 , 01:43 PM
I'm running FPDB on FreeBSD 8.0-Current

Seems to start up just fine. Ports/packages dependencies are:
* lang/python
* math/py-numpy
* math/py-matplotlib
* math/py-numeric
* games/py-poker-eval
* x11-toolkits/py-xlib
* databases/py-MySQLdb

FreeBSD puts python in /usr/local/bin so...

the first line in fpdb.py needs to be changed from

Code:
#!/usr/bin/python
to
Code:
#!/usr/local/bin/python

For some reason locale.getdefaultlocale() is returning (in python):
Code:
(None, None)
I replaced
Code:
LOCALE.ENCODING = locale.getdefaultlocale()[1]
with
Code:
LOCALE.ENCODING = "ascii"
I stopped getting errors about the LOCALE.ENCODING after this, but I haven't managed to get either the bulk importer or the auto-import to function (let alone the HUD). Here's what I'm getting:
Code:
%./fpdb.py -x
Python 2.6...


/usr/local/lib/python2.6/site-packages/MySQLdb/__init__.py:34: DeprecationWarning: the sets module is deprecated
  from sets import ImmutableSet

Reading configuration file /usr/home/dillodog/fpdb/pyfpdb/HUD_config.xml

Loading site PokerStars
Loading site Full Tilt Poker
Loading site Everleaf
Loading site Win2day
Loading site Absolute
Loading site PartyPoker
Loading site Betfair

fpdb starting ...Full Tilt Poker
Everleaf
Partouche
Betfair
PartyPoker
PokerStars
Win2day
Absolute

Global lock taken ...
Traceback (most recent call last):
  File "/usr/home/dillodog/fpdb/pyfpdb/GuiBulkImport.py", line 96, in load_clicked
    (stored, dups, partial, errs, ttime) = self.importer.runImport()
  File "/usr/home/dillodog/fpdb/pyfpdb/fpdb_import.py", line 228, in runImport
    (totstored, totdups, totpartial, toterrors) = self.importFiles(self.database, None)
  File "/usr/home/dillodog/fpdb/pyfpdb/fpdb_import.py", line 284, in importFiles
    ,self.filelist[file][0], self.filelist[file][1], q)
  File "/usr/home/dillodog/fpdb/pyfpdb/fpdb_import.py", line 432, in import_file_dict
    hhc = obj(in_path = file, out_path = out_path, index = 0, starsArchive = self.settings['starsArchive']) # Index into file 0 until changeover
  File "/usr/home/dillodog/fpdb/pyfpdb/HandHistoryConverter.py", line 115, in __init__
    self.start()
  File "/usr/home/dillodog/fpdb/pyfpdb/HandHistoryConverter.py", line 164, in start
    self.processedHands.append(self.processHand(handText))
  File "/usr/home/dillodog/fpdb/pyfpdb/HandHistoryConverter.py", line 286, in processHand
    hand = Hand.HoldemOmahaHand(self, self.sitename, gametype, handText)
  File "/usr/home/dillodog/fpdb/pyfpdb/Hand.py", line 616, in __init__
    hhc.compilePlayerRegexs(self)
  File "/usr/home/dillodog/fpdb/pyfpdb/PokerStarsToFpdb.py", line 94, in compilePlayerRegexs
    subst = {'PLYR': player_re, 'CUR': self.sym[hand.gametype['currency']]}
KeyError: 'play'
Quitting normally
When I run auto-import, it acts as though it is importing but never seems to get anywhere. It recognizes my HandHistory directory (/usr/home/dillodog/.wine/drive_c/Program Files/PokerStars/HandHistory/xxxxxx). Here's the output:
Code:
%./fpdb.py -x
Python 2.6...

/usr/local/lib/python2.6/site-packages/MySQLdb/__init__.py:34: Deprecatig: the sets module is deprecated
  from sets import ImmutableSet

Reading configuration file /usr/home/dillodog/fpdb/pyfpdb/HUD_config.xml

Loading site PokerStars
Loading site Full Tilt Poker
Loading site Everleaf
Loading site Win2day
Loading site Absolute
Loading site PartyPoker
Loading site Betfair

fpdb starting ...HUD_main starting
Using db name = fpdb

Reading configuration file /usr/home/dillodog/fpdb/pyfpdb/HUD_config.xml

Loading site PokerStars
Loading site Full Tilt Poker
Loading site Everleaf
Loading site Win2day
Loading site Absolute
Loading site PartyPoker
Loading site Betfair

/usr/local/lib/python2.6/site-packages/MySQLdb/__init__.py:34: Deprecatig: the sets module is deprecated
  from sets import ImmutableSet
I'm concerned about it saying that it's using db name = fpdb when I have it configured to use a different db name in HUD_config.xml (remote mysql server). I checked the db in phpMyAdmin and there were no entries for players or hands. The HUD Main window pops up but just says that closing the window will exit from the HUD.

Suggestions or solutions?
Free, open source poker tracking software: FPDB - (Version 0.40.5) - Nov 14, 2013 Quote
02-17-2010 , 02:19 PM
Quote:
Originally Posted by dillodog
I'm running FPDB on FreeBSD 8.0-Current

Seems to start up just fine. Ports/packages dependencies are:
* lang/python
* math/py-numpy
* math/py-matplotlib
* math/py-numeric
* games/py-poker-eval
* x11-toolkits/py-xlib
* databases/py-MySQLdb
I wish you luck with this. (Denn?)

Quote:
Originally Posted by dillodog
FreeBSD puts python in /usr/local/bin so...

the first line in fpdb.py needs to be changed from

Code:
#!/usr/bin/python
to
Code:
#!/usr/local/bin/python
#!/usr/bin/env python

is probably more correct. We have about 50/50 on this at the moment.

Quote:
Originally Posted by dillodog
For some reason locale.getdefaultlocale() is returning (in python):
Code:
(None, None)
I replaced
Code:
LOCALE.ENCODING = locale.getdefaultlocale()[1]
with
Code:
LOCALE.ENCODING = "ascii"
('en_AU', 'UTF8') on my Ubuntu system.

For mac setting it as ascii appears to have worked ok.

What does `locale` give?

Quote:
Originally Posted by dillodog
I stopped getting errors about the LOCALE.ENCODING after this, but I haven't managed to get either the bulk importer or the auto-import to function (let alone the HUD). Here's what I'm getting:

Reading configuration file /usr/home/dillodog/fpdb/pyfpdb/HUD_config.xml
It should be reading /usr/home/dillodog/.fpdb/HUD_config.xml - and will read that in preference. (i hope)

Quote:
Originally Posted by dillodog
Code:
Global lock taken ...
Traceback (most recent call last):
  File "/usr/home/dillodog/fpdb/pyfpdb/PokerStarsToFpdb.py", line 94, in compilePlayerRegexs
    subst = {'PLYR': player_re, 'CUR': self.sym[hand.gametype['currency']]}
KeyError: 'play'
Quitting normally
None of the devs uses play money files, I think it was working at some point - but it doesn't get a lot of testing - and wouldn't play nice with real money games if it did import (i think freerolls will import fwiw)

PokerStarsToFpdb.determineGameType() - look for currencies

Whatever is reported need to match something in the PokerStarsToFpdb.sym hash
Quote:
Originally Posted by dillodog
Code:
%./fpdb.py -x

Using db name = fpdb
I'm concerned about it saying that it's using db name = fpdb when I have it configured to use a different db name in HUD_config.xml (remote mysql server). I checked the db in phpMyAdmin and there were no entries for players or hands. The HUD Main window pops up but just says that closing the window will exit from the HUD.

Suggestions or solutions?
Take a look at HUD_run_me.py - its a default value, and i think legacy code.

But the tables were there, so you were connected to the right thing.

BTW - You didn't mention the version of fpdb in your post.

Sorrow
Free, open source poker tracking software: FPDB - (Version 0.40.5) - Nov 14, 2013 Quote
02-17-2010 , 04:06 PM
Hi dillodog--

I had Stars play money hands parsing OK a while back, but have not tested that recently. It is possible that play money parsing was broken since then.

There are some real money stars files in the tar.gz file for testing. You should be able to find them in the blah/pyfpdb/regression-test-files/cash/Stars/Flop/ dir. Try to BI some of those and see what happens.
Free, open source poker tracking software: FPDB - (Version 0.40.5) - Nov 14, 2013 Quote

      
m