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

Getting WebIO working on v0.7 #128

Closed
djsegal opened this issue May 29, 2018 · 5 comments
Closed

Getting WebIO working on v0.7 #128

djsegal opened this issue May 29, 2018 · 5 comments

Comments

@djsegal
Copy link
Contributor

djsegal commented May 29, 2018

Related to:



Currently getting the following error from this line:


WARNING: Broadcast.broadcast_indices is deprecated, use broadcast_axes instead.
  likely near /Users/dan/.julia/packages/Nullables/sjCf/src/nullable.jl:414
WARNING: Base.Pkg is deprecated, run `using Pkg` instead
  likely near /Users/dan/.julia/packages/WebIO/avZI/deps/build.jl:36
WARNING: Base.Pkg is deprecated, run `using Pkg` instead
  likely near /Users/dan/.julia/packages/WebIO/avZI/deps/build.jl:36
┌ Warning: `replace(s::AbstractString, pat, f)` is deprecated, use `replace(s, pat => f)` instead.
│   caller = install_ijulia_config() at build.jl:15
└ @ Main build.jl:15
ERROR: LoadError: MethodError: no method matching dir()
Closest candidates are:
  dir(!Matched::String, !Matched::String...) at /Users/osx/buildbot/slave/package_osx64/build/usr/share/julia/stdlib/v0.7/Pkg/src/API.jl:403
Stacktrace:
 [1] install_ijulia_config() at /Users/dan/.julia/packages/WebIO/avZI/deps/build.jl:17
 [2] top-level scope
 [3] include at ./boot.jl:314 [inlined]
 [4] include_relative(::Module, ::String) at ./loading.jl:1070
 [5] include(::Module, ::String) at ./sysimg.jl:29
 [6] include(::String) at ./client.jl:390
 [7] top-level scope
in expression starting at /Users/dan/.julia/packages/WebIO/avZI/deps/build.jl:36
@rdeits
Copy link
Collaborator

rdeits commented May 29, 2018

Just ran into this too. I think this problem will fix itself once the new AssetRegistry changes come in, as Pkg.dir() won't be as special.

@djsegal
Copy link
Contributor Author

djsegal commented May 29, 2018

@sounds good.

Also, @Stefan suggested we use something like: @__DIR__


Similar code is:

https://github.com/djsegal/Julz.jl/blob/ae594e7cade347a05ac279adc3eb7e71d4168257/dummy/src/JulzDummy.jl#L5-L7

// but maybe with some more ../'s in it

@shashi
Copy link
Member

shashi commented Jun 4, 2018

using AssetRegistry seems to be the only / sane way to locate assets in the face of Pkg3. I'm blocked on doing file locking on windows...

@togo59
Copy link

togo59 commented Aug 9, 2018

Julia v0.7. Cannot build WebIO with Pkg3. I get the same errors with: using AssetRegistry, Pkg and Pkg.build() etc. It would be nice when this is fixed!

@rdeits
Copy link
Collaborator

rdeits commented Aug 9, 2018

@togo59 the relevant blocking issue is JuliaWeb/Mux.jl#64

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

4 participants