{"action":"closed","issue":{"url":"https://api.github.com/repos/JuliaLang/julia/issues/15846","repository_url":"https://api.github.com/repos/JuliaLang/julia","labels_url":"https://api.github.com/repos/JuliaLang/julia/issues/15846/labels{/name}","comments_url":"https://api.github.com/repos/JuliaLang/julia/issues/15846/comments","events_url":"https://api.github.com/repos/JuliaLang/julia/issues/15846/events","html_url":"https://github.com/JuliaLang/julia/issues/15846","id":147814967,"number":15846,"title":"Error while compiling package when the JULIA_PKGDIR contains underscore character like _SomeFolder_","user":{"login":"yoann-darche","id":11941327,"avatar_url":"https://avatars.githubusercontent.com/u/11941327?v=3","gravatar_id":"","url":"https://api.github.com/users/yoann-darche","html_url":"https://github.com/yoann-darche","followers_url":"https://api.github.com/users/yoann-darche/followers","following_url":"https://api.github.com/users/yoann-darche/following{/other_user}","gists_url":"https://api.github.com/users/yoann-darche/gists{/gist_id}","starred_url":"https://api.github.com/users/yoann-darche/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/yoann-darche/subscriptions","organizations_url":"https://api.github.com/users/yoann-darche/orgs","repos_url":"https://api.github.com/users/yoann-darche/repos","events_url":"https://api.github.com/users/yoann-darche/events{/privacy}","received_events_url":"https://api.github.com/users/yoann-darche/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2016-04-12T17:06:16Z","updated_at":"2016-04-12T17:51:02Z","closed_at":"2016-04-12T17:51:02Z","body":"Environment : Windows 7 x64 SP1\r\nJulia Version 0.4.5 (2016-03-18 00:58 UTC) //  x86_64-w64-mingw32\r\n\r\nWhen I've set the environment variable `JULIA_PKGDIR = d:\\_APP_\\Julia\\Home`, I've not been able to compile \"Blink\" pakage. But the `Pkg.init()` has run perfectly :\r\n```\r\nC:\\>set JULIA_PKGDIR=D:\\_APP_\\Julia\\Home\r\nC:\\>D:\\_APP_\\Julia\\Julia-0.4.5\\julia.lnk\r\n                _\r\n   _       _ _(_)_     |  A fresh approach to technical computing\r\n  (_)     | (_) (_)    |  Documentation: http://docs.julialang.org\r\n   _ _   _| |_  __ _   |  Type \"?help\" for help.\r\n  | | | | | | |/ _` |  |\r\n  | | |_| | | | (_| |  |  Version 0.4.5 (2016-03-18 00:58 UTC)\r\n _/ |\\__'_|_|_|\\__'_|  |  Official http://julialang.org/ release\r\n|__/                   |  x86_64-w64-mingw32\r\n \r\njulia> Pkg.init()\r\nINFO: Initializing package repository D:\\_APP_\\Julia\\Home\\v0.4\r\nINFO: Cloning METADATA from git://github.com/JuliaLang/METADATA.jl\r\n\r\njulia> Pkg.add(\"Blink\")\r\nINFO: Cloning cache of BinDeps from git://github.com/JuliaLang/BinDeps.jl.git\r\nINFO: Cloning cache of Blink from git://github.com/JunoLab/Blink.jl.git\r\nINFO: Cloning cache of Codecs from git://github.com/dcjones/Codecs.jl.git\r\nINFO: Cloning cache of Compat from git://github.com/JuliaLang/Compat.jl.git\r\n[...]\r\nINFO: Installing BinDeps v0.3.21\r\nINFO: Installing Blink v0.3.4\r\n[...]\r\nINFO: Directory D:\\_APP_\\Julia\\Home\\v0.4\\HttpParser already created\r\n\r\n7-Zip [64] 9.20  Copyright (c) 1999-2010 Igor Pavlov  2010-11-18\r\n\r\nProcessing archive: D:\\_APP_\\Julia\\Home\\v0.4\\HttpParser\\deps\\downloads\\libhttp_parser.zip\r\n\r\nExtracting  usr\\lib\r\nExtracting  usr\\lib\\libhttp_parser32.dll\r\nExtracting  usr\\lib\\libhttp_parser64.dll\r\n\r\nEverything is Ok\r\n[...]\r\nWARNING: Could not check MbedTLS version\r\nWARNING: Could not check MbedTLS version\r\nWARNING: Could not check MbedTLS version\r\nWARNING: Could not check MbedTLS version\r\nINFO: Package database updated\r\n \r\njulia> using Blink\r\nINFO: Precompiling module Blink...\r\n**ERROR: LoadError: LoadError: UndefVarError: APP not defined**\r\n in include at boot.jl:261\r\n in include_from_node1 at loading.jl:320\r\n in include at boot.jl:261\r\n in include_from_node1 at loading.jl:320\r\n [inlined code] from none:2\r\n in anonymous at no file:0\r\n in process_options at client.jl:257\r\n in _start at client.jl:378\r\nwhile loading D:\\_APP_\\Julia\\Home\\v0.4\\Lazy\\src\\liblazy.jl, in expression starting on line 105\r\nwhile loading D:\\_APP_\\Julia\\Home\\v0.4\\Lazy\\src\\Lazy.jl, in expression starting on line 91\r\nERROR: LoadError: LoadError: LoadError: Failed to precompile Lazy to D:\\_APP_\\Julia\\Home\\lib\\v0.4\\Lazy.ji\r\nin error at error.jl:21\r\nwhile loading D:\\_APP_\\Julia\\Home\\v0.4\\Blink\\src\\rpc\\jsexprs.jl, in expression starting on line 1\r\nwhile loading D:\\_APP_\\Julia\\Home\\v0.4\\Blink\\src\\rpc/rpc.jl, in expression starting on line 11\r\nwhile loading D:\\_APP_\\Julia\\Home\\v0.4\\Blink\\src\\Blink.jl, in expression starting on line 7\r\nERROR: Failed to precompile Blink to D:\\_APP_\\Julia\\Home\\lib\\v0.4\\Blink.ji\r\nin error at error.jl:21\r\n\r\n```\r\nWhen I've change the `JULIA_PKGDIR` to `d:\\Julia\\Home` no more issue while compiling !\r\n"}}