error in common.lua

macOS specific usage questions
vschiavoni
New Cone
New Cone
Posts: 3
Joined: 06 Feb 2013 14:41

error in common.lua

Postby vschiavoni » 06 Feb 2013 14:53

Hello,
the code speaks for itself:

Code: Select all

/Applications/VLC.app/Contents/MacOS/VLC -I rc VLC media player 2.0.5 Twoflower (revision 2.0.5-0-g1661b7d) [0x100280390] main interface error: no suitable interface module [0x100283530] [cli] lua interface error: Error loading script /Applications/VLC.app/Contents/MacOS/share/lua/intf/cli.lua: error loading module 'common' from file '/Applications/VLC.app/Contents/MacOS/share/lua/intf/modules/common.lua': /Applications/VLC.app/Contents/MacOS/share/lua/intf/modules/common.lua:152: malformed number near '100.'
By modifying in common.lua this line:

Code: Select all

local posPercent = number/100.
to (note the deletion of the dot after the number):

Code: Select all

local posPercent = number/100
seems to do the trick.. but i'm not sure if the functionality keeps working as expected.
is this a known bug ?

I'm on Mac OSX 10.8.2, vlc 2.0.5 latest release.

fkuehne
Developer
Developer
Posts: 7264
Joined: 16 Mar 2004 19:37
VLC version: 0.4.6 - present
Operating System: Darwin
Location: Germany
Contact:

Re: error in common.lua

Postby fkuehne » 09 Feb 2013 14:46

Thanks. We are discussing this internally at the moment to see if this is a platform compatibility issue or a generic thing.
VideoLAN
Felix Paul Kühne
Medic. VLC developer for appleOS since before you were born.
Blog: https://www.feepk.net


Return to “VLC media player for macOS Troubleshooting”

Who is online

Users browsing this forum: No registered users and 10 guests