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

12-02-2009 , 12:47 PM
Quote:
Originally Posted by PhenixRising
I was also wondering if the creators frequent ubuntuforum. There are several active players on that site that run under wine. They may have interest in working on this project.
I don't run ubuntu either, I use plain debian. However, I explicitly targeted the packaging for ubuntu and do build packages in such a system to make it as easy as possible for new users to take the tool for a spin.

Should probably do a new snapshot package, really.
Free, open source poker tracking software: FPDB - (Version 0.40.5) - Nov 14, 2013 Quote
12-02-2009 , 12:54 PM
Quote:
Originally Posted by ciDoR
Hi, another question. I saved the HUD_config.xml in my .fpdb folder. Strangely sometimes, this file is renamed to HUD_config.example.xml. This happens very often. I coundn't find out why and when this happens. Does anyone know why, and how to solve ?
This might be the remnants of a bug in the previous snapshot, what version and platform are you running under?
Free, open source poker tracking software: FPDB - (Version 0.40.5) - Nov 14, 2013 Quote
12-02-2009 , 01:19 PM
I am running Ubuntu, and the newest version of fpdb (when i click info it says : FPDB 0.12, so I think this is the newest)
Free, open source poker tracking software: FPDB - (Version 0.40.5) - Nov 14, 2013 Quote
12-02-2009 , 04:23 PM
Custom stats... are any hooks or similar in the works to allow us to add our own information to be displayed?

My request would be to have an area on each table to display the last x winners and the size of the pot.
Free, open source poker tracking software: FPDB - (Version 0.40.5) - Nov 14, 2013 Quote
12-02-2009 , 09:15 PM
Quote:
Originally Posted by 1meandog4u
You need the file "hud_config.xml.example" and when you're done do a "save as" and name it "hud_config.xml" naturally without the quotes.

The actual changes to the file are near the very end of the file. You can right-click on the file. Then select "edit" and Notepad will open it as a text file. (assuming you are on windows). Scroll down to the end of the file. It will look something like this... the part I have highlighted in red is where you put YOUR password that you set up Mysql with when you installed it. This is just an example...

</hhcs>

<supported_databases>
<database db_ip="localhost" db_name="fpdb"
db_pass="abcdef" db_server="mysql" db_type="fpdb"
db_user="fpdb"/>
!-- <database db_ip="localhost"
db_name="fpdb" db_pass="fpdb"
db_server="sqlite" db_type="fpdb" db_user="fpdb"/> -->
</supported_databases>

</FreePokerToolsConfig>

When that's done, save the file which will name it the "hud_config.xml.example" now you do the "save as" that was mentioned above, and save as "hud_config.xml". That should get you up and running.

Dog

thanks i ended up getting all that on my own before your reply lol and got in and i can import and everything but the grapher doesn't work

whenever i go to the grapher and click on refresh i get an error in the cmd box.

error: cleargraphdata<118> : global name 'figure' is not defined.

any help with that would be appreciated, the grapher is the main thing i really want
Free, open source poker tracking software: FPDB - (Version 0.40.5) - Nov 14, 2013 Quote
12-02-2009 , 10:42 PM
Quote:
Originally Posted by rayuki
thanks i ended up getting all that on my own before your reply lol and got in and i can import and everything but the grapher doesn't work

whenever i go to the grapher and click on refresh i get an error in the cmd box.

error: cleargraphdata<118> : global name 'figure' is not defined.

any help with that would be appreciated, the grapher is the main thing i really want
The grapher requires matplotlib, a stock package under linux.

The file ekdikeo references a few posts up contains a link in the bat file to where it is located.

Sorrow
Free, open source poker tracking software: FPDB - (Version 0.40.5) - Nov 14, 2013 Quote
12-02-2009 , 10:53 PM
Quote:
Originally Posted by Greg4050
Custom stats... are any hooks or similar in the works to allow us to add our own information to be displayed?

My request would be to have an area on each table to display the last x winners and the size of the pot.
Yes, but it is do-it-yourself at the moment.

http://****************/apps/mediawik...itle=How_to_AW

Aux windows can basically display anything you want, and you get a heartbeat per table with enough information to get anything else you want.

It does require some python/gui/gtk programming to get it up and running though.

Sorrow
Free, open source poker tracking software: FPDB - (Version 0.40.5) - Nov 14, 2013 Quote
12-02-2009 , 11:10 PM
Quote:
Originally Posted by sorrow
The grapher requires matplotlib, a stock package under linux.

The file ekdikeo references a few posts up contains a link in the bat file to where it is located.

Sorrow
i think i already installed that but i will try and find it again.

EDIT: yeah i used that file to download everything before and the grapher still does that error.

once i download all that stuff do i just run the install.bat?
Free, open source poker tracking software: FPDB - (Version 0.40.5) - Nov 14, 2013 Quote
12-02-2009 , 11:23 PM
Quote:
Originally Posted by rayuki
i think i already installed that but i will try and find it again.

EDIT: yeah i used that file to download everything before and the grapher still does that error.

once i download all that stuff do i just run the install.bat?
Running the install.bat should actually download everything, then install. If you already have the files, then running the installer for... I think its numpy, pylab and matplotlib (possibly no pylab) should get you up and running.

Sorrow
Free, open source poker tracking software: FPDB - (Version 0.40.5) - Nov 14, 2013 Quote
12-02-2009 , 11:38 PM
Quote:
Originally Posted by sorrow
Running the install.bat should actually download everything, then install. If you already have the files, then running the installer for... I think its numpy, pylab and matplotlib (possibly no pylab) should get you up and running.

Sorrow
i think the problem is its not installing matplotlib not that i can see anyway. i have checked a few times and it doesn't seem to install from that file.

heres the files it lists.

http://img441.imageshack.us/img441/7100/filesh.jpg
Free, open source poker tracking software: FPDB - (Version 0.40.5) - Nov 14, 2013 Quote
12-02-2009 , 11:46 PM
Quote:
Originally Posted by rayuki
i think the problem is its not installing matplotlib not that i can see anyway. i have checked a few times and it doesn't seem to install from that file.

heres the files it lists.

http://img441.imageshack.us/img441/7100/filesh.jpg
Can you try grabbing and installing this?

http://****************/projects/matp...6.exe/download
Free, open source poker tracking software: FPDB - (Version 0.40.5) - Nov 14, 2013 Quote
12-02-2009 , 11:53 PM
Quote:
Originally Posted by sorrow
Can you try grabbing and installing this?

http://****************/projects/matp...6.exe/download
thanks i'll give that a try and let you know.

arghhh i uninstalled python 2.5 to install 2.6 with all these things and now the DB wont even open the command window just opens and quickly shuts when i run FPDB.

so frustrating

Last edited by rayuki; 12-02-2009 at 11:59 PM.
Free, open source poker tracking software: FPDB - (Version 0.40.5) - Nov 14, 2013 Quote
12-03-2009 , 01:15 AM
A problem I've encountered only recently – in the current version in the Git repository – is that HUD windows are not reliably created for new tables as they are opened (or, more precisely, as I am dealt in), but only for some of them. It may be that I have been asking for trouble by multi-tabling to excess; but it has worked painlessly enough in the past! I've made a habit of killing the HUD when this happens and restarting the auto-import function, which gives me a HUD for most of my tables, but not always all of them. Usually some appear fated not to work.

The following error message in HUD-error.txt might have something to do with it:

Code:
Creating hud from hand 46493
Traceback (most recent call last):
  File "/home/matthew/ephemera/fpdb-git/pyfpdb/HUD_main.py", line 140, in idle_func
    table.gdkhandle = gtk.gdk.window_foreign_new(table.number)
AttributeError: 'Table' object has no attribute 'number'
Any ideas?
Free, open source poker tracking software: FPDB - (Version 0.40.5) - Nov 14, 2013 Quote
12-03-2009 , 01:27 AM
Quote:
Originally Posted by Eleatic Stranger
A problem I've encountered only recently – in the current version in the Git repository – is that HUD windows are not reliably created for new tables as they are opened (or, more precisely, as I am dealt in), but only for some of them. It may be that I have been asking for trouble by multi-tabling to excess; but it has worked painlessly enough in the past! I've made a habit of killing the HUD when this happens and restarting the auto-import function, which gives me a HUD for most of my tables, but not always all of them. Usually some appear fated not to work.

The following error message in HUD-error.txt might have something to do with it:

Code:
Creating hud from hand 46493
Traceback (most recent call last):
  File "/home/matthew/ephemera/fpdb-git/pyfpdb/HUD_main.py", line 140, in idle_func
    table.gdkhandle = gtk.gdk.window_foreign_new(table.number)
AttributeError: 'Table' object has no attribute 'number'
Any ideas?
This looks like an issue fixed between Bostik and ekdikeo - i'm not sure the fixes have been pulled into eratosthenes tree yet.

Any progress with Carbon?

Sorrow
Free, open source poker tracking software: FPDB - (Version 0.40.5) - Nov 14, 2013 Quote
12-03-2009 , 01:41 AM
Quote:
Originally Posted by sorrow
Any progress with Carbon?

Sorrow
All but finished. I want to do some more testing before claiming success, but when that's done I'll be inviting Carbon players to give it a try.

While I'm reporting bugs: I still find I need to use the "reposition stat windows" menu item from time to time to correct an inexplicably stray statistic box. It seems to happen when someone sits in after the HUD has first appeared. In other words, until then there would have been one stat window missing (correctly). When the player sits in the new window wrongly appears in the middle of the table.
Free, open source poker tracking software: FPDB - (Version 0.40.5) - Nov 14, 2013 Quote
12-03-2009 , 02:04 AM
After seeing the above posts, I too am having some issues with the hud display. I thought it was a problem with the mucked hands, because that's when it kept appearing. I will hear my computer (harddrive?) just humming away as if it were in a long complicated search. Next thing I know, all my tables (usually about 4) will lock up tight and not respond to any mouse clicks. Pretty scary in the middle of a hand.

I learned the quick fix was to immediately close the command window. Then the harddrive stops and the mouse clicks immediately respond properly. I reboot fpdb and it works like a charm. It only seems to happen if I've had it running for over and hour or two.

One other small issue. The first table, first hand dealt in, it comes up with way off the mark stats. Once the second hand, or second table kicks in, it adjusts and the stats are fine.

BTW, Sorrow, I recreated my database and bulk imported about 20K hands. Ever since I did that, all my stats and all the various time frames seem to be working perfect. Maybe I had some corruption in the database, but it's working... and if it ain't broke...... just wanted to let you know so that you can drop your search of the hh's I sent you. Thanks..

Dog
Free, open source poker tracking software: FPDB - (Version 0.40.5) - Nov 14, 2013 Quote
12-03-2009 , 02:33 AM
Quote:
Originally Posted by Eleatic Stranger
Code:
Creating hud from hand 46493
Traceback (most recent call last):
  File "/home/matthew/ephemera/fpdb-git/pyfpdb/HUD_main.py", line 140, in idle_func
    table.gdkhandle = gtk.gdk.window_foreign_new(table.number)
AttributeError: 'Table' object has no attribute 'number'
Quote:
Originally Posted by sorrow
This looks like an issue fixed between Bostik and ekdikeo - i'm not sure the fixes have been pulled into eratosthenes tree yet.
Yep, it is. That nastiness should be fixed in my tree, and I've tried to keep my tree up to date with Sorrow's. If you're interested in why that happens, have a look:
http://repo.or.cz/w/fpbd-bostik.git/...251b8a8c0cf4c2

I have since fixed the annoying typos and thinkos so the code appears to work properly in that regard.
Free, open source poker tracking software: FPDB - (Version 0.40.5) - Nov 14, 2013 Quote
12-03-2009 , 03:22 AM
Quote:
Originally Posted by 1meandog4u
After seeing the above posts, I too am having some issues with the hud display. I thought it was a problem with the mucked hands, because that's when it kept appearing. I will hear my computer (harddrive?) just humming away as if it were in a long complicated search. Next thing I know, all my tables (usually about 4) will lock up tight and not respond to any mouse clicks. Pretty scary in the middle of a hand.

I learned the quick fix was to immediately close the command window. Then the harddrive stops and the mouse clicks immediately respond properly. I reboot fpdb and it works like a charm. It only seems to happen if I've had it running for over and hour or two.
I haven't seen that happen in some time, let us know if it continues in the next snapshot.
Quote:
Originally Posted by 1meandog4u
One other small issue. The first table, first hand dealt in, it comes up with way off the mark stats. Once the second hand, or second table kicks in, it adjusts and the stats are fine.
Off the mark meaning wrong stats, or wrong location?
Quote:
Originally Posted by 1meandog4u
BTW, Sorrow, I recreated my database and bulk imported about 20K hands. Ever since I did that, all my stats and all the various time frames seem to be working perfect. Maybe I had some corruption in the database, but it's working... and if it ain't broke...... just wanted to let you know so that you can drop your search of the hh's I sent you. Thanks..

Dog
Hmm. Not sure what to make of this - I think i'm going to pretend it didn't happen then.

*sigh*

Sorrow
Free, open source poker tracking software: FPDB - (Version 0.40.5) - Nov 14, 2013 Quote
12-03-2009 , 03:53 AM
Quote:
Originally Posted by sorrow
Off the mark meaning wrong stats, or wrong location?
Wrong stats... usually a couple hundred hands too many. Next hand, it corrects itself.

One last thing you can work on... every time I get KK and flop a K, someone makes a runner-runner flush. Can you fix that in the next snapshot?

Dog
Free, open source poker tracking software: FPDB - (Version 0.40.5) - Nov 14, 2013 Quote
12-03-2009 , 03:56 AM
Quote:
Originally Posted by 1meandog4u
One last thing you can work on... every time I get KK and flop a K, someone makes a runner-runner flush. Can you fix that in the next snapshot?
Already part of the Stars software - key sequence RNGRCHARND

Free, open source poker tracking software: FPDB - (Version 0.40.5) - Nov 14, 2013 Quote
12-03-2009 , 07:26 AM
Quote:
Originally Posted by PhenixRising
It is the only thing I'm getting in my error reports. I had it running fine then stopped using it for awhile. Now I'm just getting that.
Linux? Anything in fpdb-error.log ? Is it just printing that, then exiting, or is autoimport not working?
Free, open source poker tracking software: FPDB - (Version 0.40.5) - Nov 14, 2013 Quote
12-03-2009 , 01:06 PM
Quote:
Originally Posted by ekdikeo
Linux? Anything in fpdb-error.log ? Is it just printing that, then exiting, or is autoimport not working?
Now it is just auto exiting. I'm not really sure what happened while I was not using the program.

I've manually recreated the FPDB database through mysql command line.

Last night I reinstalled the programs from the fpdb installer with no luck.

The program is still auto exiting. I really miss ubuntu. It was so easy to use in that environment.

I have a feeling it has something to do with python b/c everything else in the fpdb folder matches your tutorials.

my python files are at c:\python

I must have ignored it last night but one of the files I downloaded was blank. I found it on sourceforged and installed. Everything seems to work now.

Last edited by PhenixRising; 12-03-2009 at 01:22 PM.
Free, open source poker tracking software: FPDB - (Version 0.40.5) - Nov 14, 2013 Quote
12-03-2009 , 01:34 PM
I just realized that I have never installed fpdb using terminal I have downloaded python-fpdb_0.12~20091203_all.deb from snapshots page and installed the packages and I was completely clueless on what to do next I was looking for the /usr/doc ubuntu file but couldn't locate. I have previously always just unpacked into a directory and ran fpdb from there. I am somewhat familiar with using terminal and I just can't seem to get this to run. Is any documentation available to help with the next steps?
Free, open source poker tracking software: FPDB - (Version 0.40.5) - Nov 14, 2013 Quote
12-03-2009 , 01:53 PM
Well I got it to work but now the errors are coming in bunches.

[PHP]HUD_main starting
Using db name = fpdb
C:\Python26\lib\site-packages\MySQLdb\__init__.py:34: DeprecationWarning: the sets module is deprecated
from sets import ImmutableSet
------------------------------------------------------------
Creating hud from hand 9
------------------------------------------------------------
Creating hud from hand 18
C:\Documents and Settings\Michael\Desktop\fpdb-0.12-20091126\pyfpdb\Hud.py:411: GtkWarning: gdkwindow-win32.c:2066: SetWindowLongPtr failed: Invalid window handle.
s.window.destroy()
HUD_main.py:97: GtkWarning: gdkwindow-win32.c:2066: SetWindowLongPtr failed: Invalid window handle.
self.hud_dict[table].main_window.destroy()[/PHP]


I have a hand error text as well but I believe that is b/c fpdb does not recognize PLO hands which is fine since I don't play much PLO and when I do I don't need a HUD.

[PHP]C:\Python26\lib\site-packages\MySQLdb\__init__.py:34: DeprecationWarning: the sets module is deprecated
from sets import ImmutableSet
C:\Documents and Settings\Michael\Desktop\fpdb-0.12-20091126\pyfpdb\fpdb.py:743: GtkWarning: Could not find the icon '"C:\Program Files\The KMPlayer\KIconLib.dll",3'. The 'hicolor' theme
was not found either, perhaps you need to install it.
You can get a copy from:
http://icon-theme.freedesktop.org/releases
fc.run()
fpdb starting ...Traceback (most recent call last):
File "C:\Documents and Settings\Michael\Desktop\fpdb-0.12-20091126\pyfpdb\fpdb.py", line 567, in tab_player_stats
new_ps_thread = GuiPlayerStats.GuiPlayerStats(self.config, self.sql, self.window)
File "C:\Documents and Settings\Michael\Desktop\fpdb-0.12-20091126\pyfpdb\GuiPlayerStats.py", line 81, in __init__
self.filters = Filters.Filters(self.db, self.conf, self.sql, display = filters_display)
File "C:\Documents and Settings\Michael\Desktop\fpdb-0.12-20091126\pyfpdb\Filters.py", line 114, in __init__
self.fillLimitsFrame(vbox, self.display)
File "C:\Documents and Settings\Michael\Desktop\fpdb-0.12-20091126\pyfpdb\Filters.py", line 537, in fillLimitsFrame
if "Type" in display and display["Type"] == True and found['ring'] and found['tour']:
UnboundLocalError: local variable 'found' referenced before assignment
C:\Documents and Settings\Michael\Desktop\fpdb-0.12-20091126\pyfpdb\GuiGraphViewer.py:112: GtkWarning: gtk_container_remove: assertion `GTK_IS_TOOLBAR (container) || widget->parent == GTK_WIDGET (container)' failed
self.graphBox.remove(self.canvas)
Traceback (most recent call last):
File "C:\Documents and Settings\Michael\Desktop\fpdb-0.12-20091126\pyfpdb\fpdb_import.py", line 544, in import_fpdb_lines
, db, q )
File "C:\Documents and Settings\Michael\Desktop\fpdb-0.12-20091126\pyfpdb\fpdb_parse_logic.py", line 121, in mainParser
playerIDs = db.recognisePlayerIDs(names, siteID) # inserts players as needed
File "C:\Documents and Settings\Michael\Desktop\fpdb-0.12-20091126\pyfpdb\Database.py", line 589, in recognisePlayerIDs
c.execute(q, names) # get all playerids by the names passed in
File "C:\Python26\lib\site-packages\MySQLdb\cursors.py", line 151, in execute
query = query % db.literal(args)
File "C:\Python26\lib\site-packages\MySQLdb\connections.py", line 247, in literal
return self.escape(o, self.encoders)
File "C:\Python26\lib\site-packages\MySQLdb\connections.py", line 185, in unicode_literal
return db.literal(u.encode(unicode_literal.charset))
UnicodeEncodeError: 'latin-1' codec can't encode character u'\u201e' in position 1: ordinal not in range(256)
Traceback (most recent call last):
File "C:\Documents and Settings\Michael\Desktop\fpdb-0.12-20091126\pyfpdb\fpdb_import.py", line 544, in import_fpdb_lines
, db, q )
File "C:\Documents and Settings\Michael\Desktop\fpdb-0.12-20091126\pyfpdb\fpdb_parse_logic.py", line 121, in mainParser
playerIDs = db.recognisePlayerIDs(names, siteID) # inserts players as needed
File "C:\Documents and Settings\Michael\Desktop\fpdb-0.12-20091126\pyfpdb\Database.py", line 589, in recognisePlayerIDs
c.execute(q, names) # get all playerids by the names passed in
File "C:\Python26\lib\site-packages\MySQLdb\cursors.py", line 151, in execute
query = query % db.literal(args)
File "C:\Python26\lib\site-packages\MySQLdb\connections.py", line 247, in literal
return self.escape(o, self.encoders)
File "C:\Python26\lib\site-packages\MySQLdb\connections.py", line 185, in unicode_literal
return db.literal(u.encode(unicode_literal.charset))
UnicodeEncodeError: 'latin-1' codec can't encode character u'\u201e' in position 1: ordinal not in range(256)
Traceback (most recent call last):
File "C:\Documents and Settings\Michael\Desktop\fpdb-0.12-20091126\pyfpdb\fpdb_import.py", line 544, in import_fpdb_lines
, db, q )
File "C:\Documents and Settings\Michael\Desktop\fpdb-0.12-20091126\pyfpdb\fpdb_parse_logic.py", line 121, in mainParser
playerIDs = db.recognisePlayerIDs(names, siteID) # inserts players as needed
File "C:\Documents and Settings\Michael\Desktop\fpdb-0.12-20091126\pyfpdb\Database.py", line 589, in recognisePlayerIDs
c.execute(q, names) # get all playerids by the names passed in
File "C:\Python26\lib\site-packages\MySQLdb\cursors.py", line 151, in execute
query = query % db.literal(args)
File "C:\Python26\lib\site-packages\MySQLdb\connections.py", line 247, in literal
return self.escape(o, self.encoders)
File "C:\Python26\lib\site-packages\MySQLdb\connections.py", line 185, in unicode_literal
return db.literal(u.encode(unicode_literal.charset))
UnicodeEncodeError: 'latin-1' codec can't encode character u'\u201e' in position 1: ordinal not in range(256)
Traceback (most recent call last):
File "C:\Documents and Settings\Michael\Desktop\fpdb-0.12-20091126\pyfpdb\fpdb_import.py", line 544, in import_fpdb_lines
, db, q )
File "C:\Documents and Settings\Michael\Desktop\fpdb-0.12-20091126\pyfpdb\fpdb_parse_logic.py", line 121, in mainParser
playerIDs = db.recognisePlayerIDs(names, siteID) # inserts players as needed
File "C:\Documents and Settings\Michael\Desktop\fpdb-0.12-20091126\pyfpdb\Database.py", line 589, in recognisePlayerIDs
c.execute(q, names) # get all playerids by the names passed in
File "C:\Python26\lib\site-packages\MySQLdb\cursors.py", line 151, in execute
query = query % db.literal(args)
File "C:\Python26\lib\site-packages\MySQLdb\connections.py", line 247, in literal
return self.escape(o, self.encoders)
File "C:\Python26\lib\site-packages\MySQLdb\connections.py", line 185, in unicode_literal
return db.literal(u.encode(unicode_literal.charset))
UnicodeEncodeError: 'latin-1' codec can't encode character u'\u201e' in position 1: ordinal not in range(256)
Traceback (most recent call last):
File "C:\Documents and Settings\Michael\Desktop\fpdb-0.12-20091126\pyfpdb\fpdb_import.py", line 544, in import_fpdb_lines
, db, q )
File "C:\Documents and Settings\Michael\Desktop\fpdb-0.12-20091126\pyfpdb\fpdb_parse_logic.py", line 121, in mainParser
playerIDs = db.recognisePlayerIDs(names, siteID) # inserts players as needed
File "C:\Documents and Settings\Michael\Desktop\fpdb-0.12-20091126\pyfpdb\Database.py", line 589, in recognisePlayerIDs
c.execute(q, names) # get all playerids by the names passed in
File "C:\Python26\lib\site-packages\MySQLdb\cursors.py", line 151, in execute
query = query % db.literal(args)
File "C:\Python26\lib\site-packages\MySQLdb\connections.py", line 247, in literal
return self.escape(o, self.encoders)
File "C:\Python26\lib\site-packages\MySQLdb\connections.py", line 185, in unicode_literal
return db.literal(u.encode(unicode_literal.charset))
UnicodeEncodeError: 'latin-1' codec can't encode character u'\u201e' in position 1: ordinal not in range(256)
Traceback (most recent call last):
File "C:\Documents and Settings\Michael\Desktop\fpdb-0.12-20091126\pyfpdb\fpdb_import.py", line 544, in import_fpdb_lines
, db, q )
File "C:\Documents and Settings\Michael\Desktop\fpdb-0.12-20091126\pyfpdb\fpdb_parse_logic.py", line 121, in mainParser
playerIDs = db.recognisePlayerIDs(names, siteID) # inserts players as needed
File "C:\Documents and Settings\Michael\Desktop\fpdb-0.12-20091126\pyfpdb\Database.py", line 589, in recognisePlayerIDs
c.execute(q, names) # get all playerids by the names passed in
File "C:\Python26\lib\site-packages\MySQLdb\cursors.py", line 151, in execute
query = query % db.literal(args)
File "C:\Python26\lib\site-packages\MySQLdb\connections.py", line 247, in literal
return self.escape(o, self.encoders)
File "C:\Python26\lib\site-packages\MySQLdb\connections.py", line 185, in unicode_literal
return db.literal(u.encode(unicode_literal.charset))
UnicodeEncodeError: 'latin-1' codec can't encode character u'\u201e' in position 1: ordinal not in range(256)
[/PHP]
Free, open source poker tracking software: FPDB - (Version 0.40.5) - Nov 14, 2013 Quote
12-03-2009 , 01:54 PM
Quote:
Originally Posted by blaze6980
I just realized that I have never installed fpdb using terminal I have downloaded python-fpdb_0.12~20091203_all.deb from snapshots page and installed the packages and I was completely clueless on what to do next I was looking for the /usr/doc ubuntu file but couldn't locate. I have previously always just unpacked into a directory and ran fpdb from there. I am somewhat familiar with using terminal and I just can't seem to get this to run. Is any documentation available to help with the next steps?
Yes, http://****************/apps/mediawik...tall_in_Ubuntu -- you need to create the database which fpdb uses. Some use MySQL, some use PostgreSQL. I personally use the latter and wrote up a streamlined setup for that on the wiki page.

Good catch though. Since I'm doing the packages, I really should include some kind of documentation (even if only pointing to the wiki) to /usr/share/doc/python-fpdb/ . The debian package drops an automatic menu entry but you can also run it from the terminal:

Code:
$ fpdb
(NOTE: this only applies when fpdb has been installed from debian package)
Free, open source poker tracking software: FPDB - (Version 0.40.5) - Nov 14, 2013 Quote

      
m