error 234 on PyRegEnumValue and RegEnumKey
OLD project page for the Python extensions for Windows
Brought to you by:
mhammond
Hi,
I 'm facing to an issue regarding RegEnumKey and RegEnumValue.
On japanese windows 2008r2, for some registry key, I have the following error:
(234, 'PyRegEnumValue', 'Plus de donnees sont disponibles .')
CopyValue agent
(234, 'RegEnumKey', 'Plus de donnees sont disponibles .')
In order to reproduce this bug, you need to switch Windows to Japanese locale(Localized.png)
This issue don't exist with US locale.
After, you only need to import reg file and start test_pywin32_reg.py
This bug is already mentionned as Bug 356.
I made the same test with the last pywin32 release. I have the same error.
Best regards
This issue still exists in the build 219.
Working on a bugfix, I found that the issue also exist on RegEnumKeyEx.
The new test script now tests RegEnumKeyEx function.
You can find the bugfix in attachment. It fix function:
* PyRegEnumValue
* PyRegEnumKey
* PyRegEnumKeyEx
* PyRegEnumKeyExW
Bugfix is inspired of python similar bugfix (http://bugs.python.org/issue2810).
Best Regards.