https://bugs.winehq.org/show_bug.cgi?id=56434
Nikolay Sivov bunglehead@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW Ever confirmed|0 |1
--- Comment #4 from Nikolay Sivov bunglehead@gmail.com --- (In reply to Rafa from comment #1)
Log:
0114:fixme:wshom:WshNetworkFactory_CreateInstance (00000000 {00020400-0000-0000-c000-000000000046} 0040F7FC) 0114:fixme:wshom:WshNetwork2_GetTypeInfo 773FC018, 0, 400, 0040F990. 0114:fixme:wshom:WshNetwork2_GetTypeInfo 773FC018, 0, 400, 0040F860.
<COMObject WScript.Network> 0114:fixme:wshom:WshNetwork2_get_ComputerName 0040F880 stub Traceback (most recent call last): File "wscript_network.py", line 15, in <module> main() File "wscript_network.py", line 7, in main hostname = network.ComputerName File "C:\Python27\lib\site-packages\win32com\client\dynamic.py", line 516, in __getattr__ ret = self._oleobj_.Invoke(retEntry.dispid,0,invoke_type,1) pywintypes.com_error: (-2147352567, 'DISP_E_EXCEPTION', (0, None, None, None, 0, -2147467263), None)
Thanks. Submitted a fix for get_ComputerName() - https://gitlab.winehq.org/wine/wine/-/merge_requests/5310. Your example will then fail on get_UserDomain(), we'll deal with that next.