-
Notifications
You must be signed in to change notification settings - Fork 25
Using -f is opening the file in binary mode #52
Comments
Hmm what OS are you on? |
Hi Nicole, However, I am experiencing exactly the same problem as above but with both -f and --filename flags TypeError: a bytes-like object is required, not 'str' THank you for your help |
What version of Python are you on? |
Python 3.6.0 :: Anaconda 4.3.0 (64-bit) |
Arch Linux x86_64; Python 2.7; Python 3.5; Cycli 0.7.6 I also just encountered this issue with Cycli v.0.7.6 (pip install ...) operating in a Python 3.5 venv.
|
@victoriastuart I believe this PR #60 should correct that issue (it uses |
@nicolewhite, @danodonovan: this is great, thank you!! For referencing this issue, here is how I updated my Cycli install (git clone this repo | make | make install | pip uninstall / install cycli | test execute cypher file):
|
Hi there, I'm still having the same issue under windows with neo4j 3.5.5. did neither work with -f nor with --filename. i was trying to open a cyp file |
Hi, I tried running a series of queries saved on a file through cycle , but it's complaining that the file is binary?
I was using -f flag. After many trials, i did with --filename and it worked fine !
aren't those two flags have the same behavior?
The text was updated successfully, but these errors were encountered: