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

Error in error handling of cypherQuery #16

Open
axsk opened this issue Oct 29, 2018 · 5 comments
Open

Error in error handling of cypherQuery #16

axsk opened this issue Oct 29, 2018 · 5 comments
Labels

Comments

@axsk
Copy link

axsk commented Oct 29, 2018

I ran into ERROR: map is not defined on sets errors on this line. I guess the JSON parser is returning sets. (Btw. why shoudn't map be defined on sets..?!)

error(join(map(i -> (i * ": " * respdata["errors"][1][i]), keys(respdata["errors"][1])), "\n"));

@glesica glesica added the bug label Nov 1, 2018
@glesica
Copy link
Owner

glesica commented Nov 1, 2018

Which versions of Julia and the JSON package are you using? Maybe we need to put a constraint on the version of JSON we require, at least for now.

@axsk
Copy link
Author

axsk commented Nov 1, 2018

It's Julia 1.0.1 with JSON v0.19.0

@StefanHaunsberger
Copy link
Collaborator

Sorry for the delay.
I've tested it under Julia v.0.6.2 and JSON v.0.16 4 and it works fine there .
@glesica I think it's a good idea to put a constraints on the JSON package version, for now.

I'll look into it in the next couple of days under the new Julia version and the described JSON version.

@glesica
Copy link
Owner

glesica commented Dec 6, 2018

Cool, thanks for triaging this! We could probably just switch to a loop or something if necessary, presumably you can still iterate them.

@glesica
Copy link
Owner

glesica commented Dec 6, 2018

@axsk I think this should fix your issue, can you check it out? #17

Sorry so slow, BTW.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants