Winshark
Winshark copied to clipboard
Error on start up with Wireshark 4.4.0
After installing with Wireshark v4.4.0-0-g009a163470b5 on Windows 10 version 22H2, on start up, an error window comes up saying that a module is not found.
I have the same issue using Win 11 64bit (10.0 Build 22631) The full detail listing:
Lua: Error during loading:
module 'Microsoft.Windows.HyperV.GpupVDev' not found:
no field package.preload['Microsoft.Windows.HyperV.GpupVDev']
no file 'C:\Program Files\Wireshark\plugins\winshark\Microsoft\Windows\HyperV\GpupVDev.lua'
no file 'C:\Users\ChrisNewell\AppData\Roaming\Wireshark\plugins\Microsoft\Windows\HyperV\GpupVDev.lua'
no file 'C:\Program Files\Wireshark\plugins\Microsoft\Windows\HyperV\GpupVDev.lua'
no file 'C:\Program Files\Wireshark\lua\Microsoft\Windows\HyperV\GpupVDev.lua'
no file 'C:\Program Files\Wireshark\lua\Microsoft\Windows\HyperV\GpupVDev\init.lua'
no file 'C:\Program Files\Wireshark\Microsoft\Windows\HyperV\GpupVDev.lua'
no file 'C:\Program Files\Wireshark\Microsoft\Windows\HyperV\GpupVDev\init.lua'
no file 'C:\Program Files\Wireshark\..\share\lua\5.4\Microsoft\Windows\HyperV\GpupVDev.lua'
no file 'C:\Program Files\Wireshark\..\share\lua\5.4\Microsoft\Windows\HyperV\GpupVDev\init.lua'
no file '.\Microsoft\Windows\HyperV\GpupVDev.lua'
no file '.\Microsoft\Windows\HyperV\GpupVDev\init.lua'
no file 'C:\Program Files\Wireshark\Microsoft\Windows\HyperV\GpupVDev.dll'
no file 'C:\Program Files\Wireshark\..\lib\lua\5.4\Microsoft\Windows\HyperV\GpupVDev.dll'
no file 'C:\Program Files\Wireshark\loadall.dll'
no file '.\Microsoft\Windows\HyperV\GpupVDev.dll'
no file 'C:\Program Files\Wireshark\Microsoft.dll'
no file 'C:\Program Files\Wireshark\..\lib\lua\5.4\Microsoft.dll'
no file 'C:\Program Files\Wireshark\loadall.dll'
no file '.\Microsoft.dll'
stack traceback:
[C]: in function 'require'
Lua: Error during loading:
module 'Microsoft.Windows.HyperV.VmIcCore' not found:
no field package.preload['Microsoft.Windows.HyperV.VmIcCore']
no file 'C:\Program Files\Wireshark\plugins\winshark\Microsoft\Windows\HyperV\VmIcCore.lua'
no file 'C:\Users\ChrisNewell\AppData\Roaming\Wireshark\plugins\Microsoft\Windows\HyperV\VmIcCore.lua'
no file 'C:\Program Files\Wireshark\plugins\Microsoft\Windows\HyperV\VmIcCore.lua'
no file 'C:\Program Files\Wireshark\lua\Microsoft\Windows\HyperV\VmIcCore.lua'
no file 'C:\Program Files\Wireshark\lua\Microsoft\Windows\HyperV\VmIcCore\init.lua'
no file 'C:\Program Files\Wireshark\Microsoft\Windows\HyperV\VmIcCore.lua'
no file 'C:\Program Files\Wireshark\Microsoft\Windows\HyperV\VmIcCore\init.lua'
no file 'C:\Program Files\Wireshark\..\share\lua\5.4\Microsoft\Windows\HyperV\VmIcCore.lua'
no file 'C:\Program Files\Wireshark\..\share\lua\5.4\Microsoft\Windows\HyperV\VmIcCore\init.lua'
no file '.\Microsoft\Windows\HyperV\VmIcCore.lua'
no file '.\Microsoft\Windows\HyperV\VmIcCore\init.lua'
no file 'C:\Program Files\Wireshark\Microsoft\Windows\HyperV\VmIcCore.dll'
no file 'C:\Program Files\Wireshark\..\lib\lua\5.4\Microsoft\Windows\HyperV\VmIcCore.dll'
no file 'C:\Program Files\Wireshark\loadall.dll'
no file '.\Microsoft\Windows\HyperV\VmIcCore.dll'
no file 'C:\Program Files\Wireshark\Microsoft.dll'
no file 'C:\Program Files\Wireshark\..\lib\lua\5.4\Microsoft.dll'
no file 'C:\Program Files\Wireshark\loadall.dll'
no file '.\Microsoft.dll'
stack traceback:
[C]: in function 'require'
Same issue here:

Lua: Error during loading:
module 'Microsoft.Windows.HyperV.GpupVDev' not found:
no field package.preload['Microsoft.Windows.HyperV.GpupVDev']
no file 'C:\Program Files\Wireshark\plugins\winshark\Microsoft\Windows\HyperV\GpupVDev.lua'
no file 'C:\Users\Bluscream\AppData\Roaming\Wireshark\plugins\Microsoft\Windows\HyperV\GpupVDev.lua'
no file 'C:\Program Files\Wireshark\plugins\Microsoft\Windows\HyperV\GpupVDev.lua'
no file 'C:\Program Files\Wireshark\lua\Microsoft\Windows\HyperV\GpupVDev.lua'
no file 'C:\Program Files\Wireshark\lua\Microsoft\Windows\HyperV\GpupVDev\init.lua'
no file 'C:\Program Files\Wireshark\Microsoft\Windows\HyperV\GpupVDev.lua'
no file 'C:\Program Files\Wireshark\Microsoft\Windows\HyperV\GpupVDev\init.lua'
no file 'C:\Program Files\Wireshark\..\share\lua\5.4\Microsoft\Windows\HyperV\GpupVDev.lua'
no file 'C:\Program Files\Wireshark\..\share\lua\5.4\Microsoft\Windows\HyperV\GpupVDev\init.lua'
no file '.\Microsoft\Windows\HyperV\GpupVDev.lua'
no file '.\Microsoft\Windows\HyperV\GpupVDev\init.lua'
no file 'C:\Program Files\Wireshark\Microsoft\Windows\HyperV\GpupVDev.dll'
no file 'C:\Program Files\Wireshark\..\lib\lua\5.4\Microsoft\Windows\HyperV\GpupVDev.dll'
no file 'C:\Program Files\Wireshark\loadall.dll'
no file '.\Microsoft\Windows\HyperV\GpupVDev.dll'
no file 'C:\Program Files\Wireshark\Microsoft.dll'
no file 'C:\Program Files\Wireshark\..\lib\lua\5.4\Microsoft.dll'
no file 'C:\Program Files\Wireshark\loadall.dll'
no file '.\Microsoft.dll'
stack traceback:
[C]: in function 'require'
Lua: Error during loading:
module 'Microsoft.Windows.HyperV.VmIcCore' not found:
no field package.preload['Microsoft.Windows.HyperV.VmIcCore']
no file 'C:\Program Files\Wireshark\plugins\winshark\Microsoft\Windows\HyperV\VmIcCore.lua'
no file 'C:\Users\Bluscream\AppData\Roaming\Wireshark\plugins\Microsoft\Windows\HyperV\VmIcCore.lua'
no file 'C:\Program Files\Wireshark\plugins\Microsoft\Windows\HyperV\VmIcCore.lua'
no file 'C:\Program Files\Wireshark\lua\Microsoft\Windows\HyperV\VmIcCore.lua'
no file 'C:\Program Files\Wireshark\lua\Microsoft\Windows\HyperV\VmIcCore\init.lua'
no file 'C:\Program Files\Wireshark\Microsoft\Windows\HyperV\VmIcCore.lua'
no file 'C:\Program Files\Wireshark\Microsoft\Windows\HyperV\VmIcCore\init.lua'
no file 'C:\Program Files\Wireshark\..\share\lua\5.4\Microsoft\Windows\HyperV\VmIcCore.lua'
no file 'C:\Program Files\Wireshark\..\share\lua\5.4\Microsoft\Windows\HyperV\VmIcCore\init.lua'
no file '.\Microsoft\Windows\HyperV\VmIcCore.lua'
no file '.\Microsoft\Windows\HyperV\VmIcCore\init.lua'
no file 'C:\Program Files\Wireshark\Microsoft\Windows\HyperV\VmIcCore.dll'
no file 'C:\Program Files\Wireshark\..\lib\lua\5.4\Microsoft\Windows\HyperV\VmIcCore.dll'
no file 'C:\Program Files\Wireshark\loadall.dll'
no file '.\Microsoft\Windows\HyperV\VmIcCore.dll'
no file 'C:\Program Files\Wireshark\Microsoft.dll'
no file 'C:\Program Files\Wireshark\..\lib\lua\5.4\Microsoft.dll'
no file 'C:\Program Files\Wireshark\loadall.dll'
no file '.\Microsoft.dll'
stack traceback:
[C]: in function 'require'
Can anyone help fix this?
Hello
Has anyone find a way to make it work with later versions?
I had the same issue, solving it lead to another one:
By Looking into it, the problem comes from the missing folders
Program Files\Wireshark\plugins\winshark\Microsoft\Windows\HyperV
However there are two files with this path in the name
Microsoft.Windows.HyperV.GpupVDev.lua
Microsoft.Windows.HyperV.VmIcCore.lua
By Creating missing path Microsoft\Windows\HyperV in the folder winshark, and moving the previous named files in this new path with the following names
GpupVDev.lua
VmIcCore.lua
I was able to bypass this error. However, this lead to an error coming from Lua:
Full error:
Lua: Error during loading:
...k\plugins\winshark\Microsoft\Windows\HyperV\GpupVDev.lua:3: bad argument #1 to 'new' (Field_new: a field with this name must exist)
stack traceback:
[C]: in field 'new'
...k\plugins\winshark\Microsoft\Windows\HyperV\GpupVDev.lua:3: in main chunk
[C]: in function 'require'
Lua: Error during loading:
module 'Microsoft.Windows.HyperV.GpupVDev' not found:
no field package.preload['Microsoft.Windows.HyperV.GpupVDev']
no file 'D:\Program Files\Wireshark\plugins\winshark\Microsoft\Windows\HyperV\Microsoft\Windows\HyperV\GpupVDev.lua'
no file 'C:\Users\Cybaen\AppData\Roaming\Wireshark\plugins\Microsoft\Windows\HyperV\GpupVDev.lua'
no file 'D:\Program Files\Wireshark\plugins\Microsoft\Windows\HyperV\GpupVDev.lua'
no file 'D:\Program Files\Wireshark\lua\Microsoft\Windows\HyperV\GpupVDev.lua'
no file 'D:\Program Files\Wireshark\lua\Microsoft\Windows\HyperV\GpupVDev\init.lua'
no file 'D:\Program Files\Wireshark\Microsoft\Windows\HyperV\GpupVDev.lua'
no file 'D:\Program Files\Wireshark\Microsoft\Windows\HyperV\GpupVDev\init.lua'
no file 'D:\Program Files\Wireshark\..\share\lua\5.4\Microsoft\Windows\HyperV\GpupVDev.lua'
no file 'D:\Program Files\Wireshark\..\share\lua\5.4\Microsoft\Windows\HyperV\GpupVDev\init.lua'
no file '.\Microsoft\Windows\HyperV\GpupVDev.lua'
no file '.\Microsoft\Windows\HyperV\GpupVDev\init.lua'
no file 'D:\Program Files\Wireshark\Microsoft\Windows\HyperV\GpupVDev.dll'
no file 'D:\Program Files\Wireshark\..\lib\lua\5.4\Microsoft\Windows\HyperV\GpupVDev.dll'
no file 'D:\Program Files\Wireshark\loadall.dll'
no file '.\Microsoft\Windows\HyperV\GpupVDev.dll'
no file 'D:\Program Files\Wireshark\Microsoft.dll'
no file 'D:\Program Files\Wireshark\..\lib\lua\5.4\Microsoft.dll'
no file 'D:\Program Files\Wireshark\loadall.dll'
no file '.\Microsoft.dll'
stack traceback:
[C]: in function 'require'
Lua: Error during loading:
module 'Microsoft.Windows.HyperV.VmIcCore' not found:
no field package.preload['Microsoft.Windows.HyperV.VmIcCore']
no file 'D:\Program Files\Wireshark\plugins\winshark\Microsoft\Windows\HyperV\Microsoft\Windows\HyperV\VmIcCore.lua'
no file 'C:\Users\Cybaen\AppData\Roaming\Wireshark\plugins\Microsoft\Windows\HyperV\VmIcCore.lua'
no file 'D:\Program Files\Wireshark\plugins\Microsoft\Windows\HyperV\VmIcCore.lua'
no file 'D:\Program Files\Wireshark\lua\Microsoft\Windows\HyperV\VmIcCore.lua'
no file 'D:\Program Files\Wireshark\lua\Microsoft\Windows\HyperV\VmIcCore\init.lua'
no file 'D:\Program Files\Wireshark\Microsoft\Windows\HyperV\VmIcCore.lua'
no file 'D:\Program Files\Wireshark\Microsoft\Windows\HyperV\VmIcCore\init.lua'
no file 'D:\Program Files\Wireshark\..\share\lua\5.4\Microsoft\Windows\HyperV\VmIcCore.lua'
no file 'D:\Program Files\Wireshark\..\share\lua\5.4\Microsoft\Windows\HyperV\VmIcCore\init.lua'
no file '.\Microsoft\Windows\HyperV\VmIcCore.lua'
no file '.\Microsoft\Windows\HyperV\VmIcCore\init.lua'
no file 'D:\Program Files\Wireshark\Microsoft\Windows\HyperV\VmIcCore.dll'
no file 'D:\Program Files\Wireshark\..\lib\lua\5.4\Microsoft\Windows\HyperV\VmIcCore.dll'
no file 'D:\Program Files\Wireshark\loadall.dll'
no file '.\Microsoft\Windows\HyperV\VmIcCore.dll'
no file 'D:\Program Files\Wireshark\Microsoft.dll'
no file 'D:\Program Files\Wireshark\..\lib\lua\5.4\Microsoft.dll'
no file 'D:\Program Files\Wireshark\loadall.dll'
no file '.\Microsoft.dll'
stack traceback:
[C]: in function 'require'
Lua: Error during loading:
...k\plugins\winshark\Microsoft\Windows\HyperV\VmIcCore.lua:3: bad argument #1 to 'new' (Field_new: a field with this name must exist)
stack traceback:
[C]: in field 'new'
...k\plugins\winshark\Microsoft\Windows\HyperV\VmIcCore.lua:3: in main chunk
[C]: in function 'require'
Lua: Error during loading:
...k\plugins\winshark\Microsoft\Windows\HyperV\GpupVDev.lua:2: bad argument #2 to 'Proto' (Proto_new: there cannot be two protocols with the same description)
stack traceback:
[C]: in global 'Proto'
...k\plugins\winshark\Microsoft\Windows\HyperV\GpupVDev.lua:2: in main chunk
[C]: in function 'require'
Lua: Error during loading:
...k\plugins\winshark\Microsoft\Windows\HyperV\VmIcCore.lua:2: bad argument #2 to 'Proto' (Proto_new: there cannot be two protocols with the same description)
stack traceback:
[C]: in global 'Proto'
...k\plugins\winshark\Microsoft\Windows\HyperV\VmIcCore.lua:2: in main chunk
[C]: in function 'require'
I'm stuck there at the moment