Open wdesouza opened 7 years ago
That's a bug! The dreaded apache config directory problem again, I think. You're running behind Apache? It should fail more gracefully. You could change the apache config to be able to find that path (maybe) or set an absolute path in the configuration.
To close, catch the exception when going to grab the peer list.
I added the line below in config.py
:
INITIAL_PEERS = "/srv/ga4gh/no_peers.txt"
And I created an empty file with the same name. Now the server throws the second error: TypeError: expected string or buffer
. It seems to be related to JSON, right?
EDIT: I don't know why it worked after I reloaded the landing page..
Thanks for working with all of these new features, definitely why we do it! It sounds like specifying an absolute path to the peers list worked, but we still ought to fail more gracefully in the case that someone has not configured initial peers. Sound right @Welliton309 ?
I am trying to install the newest version of
ga4gh-server
package (0.3.6) viapip
. After installation the server throws an error:I followed the instructions and did not installed the
ga4gh
package because it seems to be out of date (0.3.5) However, if I install this package the error changes:Installing from source code (after removing all packages, then install via
requirements.txt
) throws another error:Is there another way to install the latest version of
ga4gh-server
package?