Closed nsheff closed 4 years ago
bedhost serve -c Configuration_files/bedbase_configuration.yaml DEBU 2020-04-07 13:35:19,191 | bedhost:est:266 > Configured logger 'bedhost' using logmuse v0.2.6 DEBU 13:35:19 | bbconf:est:266 > Configured logger 'bbconf' using logmuse v0.2.6 INFO 13:35:19 | bbconf:bbconf:61 > Established connection with Elasticsearch: localhost DEBU 13:35:19 | bbconf:bbconf:63 > Elasticsearch info: {'name': '03250607f9bc', 'cluster_name': 'docker-cluster', 'cluster_uuid': 'UAdyyztUTZeC_AHBXb4B3A', 'version': {'number': '7.5.1', 'build_flavor': 'default', 'build_type': 'docker', 'build_hash': '3ae9ac9a93c95bd0cdc054951cf95d88e1e18d96', 'build_date': '2019-12-16T22:57:37.835892Z', 'build_snapshot': False, 'lucene_version': '8.3.0', 'minimum_wire_compatibility_version': '6.8.0', 'minimum_index_compatibility_version': '6.0.0-beta1'}, 'tagline': 'You Know, for Search'} Traceback (most recent call last): File "/home/nsheff/.local/bin/bedhost", line 10, in <module> sys.exit(main()) File "/home/nsheff/.local/lib/python3.7/site-packages/bedhost/main.py", line 253, in main StaticFiles(directory=bbc[CFG_PATH_KEY][CFG_PIP_OUTPUT_KEY]), name=BED_INDEX) File "/home/nsheff/.local/lib/python3.7/site-packages/starlette/applications.py", line 110, in mount self.router.mount(path, app=app, name=name) File "/home/nsheff/.local/lib/python3.7/site-packages/starlette/routing.py", line 587, in mount route = Mount(path, app=app, name=name) File "/home/nsheff/.local/lib/python3.7/site-packages/starlette/routing.py", line 301, in __init__ assert path == "" or path.startswith("/"), "Routed paths must start with '/'" AssertionError: Routed paths must start with '/'
This arose because I had not run this line:
export BEDBASEtutorial="$HOME/bedbase_tutorial"
in the tutorial. It doesn't make sense to force me to put this in a particular absolute folder. See #18