I have successfully set this up on a Vista laptop at home, and it works flawlessly. Now trying to get it working on an XP box, and I can't get the HUD to work. The auto import is working fine, I can see the hands getting imported in the FPDB console window, and when I do a "select count(*) from hands;" in MySQL, but the HUD overlay never appears.
Here are the contents of the HUD-error.txt file:
HUD_main starting
Using db name = fpdb
Unhandled exception in thread started by <bound method HUD_main.read_stdin of <__main__.HUD_main object at 0x01213990>>
Traceback (most recent call last):
File "HUD_main.py", line 196, in read_stdin
self.create_HUD(new_hand_id, tablewindow, temp_key, max, poker_game, stat_dict, cards)
File "HUD_main.py", line 112, in create_HUD
self.hud_dict = Hud.Hud(self, table, max, poker_game, self.config, self.db_connection)
File "C:\Program Files\fpdb\pyfpdb\Hud.py", line 78, in __init__
(font, font_size) = config.get_default_font(self.table.site)
File "C:\Program Files\fpdb\pyfpdb\Configuration.py", line 561, in get_default_font
if self.supported_sites.font == "":
KeyError: None
I see it mentioned "font" a couple times in the error log. I tried a couple different fonts in the HUD_config.xml with no change.
Help??
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
My code got mangled above, and I didn't see a way to edit. 2nd try:
HUD_main starting
Using db name = fpdb
Unhandled exception in thread started by <bound method HUD_main.read_stdin of <__main__.HUD_main object at 0x01213990>>
Traceback (most recent call last):
File "HUD_main.py", line 196, in read_stdin
self.create_HUD(new_hand_id, tablewindow, temp_key, max, poker_game, stat_dict, cards)
File "HUD_main.py", line 112, in create_HUD
self.hud_dict = Hud.Hud(self, table, max, poker_game, self.config, self.db_connection)
File "C:\Program Files\fpdb\pyfpdb\Hud.py", line 78, in __init__
(font, font_size) = config.get_default_font(self.table.site)
File "C:\Program Files\fpdb\pyfpdb\Configuration.py", line 561, in get_default_font
if self.supported_sites.font == "":
KeyError: None
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Let's try it this way: (It looks right in preview anyway…)
HUD_main starting<BR>
Using db name = fpdb<BR>
Unhandled exception in thread started by &ltbound method HUD_main.read_stdin of &lt__main__.HUD_main object at 0x01213990&gt&gt<BR>
Traceback (most recent call last):<BR>
File "HUD_main.py", line 196, in read_stdin<BR>
self.create_HUD(new_hand_id, tablewindow, temp_key, max, poker_game, stat_dict, cards)<BR>
File "HUD_main.py", line 112, in create_HUD<BR>
self.hud_dict = Hud.Hud(self, table, max, poker_game, self.config, self.db_connection)<BR>
File "C:\Program Files\fpdb\pyfpdb\Hud.py", line 78, in __init__<BR>
(font, font_size) = config.get_default_font(self.table.site)<BR>
File "C:\Program Files\fpdb\pyfpdb\Configuration.py", line 561, in get_default_font<BR>
if self.supported_sites.font == "":<BR>
KeyError: None
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I have successfully set this up on a Vista laptop at home, and it works flawlessly. Now trying to get it working on an XP box, and I can't get the HUD to work. The auto import is working fine, I can see the hands getting imported in the FPDB console window, and when I do a "select count(*) from hands;" in MySQL, but the HUD overlay never appears.
Here are the contents of the HUD-error.txt file:
HUD_main starting
Using db name = fpdb
Unhandled exception in thread started by <bound method HUD_main.read_stdin of <__main__.HUD_main object at 0x01213990>>
Traceback (most recent call last):
File "HUD_main.py", line 196, in read_stdin
self.create_HUD(new_hand_id, tablewindow, temp_key, max, poker_game, stat_dict, cards)
File "HUD_main.py", line 112, in create_HUD
self.hud_dict = Hud.Hud(self, table, max, poker_game, self.config, self.db_connection)
File "C:\Program Files\fpdb\pyfpdb\Hud.py", line 78, in __init__
(font, font_size) = config.get_default_font(self.table.site)
File "C:\Program Files\fpdb\pyfpdb\Configuration.py", line 561, in get_default_font
if self.supported_sites.font == "":
KeyError: None
I see it mentioned "font" a couple times in the error log. I tried a couple different fonts in the HUD_config.xml with no change.
Help??
My code got mangled above, and I didn't see a way to edit. 2nd try:
HUD_main starting
Using db name = fpdb
Unhandled exception in thread started by <bound method HUD_main.read_stdin of <__main__.HUD_main object at 0x01213990>>
Traceback (most recent call last):
File "HUD_main.py", line 196, in read_stdin
self.create_HUD(new_hand_id, tablewindow, temp_key, max, poker_game, stat_dict, cards)
File "HUD_main.py", line 112, in create_HUD
self.hud_dict = Hud.Hud(self, table, max, poker_game, self.config, self.db_connection)
File "C:\Program Files\fpdb\pyfpdb\Hud.py", line 78, in __init__
(font, font_size) = config.get_default_font(self.table.site)
File "C:\Program Files\fpdb\pyfpdb\Configuration.py", line 561, in get_default_font
if self.supported_sites.font == "":
KeyError: None
Well….even with code tags, the quote marks are getting changed. The &quot's above should be "'s
Let's try it this way: (It looks right in preview anyway…)
HUD_main starting<BR>
Using db name = fpdb<BR>
Unhandled exception in thread started by &ltbound method HUD_main.read_stdin of &lt__main__.HUD_main object at 0x01213990&gt&gt<BR>
Traceback (most recent call last):<BR>
File "HUD_main.py", line 196, in read_stdin<BR>
self.create_HUD(new_hand_id, tablewindow, temp_key, max, poker_game, stat_dict, cards)<BR>
File "HUD_main.py", line 112, in create_HUD<BR>
self.hud_dict = Hud.Hud(self, table, max, poker_game, self.config, self.db_connection)<BR>
File "C:\Program Files\fpdb\pyfpdb\Hud.py", line 78, in __init__<BR>
(font, font_size) = config.get_default_font(self.table.site)<BR>
File "C:\Program Files\fpdb\pyfpdb\Configuration.py", line 561, in get_default_font<BR>
if self.supported_sites.font == "":<BR>
KeyError: None
Well, sorry guys, I can't get it to display correctly
Thanks for the help everybody…..