Skip to content

创建虚拟机的时候报错,请问如何解决呢 #2

@jack361

Description

@jack361

9
VGPUTool.py:67: DeprecationWarning: 'locale.getdefaultlocale' is deprecated and slated for removal in Python 3.15. Use setlocale(), getencoding() and getlocale() instead.
�[1;37;40m[05-22 19:14:39]�[0m�[1;37;40m[Undefined!]�[0m�[1;37;40m[GPULoader ]�[0m�[1;37;40m[ GPULoader ]�[0m�[0;37;40m[调试]�[0m�[0;37;40m执行获取命令: powershell "Get-VM | ForEach-Object {$_.Name}"�[0m
�[1;37;40m[05-22 19:14:39]�[0m�[1;37;40m[Undefined!]�[0m�[1;37;40m[GPULoader ]�[0m�[1;37;40m[ GPULoader ]�[0m�[0;37;40m[调试]�[0m�[0;37;40m执行获取命令: powershell .\CheckGPU.ps1�[0m
�[1;37;40m[05-22 19:14:39]�[0m�[1;37;40m[Undefined!]�[0m�[1;37;40m[GPULoader ]�[0m�[1;37;40m[ GPULoader ]�[0m�[0;37;40m[调试]�[0m�[0;37;40m执行获取命令: powershell "Get-VMSwitch | Select-Object -ExpandProperty Name"�[0m

[05-22 19:14:40][Undefined!][GPULoader ][ splitLists][成功]返回机器列表: win10
[05-22 19:14:40][Undefined!][GPULoader ][ GPULoader ][调试]执行指定命令: powershell "Get-VMGpuPartitionAdapter -VMName 'win10' | ForEach-Object {$.InstancePath,$.MinPartitionCompute}"
[05-22 19:14:40][Undefined!][GPULoader ][ splitLists][成功]返回网卡列表: Default Switch

[05-22 19:14:40][Undefined!][GPULoader ][ GPULoader ][调试]执行指定命令: powershell "Get-CimInstance -ClassName Win32_PnPEntity | ForEach-Object {$.DeviceID+'|||'+$.Name}"

[05-22 19:14:40][Undefined!][GPULoader ][ GPULoader ][调试]执行指定命令: powershell "Get-VM -Name 'win10' | ForEach-Object {$.LowMemoryMappedIoSpace,$.HighMemoryMappedIoSpace}"

[05-22 19:14:40][Undefined!][GPULoader ][ CreatInit ][调试]最低内存映射: 128
[05-22 19:14:40][Undefined!][GPULoader ][ CreatInit ][调试]最高内存映射: 20536
[05-22 19:14:40][Undefined!][GPULoader ][ GPULoader ][调试]执行指定命令: powershell "Get-VMAssignableDevice -VMName 'win10' | ForEach-Object {$.LocationPath+'|||'+$.InstanceID}"
[05-22 19:14:40][Undefined!][GPULoader ][ update_gpu][成功]返回设备列表: NVIDIA GeForce RTX 4060|||\?\PCI#VEN_10DE&DEV_2882&SUBSYS_41071458&REV_A1#4&8bd6e8d&0&0008#{064092b3-625e-43bf-9eb5-dc845897dd59}\GPUPARAV

libpng warning: iCCP: known incorrect sRGB profile
libpng warning: iCCP: known incorrect sRGB profile
libpng warning: iCCP: known incorrect sRGB profile
libpng warning: iCCP: known incorrect sRGB profile
libpng warning: iCCP: known incorrect sRGB profile
[05-22 19:15:59][Undefined!][GPULoader ][ GPUCreate ][提醒]执行创建命令: powershell .\TmpSaves.ps1
Exception in thread Thread-26 (_readerthread):
Traceback (most recent call last):
File "C:\Users\pikachuren\AppData\Local\Programs\Python\Python312\Lib\threading.py", line 1075, in _bootstrap_inner
File "C:\Users\pikachuren\AppData\Local\Programs\Python\Python312\Lib\threading.py", line 1012, in run
File "C:\Users\pikachuren\AppData\Local\Programs\Python\Python312\Lib\subprocess.py", line 1601, in _readerthread
UnicodeDecodeError: 'gbk' codec can't decode byte 0xab in position 77: illegal multibyte sequence
[05-22 19:16:01][Undefined!][GPULoader ][ GPUCreate ][提醒]创建执行结果: None
[05-22 19:16:01][Undefined!][GPULoader ][ GPUCreate ][警告]创建执行错误:
Exception in thread Thread-25 (submit_gpu_call):
Traceback (most recent call last):
File "C:\Users\pikachuren\AppData\Local\Programs\Python\Python312\Lib\threading.py", line 1075, in _bootstrap_inner
File "C:\Users\pikachuren\AppData\Local\Programs\Python\Python312\Lib\threading.py", line 1012, in run
File "VGPUTool.py", line 677, in submit_gpu_call
TypeError: object of type 'NoneType' has no len()

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions