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 use (Julia 0.7) #9

Open
Goysa2 opened this issue Jan 10, 2019 · 2 comments
Open

Cannot use (Julia 0.7) #9

Goysa2 opened this issue Jan 10, 2019 · 2 comments

Comments

@Goysa2
Copy link

Goysa2 commented Jan 10, 2019

Hello!

I am interested in using this package in Julia 0.7. There are a few deprications warnings that are easy to fix with a simple search and replace, but I cannot use it without a weird error concerning a new{...} that has to few arguments. At first glance I cannot fix this issue and since I am not extremel familiar with what this code does (yet).

Is there any plan to port this package to Julia 0.7/1.0?

Thanks!

Sam

@fqiang
Copy link
Owner

fqiang commented Jan 11, 2019

Hi Sam,
Could you please paste the error message? I can take a look at it. Feel free to make a pull request and share your fix. Thanks!
Feng

@Goysa2
Copy link
Author

Goysa2 commented Jan 11, 2019

Here is the main error (I'll do a pull request with the deprecation warning when everything is fixed if you want)

using ReverseDiffTape
ERROR: LoadError: LoadError: syntax: too few type parameters specified in "new{...}"
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 .../ReverseDiffTape.jl/src/ReverseDiffTape.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:399
 [12] top-level scope at ./none:3
in expression starting at .../ReverseDiffTape.jl/src/types.jl:50
in expression starting at .../ReverseDiffTape.jl/src/ReverseDiffTape.jl:33
ERROR: Failed to precompile ReverseDiffTape [4814391a-b8f1-5543-85de-aeee0c43abe8] to /.../.julia/compiled/v0.7/ReverseDiffTape/TfpIK.ji.
Stacktrace:
 [1] error(::String) at ./error.jl:33
 [2] macro expansion at ./logging.jl:313 [inlined]
 [3] compilecache(::Base.PkgId, ::String) at ./loading.jl:1185
 [4] _require(::Base.PkgId) at ./logging.jl:311
 [5] require(::Base.PkgId) at ./loading.jl:852
 [6] macro expansion at ./logging.jl:311 [inlined]
 [7] require(::Module, ::Symbol) at ./loading.jl:834

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

2 participants