[ python-Bugs-852281 ] test_winreg failing, Win98SE

SourceForge.net noreply at sourceforge.net
Mon Dec 1 15:15:00 EST 2003


Bugs item #852281, was opened at 2003-12-01 15:01
Message generated for change (Comment added) made by gvanrossum
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=852281&group_id=5470

Category: Windows
Group: Python 2.4
Status: Open
Resolution: None
Priority: 7
Submitted By: Tim Peters (tim_one)
Assigned to: Guido van Rossum (gvanrossum)
Summary: test_winreg failing, Win98SE

Initial Comment:
Under current CVS, on Win98SE:

C:\Code\python\PCbuild>python ../lib/test/test_winreg.p
y
Traceback (most recent call last):
  File "../lib/test/test_winreg.py", line 135, in ?
    TestAll(HKEY_CURRENT_USER)
  File "../lib/test/test_winreg.py", line 130, in TestAll
    WriteTestData(root_key)
  File "../lib/test/test_winreg.py", line 37, in 
WriteTestData
    SetValueEx(sub_key, value_name, 0, value_type, 
value_data)
WindowsError: [Errno 87] The parameter is incorrect

C:\Code\python\PCbuild>

That's all I know now.

----------------------------------------------------------------------

>Comment By: Guido van Rossum (gvanrossum)
Date: 2003-12-01 15:14

Message:
Logged In: YES 
user_id=6380

I bet the Big String and/or Big Binary test values that I
added to the test_data table are too long for Win98. I can
only test this on Win98. Can you experiment and find out
what the largest value is that works on Win98? (The
alternative would be to write code that somehow tries to
*detect* the longest string that works, using bisection. I
don't know if these limits are documented somewhere.)

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=852281&group_id=5470



More information about the Python-bugs-list mailing list