Quote:
Originally Posted by sorrow
I suspect a permissions problem here. What that output is showing is that you are reading [] (0) lines from filename, starting from character 7905, then 9826, then 11422.
In another terminal can you run:
wc -c '/home/abelardo/.wine/drive_c/Program Files/PokerStars/HandHistory/Abelardo/HH20090410 T154908176 No Limit Hold'em $3 + $0.40.txt'
Each time the message comes up on screen.
What I expect to see is a number higher than the lone that was just printed. If thats the case, fpdb isn't able to read the file contents for some reason.
Thanks sorrow and Eratosthenes, I haven't tried exactly this but will do sometime later (need to play another SnG).
For now, I tried running the command you gave me got me this:
79284 ./.wine/drive_c/Program Files/PokerStars/HandHistory/Abelardo/HH20090410 T154908176 No Limit Hold'em $3 + $0.40.txt
I have the logs from the previous run and found this interesting (last entry):
..DEBUG: import_fpdb_file: failed on self.lines[0]: '/home/abelardo/.wine/drive_c/Program Files/PokerStars/HandHistory/Abelardo/HH20090410 T154908176 No Limit Hold'em $3 + $0.40.txt' 'PokerStars' '[]' '79284'
So looks like it is detecting correctly the size?
I tried something else, importing the HH using the Bulk import (previously I recreated the tables just to be sure), I got this from the terminal window:
Code:
started at 2009-04-11 08:24:53.934582 -- 1 files to import. drop
dropped pg fk pg fk Hands_gametypeId_fkey
dropped pg fk pg fk HandsPlayers_handId_fkey
dropped pg fk pg fk HandsPlayers_playerId_fkey
dropped pg fk pg fk HandsActions_handPlayerId_fkey
dropped pg fk pg fk HudCache_gametypeId_fkey
dropped pg fk pg fk HudCache_tourneyTypeId_fkey
drop index HandsPlayers_handId_idx
drop index HandsPlayers_playerId_idx
drop index HudCache_gametypeId_idx
drop index Players_siteId_idx
drop index Tourneys_tourneyTypeId_idx
No sites selected - defaulting to PokerStars
No player ids found
Looking at the database, nothing got written. The tournament was specifically a 10 seat $3.40 turbo SnG. Not many SnG's in pokerstars are 10 seats, maybe fpdb is expecting 9 players instead of 10? Maybe I should send you guys the hand history itself? Thanks again!
Abelardo