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 when calling QXSolution -h, X=1,2 #120

Closed
dkoslicki opened this issue Nov 28, 2017 · 3 comments
Closed

Error when calling QXSolution -h, X=1,2 #120

dkoslicki opened this issue Nov 28, 2017 · 3 comments

Comments

@dkoslicki
Copy link
Owner

$ python3 Q1Solution.py -h
usage: Q1Solution.py [-h] [-i INPUT_DISEASE] [-v] [-d] [-m MAX_PATH_LEN] [-a]

Runs the reasoning tool on Question 1

optional arguments:
  -h, --help            show this help message and exit
  -i INPUT_DISEASE, --input_disease INPUT_DISEASE
                        Input disease (default: cholera)
  -v, --verbose         Flag to turn on verbosity (default: False)
  -d, --directed        To treat the graph as directed or not. (default: True)
  -m MAX_PATH_LEN, --max_path_len MAX_PATH_LEN
                        Maximum graph path length for which to look for nearby
                        omims (default: 2)
  -a, --all             Flag indicating you want to run it on all Q1 diseases
                        (default: False)
Exception ignored in: <bound method Connection.__del__ of <neo4j.bolt.connection.Connection object at 0x7fd0cd2a5390>>
Traceback (most recent call last):
  File "/home/dkoslicki/Dropbox/Repositories/NCATS/VE3/lib/python3.5/site-packages/neo4j/bolt/connection.py", line 212, in __del__
  File "/home/dkoslicki/Dropbox/Repositories/NCATS/VE3/lib/python3.5/site-packages/neo4j/bolt/connection.py", line 385, in close
  File "/usr/lib/python3.5/logging/__init__.py", line 1278, in info
  File "/usr/lib/python3.5/logging/__init__.py", line 1519, in isEnabledFor
TypeError: unorderable types: int() >= NoneType()
Exception ignored in: <bound method Connection.__del__ of <neo4j.bolt.connection.Connection object at 0x7fd0cd2a5a58>>
Traceback (most recent call last):
  File "/home/dkoslicki/Dropbox/Repositories/NCATS/VE3/lib/python3.5/site-packages/neo4j/bolt/connection.py", line 212, in __del__
  File "/home/dkoslicki/Dropbox/Repositories/NCATS/VE3/lib/python3.5/site-packages/neo4j/bolt/connection.py", line 385, in close
  File "/usr/lib/python3.5/logging/__init__.py", line 1278, in info
  File "/usr/lib/python3.5/logging/__init__.py", line 1519, in isEnabledFor
TypeError: unorderable types: int() >= NoneType()
Exception ignored in: <bound method Connection.__del__ of <neo4j.bolt.connection.Connection object at 0x7fd0cd2b3128>>
Traceback (most recent call last):
  File "/home/dkoslicki/Dropbox/Repositories/NCATS/VE3/lib/python3.5/site-packages/neo4j/bolt/connection.py", line 212, in __del__
  File "/home/dkoslicki/Dropbox/Repositories/NCATS/VE3/lib/python3.5/site-packages/neo4j/bolt/connection.py", line 385, in close
  File "/usr/lib/python3.5/logging/__init__.py", line 1278, in info
  File "/usr/lib/python3.5/logging/__init__.py", line 1519, in isEnabledFor
TypeError: unorderable types: int() >= NoneType()
@saramsey
Copy link
Collaborator

This looks to be a issue with the python logger fighting with Neo4j bolt driver. Will investigate after Wed.

@saramsey
Copy link
Collaborator

Confirmed in both Python 3.6.3 on OSX and in Python 3.5.2 on Ubuntu

saramsey added a commit that referenced this issue Nov 28, 2017
saramsey added a commit that referenced this issue Nov 28, 2017
saramsey added a commit that referenced this issue Nov 28, 2017
@saramsey
Copy link
Collaborator

fixed

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

No branches or pull requests

2 participants