Issue 1:
Hey all, getting the error below when executing julia from a windows service. Any input is welcome.

Thanks,

Jon

Info:

Windows 2012

If i start a command line prompt as my local user and run julia.exe, it loads fine.

If i start a command prompt as user 'svc-resolvernonprod' and run julia.exe it loads fine.

The IIS app-pool W3WP.EXE is running under the user account 'svc-resolvernonprod'

When the IIS app-pool application runs julia.exe, the following error is displayed:

fatal: error thrown and no exception handler available.

[inline] at /home/Administrator/buildbot/slave/package_win6_2-x64/build/src\task.c:583

rec_backtrace_ctx at /home/Administrator/buildbot/slave/package_win6_2-x64/build/src\task.c:578

jl_throw at /home/Administrator/buildbot/slave/package_win6_2-x64/build/src\task.c:854

[inline] at .\env.jl:37

getindex at .\env.jl:79

init at .\pkg.jl:57

unknown function (ip: 00000000021DE6C4)

jl_apply_generic at /home/Administrator/buildbot/slave/package_win6_2-x64/build/src\gf.c:1917

[inline] at /home/Administrator/buildbot/slave/package_win6_2-x64/build/src\julia.h:1555

jl_eh_restore_state at /home/Administrator/buildbot/slave/package_win6_2-x64/build/src\module.c:624

jl_init_restored_modules at /home/Administrator/buildbot/slave/package_win6_2-x64/build/src\dump.c:1818

_julia_init at /home/Administrator/buildbot/slave/package_win6_2-x64/build/src\init.c:698

julia_init at /home/Administrator/buildbot/slave/package_win6_2-x64/build/src\task.c:278

wmain at /home/Administrator/buildbot/slave/package_win6_2-x64/build/ui\repl.c:628

__tmainCRTStartup at /usr/src/debug/mingw64-x86_64-runtime-4.0.2-1/crt\crtexe.c:334

mainCRTStartup at /usr/src/debug/mingw64-x86_64-runtime-4.0.2-1/crt\crtexe.c:214

BaseThreadInitThunk at C:\Windows\system32\KERNEL32.DLL (unknown line)

RtlUserThreadStart at C:\Windows\SYSTEM32\ntdll.dll (unknown line)

Base.InitError(mod=:Pkg, error=Base.KeyError(key="HOMEDRIVE"))

Issue 2:
Ubuntu 14.04, julia 0.4.5

I have a julia script, when I run it in a running aws instance, it works.

but when I tried to run it using user_data, which means running the script after system initialization, it failed.

I got the following output in /var/log/cloud-init-output.log. It seems that it is a problem of julia. Any help will be appreciated.

Base.InitError(mod=:Base, error=Base.KeyError(key="HOME"))
rec_backtrace at /usr/bin/../lib/x86_64-linux-gnu/julia/libjulia.so (unknown line)
jl_throw at /usr/bin/../lib/x86_64-linux-gnu/julia/libjulia.so (unknown line)
unknown function (ip: 0x7f0e54b75eca)
init_load_path at ./client.jl:302
__init__ at ./sysimg.jl:308
unknown function (ip: 0x7f0e54c04bb9)
jl_apply_generic at /usr/bin/../lib/x86_64-linux-gnu/julia/libjulia.so (unknown line)
jl_module_run_initializer at /usr/bin/../lib/x86_64-linux-gnu/julia/libjulia.so (unknown line)
unknown function (ip: 0x7f0e578d4713)
unknown function (ip: 0x7f0e578ccf2c)
julia_init at /usr/bin/../lib/x86_64-linux-gnu/julia/libjulia.so (unknown line)
unknown function (ip: 0x4016d3)
__libc_start_main at /lib/x86_64-linux-gnu/libc.so.6 (unknown line)
unknown function (ip: 0x401725)
unknown function (ip: (nil))
2016-04-15 20:36:20,478 - util.py[WARNING]: Failed running /var/lib/cloud/instance/scripts/part-001 [1]
2016-04-15 20:36:20,480 - cc_scripts_user.py[WARNING]: Failed to run module scripts-user (scripts in /var/lib/cloud/instance/scripts)
2016-04-15 20:36:20,480 - util.py[WARNING]: Running scripts-user (<module 'cloudinit.config.cc_scripts_user' from '/usr/lib/python2.7/dist-packages/cloudinit/config/cc_scripts_user.pyc'>) failed
Cloud-init v. 0.7.5 finished at Fri, 15 Apr 2016 20:36:20 +0000. Datasource DataSourceEc2. Up 68.38 seconds