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

Fatal Error on Os X #45

Open
shiva-z opened this issue Mar 20, 2020 · 0 comments
Open

Fatal Error on Os X #45

shiva-z opened this issue Mar 20, 2020 · 0 comments

Comments

@shiva-z
Copy link

shiva-z commented Mar 20, 2020

from duckling import Duckling
d = Duckling()
d.load()
d.parse('on September 31')

Error:

Mar. 20, 2020 5:22:34 P.M. clojure.tools.logging$eval277$fn__281 invoke
SEVERE: Error while resolving {:timezone nil, :pred #object[clojure.lang.AFunction$1 0x3412a3fd "clojure.lang.AFunction$1@3412a3fd"], :index 10, :dim :time, :rule {:name "on <date>", :pattern (#object[duckling.engine$pattern_fn$fn__4027 0x1bbf3a6e "duckling.engine$pattern_fn$fn__4027@1bbf3a6e"] #object[duckling.engine$pattern_fn$fn__4033 0x76e4a652 "duckling.engine$pattern_fn$fn__4033@76e4a652"]), :production #object[duckling.time.prod$eval26107$fn__26108 0x7a81a89a "duckling.time.prod$eval26107$fn__26108@7a81a89a"]}, :log-prob -6.3550387135069855, :pos 0, :end 15, :direction nil, :text "on September 31"}
org.joda.time.IllegalFieldValueException: Value 0 for minuteOfHour is not supported: Illegal instant due to time zone offset transition (daylight savings time 'gap'): 1906-09-01T00:00:52.000 (America/Edmonton)
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

1 participant