Quote:
Originally Posted by sorrow
It does, but most of it is written to the console.
In the console you should see something like:
GuiAutoImport.import_dir done
GuiAutoImport.import_dir done
Total stored: 1 duplicates: 0 partial: 0 errors: 0 time: 0.24743103981
GuiAutoImport.import_dir done
It looks like my imports came from bulk import. I can't see any indication of auto imported hands in the console output, even though my auto import was supposedly running while I was playing hands:
Code:
Note: error output is being diverted to fpdb-error-log.txt and HUD-error.txt. Any major error will be reported there _only_.
Reading configuration file /home/USERNAME/.fpdb/HUD_config.xml
initialised new bulk import thread (not actually a thread yet)
Either 0 or more than one site matched - EEK
True
self.sites[PokerStars] set to True
Graph generated in: 0.00205302238464
Import parameters
{'hhArchiveBase': '', 'interval': u'10', 'callFpdbHud': u'True'}
Either 0 or more than one site matched - EEK
Graph generated in: 0.00120091438293
Graph generated in: 0.00112509727478
initialised new bulk import thread (not actually a thread yet)
Graph generated in: 0.0011351108551
Graph generated in: 0.00204682350159
Graph generated in: 0.00113081932068
Graph generated in: 0.00111198425293
Graph generated in: 0.000694990158081
initialised new bulk import thread (not actually a thread yet)
preparebulk: cons= ('Hands_ibfk_1',)
dropping mysql fk Hands_ibfk_1 Hands gametypeId
preparebulk: cons= ('HandsPlayers_ibfk_4',)
dropping mysql fk HandsPlayers_ibfk_4 HandsPlayers handId
preparebulk: cons= ('HandsPlayers_ibfk_5',)
dropping mysql fk HandsPlayers_ibfk_5 HandsPlayers playerId
preparebulk: cons= ('HandsActions_ibfk_1',)
dropping mysql fk HandsActions_ibfk_1 HandsActions handPlayerId
preparebulk: cons= ('HudCache_ibfk_3',)
dropping mysql fk HudCache_ibfk_3 HudCache gametypeId
preparebulk: cons= ('HudCache_ibfk_4',)
dropping mysql fk HudCache_ibfk_4 HudCache tourneyTypeId
Total stored: 9 duplicates: 0 partial: 0 errors: 0 time: 0.197410106659
afterbulk: cons= None
creating fk Hands gametypeId -> Gametypes id
afterbulk: cons= None
creating fk HandsPlayers handId -> Hands id
afterbulk: cons= None
creating fk HandsPlayers playerId -> Players id
afterbulk: cons= None
creating fk HandsActions handPlayerId -> HandsPlayers id
afterbulk: cons= None
creating fk HudCache gametypeId -> Gametypes id
afterbulk: cons= None
creating fk HudCache tourneyTypeId -> TourneyTypes id
preparebulk: cons= ('Hands_ibfk_1',)
dropping mysql fk Hands_ibfk_1 Hands gametypeId
preparebulk: cons= ('HandsPlayers_ibfk_4',)
dropping mysql fk HandsPlayers_ibfk_4 HandsPlayers handId
preparebulk: cons= ('HandsPlayers_ibfk_5',)
dropping mysql fk HandsPlayers_ibfk_5 HandsPlayers playerId
preparebulk: cons= ('HandsActions_ibfk_1',)
dropping mysql fk HandsActions_ibfk_1 HandsActions handPlayerId
preparebulk: cons= ('HudCache_ibfk_3',)
dropping mysql fk HudCache_ibfk_3 HudCache gametypeId
preparebulk: cons= ('HudCache_ibfk_4',)
dropping mysql fk HudCache_ibfk_4 HudCache tourneyTypeId
Total stored: 0 duplicates: 39 partial: 0 errors: 0 time: 0.0577480792999
afterbulk: cons= None
creating fk Hands gametypeId -> Gametypes id
afterbulk: cons= None
creating fk HandsPlayers handId -> Hands id
afterbulk: cons= None
creating fk HandsPlayers playerId -> Players id
afterbulk: cons= None
creating fk HandsActions handPlayerId -> HandsPlayers id
afterbulk: cons= None
creating fk HudCache gametypeId -> Gametypes id
afterbulk: cons= None
creating fk HudCache tourneyTypeId -> TourneyTypes id
preparebulk: cons= ('Hands_ibfk_1',)
dropping mysql fk Hands_ibfk_1 Hands gametypeId
preparebulk: cons= ('HandsPlayers_ibfk_4',)
dropping mysql fk HandsPlayers_ibfk_4 HandsPlayers handId
preparebulk: cons= ('HandsPlayers_ibfk_5',)
dropping mysql fk HandsPlayers_ibfk_5 HandsPlayers playerId
preparebulk: cons= ('HandsActions_ibfk_1',)
dropping mysql fk HandsActions_ibfk_1 HandsActions handPlayerId
preparebulk: cons= ('HudCache_ibfk_3',)
dropping mysql fk HudCache_ibfk_3 HudCache gametypeId
preparebulk: cons= ('HudCache_ibfk_4',)
dropping mysql fk HudCache_ibfk_4 HudCache tourneyTypeId
Total stored: 34 duplicates: 0 partial: 0 errors: 0 time: 0.918486118317
afterbulk: cons= None
creating fk Hands gametypeId -> Gametypes id
afterbulk: cons= None
creating fk HandsPlayers handId -> Hands id
afterbulk: cons= None
creating fk HandsPlayers playerId -> Players id
afterbulk: cons= None
creating fk HandsActions handPlayerId -> HandsPlayers id
afterbulk: cons= None
creating fk HudCache gametypeId -> Gametypes id
afterbulk: cons= None
creating fk HudCache tourneyTypeId -> TourneyTypes id
preparebulk: cons= ('Hands_ibfk_1',)
dropping mysql fk Hands_ibfk_1 Hands gametypeId
preparebulk: cons= ('HandsPlayers_ibfk_4',)
dropping mysql fk HandsPlayers_ibfk_4 HandsPlayers handId
preparebulk: cons= ('HandsPlayers_ibfk_5',)
dropping mysql fk HandsPlayers_ibfk_5 HandsPlayers playerId
preparebulk: cons= ('HandsActions_ibfk_1',)
dropping mysql fk HandsActions_ibfk_1 HandsActions handPlayerId
preparebulk: cons= ('HudCache_ibfk_3',)
dropping mysql fk HudCache_ibfk_3 HudCache gametypeId
preparebulk: cons= ('HudCache_ibfk_4',)
dropping mysql fk HudCache_ibfk_4 HudCache tourneyTypeId
Total stored: 0 duplicates: 10 partial: 0 errors: 0 time: 0.0177459716797
afterbulk: cons= None
creating fk Hands gametypeId -> Gametypes id
afterbulk: cons= None
creating fk HandsPlayers handId -> Hands id
afterbulk: cons= None
creating fk HandsPlayers playerId -> Players id
afterbulk: cons= None
creating fk HandsActions handPlayerId -> HandsPlayers id
afterbulk: cons= None
creating fk HudCache gametypeId -> Gametypes id
afterbulk: cons= None
creating fk HudCache tourneyTypeId -> TourneyTypes id
Graph generated in: 0.00367498397827
Graph generated in: 0.00372695922852
Graph generated in: 0.00371384620667
Graph generated in: 0.00332307815552
Graph generated in: 0.00216603279114
Graph generated in: 0.00341606140137
Import parameters
{'hhArchiveBase': '', 'interval': u'10', 'callFpdbHud': u'True'}
Graph generated in: 0.00342297554016
Graph generated in: 0.00320506095886
Graph generated in: 0.00334596633911
Graph generated in: 0.00194001197815
Graph generated in: 0.00356292724609
True
self.sites[Full Tilt] set to True
False
self.sites[PokerStars] set to False
False
self.sites[Full Tilt] set to False
True
self.sites[PokerStars] set to True
Graph generated in: 0.00222396850586
Graph generated in: 0.0107359886169
Quote:
While the table is up type python Tables.py and see what you get.
I get an error:
Reading configuration file /home/<username>/.fpdb/HUD_config.xml
Traceback (most recent call last):
File "Tables.py", line 372, in <module>
print discover_table_by_name(c, "Ringe")
File "Tables.py", line 107, in discover_table_by_name
return Table_Window(info)
File "Tables.py", line 61, in __init__
if info.has_key('number'): self.number = info['number']
AttributeError: 'bool' object has no attribute 'has_key'
Quote:
Also how are you starting fpdb? python pyfpdb/fpdb.py or similar? Try starting it from the same directory as fpdb.py
I am starting it from its directory, ie cd ~/fpdb/pyfpdb then python fpdb.py
Last edited by _dave_; 03-15-2009 at 04:04 PM.