Giter VIP home page Giter VIP logo

Comments (7)

nicodemus avatar nicodemus commented on August 12, 2024 2

My guess is that is the case. From main.py:

    if self.filename:
        queries = self.filename.read()
        queries = queries.split(";")[:-1]

As it doesn't pay any attention to context (eg, quoted string), it looks like a semi-colon anywhere other than the end of a statement will break things.

from cycli.

nicolewhite avatar nicolewhite commented on August 12, 2024

Can you paste the exact query? You have a semicolon after xyz?

from cycli.

eyz avatar eyz commented on August 12, 2024

Nicole, please see the updated error. If that doesn't help identify the parser issue then I can try to isolate an example for you. This was only the output error I posted so far.

from cycli.

nicolewhite avatar nicolewhite commented on August 12, 2024

Are you executing these queries from a file? Using cycli --filename queries.txt or something?

from cycli.

nicolewhite avatar nicolewhite commented on August 12, 2024

That's why I asked if he was using the --filename param. That code is only executed if you're reading queries from a file. That should be fixed regardless, but I'm trying to figure out if it's another bug.

from cycli.

eyz avatar eyz commented on August 12, 2024

Yes, @nicolewhite, I have just confirmed that we use the -f flag to read cypher from a file.

cycli -h neo4j -f "${CYPHER_TEMP}"

from cycli.

nicolewhite avatar nicolewhite commented on August 12, 2024

Okay cool. I will fix this soon.

from cycli.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.