missing hands

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

Moderator: Moderators

missing hands

Postby dandan11 » Tue Mar 24, 2009 5:29 pm

Hi Can anyone help me with this problem please?
I have a database of about 300k hands. Everything was fine until I did house keeping and sometime through my son turned off the power to the computer.
Now when I start PT3 I get a message saying 'the database does not contain a populated cache'
under the texas holdem tab all is blank (0 players) (I have tried clicking clear)
When I go to export its as though the data base is there (it takes a few minutes to export then a file turns up where I exported it to)
When I run all the housekeeping things after about 5 minutes I get :unable to execut query cluster ;; reason fatal error could not read block 0 of relation etc etc
I have a backup saved a little while ago its just annoying cos I really wanted to keep the last 20k hands.
I have a few hand history files lying around too but when I try to import them or the backup I get could not read block 0 etc etc like above.
postgresql is running in processes.
Any ideas anyone ? Im starting to look like I had my hair cut at the monestry.
dandan11
 
Posts: 3
Joined: Tue Mar 24, 2009 4:51 pm

Re: missing hands

Postby WhiteRider » Tue Mar 24, 2009 7:03 pm

From the Database / Postgres FAQ..

There are two main reasons for this kind of error. The first is a result of data corruption from a computer crash that requires reindexing your database. You can reindex your database from the PostgreSQL command prompt. Click Start --> Programs --> PostgreSQL --> Command prompt. At the prompt that appears, type “reindexdb -a” and hit enter. Be aware that if you have large databases this may take a while, so be patient and wait for it to finish.
(If the re-index doesn't work because you are not logged in as user 'postgres' enter: "reindexdb -U postgres -a").

The second reason for this error is a result of faulty hardware. You can set PostgreSQL to ignore these errors by clicking Start --> Programs --> PostgreSQL --> Configuration Files --> Edit postgresql.conf. In the configuration file that appears, go to the bottom of the file and add the text “zero_damaged_pages = on” on a new line and then save and close the file. Click Start --> Programs --> PostgreSQL --> Reload Configuration and PostgreSQL will ignore the damaged data. If you continue to have problems with that hard drive, you should consider replacing it.
WhiteRider
Moderator
 
Posts: 54025
Joined: Sat Jan 19, 2008 7:06 pm
Location: UK

Re: missing hands

Postby dandan11 » Tue Mar 24, 2009 8:44 pm

Hi, Thanks for taking the time to respond to this so quickly. I really apreciate it.
I tried the reindex -a with no success but with the reindex -u etc I got a long list of files (approx 100) that seemed to indexing (it took approx 1/2 an hour then went back to the original prompt so things looked good.)
I restarted PT3 and got the 'the database does not contain a populated cache' notice
still no sign of any hands
I use the update cache command and this lasts for approx 3 seconds and appears to finish
still no sign of the hands.
I run all the housekeeping commands and it runds doing this for about 35 mins (about right for this d/b size on my comp)
NO ERRORS BUT STILL NO SIGN OF THE HANDS ! although pt is acting like the hands are there (with the exporting and housekeeping times)
I tried importing some hands I already had in the db and as expected it marked them all as duplicates during the import.
I get the feeling im missing something obvious.
could I have a bit more help please ? :?
dandan11
 
Posts: 3
Joined: Tue Mar 24, 2009 4:51 pm

Re: missing hands

Postby WhiteRider » Wed Mar 25, 2009 8:17 am

Make sure you don't have any filters set - click "Clear".
If you still can't see the hands, enable logging, reproduce the problem by viewing a couple of reports and submit your PokerTracker.log file to the Support system , and link to this thread in the reference field of the ticket so that we can investigate.

If you still have all your hand histories you could create a new database and import them again. If not, try exporting from your existing database and if that works you can import the hands from the export.
Tutorial: Selective Export
WhiteRider
Moderator
 
Posts: 54025
Joined: Sat Jan 19, 2008 7:06 pm
Location: UK

Re: missing hands

Postby dandan11 » Wed Mar 25, 2009 4:27 pm

Thanks for your help Whiterider, I reinstalled in the end and the export of the 'phantom' hands imported to the new install and itworked a treat. :D
dandan11
 
Posts: 3
Joined: Tue Mar 24, 2009 4:51 pm

Re: missing hands

Postby WhiteRider » Wed Mar 25, 2009 4:45 pm

OK, great - thanks for letting me know.
WhiteRider
Moderator
 
Posts: 54025
Joined: Sat Jan 19, 2008 7:06 pm
Location: UK


Return to Technical Support / Bug Reports [Read Only]

Who is online

Users browsing this forum: No registered users and 0 guests