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

require throws UndefVarError: path_separator not defined #14007

Closed
dhoegh opened this issue Nov 15, 2015 · 2 comments
Closed

require throws UndefVarError: path_separator not defined #14007

dhoegh opened this issue Nov 15, 2015 · 2 comments

Comments

@dhoegh
Copy link
Contributor

dhoegh commented Nov 15, 2015

Within the last week require has stopped working and it throws UndefVarError: path_separator not defined. See the output bellow which shows that commit 3f74f34 runs fine and 7cda13f errors.

               _
   _       _ _(_)_     |  A fresh approach to technical computing
  (_)     | (_) (_)    |  Documentation: http://docs.julialang.org
   _ _   _| |_  __ _   |  Type "?help" for help.
  | | | | | | |/ _` |  |
  | | |_| | | | (_| |  |  Version 0.5.0-dev+1184 (2015-11-08 13:43 UTC)
 _/ |\__'_|_|_|\__'_|  |  Commit 3f74f34* (7 days old master)
|__/                   |  x86_64-w64-mingw32

julia> require("WinRPM")
WARNING: `require` is deprecated, use `using` or `import` instead
 in depwarn at deprecated.jl:73
 [inlined code] from deprecated.jl:694
 in require at no file:0
 in eval at boot.jl:264
while loading no file, in expression starting on line 0
               _
   _       _ _(_)_     |  A fresh approach to technical computing
  (_)     | (_) (_)    |  Documentation: http://docs.julialang.org
   _ _   _| |_  __ _   |  Type "?help" for help.
  | | | | | | |/ _` |  |
  | | |_| | | | (_| |  |  Version 0.5.0-dev+1266 (2015-11-13 15:10 UTC)
 _/ |\__'_|_|_|\__'_|  |  Commit 7cda13f (2 days old master)
|__/                   |  x86_64-w64-mingw32

julia> require("WinRPM")
WARNING: `require` is deprecated, use `using` or `import` instead
 in depwarn at deprecated.jl:73
 [inlined code] from deprecated.jl:694
 in require at no file:0
 in eval at boot.jl:264
while loading no file, in expression starting on line 0
ERROR: UndefVarError: path_separator not defined
 [inlined code] from deprecated.jl:695
 in require at no file:0
 in eval at boot.jl:264

julia>
@tkelman tkelman added the system:windows Affects only Windows label Nov 15, 2015
@tkelman
Copy link
Contributor

tkelman commented Nov 15, 2015

probably just needs a Filesystem. ref #12819

@dhoegh dhoegh changed the title require("WinRPM") throws UndefVarError: path_separator not defined require throws UndefVarError: path_separator not defined Nov 15, 2015
@tkelman tkelman removed the system:windows Affects only Windows label Nov 15, 2015
dhoegh pushed a commit to dhoegh/julia that referenced this issue Nov 16, 2015
This was referenced Nov 16, 2015
dhoegh pushed a commit to dhoegh/julia that referenced this issue Nov 16, 2015
tkelman added a commit that referenced this issue Nov 17, 2015
@jdlangs
Copy link
Contributor

jdlangs commented Nov 18, 2015

This same error is still present in reload here:

if isfile(name) || contains(name,path_separator)
.

zhmz90 pushed a commit to zhmz90/julia that referenced this issue Nov 21, 2015
This prevents frequent failures from happening on build VMs.
It is not clear whether the failure reflects an underlying
bug or not, but having the CI fail randomly doesn't help
fixing it.

Fix `UndefVarError: path_separator not defined` as path_separator was moved
to Filesystem, fix JuliaLang#14007.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants