lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]


Hi,

The 16th line is shown as follows ( highlighted in red):

  GNU nano 2.0.7      File: /usr/local/share/lua/5.1/xmlrpc/xmlrpc.lua                   

---------------------------------------------------------------------
-- XML-RPC implementation for Lua.
-- See Copyright Notice in license.html
-- $Id: xmlrpc.lua,v 1.13 2004/11/03 12:49:16 tomas Exp $
---------------------------------------------------------------------

require "lxp"
require "lxp.lom"

local assert, error, ipairs, pairs, type, tonumber, unpack = assert, error, ipairs, pairs$
local format, gsub, strfind, strsub = string.format, string.gsub, string.find, string.sub
local concat, getn, tinsert = table.concat, table.getn, table.insert
local ceil = math.ceil
local parse = lxp.lom.parse

module (arg and arg[1])

_COPYRIGHT = "Copyright (C) 2003-2004 Kepler Project"
_DESCRIPTION = "LuaXMLRPC is a library to make remote procedure calls using XML-RPC"
_NAME = "LuaXMLRPC"
_VERSION = "1.0b"


Thanks alot for all your help.

Pete


 
   The error message tells us the module function was called
without the name of the module.  Could you please show me the content
of the 16th line of xmlrpc.lua file?  My copy of LuaXMLRPC package
does not have this file.  xmlrpc/init.lua is used instead.  Have you
changed something?

       Regards,
               Tomás