简体   繁体   English

wmic XSL格式(或)文件名无效。 间歇性错误

[英]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.

相关问题 pyexcel导出错误“没有内容,文件名。没有给出任何内容” - pyexcel export error "No content, file name. Nothing is given" python中的wmic调用返回无效的查询错误 - wmic call in python return invalid query error 在方法名称中发现无效字符。 HTTP 方法必须是令牌 - Invalid character found in method name. HTTP method must be tokens 间歇性错误文件描述符错误 - intermittent Bad File Descriptor error 使用带有可变文件名的os。(“ start…)。python - Using os.("start …) with variable file name. python Rasterio “文件系统中不存在,并且不被识别为支持的数据集名称。” - Rasterio " does not exist in the file system, and is not recognized as a supported dataset name." Python正则表达式以匹配文件名。 使用os.walk()获取文件名 - Python regular expression to match a file name. Using os.walk() to get a file name Python 文件丢失,权限不当,或者是不受支持或无效的格式错误 - Python file is missing, has improper permissions, or is an unsupported or invalid format Error Django错误“找不到'x'的反向字符。 “ x”不是有效的视图函数或模式名称。”,但x是模式名称 - Django error “Reverse for 'x' not found. 'x' is not a valid view function or pattern name.”, but x is a pattern name 我的程序创建了一个新文件,但名称错误。 我该如何解决? - My program makes a new file but with the wrong name. How do I fix this?
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM