[英]wmic Invalid XSL format (or) file name. error intermittent
I am getting the error randomly. 我随机得到错误。 Every 3rd or so time page loads no errors.
每第3个左右的时间页面不会加载任何错误。 Other 2/3rds of the time i get this error.
其他2 / 3rds的时间我收到此错误。
['X_Server_X on xxxx-xxx-xx-xxx - Invalid XSL format (or) file name.\r\n', 'string indices must be integers']
After a lot of googling and seeing other threads, the fix of copying .xsl files to Windows/System32 doesn't seem to work. 经过大量的搜索并查看了其他线程之后,将.xsl文件复制到Windows / System32的修复似乎不起作用。 This might be because the python I am running is on moinmoin ( a wiki like page).
这可能是因为我正在运行的python在moinmoin(类似于wiki的页面)上。
Also another detail, the python is calling other servers (does checks on them). 另一个细节是,python正在调用其他服务器(对它们进行检查)。
Anyone have any idea why i'm getting this error. 任何人都不知道为什么我会收到此错误。
I managed to fix the issue. 我设法解决了这个问题。
Had to move XSL files from 必须将XSL文件从
C:\Windows\system32\wbem\en-US to c:\Windows\SysWOW64 (64-bit machine).
Was trying to move to c:\\windows\\system32. 试图移动到c:\\ windows \\ system32。
替代修补程序:更改格式以匹配C:\\ Windows \\ System32 \\ wbem ** en-US **控制面板>区域和语言>格式>格式>英文(美国)
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.