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

Dependency on Dates and DateTime #64

Open
BenjaminBorn opened this issue Mar 13, 2017 · 1 comment
Open

Dependency on Dates and DateTime #64

BenjaminBorn opened this issue Mar 13, 2017 · 1 comment

Comments

@BenjaminBorn
Copy link
Contributor

While running Pkg.add("TimeModels") I got the following error message:

INFO: Building Datetime
==============================[ ERROR: Datetime ]===============================

LoadError: UndefVarError: int64 not defined
while loading /Users/bborn/.julia/v0.5/Datetime/deps/build.jl, in expression starting on line 17

================================================================================
INFO: Building Tk

================================[ BUILD ERRORS ]================================

WARNING: Datetime had build errors.

  • packages with build errors remain installed in /Users/bborn/.julia/v0.5
  • build the package(s) and all dependencies with Pkg.build("Datetime")
  • build a single package by running its deps/build.jl script

================================================================================

It seems that the functionality of Datetime (as well as Dates) has been merged into Base: https://github.com/quinnj/Datetime.jl .

using TimeModels then resulted in

WARNING: Base.ASCIIString is deprecated, use String instead.
likely near /Users/bborn/.julia/v0.5/Datetime/src/Timezone.jl:23

LoadError: LoadError: LoadError: MethodError: no method matching getindex(::Pair{DataType,DataType}, ::Pair{String,DataType}, ::Pair{String,DataType}, ...

My configuration:

Julia Version 0.5.2-pre+1
Commit a6c55c5* (2017-03-06 03:59 UTC)
Platform Info:
OS: macOS (x86_64-apple-darwin16.4.0)
CPU: Intel(R) Core(TM) i7-6700K CPU @ 4.00GHz
WORD_SIZE: 64
BLAS: libopenblas (USE64BITINT DYNAMIC_ARCH NO_AFFINITY Haswell)
LAPACK: libopenblas64_
LIBM: libopenlibm
LLVM: libLLVM-3.7.1 (ORCJIT, broadwell)

@ararslan
Copy link
Member

As it stands, this package is set up to work strictly on Julia 0.4 only. If you're interested in helping to get the package working on Julia 0.5 and 0.6, a pull request would be more than welcome. 🙂

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