Database error when importing Pokerstars games.

Experiencing technical difficulties? Think you've found a problem with PokerTracker 3? Report it here.

Moderator: Moderators

Database error when importing Pokerstars games.

Postby 4phinx » Wed Jan 28, 2009 5:16 am

primary key conflicts occured during auto-importing. and time and again i have to delete and create a new db to continue.
is there any "auto-repair" method ?
personally i prefer to use an auto-increment PK instead to avoid the conflict.

=====================
PokerStars: Unable to import hand (#24331060906). Reason: Unable to execute query: COPY tourney_holdem_hand_player_detail FROM STDIN;; Reason: Fatal Error (error: duplicate key value violates unique constraint "tourney_holdem_hand_player_primary_key" CONTEXT: COPY tourney_holdem_hand_player_detail, line 1: "1330 506 1 0 0 4370.00 15.00 0.00 30.00 150.00 0.00 0.00 180.00 1 11 2 4 t t t f t f t f t f t f f 0..." )
=====================
4phinx
 
Posts: 2
Joined: Sun Jan 11, 2009 3:03 am

Re: Database error when importing Pokerstars games.

Postby kraada » Wed Jan 28, 2009 11:15 am

That should just mean that the hand in question is a duplicate and thus wasn't imported.

You shouldn't need to worry about it.
kraada
Moderator
 
Posts: 54430
Joined: Wed Mar 05, 2008 2:32 am
Location: NY

Re: Database error when importing Pokerstars games.

Postby 4phinx » Wed Jan 28, 2009 1:03 pm

It seems that PT3 won't skip the duplicated records but run into crash, HUD disappears and everything is stopped. Typically, when the error occurs, the process "postgre.exe" in windows task manager is of high CPU usage (40%).

Restarting PT3 dosen't solve the problem. The only thing I can do is recreating the DB.
4phinx
 
Posts: 2
Joined: Sun Jan 11, 2009 3:03 am

Re: Database error when importing Pokerstars games.

Postby kraada » Wed Jan 28, 2009 2:18 pm

Please enable logging (Configure --> Options --> Logging Enabled and restart PT3) and reproduce one of these crashes then attach the C:\Program Files\PokerTracker 3\PokerTracker.log and C:\Program Files\PokerTracker 3\PokerTrackerHud.log files to a support ticket before restarting PT3 and we'll look into what could be causing this for you.

There are very few crashing bugs left and we can't get them to occur on any of our machines on a regular basis so this would be a great help in figuring out what is causing the crash for you and getting it resolved.
kraada
Moderator
 
Posts: 54430
Joined: Wed Mar 05, 2008 2:32 am
Location: NY


Return to Technical Support / Bug Reports [Read Only]

Who is online

Users browsing this forum: No registered users and 0 guests