Basename function not working in build_executable

#1

Hi all,

I created an executable file with build_executable from PackageCompiler and it seems that it crash because of basename function,

CMD:
fatal: error thrown and no exception handler available.
UndefVarError(var=:inputs)
rec_backtrace at /home/Administrator/buildbot/worker/package_win64/build/src\stackwalk.c:94
record_backtrace at /home/Administrator/buildbot/worker/package_win64/build/src\task.c:217 [inlined]
jl_throw at /home/Administrator/buildbot/worker/package_win64/build/src\task.c:417
jl_undefined_var_error at /home/Administrator/buildbot/worker/package_win64/build/src\rtutils.c:130
#103 at C:\Users\fv973uv\Documents\Julia\Julia_IFRS17_New model\New_inputs.jl:59
jl_fptr_trampoline at /home/Administrator/buildbot/worker/package_win64/build/src\gf.c:1864
jl_apply_generic at /home/Administrator/buildbot/worker/package_win64/build/src\gf.c:2219
julia_main at C:\Users\fv973uv\Documents\Julia\Julia_IFRS17_New model\IFRS17.jl:26
julia_main at C:\Users\fv973uv\Documents\Julia\Julia_IFRS17_New model\Executable\IFRS17.dll (unknown line)
.text at C:\Users\fv973uv\Documents\Julia\Julia_IFRS17_New model\Executable\IFRS17.exe (unknown line)
__tmainCRTStartup at /home/abuild/rpmbuild/BUILD/mingw-w64-crt\crt\crtexe.c:339
mainCRTStartup at /home/abuild/rpmbuild/BUILD/mingw-w64-crt\crt\crtexe.c:223
BaseThreadInitThunk at C:\WINDOWS\System32\KERNEL32.DLL (unknown line)
RtlUserThreadStart at C:\WINDOWS\SYSTEM32\ntdll.dll (unknown line)

code referring to ligne 59 in new_inputs.jl

inputs=open_dialog(“Pick the input csv files”, GtkNullContainer(), ("*.csv",), select_multiple=true)
info_dialog(“Inputs loaded”)
inputs_names=Base.Filesystem.basename.(inputs)

Any help please?