This is our old Q&A Site. Please post any new questions and answers at


I just put this file to /usr/local/lib/wireshark.plugins/1.10.2/, then had this error right at the start of wireshark :

Lua: Error during loading: [string "/usr/local/lib/wireshark/plugins/1.10.2/mpe..."]:30: bad argument #1 to 'new' (Field_new: a field with this name must exist)

A little help ?

asked 07 Jan '14, 02:22

ychaouche's gravatar image

accept rate: 100%

Line 30 contains this:

mpeg_payload ="mp2t.payload")

Now, the field mp2t.payload was removed in Wireshark 1.8.x (see here - reason unknown to me). So, you can't reference that in Wireshark 1.10.x !! Please remove all references to it from the code and it should work.

BTW: The newly defined variables (fields) mpeg_payload and mpeg_pusi are only defined, but never used in the Lua code, so you can simply delete those lines.


permanent link

answered 08 Jan '14, 09:05

Kurt%20Knochner's gravatar image

Kurt Knochner ♦
accept rate: 15%

Thank you that solved the problem ! the plugin however seems not to be up-to-date as another error popped-up when trying to dump packets to file.

(08 Jan '14, 11:36) ychaouche

What is that error message?

(08 Jan '14, 11:46) Kurt Knochner ♦
Your answer
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here



Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text]( "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Question tags:


question asked: 07 Jan '14, 02:22

question was seen: 5,687 times

last updated: 08 Jan '14, 11:46

p​o​w​e​r​e​d by O​S​Q​A