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 12-02-2009, 12:47 PM   #2276
Bostik
old hand
 
Bostik's Avatar
 
Join Date: Jul 2007
Location: Outside the Bell Curve
Posts: 1,694
Re: Free/open source poker tracking software: FPDB - (v 0.11.2-bug fixes) - 03-JUL-2009

Quote:
Originally Posted by PhenixRising View Post
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.
Bostik is offline   Reply With Quote
Old 12-02-2009, 12:54 PM   #2277
sorrow
old hand
 
sorrow's Avatar
 
Join Date: Apr 2008
Location: Perth, Western Australia
Posts: 1,531
Re: Free/open source poker tracking software: FPDB - (v 0.11.2-bug fixes) - 03-JUL-2009

Quote:
Originally Posted by ciDoR View Post
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?
sorrow is offline   Reply With Quote
Old 12-02-2009, 01:19 PM   #2278
ciDoR
stranger
 
Join Date: Feb 2009
Posts: 8
Re: Free/open source poker tracking software: FPDB - (v 0.11.2-bug fixes) - 03-JUL-2009

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)
ciDoR is offline   Reply With Quote
Old 12-02-2009, 04:23 PM   #2279
Greg4050
stranger
 
Join Date: Jul 2009
Posts: 14
Re: Free/open source poker tracking software: FPDB - (v 0.11.2-bug fixes) - 03-JUL-2009

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.
Greg4050 is offline   Reply With Quote
Old 12-02-2009, 09:15 PM   #2280
rayuki
centurion
 
Join Date: Aug 2007
Posts: 186
Re: Free/open source poker tracking software: FPDB - (v 0.11.2-bug fixes) - 03-JUL-2009

Quote:
Originally Posted by 1meandog4u View Post
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
rayuki is offline   Reply With Quote
Old 12-02-2009, 10:42 PM   #2281
sorrow
old hand
 
sorrow's Avatar
 
Join Date: Apr 2008
Location: Perth, Western Australia
Posts: 1,531
Re: Free/open source poker tracking software: FPDB - (v 0.11.2-bug fixes) - 03-JUL-2009

Quote:
Originally Posted by rayuki View Post
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
sorrow is offline   Reply With Quote
Old 12-02-2009, 10:53 PM   #2282
sorrow
old hand
 
sorrow's Avatar
 
Join Date: Apr 2008
Location: Perth, Western Australia
Posts: 1,531
Re: Free/open source poker tracking software: FPDB - (v 0.11.2-bug fixes) - 03-JUL-2009

Quote:
Originally Posted by Greg4050 View Post
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
sorrow is offline   Reply With Quote
Old 12-02-2009, 11:10 PM   #2283
rayuki
centurion
 
Join Date: Aug 2007
Posts: 186
Re: Free/open source poker tracking software: FPDB - (v 0.11.2-bug fixes) - 03-JUL-2009

Quote:
Originally Posted by sorrow View Post
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?
rayuki is offline   Reply With Quote
Old 12-02-2009, 11:23 PM   #2284
sorrow
old hand
 
sorrow's Avatar
 
Join Date: Apr 2008
Location: Perth, Western Australia
Posts: 1,531
Re: Free/open source poker tracking software: FPDB - (v 0.11.2-bug fixes) - 03-JUL-2009

Quote:
Originally Posted by rayuki View Post
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
sorrow is offline   Reply With Quote
Old 12-02-2009, 11:38 PM   #2285
rayuki
centurion
 
Join Date: Aug 2007
Posts: 186
Re: Free/open source poker tracking software: FPDB - (v 0.11.2-bug fixes) - 03-JUL-2009

Quote:
Originally Posted by sorrow View Post
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
rayuki is offline   Reply With Quote
Old 12-02-2009, 11:46 PM   #2286
sorrow
old hand
 
sorrow's Avatar
 
Join Date: Apr 2008
Location: Perth, Western Australia
Posts: 1,531
Re: Free/open source poker tracking software: FPDB - (v 0.11.2-bug fixes) - 03-JUL-2009

Quote:
Originally Posted by rayuki View Post
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
sorrow is offline   Reply With Quote
Old 12-02-2009, 11:53 PM   #2287
rayuki
centurion
 
Join Date: Aug 2007
Posts: 186
Re: Free/open source poker tracking software: FPDB - (v 0.11.2-bug fixes) - 03-JUL-2009

Quote:
Originally Posted by sorrow View Post
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.
rayuki is offline   Reply With Quote
Old 12-03-2009, 01:15 AM   #2288
Eleatic Stranger
journeyman
 
Join Date: Sep 2008
Location: Sydney
Posts: 292
Re: Free/open source poker tracking software: FPDB - (v 0.11.2-bug fixes) - 03-JUL-2009

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?
Eleatic Stranger is offline   Reply With Quote
Old 12-03-2009, 01:27 AM   #2289
sorrow
old hand
 
sorrow's Avatar
 
Join Date: Apr 2008
Location: Perth, Western Australia
Posts: 1,531
Re: Free/open source poker tracking software: FPDB - (v 0.11.2-bug fixes) - 03-JUL-2009

Quote:
Originally Posted by Eleatic Stranger View Post
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
sorrow is offline   Reply With Quote
Old 12-03-2009, 01:41 AM   #2290
Eleatic Stranger
journeyman
 
Join Date: Sep 2008
Location: Sydney
Posts: 292
Re: Free/open source poker tracking software: FPDB - (v 0.11.2-bug fixes) - 03-JUL-2009

Quote:
Originally Posted by sorrow View Post
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.
Eleatic Stranger is offline   Reply With Quote
Old 12-03-2009, 02:04 AM   #2291
1meandog4u
old hand
 
1meandog4u's Avatar
 
Join Date: Apr 2007
Location: Ontario, CA (California not Canada)
Posts: 1,286
Re: Free/open source poker tracking software: FPDB - (v 0.11.2-bug fixes) - 03-JUL-2009

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
1meandog4u is offline   Reply With Quote
Old 12-03-2009, 02:33 AM   #2292
Bostik
old hand
 
Bostik's Avatar
 
Join Date: Jul 2007
Location: Outside the Bell Curve
Posts: 1,694
Re: Free/open source poker tracking software: FPDB - (v 0.11.2-bug fixes) - 03-JUL-2009

Quote:
Originally Posted by Eleatic Stranger View Post
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 View Post
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.
Bostik is offline   Reply With Quote
Old 12-03-2009, 03:22 AM   #2293
sorrow
old hand
 
sorrow's Avatar
 
Join Date: Apr 2008
Location: Perth, Western Australia
Posts: 1,531
Re: Free/open source poker tracking software: FPDB - (v 0.11.2-bug fixes) - 03-JUL-2009

Quote:
Originally Posted by 1meandog4u View Post
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 View Post
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 View Post
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
sorrow is offline   Reply With Quote
Old 12-03-2009, 03:53 AM   #2294
1meandog4u
old hand
 
1meandog4u's Avatar
 
Join Date: Apr 2007
Location: Ontario, CA (California not Canada)
Posts: 1,286
Re: Free/open source poker tracking software: FPDB - (v 0.11.2-bug fixes) - 03-JUL-2009

Quote:
Originally Posted by sorrow View Post
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
1meandog4u is offline   Reply With Quote
Old 12-03-2009, 03:56 AM   #2295
sorrow
old hand
 
sorrow's Avatar
 
Join Date: Apr 2008
Location: Perth, Western Australia
Posts: 1,531
Re: Free/open source poker tracking software: FPDB - (v 0.11.2-bug fixes) - 03-JUL-2009

Quote:
Originally Posted by 1meandog4u View Post
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

sorrow is offline   Reply With Quote
Old 12-03-2009, 07:26 AM   #2296
ekdikeo
old hand
 
Join Date: Aug 2006
Posts: 1,308
Re: Free/open source poker tracking software: FPDB - (v 0.11.2-bug fixes) - 03-JUL-2009

Quote:
Originally Posted by PhenixRising View Post
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?
ekdikeo is offline   Reply With Quote
Old 12-03-2009, 01:06 PM   #2297
PhenixRising
enthusiast
 
Join Date: Oct 2009
Posts: 74
Re: Free/open source poker tracking software: FPDB - (v 0.11.2-bug fixes) - 03-JUL-2009

Quote:
Originally Posted by ekdikeo View Post
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.
PhenixRising is offline   Reply With Quote
Old 12-03-2009, 01:34 PM   #2298
blaze6980
journeyman
 
Join Date: May 2006
Posts: 217
Re: Free/open source poker tracking software: FPDB - (v 0.11.2-bug fixes) - 03-JUL-2009

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?
blaze6980 is offline   Reply With Quote
Old 12-03-2009, 01:53 PM   #2299
PhenixRising
enthusiast
 
Join Date: Oct 2009
Posts: 74
Re: Free/open source poker tracking software: FPDB - (v 0.11.2-bug fixes) - 03-JUL-2009

Well I got it to work but now the errors are coming in bunches.

PHP Code:
HUD_main starting
Using db name 
fpdb
C
:\Python26\lib\site-packages\MySQLdb\__init__.py:34DeprecationWarningthe 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:411GtkWarninggdkwindow-win32.c:2066SetWindowLongPtr failedInvalid window handle.
  
s.window.destroy()
HUD_main.py:97GtkWarninggdkwindow-win32.c:2066SetWindowLongPtr failedInvalid window handle.
  
self.hud_dict[table].main_window.destroy() 

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 Code:
C:\Python26\lib\site-packages\MySQLdb\__init__.py:34DeprecationWarningthe sets module is deprecated
  from sets import ImmutableSet
C
:\Documents and Settings\Michael\Desktop\fpdb-0.12-20091126\pyfpdb\fpdb.py:743GtkWarningCould 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 567in tab_player_stats
    new_ps_thread 
GuiPlayerStats.GuiPlayerStats(self.configself.sqlself.window)
  
File "C:\Documents and Settings\Michael\Desktop\fpdb-0.12-20091126\pyfpdb\GuiPlayerStats.py"line 81in __init__
    self
.filters Filters.Filters(self.dbself.confself.sqldisplay filters_display)
  
File "C:\Documents and Settings\Michael\Desktop\fpdb-0.12-20091126\pyfpdb\Filters.py"line 114in __init__
    self
.fillLimitsFrame(vboxself.display)
  
File "C:\Documents and Settings\Michael\Desktop\fpdb-0.12-20091126\pyfpdb\Filters.py"line 537in fillLimitsFrame
    
if "Type" in display and display["Type"] == True and found['ring'] and found['tour']:
UnboundLocalErrorlocal variable 'found' referenced before assignment
C
:\Documents and Settings\Michael\Desktop\fpdb-0.12-20091126\pyfpdb\GuiGraphViewer.py:112GtkWarninggtk_container_removeassertion `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) 
PhenixRising is offline   Reply With Quote
Old 12-03-2009, 01:54 PM   #2300
Bostik
old hand
 
Bostik's Avatar
 
Join Date: Jul 2007
Location: Outside the Bell Curve
Posts: 1,694
Re: Free/open source poker tracking software: FPDB - (v 0.11.2-bug fixes) - 03-JUL-2009

Quote:
Originally Posted by blaze6980 View Post
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)
Bostik 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 09:25 AM.


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