{"action":"created","issue":{"url":"https://api.github.com/repos/CLARIAH/grlc/issues/78","repository_url":"https://api.github.com/repos/CLARIAH/grlc","labels_url":"https://api.github.com/repos/CLARIAH/grlc/issues/78/labels{/name}","comments_url":"https://api.github.com/repos/CLARIAH/grlc/issues/78/comments","events_url":"https://api.github.com/repos/CLARIAH/grlc/issues/78/events","html_url":"https://github.com/CLARIAH/grlc/issues/78","id":269002415,"number":78,"title":"Problems running grlc locally","user":{"login":"ma-garcia","id":4291806,"avatar_url":"https://avatars2.githubusercontent.com/u/4291806?v=4","gravatar_id":"","url":"https://api.github.com/users/ma-garcia","html_url":"https://github.com/ma-garcia","followers_url":"https://api.github.com/users/ma-garcia/followers","following_url":"https://api.github.com/users/ma-garcia/following{/other_user}","gists_url":"https://api.github.com/users/ma-garcia/gists{/gist_id}","starred_url":"https://api.github.com/users/ma-garcia/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ma-garcia/subscriptions","organizations_url":"https://api.github.com/users/ma-garcia/orgs","repos_url":"https://api.github.com/users/ma-garcia/repos","events_url":"https://api.github.com/users/ma-garcia/events{/privacy}","received_events_url":"https://api.github.com/users/ma-garcia/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2017-10-27T06:36:42Z","updated_at":"2017-10-27T12:44:17Z","closed_at":"2017-10-27T12:44:17Z","author_association":"NONE","body":"I am trying to run locally grlc so I followed the instructions to install it via Docker. I didn't have any problem during the installation and the application is up un running at http://localhost:8001 as it is says in the documentation. My problem is that no matter what repos I try to load, I get the same error on the screen:\r\n\r\n`500 : <!DOCTYPE HTML PUBLIC \"-//W3C//DTD HTML 3.2 Final//EN\"> <title>500 Internal Server Error</title> <h1>Internal Server Error</h1> <p>The server encountered an internal error and was unable to complete your request. Either the server is overloaded or there is an error in the application.</p> http://linkeddata.dia.fi.upm.es:8001/api/albertmeronyo/lodapi/spec`\r\n\r\nIn the terminal where I run the docker-compose instruction, I get the following error:\r\n\r\n> grlc_1  | 2017-10-26 14:08:55,655 [INFO] (server.swagger_spec) -----> Generating swagger spec for /albertmeronyo/lodapi on commit None\r\ngrlc_1  | 2017-10-26 14:08:58,363 [DEBUG] (prov.init_prov_graph) Ingesting Git2PROV output into RDF graph\r\ngrlc_1  | 2017-10-26 14:08:59,313 [INFO] (connectionpool._new_conn) Starting new HTTPS connection (1): api.github.com\r\ngrlc_1  | 2017-10-26 14:08:59,790 [DEBUG] (connectionpool._make_request) \"GET /repos/albertmeronyo/lodapi HTTP/1.1\" 401 83\r\ngrlc_1  | 2017-10-26 14:08:59,795 [INFO] (connectionpool._new_conn) Starting new HTTPS connection (1): api.github.com\r\ngrlc_1  | 2017-10-26 14:09:00,716 [DEBUG] (connectionpool._make_request) \"GET /repos/albertmeronyo/lodapi/commits HTTP/1.1\" 401 83\r\ngrlc_1  | 2017-10-26 14:09:00,721 [ERROR] (app.log_exception) Exception on /api/albertmeronyo/lodapi/spec [GET]\r\ngrlc_1  | Traceback (most recent call last):\r\ngrlc_1  |   File \"/usr/local/lib/python2.7/site-packages/flask/app.py\", line 1817, in wsgi_app\r\ngrlc_1  |     response = self.full_dispatch_request()\r\ngrlc_1  |   File \"/usr/local/lib/python2.7/site-packages/flask/app.py\", line 1477, in full_dispatch_request\r\ngrlc_1  |     rv = self.handle_user_exception(e)\r\ngrlc_1  |   File \"/usr/local/lib/python2.7/site-packages/flask/app.py\", line 1381, in handle_user_exception\r\ngrlc_1  |     reraise(exc_type, exc_value, tb)\r\ngrlc_1  |   File \"/usr/local/lib/python2.7/site-packages/flask/app.py\", line 1475, in full_dispatch_request\r\ngrlc_1  |     rv = self.dispatch_request()\r\ngrlc_1  |   File \"/usr/local/lib/python2.7/site-packages/flask/app.py\", line 1461, in dispatch_request\r\ngrlc_1  |     return self.view_functions[rule.endpoint](**req.view_args)\r\ngrlc_1  |   File \"/home/grlc/grlc/src/server.py\", line 211, in swagger_spec\r\ngrlc_1  |     swag = utils.build_swagger_spec(user, repo, sha, static.SERVER_NAME, prov_g)\r\ngrlc_1  |   File \"/home/grlc/grlc/src/utils.py\", line 260, in build_swagger_spec\r\ngrlc_1  |     commit_list = [c['sha'] for c in commits]\r\ngrlc_1  | TypeError: string indices must be integers\r\n\r\nAny clue about what's going on?\r\n\r\nI'm running grlc in an Ubuntu 16.04.3."},"comment":{"url":"https://api.github.com/repos/CLARIAH/grlc/issues/comments/339961001","html_url":"https://github.com/CLARIAH/grlc/issues/78#issuecomment-339961001","issue_url":"https://api.github.com/repos/CLARIAH/grlc/issues/78","id":339961001,"user":{"login":"ma-garcia","id":4291806,"avatar_url":"https://avatars2.githubusercontent.com/u/4291806?v=4","gravatar_id":"","url":"https://api.github.com/users/ma-garcia","html_url":"https://github.com/ma-garcia","followers_url":"https://api.github.com/users/ma-garcia/followers","following_url":"https://api.github.com/users/ma-garcia/following{/other_user}","gists_url":"https://api.github.com/users/ma-garcia/gists{/gist_id}","starred_url":"https://api.github.com/users/ma-garcia/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ma-garcia/subscriptions","organizations_url":"https://api.github.com/users/ma-garcia/orgs","repos_url":"https://api.github.com/users/ma-garcia/repos","events_url":"https://api.github.com/users/ma-garcia/events{/privacy}","received_events_url":"https://api.github.com/users/ma-garcia/received_events","type":"User","site_admin":false},"created_at":"2017-10-27T12:44:17Z","updated_at":"2017-10-27T12:44:17Z","author_association":"NONE","body":"That fixed the problem, thanks."}}
{"actor":{"display_login":"ma-garcia"}}