You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
39913 +package.loaded["ml_gsubfile"] = nil
39914 +endsubmit;
39915 +run; ERROR: ...5e26242-1dd6-4047-9add-b1ebfb163f97-5989/ml_gsubfile.lua:12: attempt to index global 'io' (a nil value)
stack traceback:
...5e26242-1dd6-4047-9add-b1ebfb163f97-5989/ml_gsubfile.lua:12: in main chunk
[C]: in function 'require'
SUBMIT block:2: in main chunk ERROR: There was an error submitting the provided code.
rc=0
NOTE: SASjs Streaming App Created! Check it out here:
The text was updated successfully, but these errors were encountered:
Hi - thanks for checking out the fileuploader! This issue can occur when running earlier versions of SAS (eg 9.4m3 or viya 3.4 if I recall correctly) that don't have the LUA capabilities to run this macro: https://core.sasjs.io/ml__gsubfile_8sas_source.html
It can also happen with LOCKDOWN enabled. It's because the io package isn't available to your lua runtime.
What kind of file are you loading? If it's Excel or CSV you could also consider https://datacontroller.io (free and source available)
When I ran the code:
%let apploc=/myfilepath/app/fileuploader;
filename mc url "https://raw.githubusercontent.com/sasjs/fileuploader/master/stream.sas";
%inc mc;
The error pops up:
39913 +package.loaded["ml_gsubfile"] = nil
39914 +endsubmit;
39915 +run;
ERROR: ...5e26242-1dd6-4047-9add-b1ebfb163f97-5989/ml_gsubfile.lua:12: attempt to index global 'io' (a nil value)
stack traceback:
...5e26242-1dd6-4047-9add-b1ebfb163f97-5989/ml_gsubfile.lua:12: in main chunk
[C]: in function 'require'
SUBMIT block:2: in main chunk
ERROR: There was an error submitting the provided code.
rc=0
NOTE: SASjs Streaming App Created! Check it out here:
The text was updated successfully, but these errors were encountered: