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

Exception when loading a file-based db created in 0.2.0 with 0.2.1 #113

Closed
MrEbbinghaus opened this issue Jan 27, 2020 · 3 comments
Closed
Labels
bug Something isn't working

Comments

@MrEbbinghaus
Copy link
Contributor

When connecting to a file-based db created with 0.2.0 I get the following exception shown below.

Create + connect with 0.2.1 works fine, so I suspect, that there is some kind of incompatibility between the versions.

#error{:cause "No implementation of method: :-slice of protocol: #'datahike.index/IIndex found for class: incognito.base.IncognitoTaggedLiteral",
       :via [{:type java.lang.IllegalArgumentException,
              :message "No implementation of method: :-slice of protocol: #'datahike.index/IIndex found for class: incognito.base.IncognitoTaggedLiteral",
              :at [clojure.core$_cache_protocol_fn invokeStatic "core_deftype.clj" 583]}],
       :trace [[clojure.core$_cache_protocol_fn invokeStatic "core_deftype.clj" 583]
               [clojure.core$_cache_protocol_fn invoke "core_deftype.clj" 575]
               [datahike.index$eval30647$fn__30698$G__30624__30709 invoke "index.cljc" 8]
               [datahike.db$init_max_eid invokeStatic "db.cljc" 719]
               [datahike.db$init_max_eid invoke "db.cljc" 717]
               [datahike.connector$eval42252$fn__42255 invoke "connector.cljc" 129]
               [datahike.connector$eval42190$fn__42226$G__42175__42231 invoke "connector.cljc" 73]
               [datahike.connector$eval42242$fn__42243 invoke "connector.cljc" 82]
               [datahike.connector$eval42190$fn__42226$G__42175__42231 invoke "connector.cljc" 73]
               ...]}
@elMor3no
Copy link

Hi @MrEbbinghaus , thanks for reporting this issue.

@whilo
Copy link
Member

whilo commented Jan 30, 2020

@MrEbbinghaus You can inject [io.replikativ/hitchhiker-tree "0.1.6-SNAPSHOT"] and the error should be gone. We will release a new hitchhiker-tree and Datahike 0.2.2 bugfix release covering this issue soon.

@whilo whilo added the bug Something isn't working label Feb 10, 2020
@whilo
Copy link
Member

whilo commented May 28, 2020

This is fixed with the current release.

@whilo whilo closed this as completed May 28, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants