Page 1 of 1

error in common.lua

Posted: 06 Feb 2013 14:53
by vschiavoni
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.

Re: error in common.lua

Posted: 09 Feb 2013 14:46
by fkuehne
Thanks. We are discussing this internally at the moment to see if this is a platform compatibility issue or a generic thing.