cb9e2cb6e7
The main HUD process can hang due to unhandled exceptions, which occurred in two separate situations: 1. Table window is closed and HUD instance killed before auto-importer knows about it 2. Sometimes the threading can jam These changes attempt to counter the effect of race-conditions. The dictionary key (table name) is properly tested at the beginning of update/create block, *but* there are two short round-trips to database before the key is used. While these occur, the HUD instance can vanish and thus get its key removed from the dictionary. Also, when Tables.Table() is created, it will be populated on-demand, and have child attributes only when such are found from the system. The new table code pulls in data from actual windows. Again, there is a query involved and while it runs, the table may have vanished. This ended up as an error in this call: foo = gtk.gdk.window_foreign_new(table.number) The object 'table' is valid (not None) but it has been populated only after actual table window was killed. Therefore it may not have .number attribute, which raised an AttributeError. Now the presence of table.number attribute is tested before the object can be sent to create_HUD(). |
||
---|---|---|
docs | ||
files | ||
gfx | ||
packaging | ||
pyfpdb | ||
regression-test | ||
utils | ||
setup.py | ||
THANKS.txt |
README.txt updated 26 March 2009, REB fpdb - Free Poker Database The most accurate and up-to-date information on fpdb will be found in the wiki: http://fpdb.wiki.sourceforge.net/ Other resources are: Mailing list: http://sourceforge.net/mailarchive/forum.php?forum_name=fpdb-main Chat room(irc): #fpdb on freenode.net fpdb is a free program for use with on line poker. It provides: Tracking of your results and statistics. Tracking of opponents' results statistics. Win/loss graphing Heads Up Display (HUD) with a variety of statistics Display of mucked cards in the HUD fpdb supports: Sites: PokerStars Full Tilt Poker Everleaf Network Other sites are under development and are easily added Games: Holdem Omaha (incl Hi/low) 7 Card Stud (incl Hi/low) Razz Draw support is under development Mixed Games -- HUD under development Operating Systems: Linux and other Unix-like, using X Windows Mac OS/X -- no support for HUD Databases: MySQL PostgreSQL SQLite under development Downloads: Releases: http://sourceforge.net/project/showfiles.php?group_id=226872 Development code via git: http://www.assembla.com/spaces/free_poker_tools/trac_git_tool Developers: At least 7 people have contributed code or patches. Others are welcome. License ======= Trademarks of third parties have been used under Fair Use or similar laws. Copyright 2008 Steffen Jobbagy-Felso Copyright 2009 Ray E. Barker Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation License, Version 1.2 as published by the Free Software Foundation; with no Invariant Sections, no Front-Cover Texts, and with no Back-Cover Texts. A copy of the license can be found in fdl-1.2.txt fpdb itself is licensed under AGPLv3, see agpl-3.0.txt.