Comments (23)
I added automatic building on Friday. There's no build
command, largely because I'm not entirely sure how it should work. Should it recursively build all the dependencies of what you pass it? Should it be non-recursive by default? If you rm -rf ~/.julia/packages
and do pkg> up
then Pkg3
will reinstall and build all the packages.
from pkg.jl.
Thanks, now Conda.jl is built successfully, but deps.jl is not generated for PyCall
from pkg.jl.
Can you try again? The PyCall problem was JuliaPy/Conda.jl#93 (worked around on the Pkg3 side).
from pkg.jl.
Still unable to use PyCall
pkg> add PyCall
INFO: Cloning default registries into /home/osboxes/.julia/registries
INFO: [+] Uncurated = "https://github.com/JuliaRegistries/Uncurated.git"
INFO: Resolving package versions
INFO: Cloning [438e738f-606a-5dbb-bf0a-cddfbfd45ab0] PyCall
INFO: Installing PyCall v1.15.0 [2ba54612238a85ee]
INFO: Cloning [1914dd2f-81c6-5fcd-8719-6d5c9610ff09] MacroTools
INFO: Installing MacroTools v0.3.7 [a9929c0284775cff]
INFO: Cloning [34da2185-b29b-5c13-b0c7-acf172513d20] Compat
INFO: Installing Compat v0.33.0 [f9f32f48f2137c42]
INFO: Cloning [30578b45-9adc-5946-b283-645ec420af67] URIParser
INFO: Installing URIParser v0.2.0 [3f29a4dd44e6efef]
INFO: Cloning [8f4d0f93-b110-5947-807f-2305c1781a2d] Conda
INFO: Installing Conda v0.7.0 [b26546424d5f3ac3]
INFO: Cloning [682c06a0-de6a-54ab-a142-c8b1cf79cde6] JSON
INFO: Installing JSON v0.15.1 [d1968e54b94ce404]
INFO: Cloning [ea8e919c-243c-51af-8825-aaa63cd721ce] SHA
INFO: Installing SHA v0.5.1 [91cc54078cfe2848]
INFO: Cloning [9e28174c-4ba2-5203-b857-d8d62c4213ee] BinDeps
INFO: Installing BinDeps v0.6.0 [28db737a557076fc]
INFO: Updating "~/.julia/environments/v0.6/Project.toml"
[438e738f] + PyCall v1.15.0
INFO: Updating "~/.julia/environments/v0.6/Manifest.toml"
[9e28174c] + BinDeps v0.6.0
[34da2185] + Compat v0.33.0
[8f4d0f93] + Conda v0.7.0
[682c06a0] + JSON v0.15.1
[1914dd2f] + MacroTools v0.3.7
[438e738f] + PyCall v1.15.0
[ea8e919c] + SHA v0.5.1
[30578b45] + URIParser v0.2.0
INFO: Building Conda [b26546424d5f3ac3]...
INFO: log: /home/osboxes/.julia/packages/N8e4/u0lj/deps/build.log
WARNING: Error building `Conda`; see log file for further info
INFO: Building PyCall [2ba54612238a85ee]...
INFO: log: /home/osboxes/.julia/packages/mbAM/vGCc/deps/build.log
WARNING: Error building `PyCall`; see log file for further info
julia> using PyCall
INFO: Recompiling stale cache file /home/osboxes/.juliapro-0.6.0.1/lib/v0.6/PyCall.ji for module PyCall.
ERROR: LoadError: ArgumentError: Module Pkg3 not found in current path.
Run `Pkg.add("Pkg3")` to install the Pkg3 package.
_require(::Symbol) at ./loading.jl:428
require(::Symbol) at ./loading.jl:398
include_from_node1(::String) at ./loading.jl:569
include(::String) at ./sysimg.jl:14
(::Base.Distributed.##135#136{Base.#include,Tuple{String},Array{Any,1}})() at ./distributed/remotecall.jl:314
run_work_thunk(::Base.Distributed.##135#136{Base.#include,Tuple{String},Array{Any,1}}, ::Bool) at ./distributed/process_messages.jl:56
#remotecall_fetch#140(::Array{Any,1}, ::Function, ::Function, ::Base.Distributed.LocalProcess, ::String, ::Vararg{String,N} where N) at ./distributed/remotecall.jl:339
remotecall_fetch(::Function, ::Base.Distributed.LocalProcess, ::String, ::Vararg{String,N} where N) at ./distributed/remotecall.jl:339
#remotecall_fetch#144(::Array{Any,1}, ::Function, ::Function, ::Int64, ::String, ::Vararg{String,N} where N) at ./distributed/remotecall.jl:367
remotecall_fetch(::Function, ::Int64, ::String, ::Vararg{Any,N} where N) at ./distributed/remotecall.jl:367
(::Base.##504#506{Base.JLOptions})() at ./task.jl:335
while loading /home/osboxes/Pkg3.jl/src/require.jl, in expression starting on line 1
#remotecall_fetch#140(::Array{Any,1}, ::Function, ::Function, ::Base.Distributed.LocalProcess, ::String, ::Vararg{String,N} where N) at ./distributed/remotecall.jl:340
remotecall_fetch(::Function, ::Base.Distributed.LocalProcess, ::String, ::Vararg{String,N} where N) at ./distributed/remotecall.jl:339
#remotecall_fetch#144(::Array{Any,1}, ::Function, ::Function, ::Int64, ::String, ::Vararg{String,N} where N) at ./distributed/remotecall.jl:367
remotecall_fetch(::Function, ::Int64, ::String, ::Vararg{Any,N} where N) at ./distributed/remotecall.jl:367
(::Base.##504#506{Base.JLOptions})() at ./task.jl:335
Stacktrace:
[1] sync_end() at ./task.jl:287
[2] macro expansion at ./task.jl:303 [inlined]
[3] process_options(::Base.JLOptions) at ./client.jl:279
[4] _start() at ./client.jl:371
ERROR: Failed to precompile PyCall to /home/osboxes/.juliapro-0.6.0.1/lib/v0.6/PyCall.ji.
Stacktrace:
[1] compilecache(::String) at ./loading.jl:703
[2] _require(::Symbol) at ./loading.jl:456
[3] require(::Symbol) at ./loading.jl:398
julia> Pkg.add("Pkg3")
^X^C^C^C
^C^C^C^C^CWARNING: Force throwing a SIGINT
^C^C^C^CERROR: InterruptException:
Stacktrace:
[1] macro expansion at ./libgit2/error.jl:97 [inlined]
[2] #diff_tree#68(::Bool, ::Function, ::Base.LibGit2.GitRepo, ::Base.LibGit2.GitTree, ::String) at ./libgit2/diff.jl:22
[3] (::Base.LibGit2.#kw##diff_tree)(::Array{Any,1}, ::Base.LibGit2.#diff_tree, ::Base.LibGit2.GitRepo, ::Base.LibGit2.GitTree, ::String) at ./<missing>:0
[4] #isdiff#76(::Bool, ::Function, ::Base.LibGit2.GitRepo, ::String, ::String) at ./libgit2/libgit2.jl:149
[5] ^C(::SYSTEM: show(lasterr) caused an error
InterruptException()
Stacktrace:
[1] macro expansion at ./libgit2/error.jl:97 [inlined]
[2] #diff_tree#68(::Bool, ::Function, ::Base.LibGit2.GitRepo, ::Base.LibGit2.GitTree, ::String) at ./libgit2/diff.jl:22
[3] (::Base.LibGit2.#kw##diff_tree)(::Array{Any,1}, ::Base.LibGit2.#diff_tree, ::Base.LibGit2.GitRepo, ::Base.LibGit2.GitTree, ::String) at ./<missing>:0
[4] #isdiff#76(::Bool, ::Function, ::Base.LibGit2.GitRepo, ::String, ::String) at ./libgit2/libgit2.jl:149
[5] (::Base.Pkg.Entry.##2#4)(::Base.LibGit2.GitRepo) at ./pkg/entry.jl:59
[6] with(::Base.Pkg.Entry.##2#4, ::Base.LibGit2.GitRepo) at ./libgit2/types.jl:608
[7] macro expansion at ./pkg/entry.jl:57 [inlined]
[8] macro expansion at ./task.jl:302 [inlined]
[9] add(::String, ::Base.Pkg.Types.VersionSet) at ./pkg/entry.jl:51
[10] (::Base.Pkg.Dir.##3#6{Array{Any,1},Base.Pkg.Entry.#add,Tuple{String}})() at ./pkg/dir.jl:33
[11] cd(::Base.Pkg.Dir.##3#6{Array{Any,1},Base.Pkg.Entry.#add,Tuple{String}}, ::String) at ./file.jl:70
[12] withenv(::Base.Pkg.Dir.##2#5{Array{Any,1},Base.Pkg.Entry.#add,Tuple{String},String}, ::Pair{String,String}, ::Vararg{Pair{String,String},N} where N) at ./env.jl:157
[13] #cd#1(::Array{Any,1}, ::Function, ::Function, ::String, ::Vararg{String,N} where N) at ./pkg/dir.jl:32
[14] add(::String) at ./pkg/pkg.jl:117
[15] eval(::Module, ::Any) at ./boot.jl:235
[16] eval_user_input(::Any, ::Base.REPL.REPLBackend) at ./REPL.jl:66
[17] macro expansion at ./REPL.jl:97 [inlined]
[18] (::Base.REPL.##1#2{Base.REPL.REPLBackend})() at ./event.jl:73
julia> exit
exit (generic function with 2 methods)
from pkg.jl.
@vdayanand, what's in the build logs?
from pkg.jl.
Here is the build.log of PyCall
ERROR: LoadError: ArgumentError: Module Pkg3 not found in current path.
Run `Pkg.add("Pkg3")` to install the Pkg3 package.
_require(::Symbol) at ./loading.jl:428
require(::Symbol) at ./loading.jl:398
include_from_node1(::String) at ./loading.jl:569
include(::String) at ./sysimg.jl:14
(::Base.Distributed.##135#136{Base.#include,Tuple{String},Array{Any,1}})() at ./distributed/remotecall.jl:314
run_work_thunk(::Base.Distributed.##135#136{Base.#include,Tuple{String},Array{Any,1}}, ::Bool) at ./distributed/process_messages.jl:56
#remotecall_fetch#140(::Array{Any,1}, ::Function, ::Function, ::Base.Distributed.LocalProcess, ::String, ::Vararg{String,N} where N) at ./distributed/remotecall.jl:339
remotecall_fetch(::Function, ::Base.Distributed.LocalProcess, ::String, ::Vararg{String,N} where N) at ./distributed/remotecall.jl:339
#remotecall_fetch#144(::Array{Any,1}, ::Function, ::Function, ::Int64, ::String, ::Vararg{String,N} where N) at ./distributed/remotecall.jl:367
remotecall_fetch(::Function, ::Int64, ::String, ::Vararg{Any,N} where N) at ./distributed/remotecall.jl:367
(::Base.##504#506{Base.JLOptions})() at ./task.jl:335
while loading /home/osboxes/Pkg3.jl/src/require.jl, in expression starting on line 1
#remotecall_fetch#140(::Array{Any,1}, ::Function, ::Function, ::Base.Distributed.LocalProcess, ::String, ::Vararg{String,N} where N) at ./distributed/remotecall.jl:340
remotecall_fetch(::Function, ::Base.Distributed.LocalProcess, ::String, ::Vararg{String,N} where N) at ./distributed/remotecall.jl:339
#remotecall_fetch#144(::Array{Any,1}, ::Function, ::Function, ::Int64, ::String, ::Vararg{String,N} where N) at ./distributed/remotecall.jl:367
remotecall_fetch(::Function, ::Int64, ::String, ::Vararg{Any,N} where N) at ./distributed/remotecall.jl:367
(::Base.##504#506{Base.JLOptions})() at ./task.jl:335
Stacktrace:
[1] sync_end() at ./task.jl:287
[2] macro expansion at ./task.jl:303 [inlined]
[3] process_options(::Base.JLOptions) at ./client.jl:279
[4] _start() at ./client.jl:371
from pkg.jl.
That's very strange.
from pkg.jl.
Sorry. above log is of Conda not PyCall. BTW what is the new naming convention of the packages dir?
from pkg.jl.
It's a 4-char ASCII "slug" based on the package UUID and a 4-char ASCII slug based on the source tree hash. Code is here:
https://github.com/StefanKarpinski/Pkg3.jl/blob/d6aef97c7396e093f30a59d2584a04330d764c1e/src/Operations.jl#L10-L39
from pkg.jl.
What's in your LOAD_PATH
?
from pkg.jl.
"/home/osboxes/JuliaPro/JuliaPro-0.6.0.1/Julia/local/share/julia/site/v0.6"
"/home/osboxes/JuliaPro/JuliaPro-0.6.0.1/Julia/share/julia/site/v0.6"
"/root/.juliapro-0.6.0.1/v0.6"
from pkg.jl.
It seems like Pkg3
is installed at /home/osboxes/Pkg3.jl
, which isn't in your LOAD_PATH
. How are you loading Pkg3
?
from pkg.jl.
include("/home/osboxes/Pkg3.jl/src/Pkg3.jl")
from pkg.jl.
It needs to be in your LOAD_PATH
– I guess I could automatically add it.
from pkg.jl.
After f6d6de5 this should work even if you load Pkg3
via include and it's not on your LOAD_PATH
.
from pkg.jl.
LOAD_PATH
1-element Array{Any,1}:
"/home/osboxes/Pkg3.jl"
ICU build log:
ERROR: LoadError: ArgumentError: Module Pkg3 not found in current path.
Run `Pkg.add("Pkg3")` to install the Pkg3 package.
_require(::Symbol) at ./loading.jl:428
require(::Symbol) at ./loading.jl:398
include_from_node1(::String) at ./loading.jl:569
include(::String) at ./sysimg.jl:14
(::Base.Distributed.##135#136{Base.#include,Tuple{String},Array{Any,1}})() at ./distributed/remotecall.jl:314
run_work_thunk(::Base.Distributed.##135#136{Base.#include,Tuple{String},Array{Any,1}}, ::Bool) at ./distributed/process_messages.jl:56
#remotecall_fetch#140(::Array{Any,1}, ::Function, ::Function, ::Base.Distributed.LocalProcess, ::String, ::Vararg{String,N} where N) at ./distributed/remotecall.jl:339
remotecall_fetch(::Function, ::Base.Distributed.LocalProcess, ::String, ::Vararg{String,N} where N) at ./distributed/remotecall.jl:339
#remotecall_fetch#144(::Array{Any,1}, ::Function, ::Function, ::Int64, ::String, ::Vararg{String,N} where N) at ./distributed/remotecall.jl:367
remotecall_fetch(::Function, ::Int64, ::String, ::Vararg{Any,N} where N) at ./distributed/remotecall.jl:367
(::Base.##504#506{Base.JLOptions})() at ./task.jl:335
while loading /home/osboxes/Pkg3.jl/src/require.jl, in expression starting on line 1
#remotecall_fetch#140(::Array{Any,1}, ::Function, ::Function, ::Base.Distributed.LocalProcess, ::String, ::Vararg{String,N} where N) at ./distributed/remotecall.jl:340
remotecall_fetch(::Function, ::Base.Distributed.LocalProcess, ::String, ::Vararg{String,N} where N) at ./distributed/remotecall.jl:339
#remotecall_fetch#144(::Array{Any,1}, ::Function, ::Function, ::Int64, ::String, ::Vararg{String,N} where N) at ./distributed/remotecall.jl:367
remotecall_fetch(::Function, ::Int64, ::String, ::Vararg{Any,N} where N) at ./distributed/remotecall.jl:367
(::Base.##504#506{Base.JLOptions})() at ./task.jl:335
Stacktrace:
[1] sync_end() at ./task.jl:287
[2] macro expansion at ./task.jl:303 [inlined]
[3] process_options(::Base.JLOptions) at ./client.jl:279
[4] _start() at ./client.jl:371
from pkg.jl.
You need the directory that Pkg3.jl
is in in your LOAD_PATH, not its path, so /home/osboxes
. Did updating to the more recent version allow it to work with include
? I tested locally and it worked.
from pkg.jl.
Yes I am using the latest version.
from pkg.jl.
Now I updated it to /home/osboxes, still same problem
from pkg.jl.
Is this running in -p
mode on multiple computers?
from pkg.jl.
--compilecache=no is the only argument.
from pkg.jl.
works now with the new fix.
Thanks
from pkg.jl.
w00t!
from pkg.jl.
Related Issues (20)
- restrict package by version HOT 2
- Feature request (with code!): Search for registered packages + display releases HOT 1
- Feature request: `]test --quiet` (don't always dump the whole manifest on `Pkg.test()`) HOT 3
- New HistoricalStdlibVersions version is breaking the Pkg tests HOT 1
- very unsound assumptions about REPL state injection HOT 5
- nested task error: ArgumentError: Number of elements must be nonnegative HOT 1
- Docstring for `Registry`
- Bad resolution for SHA in manager
- Improvements to registry status outputs HOT 1
- Pkg tests puts an outdated copy of `General` in `usr/share/registries`
- Dont overload `zero` for `VersionWeight`
- Hide unnecessary internal Pkg stack traces in test logs HOT 2
- `status` can error when the RHS in `[extensions]` does not map to a weak dep HOT 1
- Document two new ways of specifying test-specific dependencies
- Weird syntax highlighting in docstrings HOT 3
- `Suggestions` when doing `up` show when there are none on v1.11
- Manifest usage log error should be non-fatal
- Add back support for full VersionNumbers to the resolver
- Pkg CI does a lot of re-precompiling stdlibs HOT 2
- Pkg.jl needs compat bounds on julia
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from pkg.jl.