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

Cannot import Mongo while on Mac #28

Open
rahulkp220 opened this issue Nov 18, 2017 · 2 comments
Open

Cannot import Mongo while on Mac #28

rahulkp220 opened this issue Nov 18, 2017 · 2 comments

Comments

@rahulkp220
Copy link

Hi, I am trying to use the package on Julia 0.6.1, and have troubles using the package. Here is the error I get,

julia> using Mongo, LibBSON
ERROR: LoadError: could not open file /Users/rahullakhanpal/.julia/v0.6/Mongo/src/../deps/deps.jl
Stacktrace:
 [1] include_from_node1(::String) at ./loading.jl:576
 [2] include(::String) at ./sysimg.jl:14
 [3] include_from_node1(::String) at ./loading.jl:576
 [4] eval(::Module, ::Any) at ./boot.jl:235
 [5] _require(::Symbol) at ./loading.jl:490
 [6] require(::Symbol) at ./loading.jl:405
while loading /Users/rahullakhanpal/.julia/v0.6/Mongo/src/Mongo.jl, in expression starting on line 3
@bbork
Copy link

bbork commented Aug 31, 2018

Same here (on windows).
When the include line is commented out I get similar error from LibBSON

ERROR: LoadError: could not open file C:\Users\****\.julia\packages\LibBSON\2p4EI\deps\deps.jl
Stacktrace:
 [1] include at .\boot.jl:317 [inlined]
 [2] include_relative(::Module, ::String) at .\loading.jl:1038
 [3] include at .\sysimg.jl:29 [inlined]
 [4] include(::String) at C:\Users\****\.julia\packages\LibBSON\2p4EI\src\LibBSON.jl:1
 [5] top-level scope at none:0
 [6] include at .\boot.jl:317 [inlined]
 [7] include_relative(::Module, ::String) at .\loading.jl:1038
 [8] include(::Module, ::String) at .\sysimg.jl:29
 [9] top-level scope at none:2
 [10] eval at .\boot.jl:319 [inlined]
 [11] eval(::Expr) at .\client.jl:389
 [12] top-level scope at .\none:3
in expression starting at C:\Users\****\.julia\packages\LibBSON\2p4EI\src\LibBSON.jl:5

And when I remove that include too I get:

ERROR: LoadError: UndefVarError: libbson not defined
Stacktrace:
 [1] top-level scope at .\none:0
 [2] include at .\boot.jl:317 [inlined]
 [3] include_relative(::Module, ::String) at .\loading.jl:1038
 [4] include(::Module, ::String) at .\sysimg.jl:29
 [5] top-level scope at none:2
 [6] eval at .\boot.jl:319 [inlined]
 [7] eval(::Expr) at .\client.jl:389
 [8] top-level scope at .\none:3
in expression starting at C:\Users\****\.julia\packages\LibBSON\2p4EI\src\LibBSON.jl:7

Quite predictably just removing some "random" bits of code is not going to improve the situation :D

@felipenoris
Copy link

I think this can be closed.

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