lua-users home
lua-l archive

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


Hi,
Here's the offending function in extman.lua:

function scite_Files(mask)
  local f,path
  if scite_GetProp('PLAT_GTK') then
    f = io.popen('ls -1 '..mask)
  else
    --- some horrible windows hackery, which incidently sets path!
  end
  local files = {}
  if not f then return files end
  for line in f:lines() do
     append(files,path..line)
  end
  f:close()
  return files
end

Try putting in a line 
  path = ''

after the declaration of f and path.  The output of ls
should be fine as is....

steve d.



>>> clnail@operamail.com 05/31/05 12:56 AM >>>
i load extman at startup following the instructions but i get this error:

attempt to concatenate local `path' (a nil value)

please help