Hi, I'm getting the attached error when trying to import Stars tournament hand histories. I think these errors started before the 04g patch, and I thought the patch would fix it. (Or it might be an unrelated issue?)
I'm using Postgresql 8.2.7 on Gentoo Linux (same configuration for years). Has always worked flawlessy, well up until now. Note that it's only Stars failing, importing other sites still works.
Anyone has an idea? Does the problem lie within the HH-file or is there really an invalid byte in the database? How can I find out which record it is?
What I find strange is that "select * from players" works without complaining (psql shell on server)...
Thanks for any help!
*********************************
PT Version: 2.17.04g
Error Date: 08/07/2009 22:53
Database Error: 7
Error Text: Select error: SQLSTATE = 22021
ERROR: invalid byte sequence for encoding "UTF8": 0xb6;
Error while executing the query
DataObject: d_player_names
Syntax In Error: SELECT players.screen_name,
players.location,
0 as handle,
players.treeview_icon,
players.player_id,
players.main_site_id,
players.site_id,
players.alias_id,
players.hide_ind,
players.ring_player,
players.tourney_player,
upper(players.screen_name) as upper_name
FROM players
WHERE ( players.main_site_id = 2 ) OR
( players.player_id = 0 )
*********************************
*********************************
PT Version: 2.17.04g
Error Date: 08/07/2009 22:53
Database Error: 7
Error Text: SQLSTATE = 23505
ERROR: duplicate key violates unique constraint "player_idx_01";
Error while executing the query
No changes made to database.
INSERT INTO players ( screen_name, treeview_icon, player_id, main_site_id, hide_ind, ring_player, tourney_player ) VALUES ( 'uckma', 1, 270838, 2, 0, 0, 1 )
DataObject: d_player_names
Syntax In Error: INSERT INTO players ( screen_name, treeview_icon, player_id, main_site_id, hide_ind, ring_player, tourney_player ) VALUES ( 'uckma', 1, 270838, 2, 0, 0, 1 )
*********************************
