Comment 59 for bug 365881

Revision history for this message
William Bass (webdunce) wrote :

Hi Ray,

How interesting, just yesterday I also sent an idea for a patch via email to Agostino Russo. I didn't even notice the patch system here. Thanks for bringing that to my attention.

I looked at your patch, but just to let you know -- for me, at least -- get_filesystem() also causes the error for me GetVolumeInformationA method is the culprit in that one).

I have recommended that he use ctypes.windll.kernel32.SetErrorMode(1) at the beginning of the Drive class's __init__() to suppress the pop-up and ctypes.windll.kernel32.SetErrorMode(0) at the end to return windows back to the default state (regarding this pop-up, at least)...