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

10-27-2009 , 07:10 PM
Hi guys!

Been trying to get fpdb to work in ubuntu and everything went fine until I tried to run the fpdb.py from terminal. Nothing happens. Also tried the 'chmod u+x fpdb.py' command but no luck there either. Any one got any ideas?
Free, open source poker tracking software: FPDB - (Version 0.40.5) - Nov 14, 2013 Quote
10-27-2009 , 08:44 PM
Quote:
Originally Posted by Eratosthenes
Do you guys have a feel for how long this has been going on? The HUD is not completely frozen because you can still kill it through the gui. Next time it happens try to kill the HUD by clicking on the stop import button in the fpdb import gui and let me know what happens.
I have never had this problem in the 0.11.3 version, just the devel 0.12.

I actually tried that today. For me, the auto-import stops when I push the stop import button, but when I click start import again, it hangs immediately. I can only get it to work again by closing the program and restarting.
Free, open source poker tracking software: FPDB - (Version 0.40.5) - Nov 14, 2013 Quote
10-27-2009 , 11:11 PM
Quote:
Originally Posted by Chris Laudin
Hi guys!

Been trying to get fpdb to work in ubuntu and everything went fine until I tried to run the fpdb.py from terminal. Nothing happens. Also tried the 'chmod u+x fpdb.py' command but no luck there either. Any one got any ideas?
It should have made a file named fpdb-error-log.txt in the dir that you started fpdb from. Depending on what version you have you can start it with the -x option to see the errors in the terminal instead of the file. This sounds like a problem with the config file.
Free, open source poker tracking software: FPDB - (Version 0.40.5) - Nov 14, 2013 Quote
10-27-2009 , 11:15 PM
Quote:
Originally Posted by BirdRacer
I have never had this problem in the 0.11.3 version, just the devel 0.12.

I actually tried that today. For me, the auto-import stops when I push the stop import button, but when I click start import again, it hangs immediately. I can only get it to work again by closing the program and restarting.
Thanks

Any more observations on this would be helpful. I will play with this to see if I can make it happen for me.
Free, open source poker tracking software: FPDB - (Version 0.40.5) - Nov 14, 2013 Quote
10-27-2009 , 11:42 PM
Quote:
Originally Posted by Chris Laudin
Hi guys!

Been trying to get fpdb to work in ubuntu and everything went fine until I tried to run the fpdb.py from terminal. Nothing happens. Also tried the 'chmod u+x fpdb.py' command but no luck there either. Any one got any ideas?
Can you give the terminal input/output including cd commands, i'm not sure how you are trying to start fpdb at the moment.
Free, open source poker tracking software: FPDB - (Version 0.40.5) - Nov 14, 2013 Quote
10-28-2009 , 04:44 AM
Quote:
Originally Posted by Eratosthenes
It should have made a file named fpdb-error-log.txt in the dir that you started fpdb from. Depending on what version you have you can start it with the -x option to see the errors in the terminal instead of the file. This sounds like a problem with the config file.
Quote:
Can you give the terminal input/output including cd commands, i'm not sure how you are trying to start fpdb at the moment.
I find the fpdb-error-log.txt file amongst the extracted files:

pyfpdb/fpdb.py:241: DeprecationWarning: use gtk.UIManager
self.item_factory = gtk.ItemFactory(gtk.MenuBar, "<main>", accel_group)


Don't know how to start with the -x option but I'll look in to it.

I followed this guide to the letter: http://****************/apps/mediawik...tall_in_Ubuntu.

I downloaded the 0.11.3 version and extracted the files and then followed the guide. When finished with all the installations and modifications I wrote the following in terminal to get to the right directory:

cd /home/chris/Desktop/fpdb_0.11.3/pyfpdb

After that I wrote fpdb.py in terminal to connect to the database but nothing happened. I then wrote chmod u+x fpdb.py
and tried connecting again with fpdb.py in the command line but nada.

Thanks for the help guys! And thanks for providing a struggling micro grinder with some open source stuff If there is anything one could help out with...
Free, open source poker tracking software: FPDB - (Version 0.40.5) - Nov 14, 2013 Quote
10-28-2009 , 05:15 AM
Quote:
Originally Posted by Chris Laudin
I find the fpdb-error-log.txt file amongst the extracted files:

pyfpdb/fpdb.py:241: DeprecationWarning: use gtk.UIManager
self.item_factory = gtk.ItemFactory(gtk.MenuBar, "<main>", accel_group)


Don't know how to start with the -x option but I'll look in to it.

I followed this guide to the letter: http://****************/apps/mediawik...tall_in_Ubuntu.

I downloaded the 0.11.3 version and extracted the files and then followed the guide. When finished with all the installations and modifications I wrote the following in terminal to get to the right directory:

cd /home/chris/Desktop/fpdb_0.11.3/pyfpdb

After that I wrote fpdb.py in terminal to connect to the database but nothing happened. I then wrote chmod u+x fpdb.py
and tried connecting again with fpdb.py in the command line but nada.
You should get something here.

Try:
Code:
~ # cd Projects/fpdb/fpdboz/pyfpdb/
~/Projects/fpdb/fpdboz/pyfpdb # python fpdb.py -x
And let me know what output you get on the console.

Sorrow
Free, open source poker tracking software: FPDB - (Version 0.40.5) - Nov 14, 2013 Quote
10-28-2009 , 05:37 AM
Quote:
Originally Posted by sorrow
You should get something here.

Try:
Code:
~ # cd Projects/fpdb/fpdboz/pyfpdb/
~/Projects/fpdb/fpdboz/pyfpdb # python fpdb.py -x
And let me know what output you get on the console.

Sorrow
This is what I got:

~ # cd Projects/fpdb/fpdboz/pyfpdb/
bash: /home/chris: is a directory

~/Projects/fpdb/fpdboz/pyfpdb # python fpdb.py -x
bash: /home/chris/Projects/fpdb/fpdboz/pyfpdb:
No such file or directory
Free, open source poker tracking software: FPDB - (Version 0.40.5) - Nov 14, 2013 Quote
10-28-2009 , 05:44 AM
Rephrase:
Code:
# cd /home/chris/Desktop/fpdb_0.11.3/pyfpdb
# python fpdb.py -x
Free, open source poker tracking software: FPDB - (Version 0.40.5) - Nov 14, 2013 Quote
10-28-2009 , 07:20 AM
Quote:
Originally Posted by sorrow
Rephrase:
Code:
# cd /home/chris/Desktop/fpdb_0.11.3/pyfpdb
# python fpdb.py -x
Nothing happens. No output either.
Free, open source poker tracking software: FPDB - (Version 0.40.5) - Nov 14, 2013 Quote
10-28-2009 , 12:19 PM
Okay, ubuntu users. I have something for you to test. First, you need to upgrade your installations to the latest release, Karmic Koala.

I just uploaded a snapshot debian package which should make testing a little bit easier. The package is located under "Snapshots" in the usual place, https://****************/projects/fpdb/files/

Download the python-fpdb... package and try to install it:
Code:
$ sudo dpkg -i "python-fpdb_0.12~git20091028-1_all.deb"
If all the dependency packages are already present it should go in smoothly. There appears a new menu entry called "Free Poker Database" either in Applications -> Accessories or, depending on your desktop system, in Applications -> Utilities. Alternatively, you can also launch FPDB directly from a terminal:

Code:
% fpdb
(Note: no ".py" at the end!)

While at it, I also updated the instructions for setting up PostgreSQL for ubuntu and debian. There is a cleaner way which doesn't rely on manually altering tables, granting special privileges or even tinkering with pgadmin. See the updated documentation from the installation guide page.
Free, open source poker tracking software: FPDB - (Version 0.40.5) - Nov 14, 2013 Quote
10-28-2009 , 12:32 PM
I'm using MySQL and want to know if there is a way to selectively delete a player? Specifically, I wish to delete ONLY hero's stats (mine) but don't want to lose all the player stats from a LOT of hands recently and in the past year. When my son has come out on vacations in the past, I've allowed him to play on my account... error on my part , now I want to clean my slate, but keep other players. Thanks


Dog

Last edited by 1meandog4u; 10-28-2009 at 12:59 PM.
Free, open source poker tracking software: FPDB - (Version 0.40.5) - Nov 14, 2013 Quote
10-28-2009 , 09:46 PM
Request for any 64-bit windows users:

If the program seems to be operating, but HUDs aren't coming up, and the console is coming up with an error that looks something like:

***Error: get_nt_exe(281): (299, 'GetModuleFileNameEx', 'Only part of a ReadProcessMemory or WriteProcessMemory request was completed.')

I could use some help in trying to duplicate the conditions this happens in. I know how to work around it, however, it may require waiting for support for a new system call to be added to the PyWin32 module. It started coming up for me today, but then went away while I was trying to figure out what caused it, and I haven't been able to get it to repeat.
Free, open source poker tracking software: FPDB - (Version 0.40.5) - Nov 14, 2013 Quote
10-28-2009 , 10:48 PM
Quote:
Originally Posted by 1meandog4u
I'm using MySQL and want to know if there is a way to selectively delete a player? Specifically, I wish to delete ONLY hero's stats (mine) but don't want to lose all the player stats from a LOT of hands recently and in the past year. When my son has come out on vacations in the past, I've allowed him to play on my account... error on my part , now I want to clean my slate, but keep other players. Thanks


Dog
Deleting a specific player is not currently possible, and raises all sorts of database consistency problems anyway.

The only thing that makes sense with what we have now is to pull his hand histories into another folder so you can import just your HHs next time you import.
Free, open source poker tracking software: FPDB - (Version 0.40.5) - Nov 14, 2013 Quote
10-28-2009 , 11:41 PM
Sup folks.

Just had my fpdb installed on OSX Snow Leopard, and it works great! Import and stats work as a charm, and I'm super happy about it. Truly awesome work you have put into this!

But... I can't get fpdb to load mathplotlib, so no graphie

Code:
bash-3.2$ sudo port install py25-matplotlib
--->  Computing dependencies for py25-matplotlib
--->  Cleaning py25-matplotlib
bash-3.2$ cd Library/Application\ Support/fpdb/pyfpdb/
bash-3.2$ pythonw ./fpdb.py 
Note: error output is being diverted to fpdb-error-log.txt and HUD-error.txt. Any major error will be reported there _only_.
Xlib:  extension "RANDR" missing on display "/tmp/launch-6wGygB/:0".
Failed to load libs for graphing, graphing will not function. Please in
                 stall numpy and matplotlib if you want to use graphs.
This is of no consequence for other parts of the program, e.g. import 
         and HUD are NOT affected by this problem.
Reading configuration file HUD_config.xml

Quitting normally
bash-3.2$
Where do I begin? Sorry if this q has been answered, haven't read the thread for a while.

Also, would love getting a HUD for OSX!
Free, open source poker tracking software: FPDB - (Version 0.40.5) - Nov 14, 2013 Quote
10-29-2009 , 12:01 AM
Quote:
Originally Posted by Eratosthenes
Deleting a specific player is not currently possible, and raises all sorts of database consistency problems anyway.

The only thing that makes sense with what we have now is to pull his hand histories into another folder so you can import just your HHs next time you import.
Thanks. Not sure which hands are his for sure. But, I know the last date he played, so I just changed the config to "T" for hero and set it for 30 days. That seems to work and only showed my hands.

Am I right that it is a "rolling" 30 days and will change each day, just for hero? I have other players set to "T" also and 90 days.

Dog
Free, open source poker tracking software: FPDB - (Version 0.40.5) - Nov 14, 2013 Quote
10-29-2009 , 12:37 AM
Quote:
Originally Posted by Eratosthenes
Deleting a specific player is not currently possible, and raises all sorts of database consistency problems anyway.

The only thing that makes sense with what we have now is to pull his hand histories into another folder so you can import just your HHs next time you import.
A quick note here - as of the development snapshot you can now select multiple files (instead of just a directory) from the bulk import page.

Sorrow.
Free, open source poker tracking software: FPDB - (Version 0.40.5) - Nov 14, 2013 Quote
10-29-2009 , 12:41 AM
Quote:
Originally Posted by p3rc4
Sup folks.

Just had my fpdb installed on OSX Snow Leopard, and it works great! Import and stats work as a charm, and I'm super happy about it. Truly awesome work you have put into this!

But... I can't get fpdb to load mathplotlib, so no graphie

Code:
bash-3.2$ sudo port install py25-matplotlib
--->  Computing dependencies for py25-matplotlib
--->  Cleaning py25-matplotlib
bash-3.2$ cd Library/Application\ Support/fpdb/pyfpdb/
bash-3.2$ pythonw ./fpdb.py 
Note: error output is being diverted to fpdb-error-log.txt and HUD-error.txt. Any major error will be reported there _only_.
Xlib:  extension "RANDR" missing on display "/tmp/launch-6wGygB/:0".
Failed to load libs for graphing, graphing will not function. Please in
                 stall numpy and matplotlib if you want to use graphs.
This is of no consequence for other parts of the program, e.g. import 
         and HUD are NOT affected by this problem.
Reading configuration file HUD_config.xml

Quitting normally
bash-3.2$
Where do I begin? Sorry if this q has been answered, haven't read the thread for a while.

Also, would love getting a HUD for OSX!
It looks like matplotlib installed ok--maybe your problem is that you need to install numpy. There is probably a port for it. Do this to test for matplotlib:

Code:
$ python
Python 2.6 (r26:66714, Jun  8 2009, 16:07:29) 
[GCC 4.4.0 20090506 (Red Hat 4.4.0-4)] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import matplotlib
>>> import numpy
>>> import iaintgotthis
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
ImportError: No module named iaintgotthis
>>>
(I'm using python 2.6, 2.5 is also fine.)

I am not hopeful that we'll ever have a HUD for OSX written in gtk. One thing I am doing is changing the way that HUDs are set up so that you don't have to use gtk, you could use QT or some native OSX thing that I've never heard of. (I'm not doing this just for mac folks, it will make other things work better, too.) These changes are not ready for prime time yet. However it is done, it will require someone who knows his way around OSX graphics to wrestle the problem to the ground.
Free, open source poker tracking software: FPDB - (Version 0.40.5) - Nov 14, 2013 Quote
10-29-2009 , 01:19 AM
Quote:
Originally Posted by p3rc4
Sup folks.

Just had my fpdb installed on OSX Snow Leopard, and it works great! Import and stats work as a charm, and I'm super happy about it. Truly awesome work you have put into this!

But... I can't get fpdb to load mathplotlib, so no graphie

Code:
bash-3.2$ sudo port install py25-matplotlib
--->  Computing dependencies for py25-matplotlib
--->  Cleaning py25-matplotlib
bash-3.2$ cd Library/Application\ Support/fpdb/pyfpdb/
bash-3.2$ pythonw ./fpdb.py 
Note: error output is being diverted to fpdb-error-log.txt and HUD-error.txt. Any major error will be reported there _only_.
Xlib:  extension "RANDR" missing on display "/tmp/launch-6wGygB/:0".
Failed to load libs for graphing, graphing will not function. Please in
                 stall numpy and matplotlib if you want to use graphs.
This is of no consequence for other parts of the program, e.g. import 
         and HUD are NOT affected by this problem.
Reading configuration file HUD_config.xml

Quitting normally
bash-3.2$
Where do I begin? Sorry if this q has been answered, haven't read the thread for a while.

Also, would love getting a HUD for OSX!
I've just made a change to the exception handling so that it actually prints which module failed to load.

Code:
except ImportError as inst:
    print """Failed to load libs for graphing, graphing will not function. Please in
                 stall numpy and matplotlib if you want to use graphs."""
    print """This is of no consequence for other parts of the program, e.g. import 
         and HUD are NOT affected by this problem."""
    print "ImportError: %s" % inst.args
If you change that code you can see which module is failing to load and we can go from there.

FWIW - I think Eratosthenes is right, you probably still need to:

sudo port install py25-pil py25-numpy py25-scipy

Sorrow
Free, open source poker tracking software: FPDB - (Version 0.40.5) - Nov 14, 2013 Quote
10-29-2009 , 02:55 AM
Quote:
Originally Posted by sorrow
Hmm. Thats irritating that there isn't a '#' to indicate the start of the hid. I'll have to subclass it for that regex.

I'll PM you my email address - i need a zipped (rather than copy/pasted) hh file to test with.

Sorrow

Edit: Ok - your blocking PMs - i'm Carl on the mailing list.
I don't find your e-mail; so I send HH to Steffen (fpdb-main-owner _at_ lists.****************)

You can send an e-mail to elwood42 _at_ gmail.com if you want to contact me directly

Regards,
Free, open source poker tracking software: FPDB - (Version 0.40.5) - Nov 14, 2013 Quote
10-29-2009 , 01:19 PM
Quote:
Originally Posted by Bostik
Okay, ubuntu users. I have something for you to test. First, you need to upgrade your installations to the latest release, Karmic Koala.

I just uploaded a snapshot debian package which should make testing a little bit easier. The package is located under "Snapshots" in the usual place, https://****************/projects/fpdb/files/

Download the python-fpdb... package and try to install it:
Code:
$ sudo dpkg -i "python-fpdb_0.12~git20091028-1_all.deb"
...
Hi there ppl,

I'm using latest Ubuntu Karmic, all packages up to date. I followed Installation steps an Getting started using the package mentioned above. this is my first try, never used fpdb before. Import and graphs are working nicely as expected. Only thing not working is "Auto Import and HUD". When I start it Terminal just tells me:

Code:
*** Error: _execute_child(1126): [Errno 13] Permission denied
shortly after that I get a GUI python crash msg. Nothing else happening. Except this fpdb is still working fine after this.

I googled a lot and I think it's more of a python related problem than fpdb itself, but I cannot find a solution.

A hint, anyone, please?
Free, open source poker tracking software: FPDB - (Version 0.40.5) - Nov 14, 2013 Quote
10-29-2009 , 01:40 PM
Quote:
Originally Posted by hengst
Only thing not working is "Auto Import and HUD". When I start it Terminal just tells me:

Code:
*** Error: _execute_child(1126): [Errno 13] Permission denied
Argh, sorrow just hinted what might be the problem. When the debian package installs the python files, it doesn't make any of them executable. I'll fix that for the next snapshot.

In the meantime, try if this command helps:
Code:
$ sudo chmod +x /usr/share/pyshared/fpdb/HUD_main.py
My bad. Sorry.
Free, open source poker tracking software: FPDB - (Version 0.40.5) - Nov 14, 2013 Quote
10-29-2009 , 01:58 PM
Quote:
Originally Posted by Bostik
Argh, sorrow just hinted what might be the problem. When the debian package installs the python files, it doesn't make any of them executable. I'll fix that for the next snapshot.

In the meantime, try if this command helps:
Code:
$ sudo chmod +x /usr/share/pyshared/fpdb/HUD_main.py
My bad. Sorry.
Yes, that did it. So simple! Too bad I didn't figure that out myself...

No need to be sorry and thanks for the fast reply!
Free, open source poker tracking software: FPDB - (Version 0.40.5) - Nov 14, 2013 Quote
10-29-2009 , 02:56 PM
I did a search on the main page and didn't see anything related. I tried to do a search here, but it hasn't been working the last few days...


My problem is this. I try to run the installer and it does not detect MYSQL. It shows on my taskmanager that mysqld-nt.exe is running. I have it set up under C:/MySql. It's mysql 5.0....

Any suggestions? PM me?
Free, open source poker tracking software: FPDB - (Version 0.40.5) - Nov 14, 2013 Quote
10-29-2009 , 03:54 PM
Quote:
Originally Posted by PJ222
I did a search on the main page and didn't see anything related. I tried to do a search here, but it hasn't been working the last few days...


My problem is this. I try to run the installer and it does not detect MYSQL. It shows on my taskmanager that mysqld-nt.exe is running. I have it set up under C:/MySql. It's mysql 5.0....

Any suggestions? PM me?
What version of windows are you using? The installer doesn't work for vista, and probably not for windows 7. (I'm not completely ignoring this little problem. I have a one file download for windows that sort of works. It doesn't have the graphing support yet and probably doesn't have other stuff that I don't know about yet. It does install correctly on vista and imports/shows hud. I'll try to have something that people can try out in a couple of weeks.)

I think you can tell the installer to skip screwing around with mysql and just set up mysql yourself following this how to in the wiki.
Free, open source poker tracking software: FPDB - (Version 0.40.5) - Nov 14, 2013 Quote

      
m