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

scheduler - No such var: protocol.state/-create-state #5

Closed
Eschon opened this issue Jul 30, 2019 · 7 comments
Closed

scheduler - No such var: protocol.state/-create-state #5

Eschon opened this issue Jul 30, 2019 · 7 comments

Comments

@Eschon
Copy link

Eschon commented Jul 30, 2019

I have a clojure project that still uses https://github.com/zcaudate-me/cronj and I wanted to update it to hara/io.scheduler

But when I include [hara/io.scheduler "3.0.2"] in my project and try to use it I get the following error:

Syntax error compiling at (hara/state/base/impl.clj:37:1).
No such var: protocol.state/-create-state

I'm using clojure 1.10.1

I hope you can help me solve this. Let me know if you need any additional information.

@zcaudate
Copy link
Owner

Can you try [hara/io.scheduler "3.0.5"] to see if this has been fixed in the most recent version?

@Eschon
Copy link
Author

Eschon commented Jul 30, 2019

I just tried the most recent version. The same problem still shows up.

@zcaudate
Copy link
Owner

thanks for letting me know. I’ll push an update in the next day or two.

@zcaudate
Copy link
Owner

I've pushed an update. Let me know if you are still having issues.

boot.user=> (set-env! :dependencies '[[hara/io.scheduler "3.0.6"]])
nil
boot.user=> (require 'hara.io.scheduler)
nil

@Eschon
Copy link
Author

Eschon commented Jul 31, 2019

Thanks, I tried it but the error still happens for me.
I'll investigate it further and try to make a minimal example to reproduce it.

@Eschon
Copy link
Author

Eschon commented Jul 31, 2019

Ok, I've figured it out. The problem was that I hadn't fully removed cronj and that was creating some kind of conflict. Now everything seems to be working as expected. Sorry for your inconvenience.

@Eschon Eschon closed this as completed Jul 31, 2019
@zcaudate
Copy link
Owner

Ah that makes sense. The baseline libraries have changed significantly between v2 and v3 of hara.

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