Winshark icon indicating copy to clipboard operation
Winshark copied to clipboard

Error on start up with Wireshark 4.4.0

Open Skater901 opened this issue 1 year ago • 4 comments

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. image

Skater901 avatar Aug 29 '24 12:08 Skater901

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'

wwwhack avatar Sep 13 '24 18:09 wwwhack

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'

Bluscream avatar Jan 25 '25 03:01 Bluscream

Can anyone help fix this?

Forkinator avatar Mar 27 '25 01:03 Forkinator

Try to use old version of wireshark Wireshark-win64-3.7.2.msi

Can anyone help fix this?

daiver4eg avatar May 16 '25 23:05 daiver4eg

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:

Image

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

Cybaen13 avatar Oct 29 '25 12:10 Cybaen13