Comments (13)
Any ideas how to do this with py2neo? When I try:
from py2neo import Graph
graph = Graph("https://localhost:7473/db/data/“)
graph.neo4j_version
I get:
py2neo.packages.httpstream.http.SocketError: Exec format error
from cycli.
Have you tried including the username and password?
From what I know it should work
from py2neo import Graph
graph = Graph("https://user:[email protected]:7374/db/data/")
Any ideas @nigelsmall ?
from cycli.
Auth is disabled. Btw it's not until I actually try to get something from Neo4j that I get that error.
The line graph = Graph("https://localhost:7473/db/data/“)
goes by fine, then when I do something like graph.node_labels
I get that error.
from cycli.
What version of py2neo are you using?
from cycli.
2.0.7
from cycli.
According to the docs, it should work.
Version of Neo4j?
from cycli.
I'm on Neo4j 2.3.0-M02.
Edit: Same error with Neo4j 2.2.3.
from cycli.
Will you install from this branch and let me know if it works for you?
from cycli.
Seems to connect at first, but then fails. Output:
/usr/local/lib/python2.7/site-packages/requests/packages/urllib3/util/ssl_.py:90: InsecurePlatformWarning: A true SSLContext object is not available. This prevents urllib3 from configuring SSL appropriately and may cause certain SSL connections to fail. For more information, see https://urllib3.readthedocs.org/en/latest/security.html#insecureplatformwarning.
InsecurePlatformWarning
______ __ __ ______ __ __
/\ ___\ /\ \_\ \ /\ ___\ /\ \ /\ \
\ \ \____ \ \____ \ \ \ \____ \ \ \____ \ \ \
\ \_____\ \/\_____\ \ \_____\ \ \_____\ \ \_\
\/_____/ \/_____/ \/_____/ \/_____/ \/_/
Version: 0.1.1
Bug reports: https://github.com/nicolewhite/cycli/issues
> MATCH (n) RETURN n LIMIT 1
Can't assign requested address
>
Expecting object: line 1 column 226 (char 225)
>
from cycli.
This was with the -s
flag?
from cycli.
$ cycli -h host.domain.com -s -P port -u username
from cycli.
And you say you had this working with py2neo? Can you show me the code exactly?
from cycli.
Turns out I ran that test with an outdated version. The error message Can't assign requested address
was due to a bug in the URLs returned by the transactional endpoint in Neo4j 2.1.6. This happens with py2neo, too, because it tries connecting to localhost:0
.
I just ran some tests with py2neo and cycli against 2.2.3 and it works correctly!
So sorry about the confusion!! Thanks for doing this!
from cycli.
Related Issues (20)
- Highlight cycli-specific keywords with their own color
- Autocomplete is wrong when drawing a pattern inside the SIZE function
- A collection of integers is converted to a list of strings bc of pretty_table
- Can't pip install cycli on python 2.7 HOT 1
- Properties are not autocompleted inside functions
- Trying to run periodic commit results in an error HOT 2
- [SEV 1] My coffee is cold and the microwave smells weird [SEV 1]
- Can connect and autosuggest node labels, but can't fire query HOT 2
- ASCII can't decode error with UTF-8 data in Neo4j HOT 3
- control-d does not exit
- Semicolon in quoted property seems to be incorrectly interpreted as end of cypher statement HOT 7
- Not able to connect with database with non-standard bolt port and TLS HOT 3
- Using -f is opening the file in binary mode HOT 8
- connecting to graphenedb
- Exceptions when using cycli with no authorization required HOT 1
- Feature request: turn off echo HOT 1
- Cypher interpretation of commented lines ending in semicolons
- Bump pypi version
- Support Offer
- do not pin packages in setup.py
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from cycli.