PDA

View Full Version : Win7 Experience Issues



brianwi
11-01-2009, 02:41 AM
Was running XP - upgraded to Win7 today. Backed up Notes, Config dir, and dB as specified in the Help files from HEM. Once Win7 was up and I had everything installed (postgres first obv), I restored the dB and this was my experience:

1) The restore did end on an error, but as specified I did not rerun it.
2) When I went to import HH files from Stars, they imported but every hand was an error. (BTW, I could not find an error log file in Win7)
3) BUG 1: I finally created a new dB, and imported the hands into that. I switched back to the restored dB and then the hands imported. (This seems like a bug to me...unfortunately a time consuming one no doubt.)
4) I tried to import my Notes, but they were apparently already there as it said 0 notes updated.
5) BUG 2: I then (to verify they were present) tried to export them. It says it exported to the ExportedNotes.HMNotes file in the ProgramFiles/RVG/HEM dir. However, there is NO FILE THERE.
6) I then decided to just import all my old hands into a new dB just to be safe. I selected 233 files to import, however, the hands imported and time remaining are only updating about once every few minutes instead of every second like usual.

I'm running 1.09 Beta 42 (before and after the upgrade.)

Hopefully this is useful.

netsrak
11-01-2009, 07:53 AM
I think your problems were caused because of the new postgresql version. The older version uses coding SQL_ASCII and the new one UTF8 by default. When restoring a backup it needs to have the same coding as the original one.

Under Vista and Windows 7 make sure UAC is disabled http://www.holdemmanager.net/faq/afmviewfaq.aspx?faqid=73
and/or holdemmanager.exe and hmhud.exe are started as administrator. Run the windows explorer and navigate to your Holdemmanager installation directory. Right click the holdemmanager.exe, dbcontrolpanel.exe and the hmhud.exe executable and select "Run as admin" from the popup menu under compatibilty.


Please come back if you need further help.

janne_oksanen
11-01-2009, 09:16 AM
Disabling UAC is very dangerous. Is there a way for you to make HEM work with UAC? UAC really is the corner stone of Windows security and there is no way I'm going to disable it.

brianwi
11-01-2009, 09:22 AM
I'm pretty sure that when I restored the dB, it used the ASCII, and not UTF. However, I still think that #5 and #6 are potential issues that are unrelated to this.

And hopefully over the next few months, HEM will adjust to being able to run without recommending disabling UAC. Having worked for many years in the sw industry, I understand the likely issues you're dealing with and appreciate them, but it's better to fix this now for the long term IMO.

Thanks!
Brian

Edit: Also note that I had a PT dB as well, and that restored fine with no errors, and worked, so again I think this is another reason it's not due to UTF as I did them both the same.

Edit2: I just looked in Pgadmin and it was indeed restored with ASCII, not UTF...so these issues are likely very real for everyone.

fozzy71
11-01-2009, 06:51 PM
Disabling UAC is very dangerous. Is there a way for you to make HEM work with UAC? UAC really is the corner stone of Windows security and there is no way I'm going to disable it.

You can leave UAC on, just set all the EXE's to run as admin.

Under Windows 7 you must set \holdem manager\dbcontrolpanel.exe, holdemmanager.exe and hmhud.exe to be started as administrator. Run the windows explorer and navigate to your Holdemmanager installation directory. Right click the executable's and select "Run as admin" from the compatibility tab.