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 01-31-2010, 05:57 AM   #2526
strubbi77
stranger
 
Join Date: Jan 2010
Posts: 2
Re: Free/open source poker tracking software: FPDB - (v 0.11.2-bug fixes) - 03-JUL-2009

Have some problems with the git version since yesterday:

Code:
Unhandled exception in thread started by <bound method HUD_main.read_stdin of <__main__.HUD_main object at 0x1a98ed0>>
Traceback (most recent call last):                                                                                    
  File "/home/pille/.wine/drive_c/Programme/Tracker/sorrow/fpdboz/pyfpdb/HUD_main.py", line 201, in read_stdin        
    self.hero_ids[site_id] = self.db_connection.get_player_id(self.config, site, self.hero[site_id])                  
  File "/home/pille/.wine/drive_c/Programme/Tracker/sorrow/fpdboz/pyfpdb/Database.py", line 790, in get_player_id     
    p_name = Charset.to_utf8(player_name)                                                                             
  File "/home/pille/.wine/drive_c/Programme/Tracker/sorrow/fpdboz/pyfpdb/Charset.py", line 40, in to_utf8             
    _out = unicode(s, Configuration.LOCALE_ENCODING).encode('utf-8')                                                  
TypeError: decoding Unicode is not supported                                                                          
Quitting normally
Before that HUD worked flawlessy.
strubbi77 is offline   Reply With Quote
Old 01-31-2010, 06:52 AM   #2527
hengst
stranger
 
Join Date: Oct 2009
Posts: 7
Re: Free/open source poker tracking software: FPDB - (v 0.11.2-bug fixes) - 03-JUL-2009

I updated to latest git today, now I get the followig error when trying to generate a graph:
Quote:
***Error: generateGraph(148): global name 'Charset' is not defined
Tabulated Player Stats also don't work, it simply show nothing, but is giving no error msg in Terminal.

Positional Stats and auto-import work fine.

Rebuilding database and indexes doesn't help.
hengst is offline   Reply With Quote
Old 01-31-2010, 09:04 AM   #2528
hengst
stranger
 
Join Date: Oct 2009
Posts: 7
Re: Free/open source poker tracking software: FPDB - (v 0.11.2-bug fixes) - 03-JUL-2009

Quote:
Originally Posted by hengst View Post

Positional Stats and auto-import work fine.
I just noticed that auto-import only works for ring games. For tourney games I get

Quote:
db error: skipping 42
for every hand, count is going up. fpdb-error-log.txt doesn't show anything.

Tried this on a clean DB (recreated) and a bulk imported one while playing a single 1.10$ holdem SNG DoN.

This all worked great before the update. I'm on Pokerstars, no other site. My System ist Ubuntu Karmic x64, everything up to date.

Last edited by hengst; 01-31-2010 at 09:21 AM.
hengst is offline   Reply With Quote
Old 01-31-2010, 10:55 AM   #2529
tchaz
Carpal \'Tunnel
 
tchaz's Avatar
 
Join Date: Jul 2008
Posts: 11,940
Re: Free/open source poker tracking software: FPDB - (v 0.11.2-bug fixes) - 03-JUL-2009

Hi Sorrow!

This is maybe quite a lazy question, but: how are things going on implementing the new hand history parser etc?

I ask because in December I played around writing some functions for a few more stats (fold to 3bet, 4bet .. well I had some other ideas too & was also interested in "by position stats" being available in the HUD .. but, trying to walk before running, I started with these). Writing functions seemed ok, but I never managed to figure out all of the places to integrate them into the various parts of the program. Is that going to get easier, or will we still have long explicit lists of functions and their derivatives scattered everywhere?
tchaz is offline   Reply With Quote
Old 01-31-2010, 12:16 PM   #2530
tchaz
Carpal \'Tunnel
 
tchaz's Avatar
 
Join Date: Jul 2008
Posts: 11,940
Re: Free/open source poker tracking software: FPDB - (v 0.11.2-bug fixes) - 03-JUL-2009

Oops this is embarrassing. Trying the 0.12 of 20 Jan (winXP)

Quote:
config : ERROR Error parsing C:\Documents and Settings\tchaz\Application Data\fpdb\HUD_config.xml. See error log file.
Traceback (most recent call last):
File "C:\Documents and Settings\tchaz\fpdb-0.12-20091126\pyfpdb\Configuration.py", line 415, in __init__
doc = xml.dom.minidom.parse(file)
File "C:\Python25\lib\xml\dom\minidom.py", line 1913, in parse
return expatbuilder.parse(file)
File "C:\Python25\lib\xml\dom\expatbuilder.py", line 924, in parse
result = builder.parseFile(fp)
File "C:\Python25\lib\xml\dom\expatbuilder.py", line 207, in parseFile
parser.Parse(buffer, 0)
ExpatError: not well-formed (invalid token): line 149, column 16
Isn't the traceback Configuration.py not finding HUD_config.xml ? But top line indicates that it is in the "right" place. ?
tchaz is offline   Reply With Quote
Old 01-31-2010, 07:39 PM   #2531
tchaz
Carpal \'Tunnel
 
tchaz's Avatar
 
Join Date: Jul 2008
Posts: 11,940
Re: Free/open source poker tracking software: FPDB - (v 0.11.2-bug fixes) - 03-JUL-2009

Hmm, well I seem to have fixed the problem in #2530 by fixing a typo (in line 149, col 16 of my HUD_config.xml). I also had to replace line 63 in Configuration.py
Quote:
config_path = os.path.join(get_exec_path(), file_name)
by
Quote:
config_path = os.path.join('C:\\Documents and Settings\\tchaz\\Application Data\\fpdb\\', file_name)
which isn't exactly pretty, but .. hey-ho! .. maybe tomorrow I'll figure out why get_exec_path() didn't seem to work for me.
tchaz is offline   Reply With Quote
Old 02-01-2010, 12:01 AM   #2532
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 pmania View Post
I got more again in the log:

cat fpdb-error-log.txt
/usr/lib/python2.6/dist-packages/pytz/__init__.py:32: UserWarning: Module _mysql was already imported from /usr/lib/pymodules/python2.6/_mysql.so, but /usr/lib/pymodules/python2.6 is being added to sys.path
from pkg_resources import resource_stream
fpdb starting ...Traceback (most recent call last):
File "/usr/share/pyshared/fpdb/GuiPlayerStats.py", line 173, in refreshStats
self.fillStatsFrame(self.stats_vbox)
File "/usr/share/pyshared/fpdb/GuiPlayerStats.py", line 211, in fillStatsFrame
self.createStatsTable(vbox, playerids, sitenos, limits, type, seats, groups, dates, games)
File "/usr/share/pyshared/fpdb/GuiPlayerStats.py", line 229, in createStatsTable
,sitenos, limits, type, seats, groups, dates, games)
File "/usr/share/pyshared/fpdb/GuiPlayerStats.py", line 332, in addGrid
self.cursor.execute(tmp)
File "/usr/lib/pymodules/python2.6/MySQLdb/cursors.py", line 166, in execute
self.errorhandler(self, exc, value)
File "/usr/lib/pymodules/python2.6/MySQLdb/connections.py", line 35, in defaulterrorhandler
raise errorclass, errorvalue
_mysql_exceptions.ProgrammingError: (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n /*and hp.tourneysPlayersId IS NULL*/\n ' at line 55")
I don't suppose you can tell me what set of options triggered this one?


Quote:
Originally Posted by pmania View Post
Traceback (most recent call last):
File "/usr/share/pyshared/fpdb/GuiSessionViewer.py", line 170, in refreshStats
self.fillStatsFrame(self.stats_vbox)
File "/usr/share/pyshared/fpdb/GuiSessionViewer.py", line 204, in fillStatsFrame
self.createStatsPane(vbox, playerids, sitenos, limits, seats)
File "/usr/share/pyshared/fpdb/GuiSessionViewer.py", line 215, in createStatsPane
self.generateGraph(opens, closes, highs, lows)
File "/usr/share/pyshared/fpdb/GuiSessionViewer.py", line 359, in generateGraph
candlestick2(self.ax, opens, closes, highs, lows, width=0.50, colordown='r', colorup='g', alpha=1.00)
File "/usr/lib/pymodules/python2.6/matplotlib/finance.py", line 457, in candlestick2
miny = min([low for low in lows if low !=-1])
ValueError: min() arg is an empty sequence
/usr/share/pyshared/fpdb/GuiSessionViewer.py:313: 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 "/usr/share/pyshared/fpdb/GuiSessionViewer.py", line 170, in refreshStats
self.fillStatsFrame(self.stats_vbox)
File "/usr/share/pyshared/fpdb/GuiSessionViewer.py", line 204, in fillStatsFrame
self.createStatsPane(vbox, playerids, sitenos, limits, seats)
File "/usr/share/pyshared/fpdb/GuiSessionViewer.py", line 215, in createStatsPane
self.generateGraph(opens, closes, highs, lows)
File "/usr/share/pyshared/fpdb/GuiSessionViewer.py", line 359, in generateGraph
candlestick2(self.ax, opens, closes, highs, lows, width=0.50, colordown='r', colorup='g', alpha=1.00)
File "/usr/lib/pymodules/python2.6/matplotlib/finance.py", line 457, in candlestick2
miny = min([low for low in lows if low !=-1])
ValueError: min() arg is an empty sequence
The session viewer is pretty roen still, and hasn't seen any work for some time, so I expect these errors

Can you:

1) Bulk import some hands
2) Open the grapher and try and graph the hands then report back any error messages please?

Thanks

Sorrow
sorrow is offline   Reply With Quote
Old 02-01-2010, 12:13 AM   #2533
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 uncooper View Post
I have one HH file that is giving the following error on import:

Code:
Traceback (most recent call last):
  File "/Users/jc/fpdb-0.12-20100122/pyfpdb/GuiBulkImport.py", line 95, in load_clicked
    (stored, dups, partial, errs, ttime) = self.importer.runImport()
  File "/Users/jc/fpdb-0.12-20100122/pyfpdb/fpdb_import.py", line 226, in runImport
    (totstored, totdups, totpartial, toterrors) = self.importFiles(self.database, None)
  File "/Users/jc/fpdb-0.12-20100122/pyfpdb/fpdb_import.py", line 281, in importFiles
    (stored, duplicates, partial, errors, ttime) = self.import_file_dict(db, file ,self.filelist[file][0], self.filelist[file][1], q)
  File "/Users/jc/fpdb-0.12-20100122/pyfpdb/fpdb_import.py", line 434, in import_file_dict
    hhc = obj(in_path = file, out_path = out_path, index = idx, starsArchive = self.settings['starsArchive'])
  File "/Users/jc/fpdb-0.12-20100122/pyfpdb/HandHistoryConverter.py", line 115, in __init__
    self.start()
  File "/Users/jc/fpdb-0.12-20100122/pyfpdb/HandHistoryConverter.py", line 164, in start
    self.processedHands.append(self.processHand(handText))
  File "/Users/jc/fpdb-0.12-20100122/pyfpdb/HandHistoryConverter.py", line 290, in processHand
    hand = Hand.DrawHand(self, self.sitename, gametype, handText)
  File "/Users/jc/fpdb-0.12-20100122/pyfpdb/Hand.py", line 933, in __init__
    self.maxseats = hhc.guessMaxSeats(self)
  File "/Users/jc/fpdb-0.12-20100122/pyfpdb/HandHistoryConverter.py", line 461, in guessMaxSeats
    if maxseats > 1 and maxseats < 11:
NameError: global name 'maxseats' is not defined
One thing I noticed is that the table was called 'T #255845280', which is kinda weird.

Would this string cause maxseats errors perhaps?

Code:
 Table 'T #255845280' 6-max Seat #2 is the button
Can you send me a zipped copy of this file uncooper - I don't have a lot of Draw hands to test with so its probably a legitimate bug.

Quote:
Originally Posted by BrentD22 View Post
OK I'm no computer guy or anything, but I'm having huge issues trying to figure out how to install this software. I get to the zip screen and can't find the installer.
How far have you worked through http://****************/apps/mediawik...all_in_Windows ?

Quote:
Originally Posted by strubbi77 View Post
Have some problems with the git version since yesterday:

Code:
Unhandled exception in thread started by <bound method HUD_main.read_stdin of <__main__.HUD_main object at 0x1a98ed0>>
Traceback (most recent call last):                                                                                    
  File "/home/pille/.wine/drive_c/Programme/Tracker/sorrow/fpdboz/pyfpdb/HUD_main.py", line 201, in read_stdin        
    self.hero_ids[site_id] = self.db_connection.get_player_id(self.config, site, self.hero[site_id])                  
  File "/home/pille/.wine/drive_c/Programme/Tracker/sorrow/fpdboz/pyfpdb/Database.py", line 790, in get_player_id     
    p_name = Charset.to_utf8(player_name)                                                                             
  File "/home/pille/.wine/drive_c/Programme/Tracker/sorrow/fpdboz/pyfpdb/Charset.py", line 40, in to_utf8             
    _out = unicode(s, Configuration.LOCALE_ENCODING).encode('utf-8')                                                  
TypeError: decoding Unicode is not supported                                                                          
Quitting normally
Before that HUD worked flawlessy.
That was a short lived bug, I think Eratosthenes has now pulled in the patches to fix that.

Quote:
Originally Posted by hengst View Post
I updated to latest git today, now I get the followig error when trying to generate a graph:


Tabulated Player Stats also don't work, it simply show nothing, but is giving no error msg in Terminal.

Positional Stats and auto-import work fine.

Rebuilding database and indexes doesn't help.
See response to strubbi77

Quote:
Originally Posted by hengst View Post
I just noticed that auto-import only works for ring games. For tourney games I get



for every hand, count is going up. fpdb-error-log.txt doesn't show anything.

Tried this on a clean DB (recreated) and a bulk imported one while playing a single 1.10$ holdem SNG DoN.

This all worked great before the update. I'm on Pokerstars, no other site. My System ist Ubuntu Karmic x64, everything up to date.
For the snapshot release, tourneys were very broken, in the newer gits this shouldn't be an issue.

Clean databases are also still a problem - bulk import 1 file and the hud should kick off.

Quote:
Originally Posted by tchaz View Post
Oops this is embarrassing. Trying the 0.12 of 20 Jan (winXP)



Isn't the traceback Configuration.py not finding HUD_config.xml ? But top line indicates that it is in the "right" place. ?
Actually it was indicating that it found the file, but the xml was badly formatted....

Quote:
Originally Posted by tchaz View Post
Hmm, well I seem to have fixed the problem in #2530 by fixing a typo (in line 149, col 16 of my HUD_config.xml). I also had to replace line 63 in Configuration.py
by

which isn't exactly pretty, but .. hey-ho! .. maybe tomorrow I'll figure out why get_exec_path() didn't seem to work for me.
Which you seem to have figured out

The Configuration file code is undergoing a cleanup/overhaul at the moment.

For those tracking git please beware of this.

Thanks

Sorrow
sorrow is offline   Reply With Quote
Old 02-01-2010, 01:53 AM   #2534
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 uncooper View Post
One thing I noticed is that the table was called 'T #255845280', which is kinda weird.

Would this string cause maxseats errors perhaps?
Quote:
Originally Posted by sorrow View Post
Can you send me a zipped copy of this file uncooper - I don't have a lot of Draw hands to test with so its probably a legitimate bug.
I don't think this error has anything to do with the fact that it is draw poker; I've come across what I think is the same error with hold 'em cash tables called "T #xxxx". I don't see why tables so named (which are very uncommon) should exist at all; the name seems to imply that they are tournament tables, which they are not.

P.S. I've remembered I have a rejected history file I can send you if you want to see it.

Last edited by Eleatic Stranger; 02-01-2010 at 01:57 AM. Reason: Added postscript
Eleatic Stranger is offline   Reply With Quote
Old 02-01-2010, 01:58 AM   #2535
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
I don't think this error has anything to do with the fact that it is draw poker; I've come across what I think is the same error with hold 'em cash tables called "T #xxxx". I don't see why tables so named (which are very uncommon) should exist at all; the name seems to imply that they are tournament tables, which they are not.
I agree, i'm pretty sure the gametype regex searches for everything up to the first #, which is screwing up the recognition of the maxseats.

Still useful to have the hand history
sorrow is offline   Reply With Quote
Old 02-01-2010, 02:46 AM   #2536
BrentD22
journeyman
 
Join Date: May 2008
Location: Massachusetts
Posts: 295
Re: Free/open source poker tracking software: FPDB - (v 0.11.2-bug fixes) - 03-JUL-2009

OK so in non-computer geek terms for me... I tried to install, but the zip fil extractor thing came up and there doesn't seem to be the correct file. It asks me what type of program to use - either find on web or chose from list. What should I do.
BrentD22 is offline   Reply With Quote
Old 02-01-2010, 03:40 AM   #2537
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 BrentD22 View Post
OK so in non-computer geek terms for me... I tried to install, but the zip fil extractor thing came up and there doesn't seem to be the correct file. It asks me what type of program to use - either find on web or chose from list. What should I do.
In non geek terms...

Go Here... http://www.rarlab.com/

You get a free 30 day trial, then a nag screen after that... not a prob

Download the version for your computer/operating system.

When you click on the free trial it will take you to the download page in order for you to pick the correct download. This program will basically extract any file you'll probably ever run into normally.

It installs in less than 30 secords..

Finally, once installed just double click the fpdb file (the zipped file you have now) and this program will ask where you want to extract it. Make sure you have a idea where you want to put it... I could tell you where to put it...

But, I don't know your system or setup..

Mine is Windows Vista and it is in..

C:\Program Files\fpdb

Good Luck

Dog

P.S. If you are running Windows Vista, you might want to check out my previous post on special "needs" that might be helpful in eliminating some of the common problems with Windows Vista

https://forumserver.twoplustwo.com/sh...postcount=2308

Last edited by 1meandog4u; 02-01-2010 at 03:49 AM.
1meandog4u is offline   Reply With Quote
Old 02-01-2010, 06:21 AM   #2538
CarlP
grinder
 
CarlP's Avatar
 
Join Date: Jul 2008
Location: Ring or Cage
Posts: 686
Re: Free/open source poker tracking software: FPDB - (v 0.11.2-bug fixes) - 03-JUL-2009

Hey all,

I just downloaded fpdb and have been trying to troubleshoot this issue for awhile. I'm trying to import some hands using the bulk importer, but it doesn't work. I created a test directory with a single HH file from 2-4 stud hi at Full Tilt, and no subdirectories. I navigated to the directory in the Bulk Importer menu, selected the file and clicked import. No luck. I'm running Windows Vista and I'm using Postgres 8.3. I checked the error log, and I got the following message:

Code:
UnboundLocalError: local variable 'found' referenced before assignment
Documents\Poker\fpdb-0.12-20091126\pyfpdb\GuiBulkImport.py:140: GtkWarning: gtk_file_system_win32_get_parent: assertion `g_path_is_absolute (filename)' failed
  self.chooser.set_filename(self.settings['bulkImport-defaultPath'])
Documents\Poker\fpdb-0.12-20091126\pyfpdb\GuiBulkImport.py:89: GtkWarning: gtk_tree_path_append_index: assertion `index >= 0' failed
  sitename = self.cbfilter.get_model()[self.cbfilter.get_active()][0]
Documents\Poker\fpdb-0.12-20091126\pyfpdb\GuiBulkImport.py:89: GtkWarning: gtk_tree_model_get_iter: assertion `path->depth > 0' failed
  sitename = self.cbfilter.get_model()[self.cbfilter.get_active()][0]
Traceback (most recent call last):
  File "Documents\Poker\fpdb-0.12-20091126\pyfpdb\GuiBulkImport.py", line 89, in load_clicked
    sitename = self.cbfilter.get_model()[self.cbfilter.get_active()][0]
IndexError: could not find tree path
Documents\Poker\fpdb-0.12-20091126\pyfpdb\GuiAutoImport.py:123: GtkWarning: gtk_file_system_win32_get_parent: assertion `g_path_is_absolute (filename)' failed
  dia_chooser.set_filename(current_path)
Anyone have any suggestions? Thanks in advance.
CarlP is offline   Reply With Quote
Old 02-01-2010, 04:44 PM   #2539
tchaz
Carpal \'Tunnel
 
tchaz's Avatar
 
Join Date: Jul 2008
Posts: 11,940
Re: Free/open source poker tracking software: FPDB - (v 0.11.2-bug fixes) - 03-JUL-2009

Quote:
Originally Posted by 1meandog4u View Post
In non geek terms...

Go Here... http://www.rarlab.com/

You get a free 30 day trial, then a nag screen after that... not a prob

Download the version for your computer/operating system.

When you click on the free trial it will take you to the download page in order for you to pick the correct download. This program will basically extract any file you'll probably ever run into normally.

It installs in less than 30 secords..

Finally, once installed just double click the fpdb file (the zipped file you have now) and this program will ask where you want to extract it. Make sure you have a idea where you want to put it... I could tell you where to put it...
Try 7-zip instead of winrar. Free, open source (GPL), no nag screens & at least as good.
tchaz is offline   Reply With Quote
Old 02-01-2010, 04:51 PM   #2540
Banzai
veteran
 
Banzai's Avatar
 
Join Date: Feb 2007
Location: Razzville
Posts: 2,289
Re: Free/open source poker tracking software: FPDB - (v 0.11.2-bug fixes) - 03-JUL-2009

Quote:
Originally Posted by tchaz View Post
Try 7-zip instead of winrar. Free, open source (GPL), no nag screens & at least as good.
+1
Banzai is offline   Reply With Quote
Old 02-01-2010, 05:22 PM   #2541
strubbi77
stranger
 
Join Date: Jan 2010
Posts: 2
Re: Free/open source poker tracking software: FPDB - (v 0.11.2-bug fixes) - 03-JUL-2009

Quote:
Originally Posted by sorrow View Post
That was a short lived bug, I think Eratosthenes has now pulled in the patches to fix that.

Thanks

Sorrow
Yes works again now. Thanks.
The HUD looks really nice now!

Whats missing is an option for different table sizes. (Position, Font size)
strubbi77 is offline   Reply With Quote
Old 02-01-2010, 05:24 PM   #2542
uncooper
centurion
 
Join Date: Oct 2007
Posts: 124
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 send me a zipped copy of this file uncooper - I don't have a lot of Draw hands to test with so its probably a legitimate bug.
I'd be happy to. Just let me know here or via PM where I should send.
uncooper is offline   Reply With Quote
Old 02-01-2010, 10:58 PM   #2543
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 CarlP View Post
Hey all,

I just downloaded fpdb and have been trying to troubleshoot this issue for awhile. I'm trying to import some hands using the bulk importer, but it doesn't work. I created a test directory with a single HH file from 2-4 stud hi at Full Tilt, and no subdirectories. I navigated to the directory in the Bulk Importer menu, selected the file and clicked import. No luck. I'm running Windows Vista and I'm using Postgres 8.3. I checked the error log, and I got the following message:

Code:
UnboundLocalError: local variable 'found' referenced before assignment
Documents\Poker\fpdb-0.12-20091126\pyfpdb\GuiBulkImport.py:140: GtkWarning: gtk_file_system_win32_get_parent: assertion `g_path_is_absolute (filename)' failed
  self.chooser.set_filename(self.settings['bulkImport-defaultPath'])
Documents\Poker\fpdb-0.12-20091126\pyfpdb\GuiBulkImport.py:89: GtkWarning: gtk_tree_path_append_index: assertion `index >= 0' failed
  sitename = self.cbfilter.get_model()[self.cbfilter.get_active()][0]
Documents\Poker\fpdb-0.12-20091126\pyfpdb\GuiBulkImport.py:89: GtkWarning: gtk_tree_model_get_iter: assertion `path->depth > 0' failed
  sitename = self.cbfilter.get_model()[self.cbfilter.get_active()][0]
Traceback (most recent call last):
  File "Documents\Poker\fpdb-0.12-20091126\pyfpdb\GuiBulkImport.py", line 89, in load_clicked
    sitename = self.cbfilter.get_model()[self.cbfilter.get_active()][0]
IndexError: could not find tree path
Documents\Poker\fpdb-0.12-20091126\pyfpdb\GuiAutoImport.py:123: GtkWarning: gtk_file_system_win32_get_parent: assertion `g_path_is_absolute (filename)' failed
  dia_chooser.set_filename(current_path)
Anyone have any suggestions? Thanks in advance.
First - thats an old snapshot. We aren't supporting the snapshot releases once a new snapshot is out.

Studhi cash should work in the most recent snapshot - could you try that please?

Sorrow
sorrow is offline   Reply With Quote
Old 02-01-2010, 11:57 PM   #2544
Eratosthenes
old hand
 
Join Date: Oct 2004
Posts: 1,535
Re: Free/open source poker tracking software: FPDB - (v 0.11.2-bug fixes) - 03-JUL-2009

Quote:
Originally Posted by sorrow View Post
First - thats an old snapshot. We aren't supporting the snapshot releases once a new snapshot is out.

Studhi cash should work in the most recent snapshot - could you try that please?

Sorrow
Yes, I'm pretty sure that snapshot had problems with FTP stud games (but I don't remember why). The current snap (it has a 2010 date) will work better, but has some rough edges on FTP. The next one will be a lot happier.
Eratosthenes is offline   Reply With Quote
Old 02-02-2010, 12:08 AM   #2545
CarlP
grinder
 
CarlP's Avatar
 
Join Date: Jul 2008
Location: Ring or Cage
Posts: 686
Re: Free/open source poker tracking software: FPDB - (v 0.11.2-bug fixes) - 03-JUL-2009

I tried the latest snapshot I could find on sourceforge (0.12-20100122), and I am still having trouble with the bulk import. The error message is almost identical:

Code:
fpdb starting ...C:\Users\Documents\Poker\fpdb-0.12-20100122\pyfpdb\GuiBulkImport.py:139: GtkWarning: gtk_file_system_win32_get_parent: assertion `g_path_is_absolute (filename)' failed
  self.chooser.set_filename(self.settings['bulkImport-defaultPath'])
C:\Users\Documents\Poker\fpdb-0.12-20100122\pyfpdb\GuiBulkImport.py:88: GtkWarning: gtk_tree_path_append_index: assertion `index >= 0' failed
  sitename = self.cbfilter.get_model()[self.cbfilter.get_active()][0]
C:\Users\Documents\Poker\fpdb-0.12-20100122\pyfpdb\GuiBulkImport.py:88: GtkWarning: gtk_tree_model_get_iter: assertion `path->depth > 0' failed
  sitename = self.cbfilter.get_model()[self.cbfilter.get_active()][0]
Traceback (most recent call last):
  File "C:\Users\Documents\Poker\fpdb-0.12-20100122\pyfpdb\GuiBulkImport.py", line 88, in load_clicked
    sitename = self.cbfilter.get_model()[self.cbfilter.get_active()][0]
IndexError: could not find tree path
CarlP is offline   Reply With Quote
Old 02-02-2010, 04:54 AM   #2546
ekdikeo
old hand
 
Join Date: Aug 2006
Posts: 1,307
Re: Free/open source poker tracking software: FPDB - (v 0.11.2-bug fixes) - 03-JUL-2009

good news: everleaf nlhe tournies are working now
ekdikeo is offline   Reply With Quote
Old 02-02-2010, 01:18 PM   #2547
Eratosthenes
old hand
 
Join Date: Oct 2004
Posts: 1,535
Re: Free/open source poker tracking software: FPDB - (v 0.11.2-bug fixes) - 03-JUL-2009

Quote:
Originally Posted by CarlP View Post
I tried the latest snapshot I could find on sourceforge (0.12-20100122), and I am still having trouble with the bulk import. The error message is almost identical:

Code:
fpdb starting ...C:\Users\Documents\Poker\fpdb-0.12-20100122\pyfpdb\GuiBulkImport.py:139: GtkWarning: gtk_file_system_win32_get_parent: assertion `g_path_is_absolute (filename)' failed
  self.chooser.set_filename(self.settings['bulkImport-defaultPath'])
C:\Users\Documents\Poker\fpdb-0.12-20100122\pyfpdb\GuiBulkImport.py:88: GtkWarning: gtk_tree_path_append_index: assertion `index >= 0' failed
  sitename = self.cbfilter.get_model()[self.cbfilter.get_active()][0]
C:\Users\Documents\Poker\fpdb-0.12-20100122\pyfpdb\GuiBulkImport.py:88: GtkWarning: gtk_tree_model_get_iter: assertion `path->depth > 0' failed
  sitename = self.cbfilter.get_model()[self.cbfilter.get_active()][0]
Traceback (most recent call last):
  File "C:\Users\Documents\Poker\fpdb-0.12-20100122\pyfpdb\GuiBulkImport.py", line 88, in load_clicked
    sitename = self.cbfilter.get_model()[self.cbfilter.get_active()][0]
IndexError: could not find tree path
You have the most recent snap now.

I am not sure what is happening here. The gui is failing when it tries to read the "site filter" selection box. It should read "Full Tilt Poker" in your case. If it doesn't, there is a problem with you HUD_config.xml.
Eratosthenes is offline   Reply With Quote
Old 02-02-2010, 06:56 PM   #2548
tchaz
Carpal \'Tunnel
 
tchaz's Avatar
 
Join Date: Jul 2008
Posts: 11,940
Re: Free/open source poker tracking software: FPDB - (v 0.11.2-bug fixes) - 03-JUL-2009

Quote:
Originally Posted by tchaz View Post
Hi Sorrow!

This is maybe quite a lazy question, but: how are things going on implementing the new hand history parser etc?

I ask because in December I played around writing some functions for a few more stats (fold to 3bet, 4bet .. well I had some other ideas too & was also interested in "by position stats" being available in the HUD .. but, trying to walk before running, I started with these). Writing functions seemed ok, but I never managed to figure out all of the places to integrate them into the various parts of the program. Is that going to get easier, or will we still have long explicit lists of functions and their derivatives scattered everywhere?
Bump. (Not a set-up q. - any dev's can comment?)
tchaz is offline   Reply With Quote
Old 02-02-2010, 07:30 PM   #2549
Eratosthenes
old hand
 
Join Date: Oct 2004
Posts: 1,535
Re: Free/open source poker tracking software: FPDB - (v 0.11.2-bug fixes) - 03-JUL-2009

Quote:
Originally Posted by tchaz View Post
Hi Sorrow!

This is maybe quite a lazy question, but: how are things going on implementing the new hand history parser etc?

I ask because in December I played around writing some functions for a few more stats (fold to 3bet, 4bet .. well I had some other ideas too & was also interested in "by position stats" being available in the HUD .. but, trying to walk before running, I started with these). Writing functions seemed ok, but I never managed to figure out all of the places to integrate them into the various parts of the program. Is that going to get easier, or will we still have long explicit lists of functions and their derivatives scattered everywhere?
Quote:
Originally Posted by tchaz View Post
Bump. (Not a set-up q. - any dev's can comment?)
The new parser is working in the most recent snapshot. A lot of stats are still not calculated, now would be a good time to jump in, if you are inclined. The stat calculating action happens in the DerivedStats.py module. I think you would be looking for the assemble_hands_players (probably not spelled rite) method. I think it is quite a bit easier to calculated stats than it was with the legacy importer.
Eratosthenes is offline   Reply With Quote
Old 02-02-2010, 07:54 PM   #2550
CarlP
grinder
 
CarlP's Avatar
 
Join Date: Jul 2008
Location: Ring or Cage
Posts: 686
Re: Free/open source poker tracking software: FPDB - (v 0.11.2-bug fixes) - 03-JUL-2009

Quote:
Originally Posted by Eratosthenes View Post
You have the most recent snap now.

I am not sure what is happening here. The gui is failing when it tries to read the "site filter" selection box. It should read "Full Tilt Poker" in your case. If it doesn't, there is a problem with you HUD_config.xml.
Hmm... I guess I'll start playing around in there. Can I get the program to print error messages to the Python console in addition to the error log file?
CarlP 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 06:02 AM.


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