Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error following installation. #19772

Closed
GlennBurkins opened this issue Dec 30, 2016 · 4 comments
Closed

Error following installation. #19772

GlennBurkins opened this issue Dec 30, 2016 · 4 comments
Labels
system:windows Affects only Windows

Comments

@GlennBurkins
Copy link

I installed the v0.5.0 x64 version of Julia on a 64bit Windows 10 (current). No problems encountered during installation.
I opened a command prompt and went to the directory where I had installed Julia. I attempted to run julia.exe and got the following messages:

fatal: error thrown and no exception handler available.
Base.InitError(mod=:Pkg, error=Base.KeyError(key="HOMEDRIVE"))
rec_backtrace at /home/Administrator/buildbot/slave/package_win6_2-x64/build/src/home/Administrator/buildbot/slave/package_win6_2-x64/build/src\stackwalk.c:84
record_backtrace at /home/Administrator/buildbot/slave/package_win6_2-x64/build/src/home/Administrator/buildbot/slave/package_win6_2-x64/build/src\task.c:232
jl_throw at /home/Administrator/buildbot/slave/package_win6_2-x64/build/src/home/Administrator/buildbot/slave/package_win6_2-x64/build/src\task.c:550
access_env at .\env.jl:14
homedir at .\path.jl:41
_pkgroot at .\pkg\dir.jl:10 [inlined]
init at .\pkg\pkg.jl:74
unknown function (ip: 0000000061D17BCE)
jl_call_method_internal at /home/Administrator/buildbot/slave/package_win6_2-x64/build/src/home/Administrator/buildbot/slave/package_win6_2-x64/build/src\julia_internal.h:189 [inlined]
jl_apply_generic at /home/Administrator/buildbot/slave/package_win6_2-x64/build/src/home/Administrator/buildbot/slave/package_win6_2-x64/build/src\gf.c:1942
jl_apply at /home/Administrator/buildbot/slave/package_win6_2-x64/build/src/home/Administrator/buildbot/slave/package_win6_2-x64/build/src\julia.h:1392 [inlined]
jl_module_run_initializer at /home/Administrator/buildbot/slave/package_win6_2-x64/build/src/home/Administrator/buildbot/slave/package_win6_2-x64/build/src\toplevel.c:83
_julia_init at /home/Administrator/buildbot/slave/package_win6_2-x64/build/src/home/Administrator/buildbot/slave/package_win6_2-x64/build/src\init.c:742
julia_init at /home/Administrator/buildbot/slave/package_win6_2-x64/build/src/home/Administrator/buildbot/slave/package_win6_2-x64/build/src\task.c:283
wmain at /home/Administrator/buildbot/slave/package_win6_2-x64/build/ui\repl.c:231
__tmainCRTStartup at /usr/src/debug/mingw64-x86_64-runtime-4.0.6-1/crt\crtexe.c:329
mainCRTStartup at /usr/src/debug/mingw64-x86_64-runtime-4.0.6-1/crt\crtexe.c:212
BaseThreadInitThunk at C:\Windows\System32\KERNEL32.DLL (unknown line)
RtlUserThreadStart at C:\Windows\SYSTEM32\ntdll.dll (unknown line)

Thank you.

@tkelman tkelman added the system:windows Affects only Windows label Dec 30, 2016
@tkelman
Copy link
Contributor

tkelman commented Dec 30, 2016

You need to have the HOMEDRIVE and HOMEPATH environment variables set.

@Tetralux
Copy link
Contributor

access_env at .\env.jl:14
homedir at .\path.jl:41
_pkgroot at .\pkg\dir.jl:10 [inlined]

Odd... homedir doesn't call access_env. _pkgroot calls get which does... Bug?

There also seems to be some funkiness with the line numbers as well: homedir doesn't start until line 58. Also a bug?

@tkelman
Copy link
Contributor

tkelman commented Dec 30, 2016

This has changed on master. If you're running 0.5.0, look at the code at the 0.5.0 tag.

@tkelman
Copy link
Contributor

tkelman commented Dec 31, 2016

not an issue on master, was fixed by #19636

@tkelman tkelman closed this as completed Dec 31, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
system:windows Affects only Windows
Projects
None yet
Development

No branches or pull requests

3 participants