Menu

#677 error 234 on PyRegEnumValue and RegEnumKey

v1.0 (example)
open
nobody
None
5
2014-12-11
2014-08-27
ddoe
No

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

3 Attachments

Discussion

  • ddoe

    ddoe - 2014-12-10

    This issue still exists in the build 219.

     
  • ddoe

    ddoe - 2014-12-11

    Working on a bugfix, I found that the issue also exist on RegEnumKeyEx.
    The new test script now tests RegEnumKeyEx function.

     
  • ddoe

    ddoe - 2014-12-11

    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.

     
Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.