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

io.slotparse, io.slotformat fail on v0.6-dev #44

Closed
JeffreySarnoff opened this issue Feb 21, 2017 · 8 comments
Closed

io.slotparse, io.slotformat fail on v0.6-dev #44

JeffreySarnoff opened this issue Feb 21, 2017 · 8 comments
Assignees

Comments

@JeffreySarnoff
Copy link
Member

ERROR: LoadError: LoadError: TypeError: Type{...} expression: expected UnionAll, got Type{Slot}
Stacktrace:
[1] include_from_node1(::String) at ./loading.jl:539
[2] include(::String) at ./sysimg.jl:14
[3] include_from_node1(::String) at ./loading.jl:539
[4] eval(::Module, ::Any) at ./boot.jl:235
[5] require(::Symbol) at ./loading.jl:453
while loading /home/jas/.julia/v0.6/TimeZones/src/io.jl, in expression starting on line 61
while loading /home/jas/.julia/v0.6/TimeZones/src/TimeZones.jl, in expression starting on line 51

@omus
Copy link
Member

omus commented Feb 21, 2017

Thanks for reporting the issue. As part of JuliaLang/julia#19545 the internals of the DateTime parsing and formatting changed. I have some work to do before TimeZones.jl will be functional on 0.6 but I could push out a version without formatting and parsing in the mean time if need be.

@JeffreySarnoff
Copy link
Member Author

JeffreySarnoff commented Feb 21, 2017

If that would be much work and not move this forward for 0.6 then, don't.

@omus
Copy link
Member

omus commented Mar 8, 2017

I've been actively working on this. Basically the hold up with Julia 0.6 is that the fast parsing code no longer supports extending DateFormat. I've made a PR which addresses this in base Julia.

@omus omus self-assigned this Mar 8, 2017
@JeffreySarnoff
Copy link
Member Author

It looks like the i686 build just ran out of time and did not run into difficulty.

@omus
Copy link
Member

omus commented Mar 17, 2017

TimeZones now works with the latest Julia nightly build.

@omus omus closed this as completed Mar 17, 2017
@JeffreySarnoff
Copy link
Member Author

I got the new nightly.
Version 0.6.0-pre.alpha.167 (2017-03-17 17:34 UTC)
Commit 762b943 (0 days old master)
x86_64-pc-linux-gnu

did Pkg.rm("TimeZones") twice, then
Pkg.add("TimeZones")

...

WARNING: could not import Dates.slotparse into TimeZones
WARNING: could not import Dates.slotformat into TimeZones
ERROR: LoadError: LoadError: TypeError: Type{...} expression: expected UnionAll, got Type{Slot}
Stacktrace:
[1] include_from_node1(::String) at ./loading.jl:539
[2] include(::String) at ./sysimg.jl:14
[3] include_from_node1(::String) at ./loading.jl:539
[4] eval(::Module, ::Any) at ./boot.jl:235
[5] require(::Symbol) at ./loading.jl:453
while loading /home/jas/.julia/v0.6/TimeZones/src/io.jl, in expression starting on line 60
while loading /home/jas/.julia/v0.6/TimeZones/src/TimeZones.jl, in expression starting on line 51

@omus
Copy link
Member

omus commented Mar 17, 2017

New tagged version isn't available yet. You should be able to get things working with Pkg.checkout("TimeZones").

@JeffreySarnoff
Copy link
Member Author

JeffreySarnoff commented Mar 17, 2017 via email

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