-
Notifications
You must be signed in to change notification settings - Fork 74
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
Using --tdb true, --keep-tdb-mappings true returns "StoreConnection inValid (issued before a StoreConnection.release?)" #658
Comments
Could you please point me to the file that you're using? Thank you! |
The ontology is http://snapshot.geneontology.org/ontology/extensions/go-lego.owl,
For context, I'm implementing these as sparql: geneontology/pipeline#35 (comment), hopefully with report. |
It looks like I get the message anytime I change the queries being done on the ontology. I just ran a query and subsequent queries ran just fine and quickly. Then when I added a new query to the profile, it gave me the error. |
Actually, I think I'm perhaps getting the error if I run a query, then run another but an error occurs (commonly I get the path to the queries wrong in the profile), and then when I run the command again it gives me the error, at which point I have to remove the directory and have it reload. |
Thanks for the clarification. I did the following:
It looks like the What's weird is that if you do the same thing with query, it gives you the correct exception and releases without an issue. I'll do some digging into this. |
Great thanks so much! Life became a little easier after I stopped messing up my query paths. But thanks for looking into it. |
So it looks like the dataset is already being released somewhere on exception. I added some logging messages, and on success:
On failure:
The flush delayed commits is a log from releasing. If I comment out the Unfortunately, I can't figure out a good way to check if the dataset has been released. We are not doing this in ROBOT other than in the robot/robot-core/src/main/java/org/obolibrary/robot/ReportOperation.java Lines 336 to 349 in 7af9921
Anyway, I'll make a PR that wraps this to ignore the exception on releasing a dataset. |
When you have a chance, could you please test this fix? |
@dougli1sqrd Can you please take a minute to test this? |
@beckyjackson I did the PASS, FAIL, PASS procedure you outlined above, and I didn't get any invalid error messages. Thanks! |
I'm using the
tdb
feature in Robot to make querying of large ontologies easier withreport
.When I issue the same robot command twice, using the same tdb store, I am getting "StoreConnection inValid (issued before a StoreConnection.release?)".
I expected that robot would reuse the existing store. Am I running this incorrectly?
My full command is:
Thanks!
The text was updated successfully, but these errors were encountered: